@schukai/monster 1.28.0 → 1.28.1
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG +7 -0
- package/README.md +4 -4
- 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/buildtree.js +1 -1
- package/dist/modules/data/datasource/namespace.js +1 -1
- package/dist/modules/data/datasource/restapi/writeerror.js +1 -1
- package/dist/modules/data/datasource/restapi.js +1 -1
- package/dist/modules/data/datasource/storage/localstorage.js +1 -1
- package/dist/modules/data/datasource/storage/namespace.js +1 -1
- package/dist/modules/data/datasource/storage/sessionstorage.js +1 -1
- package/dist/modules/data/datasource/storage.js +1 -1
- package/dist/modules/data/datasource.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 +2 -2
- package/dist/modules/dom/focusmanager.js +1 -1
- package/dist/modules/dom/locale.js +1 -1
- package/dist/modules/dom/namespace.js +1 -1
- package/dist/modules/dom/resource/data.js +1 -1
- package/dist/modules/dom/resource/link/stylesheet.js +1 -1
- package/dist/modules/dom/resource/link.js +1 -1
- package/dist/modules/dom/resource/script.js +1 -1
- package/dist/modules/dom/resource.js +1 -1
- package/dist/modules/dom/resourcemanager.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/dom/worker/factory.js +1 -1
- package/dist/modules/i18n/formatter.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/node.js +1 -1
- package/dist/modules/types/nodelist.js +1 -1
- package/dist/modules/types/noderecursiveiterator.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/regex.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/uuid.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/modules/util/trimspaces.js +1 -1
- package/dist/monster.dev.js +288 -223
- package/dist/monster.dev.js.map +1 -1
- package/dist/monster.js +2 -2
- package/package.json +1 -1
- 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/buildtree.js +2 -2
- package/source/data/datasource/restapi.js +3 -3
- package/source/data/datasource/storage/localstorage.js +2 -2
- package/source/data/datasource/storage/sessionstorage.js +2 -2
- package/source/data/datasource/storage.js +3 -3
- package/source/data/datasource.js +3 -3
- 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 +26 -26
- package/source/dom/customcontrol.js +1 -1
- package/source/dom/customelement.js +1 -1
- package/source/dom/events.js +66 -9
- package/source/dom/focusmanager.js +2 -2
- package/source/dom/locale.js +2 -2
- package/source/dom/resource/data.js +2 -2
- package/source/dom/resource/link/stylesheet.js +2 -2
- package/source/dom/resource/link.js +2 -2
- package/source/dom/resource/script.js +2 -2
- package/source/dom/resource.js +2 -2
- package/source/dom/resourcemanager.js +2 -2
- package/source/dom/template.js +5 -5
- package/source/dom/theme.js +3 -3
- package/source/dom/updater.js +3 -3
- package/source/dom/util.js +6 -6
- package/source/dom/worker/factory.js +2 -2
- package/source/i18n/formatter.js +4 -4
- package/source/i18n/locale.js +4 -4
- package/source/i18n/provider.js +2 -2
- package/source/i18n/providers/fetch.js +3 -3
- package/source/i18n/translations.js +4 -4
- 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 +3 -3
- 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/node.js +2 -2
- package/source/types/nodelist.js +2 -2
- package/source/types/noderecursiveiterator.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/regex.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/uuid.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 +3 -3
- package/source/util/trimspaces.js +2 -2
- package/test/cases/dom/events.js +66 -1
- 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 +3 -3
- package/test/web/tests.js +2 -2
package/dist/monster.dev.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
/** Monster 1.28.
|
1
|
+
/** Monster 1.28.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();
|
@@ -140,7 +140,7 @@ var Monster = new Namespace("Monster");
|
|
140
140
|
*
|
141
141
|
* ```
|
142
142
|
* <script type="module">
|
143
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
143
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/monster.js';
|
144
144
|
* function hello() {
|
145
145
|
* console.log('Hello World!');
|
146
146
|
* }
|
@@ -387,7 +387,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
387
387
|
*
|
388
388
|
* ```
|
389
389
|
* <script type="module">
|
390
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
390
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/monster.js';
|
391
391
|
* new Monster.Types.Base()
|
392
392
|
* </script>
|
393
393
|
* ```
|
@@ -396,7 +396,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
396
396
|
*
|
397
397
|
* ```
|
398
398
|
* <script type="module">
|
399
|
-
* import {Base} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
399
|
+
* import {Base} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/modules/types/base.js';
|
400
400
|
* new Base()
|
401
401
|
* </script>
|
402
402
|
* ```
|
@@ -568,7 +568,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
568
568
|
*
|
569
569
|
* ```
|
570
570
|
* <script type="module">
|
571
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
571
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/monster.js';
|
572
572
|
* new Monster.Constraint.AndOperator();
|
573
573
|
* </script>
|
574
574
|
* ```
|
@@ -577,16 +577,16 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
577
577
|
*
|
578
578
|
* ```
|
579
579
|
* <script type="module">
|
580
|
-
* import {AndOperator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
580
|
+
* import {AndOperator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/modules/constraints/andoperator.js';
|
581
581
|
* new AndOperator();
|
582
582
|
* </script>
|
583
583
|
* ```
|
584
584
|
*
|
585
585
|
* @example
|
586
586
|
*
|
587
|
-
* import {Valid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
588
|
-
* import {Invalid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
589
|
-
* import {AndOperator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
587
|
+
* import {Valid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/modules/constraints/valid.js';
|
588
|
+
* import {Invalid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/modules/constraints/invalid.js';
|
589
|
+
* import {AndOperator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/modules/constraints/andoperator.js';
|
590
590
|
*
|
591
591
|
* new AndOperator(
|
592
592
|
* new Valid(), new Valid()).isValid()
|
@@ -688,7 +688,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
688
688
|
*
|
689
689
|
* ```
|
690
690
|
* <script type="module">
|
691
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
691
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/monster.js';
|
692
692
|
* new Monster.Constraint.Invalid();
|
693
693
|
* </script>
|
694
694
|
* ```
|
@@ -697,14 +697,14 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
697
697
|
*
|
698
698
|
* ```
|
699
699
|
* <script type="module">
|
700
|
-
* import {Invalid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
700
|
+
* import {Invalid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/modules/constraints/invalid.js';
|
701
701
|
* new Invalid();
|
702
702
|
* </script>
|
703
703
|
* ```
|
704
704
|
*
|
705
705
|
* @example
|
706
706
|
*
|
707
|
-
* import {Invalid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
707
|
+
* import {Invalid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/modules/constraints/invalid.js';
|
708
708
|
*
|
709
709
|
* new Invalid().isValid()
|
710
710
|
* .then(()=>console.log(true))
|
@@ -799,7 +799,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
799
799
|
*
|
800
800
|
* ```
|
801
801
|
* <script type="module">
|
802
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
802
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/monster.js';
|
803
803
|
* new Monster.Constraint.IsArray()
|
804
804
|
* </script>
|
805
805
|
* ```
|
@@ -808,14 +808,14 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
808
808
|
*
|
809
809
|
* ```
|
810
810
|
* <script type="module">
|
811
|
-
* import {IsArray} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
811
|
+
* import {IsArray} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/modules/constraints/isarray.js';
|
812
812
|
* console.log(new IsArray())
|
813
813
|
* </script>
|
814
814
|
* ```
|
815
815
|
*
|
816
816
|
* @example
|
817
817
|
*
|
818
|
-
* import {IsArray} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
818
|
+
* import {IsArray} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/modules/constraints/isarray.js';
|
819
819
|
*
|
820
820
|
* new IsArray()
|
821
821
|
* .isValid([])
|
@@ -904,7 +904,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "functi
|
|
904
904
|
*
|
905
905
|
* ```
|
906
906
|
* <script type="module">
|
907
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
907
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/monster.js';
|
908
908
|
* Monster.Types.isIterable(null) // ↦ false
|
909
909
|
* Monster.Types.isIterable('hello') // ↦ true
|
910
910
|
* Monster.Types.isIterable([]) // ↦ true
|
@@ -915,7 +915,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "functi
|
|
915
915
|
*
|
916
916
|
* ```
|
917
917
|
* <script type="module">
|
918
|
-
* import {isIterable} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
918
|
+
* import {isIterable} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/modules/types/is.js';
|
919
919
|
* isIterable(null) // ↦ false
|
920
920
|
* isIterable('hello') // ↦ true
|
921
921
|
* isIterable([]) // ↦ true
|
@@ -943,7 +943,7 @@ function isIterable(value) {
|
|
943
943
|
*
|
944
944
|
* ```
|
945
945
|
* <script type="module">
|
946
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
946
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/monster.js';
|
947
947
|
* Monster.Types.isPrimitive('2') // ↦ false
|
948
948
|
* Monster.Types.isPrimitive([]) // ↦ true
|
949
949
|
* </script>
|
@@ -953,7 +953,7 @@ function isIterable(value) {
|
|
953
953
|
*
|
954
954
|
* ```
|
955
955
|
* <script type="module">
|
956
|
-
* import {isPrimitive} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
956
|
+
* import {isPrimitive} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/modules/types/is.js';
|
957
957
|
* isPrimitive('2')) // ↦ true
|
958
958
|
* isPrimitive([])) // ↦ false
|
959
959
|
* </script>
|
@@ -991,7 +991,7 @@ function isPrimitive(value) {
|
|
991
991
|
*
|
992
992
|
* ```
|
993
993
|
* <script type="module">
|
994
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
994
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/monster.js';
|
995
995
|
* Monster.Types.isSymbol('2') // ↦ false
|
996
996
|
* Monster.Types.isSymbol(Symbol('test') // ↦ true
|
997
997
|
* </script>
|
@@ -1001,7 +1001,7 @@ function isPrimitive(value) {
|
|
1001
1001
|
*
|
1002
1002
|
* ```
|
1003
1003
|
* <script type="module">
|
1004
|
-
* import {isSymbol} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
1004
|
+
* import {isSymbol} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/modules/types/is.js';
|
1005
1005
|
* isSymbol(Symbol('a'))) // ↦ true
|
1006
1006
|
* isSymbol([]) // ↦ false
|
1007
1007
|
* </script>
|
@@ -1027,7 +1027,7 @@ function isSymbol(value) {
|
|
1027
1027
|
*
|
1028
1028
|
* ```
|
1029
1029
|
* <script type="module">
|
1030
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
1030
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/monster.js';
|
1031
1031
|
* Monster.Types.isBoolean('2') // ↦ false
|
1032
1032
|
* Monster.Types.isBoolean([]) // ↦ false
|
1033
1033
|
* Monster.Types.isBoolean(true) // ↦ true
|
@@ -1038,7 +1038,7 @@ function isSymbol(value) {
|
|
1038
1038
|
*
|
1039
1039
|
* ```
|
1040
1040
|
* <script type="module">
|
1041
|
-
* import {isBoolean} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
1041
|
+
* import {isBoolean} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/modules/types/is.js';
|
1042
1042
|
* isBoolean('2')) // ↦ false
|
1043
1043
|
* isBoolean([])) // ↦ false
|
1044
1044
|
* isBoolean(2>4)) // ↦ true
|
@@ -1069,7 +1069,7 @@ function isBoolean(value) {
|
|
1069
1069
|
*
|
1070
1070
|
* ```
|
1071
1071
|
* <script type="module">
|
1072
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
1072
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/monster.js';
|
1073
1073
|
* Monster.Types.isString('2') // ↦ true
|
1074
1074
|
* Monster.Types.isString([]) // ↦ false
|
1075
1075
|
* </script>
|
@@ -1079,7 +1079,7 @@ function isBoolean(value) {
|
|
1079
1079
|
*
|
1080
1080
|
* ```
|
1081
1081
|
* <script type="module">
|
1082
|
-
* import {isString} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
1082
|
+
* import {isString} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/modules/types/is.js';
|
1083
1083
|
* isString('2')) // ↦ true
|
1084
1084
|
* isString([])) // ↦ false
|
1085
1085
|
* </script>
|
@@ -1109,7 +1109,7 @@ function isString(value) {
|
|
1109
1109
|
*
|
1110
1110
|
* ```
|
1111
1111
|
* <script type="module">
|
1112
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
1112
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/monster.js';
|
1113
1113
|
* Monster.Types.isObject('2') // ↦ false
|
1114
1114
|
* Monster.Types.isObject([]) // ↦ false
|
1115
1115
|
* Monster.Types.isObject({}) // ↦ true
|
@@ -1120,7 +1120,7 @@ function isString(value) {
|
|
1120
1120
|
*
|
1121
1121
|
* ```
|
1122
1122
|
* <script type="module">
|
1123
|
-
* import {isObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
1123
|
+
* import {isObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/modules/types/is.js';
|
1124
1124
|
* isObject('2')) // ↦ false
|
1125
1125
|
* isObject([])) // ↦ false
|
1126
1126
|
* </script>
|
@@ -1153,7 +1153,7 @@ function isObject(value) {
|
|
1153
1153
|
*
|
1154
1154
|
* ```
|
1155
1155
|
* <script type="module">
|
1156
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
1156
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/monster.js';
|
1157
1157
|
* Monster.Types.isInstance('2') // ↦ false
|
1158
1158
|
* Monster.Types.isInstance([]) // ↦ false
|
1159
1159
|
* Monster.Types.isInstance({}) // ↦ true
|
@@ -1164,7 +1164,7 @@ function isObject(value) {
|
|
1164
1164
|
*
|
1165
1165
|
* ```
|
1166
1166
|
* <script type="module">
|
1167
|
-
* import {isInstance} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
1167
|
+
* import {isInstance} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/modules/types/is.js';
|
1168
1168
|
* isInstance('2')) // ↦ false
|
1169
1169
|
* isInstance([])) // ↦ false
|
1170
1170
|
* </script>
|
@@ -1194,7 +1194,7 @@ function isInstance(value, instance) {
|
|
1194
1194
|
*
|
1195
1195
|
* ```
|
1196
1196
|
* <script type="module">
|
1197
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
1197
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/monster.js';
|
1198
1198
|
* Monster.Types.isArray('2') // ↦ false
|
1199
1199
|
* Monster.Types.isArray([]) // ↦ true
|
1200
1200
|
* </script>
|
@@ -1204,7 +1204,7 @@ function isInstance(value, instance) {
|
|
1204
1204
|
*
|
1205
1205
|
* ```
|
1206
1206
|
* <script type="module">
|
1207
|
-
* import {isArray} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
1207
|
+
* import {isArray} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/modules/types/is.js';
|
1208
1208
|
* isArray('2')) // ↦ false
|
1209
1209
|
* isArray([])) // ↦ true
|
1210
1210
|
* </script>
|
@@ -1231,7 +1231,7 @@ function isArray(value) {
|
|
1231
1231
|
*
|
1232
1232
|
* ```
|
1233
1233
|
* <script type="module">
|
1234
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
1234
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/monster.js';
|
1235
1235
|
* Monster.Types.isFunction(()=>{}) // ↦ true
|
1236
1236
|
* Monster.Types.isFunction('2') // ↦ false
|
1237
1237
|
* Monster.Types.isFunction([]) // ↦ false
|
@@ -1242,7 +1242,7 @@ function isArray(value) {
|
|
1242
1242
|
*
|
1243
1243
|
* ```
|
1244
1244
|
* <script type="module">
|
1245
|
-
* import {isFunction} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
1245
|
+
* import {isFunction} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/modules/types/is.js';
|
1246
1246
|
* isFunction(()=>{}) // ↦ true
|
1247
1247
|
* isFunction('2')) // ↦ false
|
1248
1248
|
* isFunction([])) // ↦ false
|
@@ -1276,7 +1276,7 @@ function isFunction(value) {
|
|
1276
1276
|
*
|
1277
1277
|
* ```
|
1278
1278
|
* <script type="module">
|
1279
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
1279
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/monster.js';
|
1280
1280
|
* Monster.Types.isInteger(()=>{}) // ↦ true
|
1281
1281
|
* Monster.Types.isInteger('2') // ↦ false
|
1282
1282
|
* Monster.Types.isInteger(2) // ↦ true
|
@@ -1287,7 +1287,7 @@ function isFunction(value) {
|
|
1287
1287
|
*
|
1288
1288
|
* ```
|
1289
1289
|
* <script type="module">
|
1290
|
-
* import {isInteger} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
1290
|
+
* import {isInteger} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/modules/types/is.js';
|
1291
1291
|
* isInteger(()=>{}) // ↦ true
|
1292
1292
|
* isInteger('2')) // ↦ false
|
1293
1293
|
* isInteger(2)) // ↦ true
|
@@ -1360,7 +1360,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
1360
1360
|
*
|
1361
1361
|
* ```
|
1362
1362
|
* <script type="module">
|
1363
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
1363
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/monster.js';
|
1364
1364
|
* console.log(new Monster.Constraint.IsObject())
|
1365
1365
|
* </script>
|
1366
1366
|
* ```
|
@@ -1369,14 +1369,14 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
1369
1369
|
*
|
1370
1370
|
* ```
|
1371
1371
|
* <script type="module">
|
1372
|
-
* import {IsObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
1372
|
+
* import {IsObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/modules/constraints/isobject.js';
|
1373
1373
|
* console.log(new IsObject())
|
1374
1374
|
* </script>
|
1375
1375
|
* ```
|
1376
1376
|
*
|
1377
1377
|
* @example
|
1378
1378
|
*
|
1379
|
-
* import {IsObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
1379
|
+
* import {IsObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/modules/constraints/isobject.js';
|
1380
1380
|
*
|
1381
1381
|
* new IsObject()
|
1382
1382
|
* .isValid({})
|
@@ -1479,7 +1479,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
1479
1479
|
*
|
1480
1480
|
* ```
|
1481
1481
|
* <script type="module">
|
1482
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
1482
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/monster.js';
|
1483
1483
|
* new Monster.Constraint.OrOperator();
|
1484
1484
|
* </script>
|
1485
1485
|
* ```
|
@@ -1488,16 +1488,16 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
1488
1488
|
*
|
1489
1489
|
* ```
|
1490
1490
|
* <script type="module">
|
1491
|
-
* import {OrOperator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
1491
|
+
* import {OrOperator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/modules/constraint/oroperator.js';
|
1492
1492
|
* new OrOperator();
|
1493
1493
|
* </script>
|
1494
1494
|
* ```
|
1495
1495
|
*
|
1496
1496
|
* @example
|
1497
1497
|
*
|
1498
|
-
* import {Valid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
1499
|
-
* import {Invalid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
1500
|
-
* import {OrOperator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
1498
|
+
* import {Valid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/modules/constraints/valid.js';
|
1499
|
+
* import {Invalid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/modules/constraints/invalid.js';
|
1500
|
+
* import {OrOperator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/modules/constraints/oroperator.js';
|
1501
1501
|
*
|
1502
1502
|
* new OrOperator(
|
1503
1503
|
* new Valid(), new Invalid()).isValid()
|
@@ -1622,7 +1622,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
1622
1622
|
*
|
1623
1623
|
* ```
|
1624
1624
|
* <script type="module">
|
1625
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
1625
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/monster.js';
|
1626
1626
|
* new Monster.Constraint.Valid();
|
1627
1627
|
* </script>
|
1628
1628
|
* ```
|
@@ -1631,14 +1631,14 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
1631
1631
|
*
|
1632
1632
|
* ```
|
1633
1633
|
* <script type="module">
|
1634
|
-
* import {Valid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
1634
|
+
* import {Valid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/modules/constraints/valid.js';
|
1635
1635
|
* new Valid();
|
1636
1636
|
* </script>
|
1637
1637
|
* ```
|
1638
1638
|
*
|
1639
1639
|
* @example
|
1640
1640
|
*
|
1641
|
-
* import {Valid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
1641
|
+
* import {Valid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/modules/constraints/valid.js';
|
1642
1642
|
*
|
1643
1643
|
* new Valid().isValid()
|
1644
1644
|
* .then(()=>console.log(true))
|
@@ -1747,7 +1747,7 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
|
|
1747
1747
|
*
|
1748
1748
|
* ```
|
1749
1749
|
* <script type="module">
|
1750
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
1750
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/monster.js';
|
1751
1751
|
* console.log(Monster.Data.buildMap())
|
1752
1752
|
* </script>
|
1753
1753
|
* ```
|
@@ -1756,7 +1756,7 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
|
|
1756
1756
|
*
|
1757
1757
|
* ```
|
1758
1758
|
* <script type="module">
|
1759
|
-
* import {buildMap} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
1759
|
+
* import {buildMap} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/modules/data/buildmap.js';
|
1760
1760
|
* console.log(buildMap())
|
1761
1761
|
* </script>
|
1762
1762
|
* ```
|
@@ -1767,7 +1767,7 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
|
|
1767
1767
|
*
|
1768
1768
|
* @example
|
1769
1769
|
*
|
1770
|
-
* import {buildMap} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
1770
|
+
* import {buildMap} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/modules/data/buildmap.js';
|
1771
1771
|
* // a typical data structure as reported by an api
|
1772
1772
|
*
|
1773
1773
|
* let map;
|
@@ -1997,7 +1997,7 @@ function buildFlatMap(subject, selector, key, parentMap) {
|
|
1997
1997
|
* Alternatively to a string selector a callback can be specified. this must return a map.
|
1998
1998
|
*
|
1999
1999
|
* @example
|
2000
|
-
* import {buildMap} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
2000
|
+
* import {buildMap} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/modules/data/buildmap.js';
|
2001
2001
|
*
|
2002
2002
|
* let obj = {
|
2003
2003
|
* "data": [
|
@@ -2200,7 +2200,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
2200
2200
|
*
|
2201
2201
|
* ```
|
2202
2202
|
* <script type="module">
|
2203
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
2203
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/monster.js';
|
2204
2204
|
* console.log(Monster.Types.validateIterable('2')) // ↦ TypeError
|
2205
2205
|
* console.log(Monster.Types.validateIterable([])) // ↦ value
|
2206
2206
|
* </script>
|
@@ -2210,7 +2210,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
2210
2210
|
*
|
2211
2211
|
* ```
|
2212
2212
|
* <script type="module">
|
2213
|
-
* import {validateIterable} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
2213
|
+
* import {validateIterable} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/modules/types/validate.js';
|
2214
2214
|
* console.log(validateIterable('2')) // ↦ TypeError
|
2215
2215
|
* console.log(validateIterable([])) // ↦ value
|
2216
2216
|
* </script>
|
@@ -2241,7 +2241,7 @@ function validateIterable(value) {
|
|
2241
2241
|
*
|
2242
2242
|
* ```
|
2243
2243
|
* <script type="module">
|
2244
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
2244
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/monster.js';
|
2245
2245
|
* console.log(Monster.Types.validatePrimitive('2')) // ↦ value
|
2246
2246
|
* console.log(Monster.Types.validatePrimitive([])) // ↦ TypeError
|
2247
2247
|
* </script>
|
@@ -2251,7 +2251,7 @@ function validateIterable(value) {
|
|
2251
2251
|
*
|
2252
2252
|
* ```
|
2253
2253
|
* <script type="module">
|
2254
|
-
* import {validatePrimitive} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
2254
|
+
* import {validatePrimitive} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/modules/types/validate.js';
|
2255
2255
|
* console.log(validatePrimitive('2')) // ↦ value
|
2256
2256
|
* console.log(validatePrimitive([])) // ↦ TypeError
|
2257
2257
|
* </script>
|
@@ -2283,7 +2283,7 @@ function validatePrimitive(value) {
|
|
2283
2283
|
*
|
2284
2284
|
* ```
|
2285
2285
|
* <script type="module">
|
2286
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
2286
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/monster.js';
|
2287
2287
|
* console.log(Monster.Types.validateBoolean(true)) // ↦ value
|
2288
2288
|
* console.log(Monster.Types.validateBoolean('2')) // ↦ TypeError
|
2289
2289
|
* console.log(Monster.Types.validateBoolean([])) // ↦ TypeError
|
@@ -2294,7 +2294,7 @@ function validatePrimitive(value) {
|
|
2294
2294
|
*
|
2295
2295
|
* ```
|
2296
2296
|
* <script type="module">
|
2297
|
-
* import {validateBoolean} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
2297
|
+
* import {validateBoolean} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/modules/types/validate.js';
|
2298
2298
|
* console.log(validateBoolean(false)) // ↦ value
|
2299
2299
|
* console.log(validateBoolean('2')) // ↦ TypeError
|
2300
2300
|
* console.log(validateBoolean([])) // ↦ TypeError
|
@@ -2325,7 +2325,7 @@ function validateBoolean(value) {
|
|
2325
2325
|
*
|
2326
2326
|
* ```
|
2327
2327
|
* <script type="module">
|
2328
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
2328
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/monster.js';
|
2329
2329
|
* console.log(Monster.Types.validateString('2')) // ↦ value
|
2330
2330
|
* console.log(Monster.Types.validateString([])) // ↦ TypeError
|
2331
2331
|
* </script>
|
@@ -2335,7 +2335,7 @@ function validateBoolean(value) {
|
|
2335
2335
|
*
|
2336
2336
|
* ```
|
2337
2337
|
* <script type="module">
|
2338
|
-
* import {validateString} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
2338
|
+
* import {validateString} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/modules/types/validate.js';
|
2339
2339
|
* console.log(validateString('2')) // ↦ value
|
2340
2340
|
* console.log(validateString([])) // ↦ TypeError
|
2341
2341
|
* </script>
|
@@ -2364,7 +2364,7 @@ function validateString(value) {
|
|
2364
2364
|
*
|
2365
2365
|
* ```
|
2366
2366
|
* <script type="module">
|
2367
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
2367
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/monster.js';
|
2368
2368
|
* console.log(Monster.Types.validateObject({})) // ↦ value
|
2369
2369
|
* console.log(Monster.Types.validateObject('2')) // ↦ TypeError
|
2370
2370
|
* console.log(Monster.Types.validateObject([])) // ↦ TypeError
|
@@ -2375,7 +2375,7 @@ function validateString(value) {
|
|
2375
2375
|
*
|
2376
2376
|
* ```
|
2377
2377
|
* <script type="module">
|
2378
|
-
* import {validateObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
2378
|
+
* import {validateObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/modules/types/validate.js';
|
2379
2379
|
* console.log(validateObject({})) // ↦ value
|
2380
2380
|
* console.log(validateObject('2')) // ↦ TypeError
|
2381
2381
|
* console.log(validateObject([])) // ↦ TypeError
|
@@ -2405,7 +2405,7 @@ function validateObject(value) {
|
|
2405
2405
|
*
|
2406
2406
|
* ```
|
2407
2407
|
* <script type="module">
|
2408
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
2408
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/monster.js';
|
2409
2409
|
* console.log(Monster.Types.validateInstance({}, Object)) // ↦ value
|
2410
2410
|
* console.log(Monster.Types.validateInstance('2', Object)) // ↦ TypeError
|
2411
2411
|
* console.log(Monster.Types.validateInstance([], Object)) // ↦ TypeError
|
@@ -2416,7 +2416,7 @@ function validateObject(value) {
|
|
2416
2416
|
*
|
2417
2417
|
* ```
|
2418
2418
|
* <script type="module">
|
2419
|
-
* import {validateInstance} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
2419
|
+
* import {validateInstance} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/modules/types/validate.js';
|
2420
2420
|
* console.log(validateInstance({}, Object)) // ↦ value
|
2421
2421
|
* console.log(validateInstance('2', Object)) // ↦ TypeError
|
2422
2422
|
* console.log(validateInstance([], Object)) // ↦ TypeError
|
@@ -2456,7 +2456,7 @@ function validateInstance(value, instance) {
|
|
2456
2456
|
*
|
2457
2457
|
* ```
|
2458
2458
|
* <script type="module">
|
2459
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
2459
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/monster.js';
|
2460
2460
|
* console.log(Monster.Types.validateArray('2')) // ↦ TypeError
|
2461
2461
|
* console.log(Monster.Types.validateArray([])) // ↦ value
|
2462
2462
|
* </script>
|
@@ -2466,7 +2466,7 @@ function validateInstance(value, instance) {
|
|
2466
2466
|
*
|
2467
2467
|
* ```
|
2468
2468
|
* <script type="module">
|
2469
|
-
* import {validateArray} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
2469
|
+
* import {validateArray} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/modules/types/validate.js';
|
2470
2470
|
* console.log(validateArray('2')) // ↦ TypeError
|
2471
2471
|
* console.log(validateArray([])) // ↦ value
|
2472
2472
|
* </script>
|
@@ -2495,7 +2495,7 @@ function validateArray(value) {
|
|
2495
2495
|
*
|
2496
2496
|
* ```
|
2497
2497
|
* <script type="module">
|
2498
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
2498
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/monster.js';
|
2499
2499
|
* console.log(Monster.Types.validateSymbol('2')) // ↦ TypeError
|
2500
2500
|
* console.log(Monster.Types.validateSymbol([])) // ↦ value
|
2501
2501
|
* </script>
|
@@ -2505,7 +2505,7 @@ function validateArray(value) {
|
|
2505
2505
|
*
|
2506
2506
|
* ```
|
2507
2507
|
* <script type="module">
|
2508
|
-
* import {validateSymbol} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
2508
|
+
* import {validateSymbol} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/modules/types/validate.js';
|
2509
2509
|
* console.log(validateSymbol('2')) // ↦ TypeError
|
2510
2510
|
* console.log(validateSymbol()) // ↦ value
|
2511
2511
|
* </script>
|
@@ -2534,7 +2534,7 @@ function validateSymbol(value) {
|
|
2534
2534
|
*
|
2535
2535
|
* ```
|
2536
2536
|
* <script type="module">
|
2537
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
2537
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/monster.js';
|
2538
2538
|
* console.log(Monster.Types.validateFunction(()=>{})) // ↦ value
|
2539
2539
|
* console.log(Monster.Types.validateFunction('2')) // ↦ TypeError
|
2540
2540
|
* console.log(Monster.Types.validateFunction([])) // ↦ TypeError
|
@@ -2545,7 +2545,7 @@ function validateSymbol(value) {
|
|
2545
2545
|
*
|
2546
2546
|
* ```
|
2547
2547
|
* <script type="module">
|
2548
|
-
* import {validateFunction} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
2548
|
+
* import {validateFunction} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/modules/types/validate.js';
|
2549
2549
|
* console.log(validateFunction(()=>{})) // ↦ value
|
2550
2550
|
* console.log(validateFunction('2')) // ↦ TypeError
|
2551
2551
|
* console.log(validateFunction([])) // ↦ TypeError
|
@@ -2575,7 +2575,7 @@ function validateFunction(value) {
|
|
2575
2575
|
*
|
2576
2576
|
* ```
|
2577
2577
|
* <script type="module">
|
2578
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
2578
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/monster.js';
|
2579
2579
|
* console.log(Monster.Types.validateInteger(true)) // ↦ TypeError
|
2580
2580
|
* console.log(Monster.Types.validateInteger('2')) // ↦ TypeError
|
2581
2581
|
* console.log(Monster.Types.validateInteger(2)) // ↦ value
|
@@ -2586,7 +2586,7 @@ function validateFunction(value) {
|
|
2586
2586
|
*
|
2587
2587
|
* ```
|
2588
2588
|
* <script type="module">
|
2589
|
-
* import {validateFunction} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
2589
|
+
* import {validateFunction} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/modules/types/validate.js';
|
2590
2590
|
* console.log(validateInteger(true)) // ↦ TypeError
|
2591
2591
|
* console.log(validateInteger('2')) // ↦ TypeError
|
2592
2592
|
* console.log(validateInteger(2)) // ↦ value
|
@@ -2652,7 +2652,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "functi
|
|
2652
2652
|
*
|
2653
2653
|
* ```
|
2654
2654
|
* <script type="module">
|
2655
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
2655
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/monster.js';
|
2656
2656
|
* Monster.Util.clone({})
|
2657
2657
|
* </script>
|
2658
2658
|
* ```
|
@@ -2661,7 +2661,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "functi
|
|
2661
2661
|
*
|
2662
2662
|
* ```
|
2663
2663
|
* <script type="module">
|
2664
|
-
* import {clone} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
2664
|
+
* import {clone} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/modules/util/clone.js';
|
2665
2665
|
* clone({})
|
2666
2666
|
* </script>
|
2667
2667
|
* ```
|
@@ -2873,7 +2873,7 @@ function getGlobal() {
|
|
2873
2873
|
*
|
2874
2874
|
* ```
|
2875
2875
|
* <script type="module">
|
2876
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
2876
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/monster.js';
|
2877
2877
|
* Monster.Types.getGlobalObject('document')
|
2878
2878
|
* // ↦ { }
|
2879
2879
|
* </script>
|
@@ -2883,7 +2883,7 @@ function getGlobal() {
|
|
2883
2883
|
*
|
2884
2884
|
* ```
|
2885
2885
|
* <script type="module">
|
2886
|
-
* import {getGlobalObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
2886
|
+
* import {getGlobalObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/modules/types/global.js';
|
2887
2887
|
* getGlobalObject('document')
|
2888
2888
|
* // ↦ { }
|
2889
2889
|
* </script>
|
@@ -2915,7 +2915,7 @@ function getGlobalObject(name) {
|
|
2915
2915
|
*
|
2916
2916
|
* ```
|
2917
2917
|
* <script type="module">
|
2918
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
2918
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/monster.js';
|
2919
2919
|
* console.log(Monster.Types.getGlobalFunction('parseInt')) // ↦ f parseInt() { }
|
2920
2920
|
* </script>
|
2921
2921
|
* ```
|
@@ -2924,7 +2924,7 @@ function getGlobalObject(name) {
|
|
2924
2924
|
*
|
2925
2925
|
* ```
|
2926
2926
|
* <script type="module">
|
2927
|
-
* import {getGlobalFunction} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
2927
|
+
* import {getGlobalFunction} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/modules/types/global.js';
|
2928
2928
|
* console.log(getGlobalFunction('parseInt')) // ↦ f parseInt() { }
|
2929
2929
|
* </script>
|
2930
2930
|
* ```
|
@@ -2975,7 +2975,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
2975
2975
|
*
|
2976
2976
|
* ```
|
2977
2977
|
* <script type="module">
|
2978
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
2978
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/monster.js';
|
2979
2979
|
* console.log(Monster.Types.typeOf())
|
2980
2980
|
* </script>
|
2981
2981
|
* ```
|
@@ -2984,14 +2984,14 @@ __webpack_require__.r(__webpack_exports__);
|
|
2984
2984
|
*
|
2985
2985
|
* ```
|
2986
2986
|
* <script type="module">
|
2987
|
-
* import {typeOf} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
2987
|
+
* import {typeOf} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/modules/types/typeof.js';
|
2988
2988
|
* console.log(typeOf())
|
2989
2989
|
* </script>
|
2990
2990
|
* ```
|
2991
2991
|
*
|
2992
2992
|
* @example
|
2993
2993
|
*
|
2994
|
-
* import {typeOf} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
2994
|
+
* import {typeOf} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/modules/types/typeof.js';
|
2995
2995
|
*
|
2996
2996
|
* console.log(typeOf(undefined)); // ↦ undefined
|
2997
2997
|
* console.log(typeOf("")); // ↦ string
|
@@ -3110,7 +3110,7 @@ var WILDCARD = '*';
|
|
3110
3110
|
*
|
3111
3111
|
* ```
|
3112
3112
|
* <script type="module">
|
3113
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
3113
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/monster.js';
|
3114
3114
|
* console.log(new Monster.Data.Pathfinder())
|
3115
3115
|
* </script>
|
3116
3116
|
* ```
|
@@ -3119,7 +3119,7 @@ var WILDCARD = '*';
|
|
3119
3119
|
*
|
3120
3120
|
* ```
|
3121
3121
|
* <script type="module">
|
3122
|
-
* import {Pathfinder} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
3122
|
+
* import {Pathfinder} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/modules/data/pathfinder.js';
|
3123
3123
|
* console.log(new Pathfinder())
|
3124
3124
|
* </script>
|
3125
3125
|
* ```
|
@@ -3161,7 +3161,7 @@ var WILDCARD = '*';
|
|
3161
3161
|
*
|
3162
3162
|
* @example
|
3163
3163
|
*
|
3164
|
-
* import {Pathfinder} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
3164
|
+
* import {Pathfinder} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/modules/data/pathfinder.js';
|
3165
3165
|
*
|
3166
3166
|
* let value = new Pathfinder({
|
3167
3167
|
* a: {
|
@@ -3187,7 +3187,7 @@ var WILDCARD = '*';
|
|
3187
3187
|
*
|
3188
3188
|
* @example
|
3189
3189
|
*
|
3190
|
-
* import {Pathfinder} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
3190
|
+
* import {Pathfinder} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/modules/data/pathfinder.js';
|
3191
3191
|
*
|
3192
3192
|
* let p = new Pathfinder({
|
3193
3193
|
* a: {
|
@@ -3602,7 +3602,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
3602
3602
|
*
|
3603
3603
|
* ```
|
3604
3604
|
* <script type="module">
|
3605
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
3605
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/monster.js';
|
3606
3606
|
* console.log(new Monster.Types.Stack())
|
3607
3607
|
* </script>
|
3608
3608
|
* ```
|
@@ -3611,7 +3611,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
3611
3611
|
*
|
3612
3612
|
* ```
|
3613
3613
|
* <script type="module">
|
3614
|
-
* import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
3614
|
+
* import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/modules/types/stack.js';
|
3615
3615
|
* console.log(new Stack())
|
3616
3616
|
* </script>
|
3617
3617
|
* ```
|
@@ -3746,7 +3746,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "functi
|
|
3746
3746
|
*
|
3747
3747
|
* ```
|
3748
3748
|
* <script type="module">
|
3749
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
3749
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/monster.js';
|
3750
3750
|
* Monster.Data.Diff(a, b)
|
3751
3751
|
* </script>
|
3752
3752
|
* ```
|
@@ -3755,14 +3755,14 @@ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "functi
|
|
3755
3755
|
*
|
3756
3756
|
* ```
|
3757
3757
|
* <script type="module">
|
3758
|
-
* import {Diff} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
3758
|
+
* import {Diff} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/modules/data/diff.js';
|
3759
3759
|
* Diff(a, b)
|
3760
3760
|
* </script>
|
3761
3761
|
* ```
|
3762
3762
|
*
|
3763
3763
|
* @example
|
3764
3764
|
*
|
3765
|
-
* import {Diff} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
3765
|
+
* import {Diff} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/modules/data/diff.js';
|
3766
3766
|
*
|
3767
3767
|
* // given are two objects x and y.
|
3768
3768
|
*
|
@@ -4008,7 +4008,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
4008
4008
|
*
|
4009
4009
|
* ```
|
4010
4010
|
* <script type="module">
|
4011
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
4011
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/monster.js';
|
4012
4012
|
* Monster.Data.extend(a, b)
|
4013
4013
|
* </script>
|
4014
4014
|
* ```
|
@@ -4017,7 +4017,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
4017
4017
|
*
|
4018
4018
|
* ```
|
4019
4019
|
* <script type="module">
|
4020
|
-
* import {extend} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
4020
|
+
* import {extend} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/modules/data/extend.js';
|
4021
4021
|
* extend(a, b)
|
4022
4022
|
* </script>
|
4023
4023
|
* ```
|
@@ -4146,7 +4146,7 @@ var DELIMITER = '|';
|
|
4146
4146
|
*
|
4147
4147
|
* ```
|
4148
4148
|
* <script type="module">
|
4149
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
4149
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/monster.js';
|
4150
4150
|
* new Monster.Data.Pipe()
|
4151
4151
|
* </script>
|
4152
4152
|
* ```
|
@@ -4155,7 +4155,7 @@ var DELIMITER = '|';
|
|
4155
4155
|
*
|
4156
4156
|
* ```
|
4157
4157
|
* <script type="module">
|
4158
|
-
* import {Pipe} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
4158
|
+
* import {Pipe} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/modules/data/pipe.js';
|
4159
4159
|
* new Pipe()
|
4160
4160
|
* </script>
|
4161
4161
|
* ```
|
@@ -4166,7 +4166,7 @@ var DELIMITER = '|';
|
|
4166
4166
|
* the word is then converted to uppercase letters and a prefix Hello is added. the two backslash safe the space char.
|
4167
4167
|
*
|
4168
4168
|
* @example
|
4169
|
-
* import {Pipe} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
4169
|
+
* import {Pipe} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/modules/data/pipe.js';
|
4170
4170
|
*
|
4171
4171
|
* let obj = {
|
4172
4172
|
* a: {
|
@@ -4328,7 +4328,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
4328
4328
|
*
|
4329
4329
|
* ```
|
4330
4330
|
* <script type="module">
|
4331
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
4331
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/monster.js';
|
4332
4332
|
* new Monster.Data.Transformer()
|
4333
4333
|
* </script>
|
4334
4334
|
* ```
|
@@ -4337,7 +4337,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
4337
4337
|
*
|
4338
4338
|
* ```
|
4339
4339
|
* <script type="module">
|
4340
|
-
* import {Transformer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
4340
|
+
* import {Transformer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/modules/data/transformer.js';
|
4341
4341
|
* new Transformer()
|
4342
4342
|
* </script>
|
4343
4343
|
* ```
|
@@ -4423,7 +4423,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
4423
4423
|
*
|
4424
4424
|
* @example
|
4425
4425
|
*
|
4426
|
-
* import {Transformer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
4426
|
+
* import {Transformer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/modules/data/transformer.js';
|
4427
4427
|
*
|
4428
4428
|
* const transformer = new Transformer("tolower")
|
4429
4429
|
*
|
@@ -4956,7 +4956,7 @@ var internalCounter = new Map();
|
|
4956
4956
|
*
|
4957
4957
|
* ```
|
4958
4958
|
* <script type="module">
|
4959
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
4959
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/monster.js';
|
4960
4960
|
* console.log(new Monster.Types.ID())
|
4961
4961
|
* </script>
|
4962
4962
|
* ```
|
@@ -4965,7 +4965,7 @@ var internalCounter = new Map();
|
|
4965
4965
|
*
|
4966
4966
|
* ```
|
4967
4967
|
* <script type="module">
|
4968
|
-
* import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
4968
|
+
* import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/modules/types/id.js';
|
4969
4969
|
* console.log(new ID())
|
4970
4970
|
* </script>
|
4971
4971
|
* ```
|
@@ -5088,7 +5088,7 @@ var ATTRIBUTEPREFIX = "data-monster-";
|
|
5088
5088
|
*
|
5089
5089
|
* ```
|
5090
5090
|
* <script type="module">
|
5091
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
5091
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/monster.js';
|
5092
5092
|
* console.log(new Monster.DOM.Assembler())
|
5093
5093
|
* </script>
|
5094
5094
|
* ```
|
@@ -5097,7 +5097,7 @@ var ATTRIBUTEPREFIX = "data-monster-";
|
|
5097
5097
|
*
|
5098
5098
|
* ```
|
5099
5099
|
* <script type="module">
|
5100
|
-
* import {Assembler} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
5100
|
+
* import {Assembler} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/modules/dom/assembler.js';
|
5101
5101
|
* console.log(new Assembler())
|
5102
5102
|
* </script>
|
5103
5103
|
* ```
|
@@ -5238,7 +5238,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
5238
5238
|
*
|
5239
5239
|
* ```
|
5240
5240
|
* <script type="module">
|
5241
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
5241
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/monster.js';
|
5242
5242
|
* new Monster.Types.ProxyObserver()
|
5243
5243
|
* </script>
|
5244
5244
|
* ```
|
@@ -5247,7 +5247,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
5247
5247
|
*
|
5248
5248
|
* ```
|
5249
5249
|
* <script type="module">
|
5250
|
-
* import {ProxyObserver} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
5250
|
+
* import {ProxyObserver} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/modules/types/proxyobserver.js';
|
5251
5251
|
* new ProxyObserver()
|
5252
5252
|
* </script>
|
5253
5253
|
* ```
|
@@ -5258,9 +5258,9 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
5258
5258
|
*
|
5259
5259
|
* @example
|
5260
5260
|
*
|
5261
|
-
* import {ProxyObserver} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
5262
|
-
* import {Observer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
5263
|
-
* import {isObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
5261
|
+
* import {ProxyObserver} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/modules/types/proxyobserver.js';
|
5262
|
+
* import {Observer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/modules/types/observer.js';
|
5263
|
+
* import {isObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/modules/types/is.js';
|
5264
5264
|
*
|
5265
5265
|
* const o = new Observer(function () {
|
5266
5266
|
* if (isObject(this) && this instanceof ProxyObserver) {
|
@@ -5586,7 +5586,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
5586
5586
|
*
|
5587
5587
|
* ```
|
5588
5588
|
* <script type="module">
|
5589
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
5589
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/monster.js';
|
5590
5590
|
* console.log(new Monster.Types.Observer())
|
5591
5591
|
* </script>
|
5592
5592
|
* ```
|
@@ -5595,7 +5595,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
5595
5595
|
*
|
5596
5596
|
* ```
|
5597
5597
|
* <script type="module">
|
5598
|
-
* import {Observer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
5598
|
+
* import {Observer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/modules/types/observer.js';
|
5599
5599
|
* console.log(new Observer())
|
5600
5600
|
* </script>
|
5601
5601
|
* ```
|
@@ -5629,7 +5629,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
5629
5629
|
*
|
5630
5630
|
* @example
|
5631
5631
|
*
|
5632
|
-
* import {Observer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
5632
|
+
* import {Observer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/modules/types/observer.js';
|
5633
5633
|
*
|
5634
5634
|
* const observer = new Observer(function(a, b, c) {
|
5635
5635
|
* console.log(this, a, b, c); // ↦ "a", 2, true
|
@@ -5829,7 +5829,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
5829
5829
|
*
|
5830
5830
|
* ```
|
5831
5831
|
* <script type="module">
|
5832
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
5832
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/monster.js';
|
5833
5833
|
* new Monster.Types.TokenList("myclass row")
|
5834
5834
|
* </script>
|
5835
5835
|
* ```
|
@@ -5838,7 +5838,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
5838
5838
|
*
|
5839
5839
|
* ```
|
5840
5840
|
* <script type="module">
|
5841
|
-
* import {TokenList} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
5841
|
+
* import {TokenList} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/modules/types/tokenlist.js';
|
5842
5842
|
* new TokenList("myclass row")
|
5843
5843
|
* </script>
|
5844
5844
|
* ```
|
@@ -6261,7 +6261,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
6261
6261
|
*
|
6262
6262
|
* ```
|
6263
6263
|
* <script type="module">
|
6264
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
6264
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/monster.js';
|
6265
6265
|
* new Monster.Types.UniqueQueue()
|
6266
6266
|
* </script>
|
6267
6267
|
* ```
|
@@ -6270,7 +6270,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
6270
6270
|
*
|
6271
6271
|
* ```
|
6272
6272
|
* <script type="module">
|
6273
|
-
* import {UniqueQueue} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
6273
|
+
* import {UniqueQueue} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/modules/types/uniquequeue.js';
|
6274
6274
|
* new UniqueQueue()
|
6275
6275
|
* </script>
|
6276
6276
|
* ```
|
@@ -6405,7 +6405,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
6405
6405
|
*
|
6406
6406
|
* ```
|
6407
6407
|
* <script type="module">
|
6408
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
6408
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/monster.js';
|
6409
6409
|
* new Monster.Types.Queue()
|
6410
6410
|
* </script>
|
6411
6411
|
* ```
|
@@ -6414,14 +6414,14 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
6414
6414
|
*
|
6415
6415
|
* ```
|
6416
6416
|
* <script type="module">
|
6417
|
-
* import {Queue} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
6417
|
+
* import {Queue} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/modules/types/queue.js';
|
6418
6418
|
* new Queue()
|
6419
6419
|
* </script>
|
6420
6420
|
* ```
|
6421
6421
|
*
|
6422
6422
|
* @example
|
6423
6423
|
*
|
6424
|
-
* import {Queue} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
6424
|
+
* import {Queue} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/modules/types/queue.js';
|
6425
6425
|
*
|
6426
6426
|
* const queue = new Queue;
|
6427
6427
|
*
|
@@ -6590,7 +6590,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
6590
6590
|
*
|
6591
6591
|
* ```
|
6592
6592
|
* <script type="module">
|
6593
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
6593
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/monster.js';
|
6594
6594
|
* console.log(new Monster.Types.ObserverList())
|
6595
6595
|
* console.log(new Monster.Types.ObserverList())
|
6596
6596
|
* </script>
|
@@ -6600,7 +6600,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
6600
6600
|
*
|
6601
6601
|
* ```
|
6602
6602
|
* <script type="module">
|
6603
|
-
* import {ObserverList} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
6603
|
+
* import {ObserverList} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/modules/types/observerlist.js';
|
6604
6604
|
* console.log(ObserverList())
|
6605
6605
|
* console.log(ObserverList())
|
6606
6606
|
* </script>
|
@@ -6760,7 +6760,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
6760
6760
|
*
|
6761
6761
|
* ```
|
6762
6762
|
* <script type="module">
|
6763
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
6763
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/monster.js';
|
6764
6764
|
* console.log(Monster.DOM.findClosestObjectLink())
|
6765
6765
|
* </script>
|
6766
6766
|
* ```
|
@@ -6769,7 +6769,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
6769
6769
|
*
|
6770
6770
|
* ```
|
6771
6771
|
* <script type="module">
|
6772
|
-
* import {getUpdaterFromNode} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
6772
|
+
* import {getUpdaterFromNode} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/modules/dom/updater.js';
|
6773
6773
|
* console.log(findClosestObjectLink())
|
6774
6774
|
* </script>
|
6775
6775
|
* ```
|
@@ -6790,7 +6790,7 @@ function findClosestObjectLink(element) {
|
|
6790
6790
|
*
|
6791
6791
|
* ```
|
6792
6792
|
* <script type="module">
|
6793
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
6793
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/monster.js';
|
6794
6794
|
* Monster.DOM.addToObjectLink();
|
6795
6795
|
* </script>
|
6796
6796
|
* ```
|
@@ -6799,7 +6799,7 @@ function findClosestObjectLink(element) {
|
|
6799
6799
|
*
|
6800
6800
|
* ```
|
6801
6801
|
* <script type="module">
|
6802
|
-
* import {addToObjectLink} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
6802
|
+
* import {addToObjectLink} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/modules/dom/attributes.js';
|
6803
6803
|
* addToObjectLink();
|
6804
6804
|
* </script>
|
6805
6805
|
* ```
|
@@ -6831,7 +6831,7 @@ function addToObjectLink(element, symbol, object) {
|
|
6831
6831
|
*
|
6832
6832
|
* ```
|
6833
6833
|
* <script type="module">
|
6834
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
6834
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/monster.js';
|
6835
6835
|
* Monster.DOM.removeObjectLink();
|
6836
6836
|
* </script>
|
6837
6837
|
* ```
|
@@ -6840,7 +6840,7 @@ function addToObjectLink(element, symbol, object) {
|
|
6840
6840
|
*
|
6841
6841
|
* ```
|
6842
6842
|
* <script type="module">
|
6843
|
-
* import {removeObjectLink} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
6843
|
+
* import {removeObjectLink} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/modules/dom/attributes.js';
|
6844
6844
|
* removeObjectLink();
|
6845
6845
|
* </script>
|
6846
6846
|
* ```
|
@@ -6871,7 +6871,7 @@ function removeObjectLink(element, symbol) {
|
|
6871
6871
|
*
|
6872
6872
|
* ```
|
6873
6873
|
* <script type="module">
|
6874
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
6874
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/monster.js';
|
6875
6875
|
* Monster.DOM.hasObjectLink();
|
6876
6876
|
* </script>
|
6877
6877
|
* ```
|
@@ -6880,7 +6880,7 @@ function removeObjectLink(element, symbol) {
|
|
6880
6880
|
*
|
6881
6881
|
* ```
|
6882
6882
|
* <script type="module">
|
6883
|
-
* import {hasObjectLink} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
6883
|
+
* import {hasObjectLink} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/modules/dom/attributes.js';
|
6884
6884
|
* hasObjectLink();
|
6885
6885
|
* </script>
|
6886
6886
|
* ```
|
@@ -6916,7 +6916,7 @@ function hasObjectLink(element, symbol) {
|
|
6916
6916
|
*
|
6917
6917
|
* ```
|
6918
6918
|
* <script type="module">
|
6919
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
6919
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/monster.js';
|
6920
6920
|
* Monster.DOM.getLinkedObjects();
|
6921
6921
|
* </script>
|
6922
6922
|
* ```
|
@@ -6925,7 +6925,7 @@ function hasObjectLink(element, symbol) {
|
|
6925
6925
|
*
|
6926
6926
|
* ```
|
6927
6927
|
* <script type="module">
|
6928
|
-
* import {getLinkedObjects} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
6928
|
+
* import {getLinkedObjects} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/modules/dom/attributes.js';
|
6929
6929
|
* getLinkedObjects();
|
6930
6930
|
* </script>
|
6931
6931
|
* ```
|
@@ -6959,7 +6959,7 @@ function getLinkedObjects(element, symbol) {
|
|
6959
6959
|
*
|
6960
6960
|
* ```
|
6961
6961
|
* <script type="module">
|
6962
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
6962
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/monster.js';
|
6963
6963
|
* Monster.DOM.toggleAttributeToken();
|
6964
6964
|
* </script>
|
6965
6965
|
* ```
|
@@ -6968,7 +6968,7 @@ function getLinkedObjects(element, symbol) {
|
|
6968
6968
|
*
|
6969
6969
|
* ```
|
6970
6970
|
* <script type="module">
|
6971
|
-
* import {toggleAttributeToken} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
6971
|
+
* import {toggleAttributeToken} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/modules/dom/attributes.js';
|
6972
6972
|
* toggleAttributeToken();
|
6973
6973
|
* </script>
|
6974
6974
|
* ```
|
@@ -7003,7 +7003,7 @@ function toggleAttributeToken(element, key, token) {
|
|
7003
7003
|
*
|
7004
7004
|
* ```
|
7005
7005
|
* <script type="module">
|
7006
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
7006
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/monster.js';
|
7007
7007
|
* Monster.DOM.addAttributeToken();
|
7008
7008
|
* </script>
|
7009
7009
|
* ```
|
@@ -7012,7 +7012,7 @@ function toggleAttributeToken(element, key, token) {
|
|
7012
7012
|
*
|
7013
7013
|
* ```
|
7014
7014
|
* <script type="module">
|
7015
|
-
* import {addAttributeToken} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
7015
|
+
* import {addAttributeToken} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/modules/dom/attributes.js';
|
7016
7016
|
* addAttributeToken();
|
7017
7017
|
* </script>
|
7018
7018
|
* ```
|
@@ -7049,7 +7049,7 @@ function addAttributeToken(element, key, token) {
|
|
7049
7049
|
*
|
7050
7050
|
* ```
|
7051
7051
|
* <script type="module">
|
7052
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
7052
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/monster.js';
|
7053
7053
|
* Monster.DOM.removeAttributeToken();
|
7054
7054
|
* </script>
|
7055
7055
|
* ```
|
@@ -7058,7 +7058,7 @@ function addAttributeToken(element, key, token) {
|
|
7058
7058
|
*
|
7059
7059
|
* ```
|
7060
7060
|
* <script type="module">
|
7061
|
-
* import {removeAttributeToken} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
7061
|
+
* import {removeAttributeToken} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/modules/dom/attributes.js';
|
7062
7062
|
* removeAttributeToken();
|
7063
7063
|
* </script>
|
7064
7064
|
* ```
|
@@ -7094,7 +7094,7 @@ function removeAttributeToken(element, key, token) {
|
|
7094
7094
|
*
|
7095
7095
|
* ```
|
7096
7096
|
* <script type="module">
|
7097
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
7097
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/monster.js';
|
7098
7098
|
* Monster.DOM.containsAttributeToken();
|
7099
7099
|
* </script>
|
7100
7100
|
* ```
|
@@ -7103,7 +7103,7 @@ function removeAttributeToken(element, key, token) {
|
|
7103
7103
|
*
|
7104
7104
|
* ```
|
7105
7105
|
* <script type="module">
|
7106
|
-
* import {containsAttributeToken} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
7106
|
+
* import {containsAttributeToken} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/modules/dom/attributes.js';
|
7107
7107
|
* containsAttributeToken();
|
7108
7108
|
* </script>
|
7109
7109
|
* ```
|
@@ -7136,7 +7136,7 @@ function containsAttributeToken(element, key, token) {
|
|
7136
7136
|
*
|
7137
7137
|
* ```
|
7138
7138
|
* <script type="module">
|
7139
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
7139
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/monster.js';
|
7140
7140
|
* Monster.DOM.replaceAttributeToken();
|
7141
7141
|
* </script>
|
7142
7142
|
* ```
|
@@ -7145,7 +7145,7 @@ function containsAttributeToken(element, key, token) {
|
|
7145
7145
|
*
|
7146
7146
|
* ```
|
7147
7147
|
* <script type="module">
|
7148
|
-
* import {replaceAttributeToken} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
7148
|
+
* import {replaceAttributeToken} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/modules/dom/attributes.js';
|
7149
7149
|
* replaceAttributeToken();
|
7150
7150
|
* </script>
|
7151
7151
|
* ```
|
@@ -7181,7 +7181,7 @@ function replaceAttributeToken(element, key, from, to) {
|
|
7181
7181
|
*
|
7182
7182
|
* ```
|
7183
7183
|
* <script type="module">
|
7184
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
7184
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/monster.js';
|
7185
7185
|
* Monster.DOM.clearAttributeTokens();
|
7186
7186
|
* </script>
|
7187
7187
|
* ```
|
@@ -7190,7 +7190,7 @@ function replaceAttributeToken(element, key, from, to) {
|
|
7190
7190
|
*
|
7191
7191
|
* ```
|
7192
7192
|
* <script type="module">
|
7193
|
-
* import {clearAttributeTokens} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
7193
|
+
* import {clearAttributeTokens} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/modules/dom/attributes.js';
|
7194
7194
|
* clearAttributeTokens();
|
7195
7195
|
* </script>
|
7196
7196
|
* ```
|
@@ -7238,7 +7238,7 @@ function clearAttributeTokens(element, key) {
|
|
7238
7238
|
*
|
7239
7239
|
* ```
|
7240
7240
|
* <script type="module">
|
7241
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
7241
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/monster.js';
|
7242
7242
|
* Monster.DOM.findClosestByAttribute();
|
7243
7243
|
* </script>
|
7244
7244
|
* ```
|
@@ -7247,7 +7247,7 @@ function clearAttributeTokens(element, key) {
|
|
7247
7247
|
*
|
7248
7248
|
* ```
|
7249
7249
|
* <script type="module">
|
7250
|
-
* import {findClosestByAttribute} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
7250
|
+
* import {findClosestByAttribute} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/modules/dom/attributes.js';
|
7251
7251
|
* findClosestByAttribute();
|
7252
7252
|
* </script>
|
7253
7253
|
* ```
|
@@ -7305,7 +7305,7 @@ function findClosestByAttribute(element, key, value) {
|
|
7305
7305
|
*
|
7306
7306
|
* ```
|
7307
7307
|
* <script type="module">
|
7308
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
7308
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/monster.js';
|
7309
7309
|
* Monster.DOM.findClosestByClass();
|
7310
7310
|
* </script>
|
7311
7311
|
* ```
|
@@ -7314,7 +7314,7 @@ function findClosestByAttribute(element, key, value) {
|
|
7314
7314
|
*
|
7315
7315
|
* ```
|
7316
7316
|
* <script type="module">
|
7317
|
-
* import {findClosestByClass} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
7317
|
+
* import {findClosestByClass} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/modules/dom/attributes.js';
|
7318
7318
|
* findClosestByClass();
|
7319
7319
|
* </script>
|
7320
7320
|
* ```
|
@@ -7848,7 +7848,7 @@ var attachedInternalSymbol = Symbol('attachedInternal');
|
|
7848
7848
|
*
|
7849
7849
|
* ```
|
7850
7850
|
* <script type="module">
|
7851
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
7851
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/monster.js';
|
7852
7852
|
* document.createElement('monster-')
|
7853
7853
|
* </script>
|
7854
7854
|
* ```
|
@@ -8383,7 +8383,7 @@ var attributeObserverSymbol = Symbol('attributeObserver');
|
|
8383
8383
|
*
|
8384
8384
|
* ```
|
8385
8385
|
* <script type="module">
|
8386
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
8386
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/monster.js';
|
8387
8387
|
* document.createElement('monster-')
|
8388
8388
|
* </script>
|
8389
8389
|
* ```
|
@@ -9249,7 +9249,7 @@ var internal = Symbol('internal');
|
|
9249
9249
|
*
|
9250
9250
|
* ```
|
9251
9251
|
* <script type="module">
|
9252
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
9252
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/monster.js';
|
9253
9253
|
* new Monster.Types.DataUrl()
|
9254
9254
|
* </script>
|
9255
9255
|
* ```
|
@@ -9258,7 +9258,7 @@ var internal = Symbol('internal');
|
|
9258
9258
|
*
|
9259
9259
|
* ```
|
9260
9260
|
* <script type="module">
|
9261
|
-
* import {DataUrl} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
9261
|
+
* import {DataUrl} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/modules/types/dataurl.js';
|
9262
9262
|
* new DataUrl()
|
9263
9263
|
* </script>
|
9264
9264
|
* ```
|
@@ -9338,7 +9338,7 @@ var DataUrl = /*#__PURE__*/function (_Base) {
|
|
9338
9338
|
*
|
9339
9339
|
* ```
|
9340
9340
|
* <script type="module">
|
9341
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
9341
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/monster.js';
|
9342
9342
|
* console.log(Monster.Types.parseDataURL())
|
9343
9343
|
* </script>
|
9344
9344
|
* ```
|
@@ -9347,7 +9347,7 @@ var DataUrl = /*#__PURE__*/function (_Base) {
|
|
9347
9347
|
*
|
9348
9348
|
* ```
|
9349
9349
|
* <script type="module">
|
9350
|
-
* import {parseDataURL} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
9350
|
+
* import {parseDataURL} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/modules/types/dataurl.js';
|
9351
9351
|
* console.log(parseDataURL())
|
9352
9352
|
* </script>
|
9353
9353
|
* ```
|
@@ -9485,7 +9485,7 @@ var internal = Symbol('internal');
|
|
9485
9485
|
*
|
9486
9486
|
* ```
|
9487
9487
|
* <script type="module">
|
9488
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
9488
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/monster.js';
|
9489
9489
|
* console.log(new Monster.Types.MediaType())
|
9490
9490
|
* </script>
|
9491
9491
|
* ```
|
@@ -9494,7 +9494,7 @@ var internal = Symbol('internal');
|
|
9494
9494
|
*
|
9495
9495
|
* ```
|
9496
9496
|
* <script type="module">
|
9497
|
-
* import {MediaType} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
9497
|
+
* import {MediaType} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/modules/types/mediatype.js';
|
9498
9498
|
* console.log(new MediaType())
|
9499
9499
|
* </script>
|
9500
9500
|
* ```
|
@@ -9612,7 +9612,7 @@ var MediaType = /*#__PURE__*/function (_Base) {
|
|
9612
9612
|
*
|
9613
9613
|
* ```
|
9614
9614
|
* <script type="module">
|
9615
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
9615
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/monster.js';
|
9616
9616
|
* console.log(Monster.Types.parseMediaType())
|
9617
9617
|
* </script>
|
9618
9618
|
* ```
|
@@ -9621,7 +9621,7 @@ var MediaType = /*#__PURE__*/function (_Base) {
|
|
9621
9621
|
*
|
9622
9622
|
* ```
|
9623
9623
|
* <script type="module">
|
9624
|
-
* import {parseMediaType} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
9624
|
+
* import {parseMediaType} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/modules/types/dataurl.js';
|
9625
9625
|
* console.log(parseMediaType())
|
9626
9626
|
* </script>
|
9627
9627
|
* ```
|
@@ -9760,7 +9760,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
9760
9760
|
*
|
9761
9761
|
* ```
|
9762
9762
|
* <script type="module">
|
9763
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
9763
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/monster.js';
|
9764
9764
|
* new Monster.DOM.Template()
|
9765
9765
|
* </script>
|
9766
9766
|
* ```
|
@@ -9769,7 +9769,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
9769
9769
|
*
|
9770
9770
|
* ```
|
9771
9771
|
* <script type="module">
|
9772
|
-
* import {Template} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
9772
|
+
* import {Template} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/modules/dom/template.js';
|
9773
9773
|
* new Template()
|
9774
9774
|
* </script>
|
9775
9775
|
* ```
|
@@ -9847,7 +9847,7 @@ var Template = /*#__PURE__*/function (_Base) {
|
|
9847
9847
|
*
|
9848
9848
|
* ```
|
9849
9849
|
* <script type="module">
|
9850
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
9850
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/monster.js';
|
9851
9851
|
* Monster.DOM.findDocumentTemplate()
|
9852
9852
|
* </script>
|
9853
9853
|
* ```
|
@@ -9856,14 +9856,14 @@ var Template = /*#__PURE__*/function (_Base) {
|
|
9856
9856
|
*
|
9857
9857
|
* ```
|
9858
9858
|
* <script type="module">
|
9859
|
-
* import {findTemplate} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
9859
|
+
* import {findTemplate} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/modules/dom/template.js';
|
9860
9860
|
* findDocumentTemplate()
|
9861
9861
|
* </script>
|
9862
9862
|
* ```
|
9863
9863
|
*
|
9864
9864
|
* @example
|
9865
9865
|
*
|
9866
|
-
* import { findDocumentTemplate } from "https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
9866
|
+
* import { findDocumentTemplate } from "https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/modules/dom/template.js";
|
9867
9867
|
*
|
9868
9868
|
* const template = document.createElement("template");
|
9869
9869
|
* template.id = "myTemplate";
|
@@ -10035,7 +10035,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
10035
10035
|
*
|
10036
10036
|
* ```
|
10037
10037
|
* <script type="module">
|
10038
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
10038
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/monster.js';
|
10039
10039
|
* console.log(new Monster.DOM.Theme())
|
10040
10040
|
* </script>
|
10041
10041
|
* ```
|
@@ -10044,14 +10044,14 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
10044
10044
|
*
|
10045
10045
|
* ```
|
10046
10046
|
* <script type="module">
|
10047
|
-
* import {Theme} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
10047
|
+
* import {Theme} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/modules/dom/theme.js';
|
10048
10048
|
* console.log(new Theme())
|
10049
10049
|
* </script>
|
10050
10050
|
* ```
|
10051
10051
|
*
|
10052
10052
|
* @example
|
10053
10053
|
*
|
10054
|
-
* import {getDocumentTheme} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
10054
|
+
* import {getDocumentTheme} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/modules/dom/theme.js';
|
10055
10055
|
*
|
10056
10056
|
* const theme = getDocumentTheme();
|
10057
10057
|
* console.log(theme.getName());
|
@@ -10238,7 +10238,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
10238
10238
|
*
|
10239
10239
|
* ```
|
10240
10240
|
* <script type="module">
|
10241
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
10241
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/monster.js';
|
10242
10242
|
* new Monster.DOM.Updater()
|
10243
10243
|
* </script>
|
10244
10244
|
* ```
|
@@ -10247,14 +10247,14 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
10247
10247
|
*
|
10248
10248
|
* ```
|
10249
10249
|
* <script type="module">
|
10250
|
-
* import {Updater} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
10250
|
+
* import {Updater} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/modules/dom/updater.js';
|
10251
10251
|
* new Updater()
|
10252
10252
|
* </script>
|
10253
10253
|
* ```
|
10254
10254
|
*
|
10255
10255
|
* @example
|
10256
10256
|
*
|
10257
|
-
* import {Updater} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
10257
|
+
* import {Updater} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/modules/dom/updater.js';
|
10258
10258
|
*
|
10259
10259
|
* // First we prepare the html document.
|
10260
10260
|
* // This is done here via script, but can also be inserted into the document as pure html.
|
@@ -11188,7 +11188,7 @@ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || func
|
|
11188
11188
|
*
|
11189
11189
|
* ```
|
11190
11190
|
* <script type="module">
|
11191
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
11191
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/monster.js';
|
11192
11192
|
* Monster.Util.trimSpaces(" hello ")
|
11193
11193
|
* </script>
|
11194
11194
|
* ```
|
@@ -11197,7 +11197,7 @@ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || func
|
|
11197
11197
|
*
|
11198
11198
|
* ```
|
11199
11199
|
* <script type="module">
|
11200
|
-
* import {trimSpaces} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
11200
|
+
* import {trimSpaces} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/modules/util/trimspaces.js';
|
11201
11201
|
* trimSpaces(' hello \\ ')
|
11202
11202
|
* </script>
|
11203
11203
|
* ```
|
@@ -11275,7 +11275,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
11275
11275
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
11276
11276
|
/* harmony export */ "Monster": function() { return /* reexport safe */ _namespace_js__WEBPACK_IMPORTED_MODULE_0__.Monster; },
|
11277
11277
|
/* harmony export */ "findTargetElementFromEvent": function() { return /* binding */ findTargetElementFromEvent; },
|
11278
|
-
/* harmony export */ "fireEvent": function() { return /* binding */ fireEvent; }
|
11278
|
+
/* harmony export */ "fireEvent": function() { return /* binding */ fireEvent; },
|
11279
|
+
/* harmony export */ "fireCustomEvent": function() { return /* binding */ fireCustomEvent; }
|
11279
11280
|
/* harmony export */ });
|
11280
11281
|
/* harmony import */ var _namespace_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2);
|
11281
11282
|
/* harmony import */ var _types_is_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(9);
|
@@ -11301,8 +11302,8 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
|
|
11301
11302
|
*
|
11302
11303
|
* ```
|
11303
11304
|
* <script type="module">
|
11304
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
11305
|
-
*
|
11305
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/monster.js';
|
11306
|
+
* new Monster.DOM.fireEvent()
|
11306
11307
|
* </script>
|
11307
11308
|
* ```
|
11308
11309
|
*
|
@@ -11310,8 +11311,8 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
|
|
11310
11311
|
*
|
11311
11312
|
* ```
|
11312
11313
|
* <script type="module">
|
11313
|
-
* import {fireEvent} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
11314
|
-
*
|
11314
|
+
* import {fireEvent} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/modules/dom/events.js';
|
11315
|
+
* fireEvent()
|
11315
11316
|
* </script>
|
11316
11317
|
* ```
|
11317
11318
|
*
|
@@ -11357,6 +11358,70 @@ function fireEvent(element, type) {
|
|
11357
11358
|
throw new TypeError('value is not an instance of HTMLElement or HTMLCollection');
|
11358
11359
|
}
|
11359
11360
|
}
|
11361
|
+
/**
|
11362
|
+
* You can call the function via the monster namespace `new Monster.DOM.fireCustomEvent()`.
|
11363
|
+
*
|
11364
|
+
* ```
|
11365
|
+
* <script type="module">
|
11366
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/monster.js';
|
11367
|
+
* new Monster.DOM.fireCustomEvent()
|
11368
|
+
* </script>
|
11369
|
+
* ```
|
11370
|
+
*
|
11371
|
+
* Alternatively, you can also integrate this function individually.
|
11372
|
+
*
|
11373
|
+
* ```
|
11374
|
+
* <script type="module">
|
11375
|
+
* import {fireCustomEvent} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/modules/dom/events.js';
|
11376
|
+
* fireCustomEvent()
|
11377
|
+
* </script>
|
11378
|
+
* ```
|
11379
|
+
*
|
11380
|
+
* @param {HTMLElement|HTMLCollection|NodeList} element
|
11381
|
+
* @param {string} type
|
11382
|
+
* @return {void}
|
11383
|
+
* @since 1.19.0
|
11384
|
+
* @copyright schukai GmbH
|
11385
|
+
* @memberOf Monster.DOM
|
11386
|
+
* @throws {TypeError} value is not an instance of HTMLElement or HTMLCollection
|
11387
|
+
* @summary Construct and send and event
|
11388
|
+
*/
|
11389
|
+
|
11390
|
+
|
11391
|
+
function fireCustomEvent(element, type, detail) {
|
11392
|
+
var document = (0,_util_js__WEBPACK_IMPORTED_MODULE_3__.getDocument)();
|
11393
|
+
|
11394
|
+
if (element instanceof HTMLElement) {
|
11395
|
+
if (!(0,_types_is_js__WEBPACK_IMPORTED_MODULE_1__.isObject)(detail)) {
|
11396
|
+
detail = {
|
11397
|
+
detail: detail
|
11398
|
+
};
|
11399
|
+
}
|
11400
|
+
|
11401
|
+
var event = new CustomEvent((0,_types_validate_js__WEBPACK_IMPORTED_MODULE_2__.validateString)(type), {
|
11402
|
+
bubbles: true,
|
11403
|
+
cancelable: true,
|
11404
|
+
detail: detail
|
11405
|
+
});
|
11406
|
+
element.dispatchEvent(event);
|
11407
|
+
} else if (element instanceof HTMLCollection || element instanceof NodeList) {
|
11408
|
+
var _iterator2 = _createForOfIteratorHelper(element),
|
11409
|
+
_step2;
|
11410
|
+
|
11411
|
+
try {
|
11412
|
+
for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
|
11413
|
+
var e = _step2.value;
|
11414
|
+
fireCustomEvent(e, type, detail);
|
11415
|
+
}
|
11416
|
+
} catch (err) {
|
11417
|
+
_iterator2.e(err);
|
11418
|
+
} finally {
|
11419
|
+
_iterator2.f();
|
11420
|
+
}
|
11421
|
+
} else {
|
11422
|
+
throw new TypeError('value is not an instance of HTMLElement or HTMLCollection');
|
11423
|
+
}
|
11424
|
+
}
|
11360
11425
|
/**
|
11361
11426
|
* This function gets the path `Event.composedPath()` from an event and tries to find the next element
|
11362
11427
|
* up the tree `element.closest()` with the attribute and value. If no value, or a value that is undefined or null,
|
@@ -11366,7 +11431,7 @@ function fireEvent(element, type) {
|
|
11366
11431
|
*
|
11367
11432
|
* ```
|
11368
11433
|
* <script type="module">
|
11369
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
11434
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/monster.js';
|
11370
11435
|
* new Monster.DOM.findTargetElementFromEvent()
|
11371
11436
|
* </script>
|
11372
11437
|
* ```
|
@@ -11375,7 +11440,7 @@ function fireEvent(element, type) {
|
|
11375
11440
|
*
|
11376
11441
|
* ```
|
11377
11442
|
* <script type="module">
|
11378
|
-
* import {findTargetElementFromEvent} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
11443
|
+
* import {findTargetElementFromEvent} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/modules/dom/events.js';
|
11379
11444
|
* findTargetElementFromEvent()
|
11380
11445
|
* </script>
|
11381
11446
|
* ```
|
@@ -11414,7 +11479,7 @@ function findTargetElementFromEvent(event, attributeName, attributeValue) {
|
|
11414
11479
|
return undefined;
|
11415
11480
|
}
|
11416
11481
|
|
11417
|
-
(0,_namespace_js__WEBPACK_IMPORTED_MODULE_0__.assignToNamespace)('Monster.DOM', findTargetElementFromEvent, fireEvent);
|
11482
|
+
(0,_namespace_js__WEBPACK_IMPORTED_MODULE_0__.assignToNamespace)('Monster.DOM', findTargetElementFromEvent, fireEvent, fireCustomEvent);
|
11418
11483
|
|
11419
11484
|
|
11420
11485
|
/***/ }),
|
@@ -11446,7 +11511,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "functi
|
|
11446
11511
|
*
|
11447
11512
|
* ```
|
11448
11513
|
* <script type="module">
|
11449
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
11514
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/monster.js';
|
11450
11515
|
* console.log(Monster.DOM.getDocument())
|
11451
11516
|
* </script>
|
11452
11517
|
* ```
|
@@ -11455,7 +11520,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "functi
|
|
11455
11520
|
*
|
11456
11521
|
* ```
|
11457
11522
|
* <script type="module">
|
11458
|
-
* import {getDocument} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
11523
|
+
* import {getDocument} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/modules/dom/util.js';
|
11459
11524
|
* console.log(getDocument())
|
11460
11525
|
* </script>
|
11461
11526
|
* ```
|
@@ -11510,7 +11575,7 @@ function getDocument() {
|
|
11510
11575
|
*
|
11511
11576
|
* ```
|
11512
11577
|
* <script type="module">
|
11513
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
11578
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/monster.js';
|
11514
11579
|
* console.log(Monster.DOM.getWindow())
|
11515
11580
|
* </script>
|
11516
11581
|
* ```
|
@@ -11519,7 +11584,7 @@ function getDocument() {
|
|
11519
11584
|
*
|
11520
11585
|
* ```
|
11521
11586
|
* <script type="module">
|
11522
|
-
* import {getWindow} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
11587
|
+
* import {getWindow} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/modules/dom/util.js';
|
11523
11588
|
* console.log(getWindow(null))
|
11524
11589
|
* </script>
|
11525
11590
|
* ```
|
@@ -11579,7 +11644,7 @@ function getWindow() {
|
|
11579
11644
|
*
|
11580
11645
|
* ```
|
11581
11646
|
* <script type="module">
|
11582
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
11647
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/monster.js';
|
11583
11648
|
* console.log(Monster.DOM.getDocumentFragmentFromString())
|
11584
11649
|
* </script>
|
11585
11650
|
* ```
|
@@ -11588,7 +11653,7 @@ function getWindow() {
|
|
11588
11653
|
*
|
11589
11654
|
* ```
|
11590
11655
|
* <script type="module">
|
11591
|
-
* import {getDocumentFragmentFromString} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
11656
|
+
* import {getDocumentFragmentFromString} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/modules/dom/util.js';
|
11592
11657
|
* console.log(getDocumentFragmentFromString('<div></div>'))
|
11593
11658
|
* </script>
|
11594
11659
|
* ```
|
@@ -11678,7 +11743,7 @@ var DEFAULT_LANGUAGE = 'en';
|
|
11678
11743
|
*
|
11679
11744
|
* ```
|
11680
11745
|
* <script type="module">
|
11681
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
11746
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/monster.js';
|
11682
11747
|
* new Monster.DOM.getLocaleOfDocument()
|
11683
11748
|
* </script>
|
11684
11749
|
* ```
|
@@ -11687,7 +11752,7 @@ var DEFAULT_LANGUAGE = 'en';
|
|
11687
11752
|
*
|
11688
11753
|
* ```
|
11689
11754
|
* <script type="module">
|
11690
|
-
* import {getLocaleOfDocument} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
11755
|
+
* import {getLocaleOfDocument} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/modules/dom/locale.js';
|
11691
11756
|
* new getLocaleOfDocument()
|
11692
11757
|
* </script>
|
11693
11758
|
* ```
|
@@ -11780,7 +11845,7 @@ var localeStringSymbol = Symbol('localeString');
|
|
11780
11845
|
*
|
11781
11846
|
* ```
|
11782
11847
|
* <script type="module">
|
11783
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
11848
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/monster.js';
|
11784
11849
|
* new Monster.I18n.Locale()
|
11785
11850
|
* </script>
|
11786
11851
|
* ```
|
@@ -11789,7 +11854,7 @@ var localeStringSymbol = Symbol('localeString');
|
|
11789
11854
|
*
|
11790
11855
|
* ```
|
11791
11856
|
* <script type="module">
|
11792
|
-
* import {Locale} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
11857
|
+
* import {Locale} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/modules/i18n/locale.js';
|
11793
11858
|
* new Locale()
|
11794
11859
|
* </script>
|
11795
11860
|
* ```
|
@@ -11982,7 +12047,7 @@ var Locale = /*#__PURE__*/function (_Base) {
|
|
11982
12047
|
*
|
11983
12048
|
* ```
|
11984
12049
|
* <script type="module">
|
11985
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
12050
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/monster.js';
|
11986
12051
|
* new Monster.I18n.createLocale()
|
11987
12052
|
* </script>
|
11988
12053
|
* ```
|
@@ -11991,7 +12056,7 @@ var Locale = /*#__PURE__*/function (_Base) {
|
|
11991
12056
|
*
|
11992
12057
|
* ```
|
11993
12058
|
* <script type="module">
|
11994
|
-
* import {createLocale} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
12059
|
+
* import {createLocale} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/modules/i18n/locale.js';
|
11995
12060
|
* createLocale()
|
11996
12061
|
* </script>
|
11997
12062
|
* ```
|
@@ -12167,7 +12232,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
12167
12232
|
*
|
12168
12233
|
* ```
|
12169
12234
|
* <script type="module">
|
12170
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
12235
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/monster.js';
|
12171
12236
|
* new Monster.I18n.Provider()
|
12172
12237
|
* </script>
|
12173
12238
|
* ```
|
@@ -12176,7 +12241,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
12176
12241
|
*
|
12177
12242
|
* ```
|
12178
12243
|
* <script type="module">
|
12179
|
-
* import {Provider} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
12244
|
+
* import {Provider} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/modules/i18n/provider.js';
|
12180
12245
|
* new Provider()
|
12181
12246
|
* </script>
|
12182
12247
|
* ```
|
@@ -12277,7 +12342,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
12277
12342
|
*
|
12278
12343
|
* ```
|
12279
12344
|
* <script type="module">
|
12280
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
12345
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/monster.js';
|
12281
12346
|
* new Monster.Types.BaseWithOptions()
|
12282
12347
|
* </script>
|
12283
12348
|
* ```
|
@@ -12286,7 +12351,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
12286
12351
|
*
|
12287
12352
|
* ```
|
12288
12353
|
* <script type="module">
|
12289
|
-
* import {BaseWithOptions} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
12354
|
+
* import {BaseWithOptions} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/modules/types/basewithoptions.js';
|
12290
12355
|
* new BaseWithOptions()
|
12291
12356
|
* </script>
|
12292
12357
|
* ```
|
@@ -12427,7 +12492,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
12427
12492
|
*
|
12428
12493
|
* ```
|
12429
12494
|
* <script type="module">
|
12430
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
12495
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/monster.js';
|
12431
12496
|
* new Monster.I18n.Translations()
|
12432
12497
|
* </script>
|
12433
12498
|
* ```
|
@@ -12436,15 +12501,15 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
12436
12501
|
*
|
12437
12502
|
* ```
|
12438
12503
|
* <script type="module">
|
12439
|
-
* import {Translations} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
12504
|
+
* import {Translations} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/modules/i18n/translations.js';
|
12440
12505
|
* new Translations()
|
12441
12506
|
* </script>
|
12442
12507
|
* ```
|
12443
12508
|
*
|
12444
12509
|
* @example
|
12445
12510
|
*
|
12446
|
-
* import {Translations} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
12447
|
-
* import {parseLocale} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
12511
|
+
* import {Translations} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/modules/i18n/translations.js';
|
12512
|
+
* import {parseLocale} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/modules/i18n/locale.js';
|
12448
12513
|
*
|
12449
12514
|
* const translation = new Translations(parseLocale('en-GB'));
|
12450
12515
|
*
|
@@ -12716,7 +12781,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
12716
12781
|
*
|
12717
12782
|
* ```
|
12718
12783
|
* <script type="module">
|
12719
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
12784
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/monster.js';
|
12720
12785
|
* new Monster.I18n.Providers.Fetch()
|
12721
12786
|
* </script>
|
12722
12787
|
* ```
|
@@ -12725,14 +12790,14 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
12725
12790
|
*
|
12726
12791
|
* ```
|
12727
12792
|
* <script type="module">
|
12728
|
-
* import {Fetch} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
12793
|
+
* import {Fetch} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/modules/i18n/providers/fetch.js';
|
12729
12794
|
* new Fetch()
|
12730
12795
|
* </script>
|
12731
12796
|
* ```
|
12732
12797
|
*
|
12733
12798
|
* @example <caption>das ist ein test</caption>
|
12734
12799
|
*
|
12735
|
-
* import {Fetch} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
12800
|
+
* import {Fetch} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/modules/i18n/providers/fetch.js';
|
12736
12801
|
*
|
12737
12802
|
* // fetch from API
|
12738
12803
|
* const translation = new Fetch('https://example.com/${language}.json').getTranslation('en-GB');
|
@@ -12962,7 +13027,7 @@ var workingDataSymbol = Symbol('workingData');
|
|
12962
13027
|
*
|
12963
13028
|
* ```
|
12964
13029
|
* <script type="module">
|
12965
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
13030
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/monster.js';
|
12966
13031
|
* new Monster.Text.Formatter()
|
12967
13032
|
* </script>
|
12968
13033
|
* ```
|
@@ -12971,7 +13036,7 @@ var workingDataSymbol = Symbol('workingData');
|
|
12971
13036
|
*
|
12972
13037
|
* ```
|
12973
13038
|
* <script type="module">
|
12974
|
-
* import {Formatter} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
13039
|
+
* import {Formatter} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/modules/text/formatter.js';
|
12975
13040
|
* new Formatter()
|
12976
13041
|
* </script>
|
12977
13042
|
* ```
|
@@ -13016,7 +13081,7 @@ var workingDataSymbol = Symbol('workingData');
|
|
13016
13081
|
*
|
13017
13082
|
* @example
|
13018
13083
|
*
|
13019
|
-
* import {Formatter} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
13084
|
+
* import {Formatter} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/modules/text/formatter.js';
|
13020
13085
|
*
|
13021
13086
|
* new Formatter({
|
13022
13087
|
* a: {
|
@@ -13361,7 +13426,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
13361
13426
|
*
|
13362
13427
|
* ```
|
13363
13428
|
* <script type="module">
|
13364
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
13429
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/monster.js';
|
13365
13430
|
* console.log(new Monster.Logging.Handler())
|
13366
13431
|
* </script>
|
13367
13432
|
* ```
|
@@ -13370,7 +13435,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
13370
13435
|
*
|
13371
13436
|
* ```
|
13372
13437
|
* <script type="module">
|
13373
|
-
* import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
13438
|
+
* import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/modules/logging/handler.js';
|
13374
13439
|
* console.log(new Handler())
|
13375
13440
|
* </script>
|
13376
13441
|
* ```
|
@@ -13608,7 +13673,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
13608
13673
|
*
|
13609
13674
|
* ```
|
13610
13675
|
* <script type="module">
|
13611
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
13676
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/monster.js';
|
13612
13677
|
* console.log(new Monster.Logging.LogEntry())
|
13613
13678
|
* </script>
|
13614
13679
|
* ```
|
@@ -13617,7 +13682,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
13617
13682
|
*
|
13618
13683
|
* ```
|
13619
13684
|
* <script type="module">
|
13620
|
-
* import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
13685
|
+
* import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/modules/logging/logentry.js';
|
13621
13686
|
* console.log(new LogEntry())
|
13622
13687
|
* </script>
|
13623
13688
|
* ```
|
@@ -13803,7 +13868,7 @@ var OFF = 0;
|
|
13803
13868
|
*
|
13804
13869
|
* ```
|
13805
13870
|
* <script type="module">
|
13806
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
13871
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/monster.js';
|
13807
13872
|
* new Monster.Logging.Logger()
|
13808
13873
|
* </script>
|
13809
13874
|
* ```
|
@@ -13812,7 +13877,7 @@ var OFF = 0;
|
|
13812
13877
|
*
|
13813
13878
|
* ```
|
13814
13879
|
* <script type="module">
|
13815
|
-
* import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
13880
|
+
* import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/modules/logging/logger.js';
|
13816
13881
|
* new Logger()
|
13817
13882
|
* </script>
|
13818
13883
|
* ```
|
@@ -14112,7 +14177,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
14112
14177
|
*
|
14113
14178
|
* ```
|
14114
14179
|
* <script type="module">
|
14115
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
14180
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/monster.js';
|
14116
14181
|
* console.log(new Monster.Logging.Handler.ConsoleHandler())
|
14117
14182
|
* </script>
|
14118
14183
|
* ```
|
@@ -14121,7 +14186,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
14121
14186
|
*
|
14122
14187
|
* ```
|
14123
14188
|
* <script type="module">
|
14124
|
-
* import {ConsoleHandler} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
14189
|
+
* import {ConsoleHandler} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/modules/logging/handler/console.js';
|
14125
14190
|
* console.log(new ConsoleHandler())
|
14126
14191
|
* </script>
|
14127
14192
|
* ```
|
@@ -14197,7 +14262,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
14197
14262
|
*
|
14198
14263
|
* ```
|
14199
14264
|
* <script type="module">
|
14200
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
14265
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/monster.js';
|
14201
14266
|
* Monster.Math.random(1,10)
|
14202
14267
|
* // ↦ 5
|
14203
14268
|
* </script>
|
@@ -14207,7 +14272,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
14207
14272
|
*
|
14208
14273
|
* ```
|
14209
14274
|
* <script type="module">
|
14210
|
-
* import {random} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
14275
|
+
* import {random} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/modules/math/random.js';
|
14211
14276
|
* random(1,10)
|
14212
14277
|
* // ↦ 5
|
14213
14278
|
* </script>
|
@@ -14364,7 +14429,7 @@ var internalCounter = 0;
|
|
14364
14429
|
*
|
14365
14430
|
* ```
|
14366
14431
|
* <script type="module">
|
14367
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
14432
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/monster.js';
|
14368
14433
|
* console.log(new Monster.Types.RandomID())
|
14369
14434
|
* </script>
|
14370
14435
|
* ```
|
@@ -14373,7 +14438,7 @@ var internalCounter = 0;
|
|
14373
14438
|
*
|
14374
14439
|
* ```
|
14375
14440
|
* <script type="module">
|
14376
|
-
* import {RandomID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
14441
|
+
* import {RandomID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/modules/types/randomid.js';
|
14377
14442
|
* console.log(new RandomID())
|
14378
14443
|
* </script>
|
14379
14444
|
* ```
|
@@ -14456,7 +14521,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
14456
14521
|
*
|
14457
14522
|
* ```
|
14458
14523
|
* <script type="module">
|
14459
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
14524
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/monster.js';
|
14460
14525
|
* console.log(new Monster.Types.Version('1.2.3')) // ↦ 1.2.3
|
14461
14526
|
* console.log(new Monster.Types.Version('1')) // ↦ 1.0.0
|
14462
14527
|
* </script>
|
@@ -14466,7 +14531,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
14466
14531
|
*
|
14467
14532
|
* ```
|
14468
14533
|
* <script type="module">
|
14469
|
-
* import {Version} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
14534
|
+
* import {Version} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/modules/types/version.js';
|
14470
14535
|
* console.log(new Version('1.2.3')) // ↦ 1.2.3
|
14471
14536
|
* console.log(new Version('1')) // ↦ 1.0.0
|
14472
14537
|
* </script>
|
@@ -14474,7 +14539,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
14474
14539
|
*
|
14475
14540
|
* @example
|
14476
14541
|
*
|
14477
|
-
* import {Version} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
14542
|
+
* import {Version} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/modules/types/version.js';
|
14478
14543
|
*
|
14479
14544
|
* new Version('1.0.0') // ↦ 1.0.0
|
14480
14545
|
* new Version(1) // ↦ 1.0.0
|
@@ -14608,7 +14673,7 @@ var monsterVersion;
|
|
14608
14673
|
*
|
14609
14674
|
* ```
|
14610
14675
|
* <script type="module">
|
14611
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
14676
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/monster.js';
|
14612
14677
|
* console.log(Monster.getVersion())
|
14613
14678
|
* </script>
|
14614
14679
|
* ```
|
@@ -14617,7 +14682,7 @@ var monsterVersion;
|
|
14617
14682
|
*
|
14618
14683
|
* ```
|
14619
14684
|
* <script type="module">
|
14620
|
-
* import {getVersion} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
14685
|
+
* import {getVersion} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/modules/types/version.js';
|
14621
14686
|
* console.log(getVersion())
|
14622
14687
|
* </script>
|
14623
14688
|
* ```
|
@@ -14636,7 +14701,7 @@ function getVersion() {
|
|
14636
14701
|
/**#@+ dont touch, replaced by make with package.json version */
|
14637
14702
|
|
14638
14703
|
|
14639
|
-
monsterVersion = new Version('1.28.
|
14704
|
+
monsterVersion = new Version('1.28.1');
|
14640
14705
|
/**#@-*/
|
14641
14706
|
|
14642
14707
|
return monsterVersion;
|
@@ -14692,7 +14757,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
14692
14757
|
*
|
14693
14758
|
* ```
|
14694
14759
|
* <script type="module">
|
14695
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
14760
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/monster.js';
|
14696
14761
|
* new Monster.Util.Comparator()
|
14697
14762
|
* </script>
|
14698
14763
|
* ```
|
@@ -14701,7 +14766,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
14701
14766
|
*
|
14702
14767
|
* ```
|
14703
14768
|
* <script type="module">
|
14704
|
-
* import {Comparator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
14769
|
+
* import {Comparator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/modules/util/comparator.js';
|
14705
14770
|
* console.log(new Comparator())
|
14706
14771
|
* </script>
|
14707
14772
|
* ```
|
@@ -14726,7 +14791,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
14726
14791
|
*
|
14727
14792
|
* @example
|
14728
14793
|
*
|
14729
|
-
* import {Comparator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
14794
|
+
* import {Comparator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/modules/util/comparator.js';
|
14730
14795
|
*
|
14731
14796
|
* console.log(new Comparator().lessThanOrEqual(2, 5))
|
14732
14797
|
* // ↦ true
|
@@ -14939,7 +15004,7 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
|
|
14939
15004
|
*
|
14940
15005
|
* ```
|
14941
15006
|
* <script type="module">
|
14942
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
15007
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/monster.js';
|
14943
15008
|
* Monster.Util.deepFreeze({})
|
14944
15009
|
* </script>
|
14945
15010
|
* ```
|
@@ -14948,7 +15013,7 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
|
|
14948
15013
|
*
|
14949
15014
|
* ```
|
14950
15015
|
* <script type="module">
|
14951
|
-
* import {deepFreeze} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.
|
15016
|
+
* import {deepFreeze} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.1/dist/modules/util/freeze.js';
|
14952
15017
|
* deepFreeze({})
|
14953
15018
|
* </script>
|
14954
15019
|
* ```
|