@schukai/monster 1.26.0 → 1.26.1
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG +8 -1
- package/README.md +3 -3
- package/dist/modules/constants.js +1 -1
- package/dist/modules/constraints/abstract.js +1 -1
- package/dist/modules/constraints/abstractoperator.js +1 -1
- package/dist/modules/constraints/andoperator.js +1 -1
- package/dist/modules/constraints/invalid.js +1 -1
- package/dist/modules/constraints/isarray.js +1 -1
- package/dist/modules/constraints/isobject.js +1 -1
- package/dist/modules/constraints/namespace.js +1 -1
- package/dist/modules/constraints/oroperator.js +1 -1
- package/dist/modules/constraints/valid.js +1 -1
- package/dist/modules/data/buildmap.js +1 -1
- package/dist/modules/data/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 +1 -1
- 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 +2 -2
- 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 +238 -226
- 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 +24 -24
- package/source/dom/customcontrol.js +1 -1
- package/source/dom/customelement.js +1 -1
- package/source/dom/events.js +4 -4
- 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 +21 -11
- 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/monster.js +1 -1
- package/test/web/monster-dev.html +3 -3
- package/test/web/monster.html +2 -2
- package/test/web/test.html +2 -2
- package/test/web/tests.js +2 -2
package/dist/monster.dev.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
/** Monster 1.26.
|
1
|
+
/** Monster 1.26.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.26.
|
143
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.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.26.
|
390
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.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.26.
|
399
|
+
* import {Base} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.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.26.
|
571
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.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.26.
|
580
|
+
* import {AndOperator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.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.26.
|
588
|
-
* import {Invalid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.
|
589
|
-
* import {AndOperator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.
|
587
|
+
* import {Valid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.1/dist/modules/constraints/valid.js';
|
588
|
+
* import {Invalid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.1/dist/modules/constraints/invalid.js';
|
589
|
+
* import {AndOperator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.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.26.
|
691
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.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.26.
|
700
|
+
* import {Invalid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.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.26.
|
707
|
+
* import {Invalid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.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.26.
|
802
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.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.26.
|
811
|
+
* import {IsArray} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.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.26.
|
818
|
+
* import {IsArray} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.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.26.
|
907
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.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.26.
|
918
|
+
* import {isIterable} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.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.26.
|
946
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.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.26.
|
956
|
+
* import {isPrimitive} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.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.26.
|
994
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.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.26.
|
1004
|
+
* import {isSymbol} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.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.26.
|
1030
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.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.26.
|
1041
|
+
* import {isBoolean} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.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.26.
|
1072
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.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.26.
|
1082
|
+
* import {isString} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.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.26.
|
1112
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.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.26.
|
1123
|
+
* import {isObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.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.26.
|
1156
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.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.26.
|
1167
|
+
* import {isInstance} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.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.26.
|
1197
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.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.26.
|
1207
|
+
* import {isArray} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.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.26.
|
1234
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.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.26.
|
1245
|
+
* import {isFunction} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.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.26.
|
1279
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.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.26.
|
1290
|
+
* import {isInteger} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.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.26.
|
1363
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.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.26.
|
1372
|
+
* import {IsObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.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.26.
|
1379
|
+
* import {IsObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.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.26.
|
1482
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.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.26.
|
1491
|
+
* import {OrOperator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.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.26.
|
1499
|
-
* import {Invalid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.
|
1500
|
-
* import {OrOperator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.
|
1498
|
+
* import {Valid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.1/dist/modules/constraints/valid.js';
|
1499
|
+
* import {Invalid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.1/dist/modules/constraints/invalid.js';
|
1500
|
+
* import {OrOperator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.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.26.
|
1625
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.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.26.
|
1634
|
+
* import {Valid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.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.26.
|
1641
|
+
* import {Valid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.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.26.
|
1750
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.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.26.
|
1759
|
+
* import {buildMap} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.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.26.
|
1770
|
+
* import {buildMap} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.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.26.
|
2000
|
+
* import {buildMap} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.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.26.
|
2203
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.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.26.
|
2213
|
+
* import {validateIterable} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.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.26.
|
2244
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.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.26.
|
2254
|
+
* import {validatePrimitive} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.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.26.
|
2286
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.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.26.
|
2297
|
+
* import {validateBoolean} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.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.26.
|
2328
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.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.26.
|
2338
|
+
* import {validateString} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.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.26.
|
2367
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.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.26.
|
2378
|
+
* import {validateObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.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.26.
|
2408
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.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.26.
|
2419
|
+
* import {validateInstance} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.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.26.
|
2459
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.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.26.
|
2469
|
+
* import {validateArray} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.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.26.
|
2498
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.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.26.
|
2508
|
+
* import {validateSymbol} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.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.26.
|
2537
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.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.26.
|
2548
|
+
* import {validateFunction} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.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.26.
|
2578
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.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.26.
|
2589
|
+
* import {validateFunction} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.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.26.
|
2655
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.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.26.
|
2664
|
+
* import {clone} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.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.26.
|
2876
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.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.26.
|
2886
|
+
* import {getGlobalObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.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.26.
|
2918
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.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.26.
|
2927
|
+
* import {getGlobalFunction} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.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.26.
|
2978
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.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.26.
|
2987
|
+
* import {typeOf} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.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.26.
|
2994
|
+
* import {typeOf} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.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.26.
|
3113
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.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.26.
|
3122
|
+
* import {Pathfinder} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.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.26.
|
3164
|
+
* import {Pathfinder} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.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.26.
|
3190
|
+
* import {Pathfinder} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.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.26.
|
3605
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.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.26.
|
3614
|
+
* import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.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.26.
|
3749
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.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.26.
|
3758
|
+
* import {Diff} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.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.26.
|
3765
|
+
* import {Diff} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.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.26.
|
4011
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.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.26.
|
4020
|
+
* import {extend} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.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.26.
|
4149
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.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.26.
|
4158
|
+
* import {Pipe} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.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.26.
|
4169
|
+
* import {Pipe} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.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.26.
|
4331
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.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.26.
|
4340
|
+
* import {Transformer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.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.26.
|
4426
|
+
* import {Transformer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.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.26.
|
4959
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.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.26.
|
4968
|
+
* import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.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.26.
|
5091
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.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.26.
|
5100
|
+
* import {Assembler} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.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.26.
|
5241
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.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.26.
|
5250
|
+
* import {ProxyObserver} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.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.26.
|
5262
|
-
* import {Observer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.
|
5263
|
-
* import {isObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.
|
5261
|
+
* import {ProxyObserver} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.1/dist/modules/types/proxyobserver.js';
|
5262
|
+
* import {Observer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.1/dist/modules/types/observer.js';
|
5263
|
+
* import {isObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.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.26.
|
5589
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.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.26.
|
5598
|
+
* import {Observer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.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.26.
|
5632
|
+
* import {Observer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.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.26.
|
5832
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.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.26.
|
5841
|
+
* import {TokenList} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.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.26.
|
6264
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.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.26.
|
6273
|
+
* import {UniqueQueue} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.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.26.
|
6408
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.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.26.
|
6417
|
+
* import {Queue} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.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.26.
|
6424
|
+
* import {Queue} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.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.26.
|
6593
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.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.26.
|
6603
|
+
* import {ObserverList} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.1/dist/modules/types/observerlist.js';
|
6604
6604
|
* console.log(ObserverList())
|
6605
6605
|
* console.log(ObserverList())
|
6606
6606
|
* </script>
|
@@ -6759,7 +6759,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
6759
6759
|
*
|
6760
6760
|
* ```
|
6761
6761
|
* <script type="module">
|
6762
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.
|
6762
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.1/dist/monster.js';
|
6763
6763
|
* console.log(Monster.DOM.findClosestObjectLink())
|
6764
6764
|
* </script>
|
6765
6765
|
* ```
|
@@ -6768,7 +6768,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
6768
6768
|
*
|
6769
6769
|
* ```
|
6770
6770
|
* <script type="module">
|
6771
|
-
* import {getUpdaterFromNode} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.
|
6771
|
+
* import {getUpdaterFromNode} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.1/dist/modules/dom/updater.js';
|
6772
6772
|
* console.log(findClosestObjectLink())
|
6773
6773
|
* </script>
|
6774
6774
|
* ```
|
@@ -6789,7 +6789,7 @@ function findClosestObjectLink(element) {
|
|
6789
6789
|
*
|
6790
6790
|
* ```
|
6791
6791
|
* <script type="module">
|
6792
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.
|
6792
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.1/dist/monster.js';
|
6793
6793
|
* Monster.DOM.addToObjectLink();
|
6794
6794
|
* </script>
|
6795
6795
|
* ```
|
@@ -6798,7 +6798,7 @@ function findClosestObjectLink(element) {
|
|
6798
6798
|
*
|
6799
6799
|
* ```
|
6800
6800
|
* <script type="module">
|
6801
|
-
* import {addToObjectLink} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.
|
6801
|
+
* import {addToObjectLink} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.1/dist/modules/dom/attributes.js';
|
6802
6802
|
* addToObjectLink();
|
6803
6803
|
* </script>
|
6804
6804
|
* ```
|
@@ -6830,7 +6830,7 @@ function addToObjectLink(element, symbol, object) {
|
|
6830
6830
|
*
|
6831
6831
|
* ```
|
6832
6832
|
* <script type="module">
|
6833
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.
|
6833
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.1/dist/monster.js';
|
6834
6834
|
* Monster.DOM.removeObjectLink();
|
6835
6835
|
* </script>
|
6836
6836
|
* ```
|
@@ -6839,7 +6839,7 @@ function addToObjectLink(element, symbol, object) {
|
|
6839
6839
|
*
|
6840
6840
|
* ```
|
6841
6841
|
* <script type="module">
|
6842
|
-
* import {removeObjectLink} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.
|
6842
|
+
* import {removeObjectLink} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.1/dist/modules/dom/attributes.js';
|
6843
6843
|
* removeObjectLink();
|
6844
6844
|
* </script>
|
6845
6845
|
* ```
|
@@ -6870,7 +6870,7 @@ function removeObjectLink(element, symbol) {
|
|
6870
6870
|
*
|
6871
6871
|
* ```
|
6872
6872
|
* <script type="module">
|
6873
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.
|
6873
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.1/dist/monster.js';
|
6874
6874
|
* Monster.DOM.hasObjectLink();
|
6875
6875
|
* </script>
|
6876
6876
|
* ```
|
@@ -6879,7 +6879,7 @@ function removeObjectLink(element, symbol) {
|
|
6879
6879
|
*
|
6880
6880
|
* ```
|
6881
6881
|
* <script type="module">
|
6882
|
-
* import {hasObjectLink} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.
|
6882
|
+
* import {hasObjectLink} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.1/dist/modules/dom/attributes.js';
|
6883
6883
|
* hasObjectLink();
|
6884
6884
|
* </script>
|
6885
6885
|
* ```
|
@@ -6915,7 +6915,7 @@ function hasObjectLink(element, symbol) {
|
|
6915
6915
|
*
|
6916
6916
|
* ```
|
6917
6917
|
* <script type="module">
|
6918
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.
|
6918
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.1/dist/monster.js';
|
6919
6919
|
* Monster.DOM.getLinkedObjects();
|
6920
6920
|
* </script>
|
6921
6921
|
* ```
|
@@ -6924,7 +6924,7 @@ function hasObjectLink(element, symbol) {
|
|
6924
6924
|
*
|
6925
6925
|
* ```
|
6926
6926
|
* <script type="module">
|
6927
|
-
* import {getLinkedObjects} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.
|
6927
|
+
* import {getLinkedObjects} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.1/dist/modules/dom/attributes.js';
|
6928
6928
|
* getLinkedObjects();
|
6929
6929
|
* </script>
|
6930
6930
|
* ```
|
@@ -6958,7 +6958,7 @@ function getLinkedObjects(element, symbol) {
|
|
6958
6958
|
*
|
6959
6959
|
* ```
|
6960
6960
|
* <script type="module">
|
6961
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.
|
6961
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.1/dist/monster.js';
|
6962
6962
|
* Monster.DOM.toggleAttributeToken();
|
6963
6963
|
* </script>
|
6964
6964
|
* ```
|
@@ -6967,7 +6967,7 @@ function getLinkedObjects(element, symbol) {
|
|
6967
6967
|
*
|
6968
6968
|
* ```
|
6969
6969
|
* <script type="module">
|
6970
|
-
* import {toggleAttributeToken} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.
|
6970
|
+
* import {toggleAttributeToken} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.1/dist/modules/dom/attributes.js';
|
6971
6971
|
* toggleAttributeToken();
|
6972
6972
|
* </script>
|
6973
6973
|
* ```
|
@@ -7002,7 +7002,7 @@ function toggleAttributeToken(element, key, token) {
|
|
7002
7002
|
*
|
7003
7003
|
* ```
|
7004
7004
|
* <script type="module">
|
7005
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.
|
7005
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.1/dist/monster.js';
|
7006
7006
|
* Monster.DOM.addAttributeToken();
|
7007
7007
|
* </script>
|
7008
7008
|
* ```
|
@@ -7011,7 +7011,7 @@ function toggleAttributeToken(element, key, token) {
|
|
7011
7011
|
*
|
7012
7012
|
* ```
|
7013
7013
|
* <script type="module">
|
7014
|
-
* import {addAttributeToken} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.
|
7014
|
+
* import {addAttributeToken} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.1/dist/modules/dom/attributes.js';
|
7015
7015
|
* addAttributeToken();
|
7016
7016
|
* </script>
|
7017
7017
|
* ```
|
@@ -7048,7 +7048,7 @@ function addAttributeToken(element, key, token) {
|
|
7048
7048
|
*
|
7049
7049
|
* ```
|
7050
7050
|
* <script type="module">
|
7051
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.
|
7051
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.1/dist/monster.js';
|
7052
7052
|
* Monster.DOM.removeAttributeToken();
|
7053
7053
|
* </script>
|
7054
7054
|
* ```
|
@@ -7057,7 +7057,7 @@ function addAttributeToken(element, key, token) {
|
|
7057
7057
|
*
|
7058
7058
|
* ```
|
7059
7059
|
* <script type="module">
|
7060
|
-
* import {removeAttributeToken} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.
|
7060
|
+
* import {removeAttributeToken} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.1/dist/modules/dom/attributes.js';
|
7061
7061
|
* removeAttributeToken();
|
7062
7062
|
* </script>
|
7063
7063
|
* ```
|
@@ -7093,7 +7093,7 @@ function removeAttributeToken(element, key, token) {
|
|
7093
7093
|
*
|
7094
7094
|
* ```
|
7095
7095
|
* <script type="module">
|
7096
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.
|
7096
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.1/dist/monster.js';
|
7097
7097
|
* Monster.DOM.containsAttributeToken();
|
7098
7098
|
* </script>
|
7099
7099
|
* ```
|
@@ -7102,7 +7102,7 @@ function removeAttributeToken(element, key, token) {
|
|
7102
7102
|
*
|
7103
7103
|
* ```
|
7104
7104
|
* <script type="module">
|
7105
|
-
* import {containsAttributeToken} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.
|
7105
|
+
* import {containsAttributeToken} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.1/dist/modules/dom/attributes.js';
|
7106
7106
|
* containsAttributeToken();
|
7107
7107
|
* </script>
|
7108
7108
|
* ```
|
@@ -7135,7 +7135,7 @@ function containsAttributeToken(element, key, token) {
|
|
7135
7135
|
*
|
7136
7136
|
* ```
|
7137
7137
|
* <script type="module">
|
7138
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.
|
7138
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.1/dist/monster.js';
|
7139
7139
|
* Monster.DOM.replaceAttributeToken();
|
7140
7140
|
* </script>
|
7141
7141
|
* ```
|
@@ -7144,7 +7144,7 @@ function containsAttributeToken(element, key, token) {
|
|
7144
7144
|
*
|
7145
7145
|
* ```
|
7146
7146
|
* <script type="module">
|
7147
|
-
* import {replaceAttributeToken} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.
|
7147
|
+
* import {replaceAttributeToken} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.1/dist/modules/dom/attributes.js';
|
7148
7148
|
* replaceAttributeToken();
|
7149
7149
|
* </script>
|
7150
7150
|
* ```
|
@@ -7180,7 +7180,7 @@ function replaceAttributeToken(element, key, from, to) {
|
|
7180
7180
|
*
|
7181
7181
|
* ```
|
7182
7182
|
* <script type="module">
|
7183
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.
|
7183
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.1/dist/monster.js';
|
7184
7184
|
* Monster.DOM.clearAttributeTokens();
|
7185
7185
|
* </script>
|
7186
7186
|
* ```
|
@@ -7189,7 +7189,7 @@ function replaceAttributeToken(element, key, from, to) {
|
|
7189
7189
|
*
|
7190
7190
|
* ```
|
7191
7191
|
* <script type="module">
|
7192
|
-
* import {clearAttributeTokens} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.
|
7192
|
+
* import {clearAttributeTokens} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.1/dist/modules/dom/attributes.js';
|
7193
7193
|
* clearAttributeTokens();
|
7194
7194
|
* </script>
|
7195
7195
|
* ```
|
@@ -7219,7 +7219,7 @@ function clearAttributeTokens(element, key) {
|
|
7219
7219
|
*
|
7220
7220
|
* ```
|
7221
7221
|
* <script type="module">
|
7222
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.
|
7222
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.1/dist/monster.js';
|
7223
7223
|
* Monster.DOM.findClosestByAttribute();
|
7224
7224
|
* </script>
|
7225
7225
|
* ```
|
@@ -7228,7 +7228,7 @@ function clearAttributeTokens(element, key) {
|
|
7228
7228
|
*
|
7229
7229
|
* ```
|
7230
7230
|
* <script type="module">
|
7231
|
-
* import {findClosestByAttribute} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.
|
7231
|
+
* import {findClosestByAttribute} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.1/dist/modules/dom/attributes.js';
|
7232
7232
|
* findClosestByAttribute();
|
7233
7233
|
* </script>
|
7234
7234
|
* ```
|
@@ -7746,7 +7746,7 @@ var attachedInternalSymbol = Symbol('attachedInternal');
|
|
7746
7746
|
*
|
7747
7747
|
* ```
|
7748
7748
|
* <script type="module">
|
7749
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.
|
7749
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.1/dist/monster.js';
|
7750
7750
|
* document.createElement('monster-')
|
7751
7751
|
* </script>
|
7752
7752
|
* ```
|
@@ -8281,7 +8281,7 @@ var attributeObserverSymbol = Symbol('attributeObserver');
|
|
8281
8281
|
*
|
8282
8282
|
* ```
|
8283
8283
|
* <script type="module">
|
8284
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.
|
8284
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.1/dist/monster.js';
|
8285
8285
|
* document.createElement('monster-')
|
8286
8286
|
* </script>
|
8287
8287
|
* ```
|
@@ -9147,7 +9147,7 @@ var internal = Symbol('internal');
|
|
9147
9147
|
*
|
9148
9148
|
* ```
|
9149
9149
|
* <script type="module">
|
9150
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.
|
9150
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.1/dist/monster.js';
|
9151
9151
|
* new Monster.Types.DataUrl()
|
9152
9152
|
* </script>
|
9153
9153
|
* ```
|
@@ -9156,7 +9156,7 @@ var internal = Symbol('internal');
|
|
9156
9156
|
*
|
9157
9157
|
* ```
|
9158
9158
|
* <script type="module">
|
9159
|
-
* import {DataUrl} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.
|
9159
|
+
* import {DataUrl} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.1/dist/modules/types/dataurl.js';
|
9160
9160
|
* new DataUrl()
|
9161
9161
|
* </script>
|
9162
9162
|
* ```
|
@@ -9236,7 +9236,7 @@ var DataUrl = /*#__PURE__*/function (_Base) {
|
|
9236
9236
|
*
|
9237
9237
|
* ```
|
9238
9238
|
* <script type="module">
|
9239
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.
|
9239
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.1/dist/monster.js';
|
9240
9240
|
* console.log(Monster.Types.parseDataURL())
|
9241
9241
|
* </script>
|
9242
9242
|
* ```
|
@@ -9245,7 +9245,7 @@ var DataUrl = /*#__PURE__*/function (_Base) {
|
|
9245
9245
|
*
|
9246
9246
|
* ```
|
9247
9247
|
* <script type="module">
|
9248
|
-
* import {parseDataURL} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.
|
9248
|
+
* import {parseDataURL} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.1/dist/modules/types/dataurl.js';
|
9249
9249
|
* console.log(parseDataURL())
|
9250
9250
|
* </script>
|
9251
9251
|
* ```
|
@@ -9383,7 +9383,7 @@ var internal = Symbol('internal');
|
|
9383
9383
|
*
|
9384
9384
|
* ```
|
9385
9385
|
* <script type="module">
|
9386
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.
|
9386
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.1/dist/monster.js';
|
9387
9387
|
* console.log(new Monster.Types.MediaType())
|
9388
9388
|
* </script>
|
9389
9389
|
* ```
|
@@ -9392,7 +9392,7 @@ var internal = Symbol('internal');
|
|
9392
9392
|
*
|
9393
9393
|
* ```
|
9394
9394
|
* <script type="module">
|
9395
|
-
* import {MediaType} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.
|
9395
|
+
* import {MediaType} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.1/dist/modules/types/mediatype.js';
|
9396
9396
|
* console.log(new MediaType())
|
9397
9397
|
* </script>
|
9398
9398
|
* ```
|
@@ -9510,7 +9510,7 @@ var MediaType = /*#__PURE__*/function (_Base) {
|
|
9510
9510
|
*
|
9511
9511
|
* ```
|
9512
9512
|
* <script type="module">
|
9513
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.
|
9513
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.1/dist/monster.js';
|
9514
9514
|
* console.log(Monster.Types.parseMediaType())
|
9515
9515
|
* </script>
|
9516
9516
|
* ```
|
@@ -9519,7 +9519,7 @@ var MediaType = /*#__PURE__*/function (_Base) {
|
|
9519
9519
|
*
|
9520
9520
|
* ```
|
9521
9521
|
* <script type="module">
|
9522
|
-
* import {parseMediaType} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.
|
9522
|
+
* import {parseMediaType} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.1/dist/modules/types/dataurl.js';
|
9523
9523
|
* console.log(parseMediaType())
|
9524
9524
|
* </script>
|
9525
9525
|
* ```
|
@@ -9656,7 +9656,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
9656
9656
|
*
|
9657
9657
|
* ```
|
9658
9658
|
* <script type="module">
|
9659
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.
|
9659
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.1/dist/monster.js';
|
9660
9660
|
* new Monster.DOM.Template()
|
9661
9661
|
* </script>
|
9662
9662
|
* ```
|
@@ -9665,7 +9665,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
9665
9665
|
*
|
9666
9666
|
* ```
|
9667
9667
|
* <script type="module">
|
9668
|
-
* import {Template} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.
|
9668
|
+
* import {Template} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.1/dist/modules/dom/template.js';
|
9669
9669
|
* new Template()
|
9670
9670
|
* </script>
|
9671
9671
|
* ```
|
@@ -9736,14 +9736,14 @@ var Template = /*#__PURE__*/function (_Base) {
|
|
9736
9736
|
*
|
9737
9737
|
* If no theme was specified, the default theme is `monster`.
|
9738
9738
|
*
|
9739
|
-
* Now it is looked if there is a template with the given ID and theme `id-theme` and if yes it is returned.
|
9739
|
+
* Now it is looked if there is a template with the given ID and theme `id-theme` and if yes it is returned.
|
9740
9740
|
* If there is no template a search for a template with the given ID `id` is done. If this is also not found, an error is thrown.
|
9741
|
-
*
|
9741
|
+
*
|
9742
9742
|
* You can call the method via the monster namespace `Monster.DOM.findDocumentTemplate()`.
|
9743
9743
|
*
|
9744
9744
|
* ```
|
9745
9745
|
* <script type="module">
|
9746
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.
|
9746
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.1/dist/monster.js';
|
9747
9747
|
* Monster.DOM.findDocumentTemplate()
|
9748
9748
|
* </script>
|
9749
9749
|
* ```
|
@@ -9752,14 +9752,14 @@ var Template = /*#__PURE__*/function (_Base) {
|
|
9752
9752
|
*
|
9753
9753
|
* ```
|
9754
9754
|
* <script type="module">
|
9755
|
-
* import {findTemplate} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.
|
9755
|
+
* import {findTemplate} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.1/dist/modules/dom/template.js';
|
9756
9756
|
* findDocumentTemplate()
|
9757
9757
|
* </script>
|
9758
9758
|
* ```
|
9759
9759
|
*
|
9760
9760
|
* @example
|
9761
9761
|
*
|
9762
|
-
* import { findDocumentTemplate } from "https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.
|
9762
|
+
* import { findDocumentTemplate } from "https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.1/dist/modules/dom/template.js";
|
9763
9763
|
*
|
9764
9764
|
* const template = document.createElement("template");
|
9765
9765
|
* template.id = "myTemplate";
|
@@ -9780,8 +9780,8 @@ var Template = /*#__PURE__*/function (_Base) {
|
|
9780
9780
|
* document
|
9781
9781
|
* .querySelector("html")
|
9782
9782
|
* .setAttribute("data-monster-theme-name", "myTheme");
|
9783
|
-
*
|
9784
|
-
* // now we don't get the default template,
|
9783
|
+
*
|
9784
|
+
* // now we don't get the default template,
|
9785
9785
|
* // but the template with the theme in the id
|
9786
9786
|
* const template2 = findDocumentTemplate("myTemplate");
|
9787
9787
|
* console.log(template2.createDocumentFragment());
|
@@ -9817,21 +9817,33 @@ function findDocumentTemplate(id, currentNode) {
|
|
9817
9817
|
|
9818
9818
|
var HTMLTemplateElement = (0,_types_global_js__WEBPACK_IMPORTED_MODULE_2__.getGlobalFunction)('HTMLTemplateElement');
|
9819
9819
|
var theme = (0,_theme_js__WEBPACK_IMPORTED_MODULE_4__.getDocumentTheme)();
|
9820
|
-
var themedID = id + '-' + theme.getName();
|
9820
|
+
var themedID = id + '-' + theme.getName(); // current + themedID
|
9821
|
+
|
9821
9822
|
var template = currentNode.getElementById(themedID);
|
9822
9823
|
|
9823
9824
|
if (template instanceof HTMLTemplateElement) {
|
9824
9825
|
return new Template(template);
|
9825
|
-
}
|
9826
|
+
} // document + themedID
|
9827
|
+
|
9828
|
+
|
9829
|
+
template = (0,_types_global_js__WEBPACK_IMPORTED_MODULE_2__.getGlobalObject)('document').getElementById(themedID);
|
9830
|
+
|
9831
|
+
if (template instanceof HTMLTemplateElement) {
|
9832
|
+
return new Template(template);
|
9833
|
+
} // current + ID
|
9834
|
+
|
9826
9835
|
|
9827
9836
|
template = currentNode.getElementById(id);
|
9828
9837
|
|
9829
9838
|
if (template instanceof HTMLTemplateElement) {
|
9830
9839
|
return new Template(template);
|
9831
|
-
}
|
9840
|
+
} // document + ID
|
9832
9841
|
|
9833
|
-
|
9834
|
-
|
9842
|
+
|
9843
|
+
template = (0,_types_global_js__WEBPACK_IMPORTED_MODULE_2__.getGlobalObject)('document').getElementById(id);
|
9844
|
+
|
9845
|
+
if (template instanceof HTMLTemplateElement) {
|
9846
|
+
return new Template(template);
|
9835
9847
|
}
|
9836
9848
|
|
9837
9849
|
throw new Error("template " + id + " not found.");
|
@@ -9892,7 +9904,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
9892
9904
|
*
|
9893
9905
|
* ```
|
9894
9906
|
* <script type="module">
|
9895
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.
|
9907
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.1/dist/monster.js';
|
9896
9908
|
* console.log(new Monster.DOM.Theme())
|
9897
9909
|
* </script>
|
9898
9910
|
* ```
|
@@ -9901,14 +9913,14 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
9901
9913
|
*
|
9902
9914
|
* ```
|
9903
9915
|
* <script type="module">
|
9904
|
-
* import {Theme} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.
|
9916
|
+
* import {Theme} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.1/dist/modules/dom/theme.js';
|
9905
9917
|
* console.log(new Theme())
|
9906
9918
|
* </script>
|
9907
9919
|
* ```
|
9908
9920
|
*
|
9909
9921
|
* @example
|
9910
9922
|
*
|
9911
|
-
* import {getDocumentTheme} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.
|
9923
|
+
* import {getDocumentTheme} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.1/dist/modules/dom/theme.js';
|
9912
9924
|
*
|
9913
9925
|
* const theme = getDocumentTheme();
|
9914
9926
|
* console.log(theme.getName());
|
@@ -10088,7 +10100,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
10088
10100
|
*
|
10089
10101
|
* ```
|
10090
10102
|
* <script type="module">
|
10091
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.
|
10103
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.1/dist/monster.js';
|
10092
10104
|
* new Monster.DOM.Updater()
|
10093
10105
|
* </script>
|
10094
10106
|
* ```
|
@@ -10097,14 +10109,14 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
10097
10109
|
*
|
10098
10110
|
* ```
|
10099
10111
|
* <script type="module">
|
10100
|
-
* import {Updater} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.
|
10112
|
+
* import {Updater} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.1/dist/modules/dom/updater.js';
|
10101
10113
|
* new Updater()
|
10102
10114
|
* </script>
|
10103
10115
|
* ```
|
10104
10116
|
*
|
10105
10117
|
* @example
|
10106
10118
|
*
|
10107
|
-
* import {Updater} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.
|
10119
|
+
* import {Updater} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.1/dist/modules/dom/updater.js';
|
10108
10120
|
*
|
10109
10121
|
* // First we prepare the html document.
|
10110
10122
|
* // This is done here via script, but can also be inserted into the document as pure html.
|
@@ -10973,7 +10985,7 @@ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || func
|
|
10973
10985
|
*
|
10974
10986
|
* ```
|
10975
10987
|
* <script type="module">
|
10976
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.
|
10988
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.1/dist/monster.js';
|
10977
10989
|
* Monster.Util.trimSpaces(" hello ")
|
10978
10990
|
* </script>
|
10979
10991
|
* ```
|
@@ -10982,7 +10994,7 @@ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || func
|
|
10982
10994
|
*
|
10983
10995
|
* ```
|
10984
10996
|
* <script type="module">
|
10985
|
-
* import {trimSpaces} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.
|
10997
|
+
* import {trimSpaces} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.1/dist/modules/util/trimspaces.js';
|
10986
10998
|
* trimSpaces(' hello \\ ')
|
10987
10999
|
* </script>
|
10988
11000
|
* ```
|
@@ -11081,7 +11093,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "functi
|
|
11081
11093
|
*
|
11082
11094
|
* ```
|
11083
11095
|
* <script type="module">
|
11084
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.
|
11096
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.1/dist/monster.js';
|
11085
11097
|
* console.log(Monster.DOM.getDocument())
|
11086
11098
|
* </script>
|
11087
11099
|
* ```
|
@@ -11090,7 +11102,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "functi
|
|
11090
11102
|
*
|
11091
11103
|
* ```
|
11092
11104
|
* <script type="module">
|
11093
|
-
* import {getDocument} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.
|
11105
|
+
* import {getDocument} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.1/dist/modules/dom/util.js';
|
11094
11106
|
* console.log(getDocument())
|
11095
11107
|
* </script>
|
11096
11108
|
* ```
|
@@ -11145,7 +11157,7 @@ function getDocument() {
|
|
11145
11157
|
*
|
11146
11158
|
* ```
|
11147
11159
|
* <script type="module">
|
11148
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.
|
11160
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.1/dist/monster.js';
|
11149
11161
|
* console.log(Monster.DOM.getWindow())
|
11150
11162
|
* </script>
|
11151
11163
|
* ```
|
@@ -11154,7 +11166,7 @@ function getDocument() {
|
|
11154
11166
|
*
|
11155
11167
|
* ```
|
11156
11168
|
* <script type="module">
|
11157
|
-
* import {getWindow} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.
|
11169
|
+
* import {getWindow} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.1/dist/modules/dom/util.js';
|
11158
11170
|
* console.log(getWindow(null))
|
11159
11171
|
* </script>
|
11160
11172
|
* ```
|
@@ -11214,7 +11226,7 @@ function getWindow() {
|
|
11214
11226
|
*
|
11215
11227
|
* ```
|
11216
11228
|
* <script type="module">
|
11217
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.
|
11229
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.1/dist/monster.js';
|
11218
11230
|
* console.log(Monster.DOM.getDocumentFragmentFromString())
|
11219
11231
|
* </script>
|
11220
11232
|
* ```
|
@@ -11223,7 +11235,7 @@ function getWindow() {
|
|
11223
11235
|
*
|
11224
11236
|
* ```
|
11225
11237
|
* <script type="module">
|
11226
|
-
* import {getDocumentFragmentFromString} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.
|
11238
|
+
* import {getDocumentFragmentFromString} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.1/dist/modules/dom/util.js';
|
11227
11239
|
* console.log(getDocumentFragmentFromString('<div></div>'))
|
11228
11240
|
* </script>
|
11229
11241
|
* ```
|
@@ -11309,7 +11321,7 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
|
|
11309
11321
|
*
|
11310
11322
|
* ```
|
11311
11323
|
* <script type="module">
|
11312
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.
|
11324
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.1/dist/monster.js';
|
11313
11325
|
* console.log(new Monster.DOM.fireEvent())
|
11314
11326
|
* </script>
|
11315
11327
|
* ```
|
@@ -11318,7 +11330,7 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
|
|
11318
11330
|
*
|
11319
11331
|
* ```
|
11320
11332
|
* <script type="module">
|
11321
|
-
* import {fireEvent} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.
|
11333
|
+
* import {fireEvent} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.1/dist/modules/dom/events.js';
|
11322
11334
|
* console.log(fireEvent())
|
11323
11335
|
* </script>
|
11324
11336
|
* ```
|
@@ -11374,7 +11386,7 @@ function fireEvent(element, type) {
|
|
11374
11386
|
*
|
11375
11387
|
* ```
|
11376
11388
|
* <script type="module">
|
11377
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.
|
11389
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.1/dist/monster.js';
|
11378
11390
|
* console.log(new Monster.DOM.findTargetElementFromEvent())
|
11379
11391
|
* </script>
|
11380
11392
|
* ```
|
@@ -11383,7 +11395,7 @@ function fireEvent(element, type) {
|
|
11383
11395
|
*
|
11384
11396
|
* ```
|
11385
11397
|
* <script type="module">
|
11386
|
-
* import {findTargetElementFromEvent} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.
|
11398
|
+
* import {findTargetElementFromEvent} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.1/dist/modules/dom/events.js';
|
11387
11399
|
* console.log(findTargetElementFromEvent())
|
11388
11400
|
* </script>
|
11389
11401
|
* ```
|
@@ -11464,7 +11476,7 @@ var DEFAULT_LANGUAGE = 'en';
|
|
11464
11476
|
*
|
11465
11477
|
* ```
|
11466
11478
|
* <script type="module">
|
11467
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.
|
11479
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.1/dist/monster.js';
|
11468
11480
|
* new Monster.DOM.getLocaleOfDocument()
|
11469
11481
|
* </script>
|
11470
11482
|
* ```
|
@@ -11473,7 +11485,7 @@ var DEFAULT_LANGUAGE = 'en';
|
|
11473
11485
|
*
|
11474
11486
|
* ```
|
11475
11487
|
* <script type="module">
|
11476
|
-
* import {getLocaleOfDocument} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.
|
11488
|
+
* import {getLocaleOfDocument} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.1/dist/modules/dom/locale.js';
|
11477
11489
|
* new getLocaleOfDocument()
|
11478
11490
|
* </script>
|
11479
11491
|
* ```
|
@@ -11566,7 +11578,7 @@ var localeStringSymbol = Symbol('localeString');
|
|
11566
11578
|
*
|
11567
11579
|
* ```
|
11568
11580
|
* <script type="module">
|
11569
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.
|
11581
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.1/dist/monster.js';
|
11570
11582
|
* new Monster.I18n.Locale()
|
11571
11583
|
* </script>
|
11572
11584
|
* ```
|
@@ -11575,7 +11587,7 @@ var localeStringSymbol = Symbol('localeString');
|
|
11575
11587
|
*
|
11576
11588
|
* ```
|
11577
11589
|
* <script type="module">
|
11578
|
-
* import {Locale} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.
|
11590
|
+
* import {Locale} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.1/dist/modules/i18n/locale.js';
|
11579
11591
|
* new Locale()
|
11580
11592
|
* </script>
|
11581
11593
|
* ```
|
@@ -11768,7 +11780,7 @@ var Locale = /*#__PURE__*/function (_Base) {
|
|
11768
11780
|
*
|
11769
11781
|
* ```
|
11770
11782
|
* <script type="module">
|
11771
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.
|
11783
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.1/dist/monster.js';
|
11772
11784
|
* new Monster.I18n.createLocale()
|
11773
11785
|
* </script>
|
11774
11786
|
* ```
|
@@ -11777,7 +11789,7 @@ var Locale = /*#__PURE__*/function (_Base) {
|
|
11777
11789
|
*
|
11778
11790
|
* ```
|
11779
11791
|
* <script type="module">
|
11780
|
-
* import {createLocale} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.
|
11792
|
+
* import {createLocale} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.1/dist/modules/i18n/locale.js';
|
11781
11793
|
* createLocale()
|
11782
11794
|
* </script>
|
11783
11795
|
* ```
|
@@ -11953,7 +11965,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
11953
11965
|
*
|
11954
11966
|
* ```
|
11955
11967
|
* <script type="module">
|
11956
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.
|
11968
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.1/dist/monster.js';
|
11957
11969
|
* new Monster.I18n.Provider()
|
11958
11970
|
* </script>
|
11959
11971
|
* ```
|
@@ -11962,7 +11974,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
11962
11974
|
*
|
11963
11975
|
* ```
|
11964
11976
|
* <script type="module">
|
11965
|
-
* import {Provider} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.
|
11977
|
+
* import {Provider} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.1/dist/modules/i18n/provider.js';
|
11966
11978
|
* new Provider()
|
11967
11979
|
* </script>
|
11968
11980
|
* ```
|
@@ -12063,7 +12075,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
12063
12075
|
*
|
12064
12076
|
* ```
|
12065
12077
|
* <script type="module">
|
12066
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.
|
12078
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.1/dist/monster.js';
|
12067
12079
|
* new Monster.Types.BaseWithOptions()
|
12068
12080
|
* </script>
|
12069
12081
|
* ```
|
@@ -12072,7 +12084,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
12072
12084
|
*
|
12073
12085
|
* ```
|
12074
12086
|
* <script type="module">
|
12075
|
-
* import {BaseWithOptions} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.
|
12087
|
+
* import {BaseWithOptions} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.1/dist/modules/types/basewithoptions.js';
|
12076
12088
|
* new BaseWithOptions()
|
12077
12089
|
* </script>
|
12078
12090
|
* ```
|
@@ -12213,7 +12225,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
12213
12225
|
*
|
12214
12226
|
* ```
|
12215
12227
|
* <script type="module">
|
12216
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.
|
12228
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.1/dist/monster.js';
|
12217
12229
|
* new Monster.I18n.Translations()
|
12218
12230
|
* </script>
|
12219
12231
|
* ```
|
@@ -12222,15 +12234,15 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
12222
12234
|
*
|
12223
12235
|
* ```
|
12224
12236
|
* <script type="module">
|
12225
|
-
* import {Translations} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.
|
12237
|
+
* import {Translations} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.1/dist/modules/i18n/translations.js';
|
12226
12238
|
* new Translations()
|
12227
12239
|
* </script>
|
12228
12240
|
* ```
|
12229
12241
|
*
|
12230
12242
|
* @example
|
12231
12243
|
*
|
12232
|
-
* import {Translations} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.
|
12233
|
-
* import {parseLocale} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.
|
12244
|
+
* import {Translations} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.1/dist/modules/i18n/translations.js';
|
12245
|
+
* import {parseLocale} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.1/dist/modules/i18n/locale.js';
|
12234
12246
|
*
|
12235
12247
|
* const translation = new Translations(parseLocale('en-GB'));
|
12236
12248
|
*
|
@@ -12502,7 +12514,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
12502
12514
|
*
|
12503
12515
|
* ```
|
12504
12516
|
* <script type="module">
|
12505
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.
|
12517
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.1/dist/monster.js';
|
12506
12518
|
* new Monster.I18n.Providers.Fetch()
|
12507
12519
|
* </script>
|
12508
12520
|
* ```
|
@@ -12511,14 +12523,14 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
12511
12523
|
*
|
12512
12524
|
* ```
|
12513
12525
|
* <script type="module">
|
12514
|
-
* import {Fetch} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.
|
12526
|
+
* import {Fetch} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.1/dist/modules/i18n/providers/fetch.js';
|
12515
12527
|
* new Fetch()
|
12516
12528
|
* </script>
|
12517
12529
|
* ```
|
12518
12530
|
*
|
12519
12531
|
* @example <caption>das ist ein test</caption>
|
12520
12532
|
*
|
12521
|
-
* import {Fetch} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.
|
12533
|
+
* import {Fetch} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.1/dist/modules/i18n/providers/fetch.js';
|
12522
12534
|
*
|
12523
12535
|
* // fetch from API
|
12524
12536
|
* const translation = new Fetch('https://example.com/${language}.json').getTranslation('en-GB');
|
@@ -12748,7 +12760,7 @@ var workingDataSymbol = Symbol('workingData');
|
|
12748
12760
|
*
|
12749
12761
|
* ```
|
12750
12762
|
* <script type="module">
|
12751
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.
|
12763
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.1/dist/monster.js';
|
12752
12764
|
* new Monster.Text.Formatter()
|
12753
12765
|
* </script>
|
12754
12766
|
* ```
|
@@ -12757,7 +12769,7 @@ var workingDataSymbol = Symbol('workingData');
|
|
12757
12769
|
*
|
12758
12770
|
* ```
|
12759
12771
|
* <script type="module">
|
12760
|
-
* import {Formatter} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.
|
12772
|
+
* import {Formatter} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.1/dist/modules/text/formatter.js';
|
12761
12773
|
* new Formatter()
|
12762
12774
|
* </script>
|
12763
12775
|
* ```
|
@@ -12802,7 +12814,7 @@ var workingDataSymbol = Symbol('workingData');
|
|
12802
12814
|
*
|
12803
12815
|
* @example
|
12804
12816
|
*
|
12805
|
-
* import {Formatter} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.
|
12817
|
+
* import {Formatter} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.1/dist/modules/text/formatter.js';
|
12806
12818
|
*
|
12807
12819
|
* new Formatter({
|
12808
12820
|
* a: {
|
@@ -13147,7 +13159,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
13147
13159
|
*
|
13148
13160
|
* ```
|
13149
13161
|
* <script type="module">
|
13150
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.
|
13162
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.1/dist/monster.js';
|
13151
13163
|
* console.log(new Monster.Logging.Handler())
|
13152
13164
|
* </script>
|
13153
13165
|
* ```
|
@@ -13156,7 +13168,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
13156
13168
|
*
|
13157
13169
|
* ```
|
13158
13170
|
* <script type="module">
|
13159
|
-
* import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.
|
13171
|
+
* import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.1/dist/modules/logging/handler.js';
|
13160
13172
|
* console.log(new Handler())
|
13161
13173
|
* </script>
|
13162
13174
|
* ```
|
@@ -13394,7 +13406,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
13394
13406
|
*
|
13395
13407
|
* ```
|
13396
13408
|
* <script type="module">
|
13397
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.
|
13409
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.1/dist/monster.js';
|
13398
13410
|
* console.log(new Monster.Logging.LogEntry())
|
13399
13411
|
* </script>
|
13400
13412
|
* ```
|
@@ -13403,7 +13415,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
13403
13415
|
*
|
13404
13416
|
* ```
|
13405
13417
|
* <script type="module">
|
13406
|
-
* import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.
|
13418
|
+
* import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.1/dist/modules/logging/logentry.js';
|
13407
13419
|
* console.log(new LogEntry())
|
13408
13420
|
* </script>
|
13409
13421
|
* ```
|
@@ -13589,7 +13601,7 @@ var OFF = 0;
|
|
13589
13601
|
*
|
13590
13602
|
* ```
|
13591
13603
|
* <script type="module">
|
13592
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.
|
13604
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.1/dist/monster.js';
|
13593
13605
|
* new Monster.Logging.Logger()
|
13594
13606
|
* </script>
|
13595
13607
|
* ```
|
@@ -13598,7 +13610,7 @@ var OFF = 0;
|
|
13598
13610
|
*
|
13599
13611
|
* ```
|
13600
13612
|
* <script type="module">
|
13601
|
-
* import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.
|
13613
|
+
* import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.1/dist/modules/logging/logger.js';
|
13602
13614
|
* new Logger()
|
13603
13615
|
* </script>
|
13604
13616
|
* ```
|
@@ -13898,7 +13910,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
13898
13910
|
*
|
13899
13911
|
* ```
|
13900
13912
|
* <script type="module">
|
13901
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.
|
13913
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.1/dist/monster.js';
|
13902
13914
|
* console.log(new Monster.Logging.Handler.ConsoleHandler())
|
13903
13915
|
* </script>
|
13904
13916
|
* ```
|
@@ -13907,7 +13919,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
13907
13919
|
*
|
13908
13920
|
* ```
|
13909
13921
|
* <script type="module">
|
13910
|
-
* import {ConsoleHandler} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.
|
13922
|
+
* import {ConsoleHandler} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.1/dist/modules/logging/handler/console.js';
|
13911
13923
|
* console.log(new ConsoleHandler())
|
13912
13924
|
* </script>
|
13913
13925
|
* ```
|
@@ -13983,7 +13995,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
13983
13995
|
*
|
13984
13996
|
* ```
|
13985
13997
|
* <script type="module">
|
13986
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.
|
13998
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.1/dist/monster.js';
|
13987
13999
|
* Monster.Math.random(1,10)
|
13988
14000
|
* // ↦ 5
|
13989
14001
|
* </script>
|
@@ -13993,7 +14005,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
13993
14005
|
*
|
13994
14006
|
* ```
|
13995
14007
|
* <script type="module">
|
13996
|
-
* import {random} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.
|
14008
|
+
* import {random} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.1/dist/modules/math/random.js';
|
13997
14009
|
* random(1,10)
|
13998
14010
|
* // ↦ 5
|
13999
14011
|
* </script>
|
@@ -14150,7 +14162,7 @@ var internalCounter = 0;
|
|
14150
14162
|
*
|
14151
14163
|
* ```
|
14152
14164
|
* <script type="module">
|
14153
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.
|
14165
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.1/dist/monster.js';
|
14154
14166
|
* console.log(new Monster.Types.RandomID())
|
14155
14167
|
* </script>
|
14156
14168
|
* ```
|
@@ -14159,7 +14171,7 @@ var internalCounter = 0;
|
|
14159
14171
|
*
|
14160
14172
|
* ```
|
14161
14173
|
* <script type="module">
|
14162
|
-
* import {RandomID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.
|
14174
|
+
* import {RandomID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.1/dist/modules/types/randomid.js';
|
14163
14175
|
* console.log(new RandomID())
|
14164
14176
|
* </script>
|
14165
14177
|
* ```
|
@@ -14242,7 +14254,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
14242
14254
|
*
|
14243
14255
|
* ```
|
14244
14256
|
* <script type="module">
|
14245
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.
|
14257
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.1/dist/monster.js';
|
14246
14258
|
* console.log(new Monster.Types.Version('1.2.3')) // ↦ 1.2.3
|
14247
14259
|
* console.log(new Monster.Types.Version('1')) // ↦ 1.0.0
|
14248
14260
|
* </script>
|
@@ -14252,7 +14264,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
14252
14264
|
*
|
14253
14265
|
* ```
|
14254
14266
|
* <script type="module">
|
14255
|
-
* import {Version} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.
|
14267
|
+
* import {Version} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.1/dist/modules/types/version.js';
|
14256
14268
|
* console.log(new Version('1.2.3')) // ↦ 1.2.3
|
14257
14269
|
* console.log(new Version('1')) // ↦ 1.0.0
|
14258
14270
|
* </script>
|
@@ -14260,7 +14272,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
14260
14272
|
*
|
14261
14273
|
* @example
|
14262
14274
|
*
|
14263
|
-
* import {Version} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.
|
14275
|
+
* import {Version} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.1/dist/modules/types/version.js';
|
14264
14276
|
*
|
14265
14277
|
* new Version('1.0.0') // ↦ 1.0.0
|
14266
14278
|
* new Version(1) // ↦ 1.0.0
|
@@ -14394,7 +14406,7 @@ var monsterVersion;
|
|
14394
14406
|
*
|
14395
14407
|
* ```
|
14396
14408
|
* <script type="module">
|
14397
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.
|
14409
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.1/dist/monster.js';
|
14398
14410
|
* console.log(Monster.getVersion())
|
14399
14411
|
* </script>
|
14400
14412
|
* ```
|
@@ -14403,7 +14415,7 @@ var monsterVersion;
|
|
14403
14415
|
*
|
14404
14416
|
* ```
|
14405
14417
|
* <script type="module">
|
14406
|
-
* import {getVersion} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.
|
14418
|
+
* import {getVersion} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.1/dist/modules/types/version.js';
|
14407
14419
|
* console.log(getVersion())
|
14408
14420
|
* </script>
|
14409
14421
|
* ```
|
@@ -14422,7 +14434,7 @@ function getVersion() {
|
|
14422
14434
|
/**#@+ dont touch, replaced by make with package.json version */
|
14423
14435
|
|
14424
14436
|
|
14425
|
-
monsterVersion = new Version('1.26.
|
14437
|
+
monsterVersion = new Version('1.26.1');
|
14426
14438
|
/**#@-*/
|
14427
14439
|
|
14428
14440
|
return monsterVersion;
|
@@ -14478,7 +14490,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
14478
14490
|
*
|
14479
14491
|
* ```
|
14480
14492
|
* <script type="module">
|
14481
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.
|
14493
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.1/dist/monster.js';
|
14482
14494
|
* new Monster.Util.Comparator()
|
14483
14495
|
* </script>
|
14484
14496
|
* ```
|
@@ -14487,7 +14499,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
14487
14499
|
*
|
14488
14500
|
* ```
|
14489
14501
|
* <script type="module">
|
14490
|
-
* import {Comparator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.
|
14502
|
+
* import {Comparator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.1/dist/modules/util/comparator.js';
|
14491
14503
|
* console.log(new Comparator())
|
14492
14504
|
* </script>
|
14493
14505
|
* ```
|
@@ -14512,7 +14524,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
14512
14524
|
*
|
14513
14525
|
* @example
|
14514
14526
|
*
|
14515
|
-
* import {Comparator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.
|
14527
|
+
* import {Comparator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.1/dist/modules/util/comparator.js';
|
14516
14528
|
*
|
14517
14529
|
* console.log(new Comparator().lessThanOrEqual(2, 5))
|
14518
14530
|
* // ↦ true
|
@@ -14725,7 +14737,7 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
|
|
14725
14737
|
*
|
14726
14738
|
* ```
|
14727
14739
|
* <script type="module">
|
14728
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.
|
14740
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.1/dist/monster.js';
|
14729
14741
|
* Monster.Util.deepFreeze({})
|
14730
14742
|
* </script>
|
14731
14743
|
* ```
|
@@ -14734,7 +14746,7 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
|
|
14734
14746
|
*
|
14735
14747
|
* ```
|
14736
14748
|
* <script type="module">
|
14737
|
-
* import {deepFreeze} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.
|
14749
|
+
* import {deepFreeze} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.1/dist/modules/util/freeze.js';
|
14738
14750
|
* deepFreeze({})
|
14739
14751
|
* </script>
|
14740
14752
|
* ```
|