@schukai/monster 1.29.1 → 1.29.2
Sign up to get free protection for your applications and to get access to all the features.
- 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 +2 -2
- 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 +1 -1
- package/dist/modules/dom/theme.js +1 -1
- package/dist/modules/dom/updater.js +1 -1
- package/dist/modules/dom/util.js +1 -1
- package/dist/modules/dom/worker/factory.js +1 -1
- package/dist/modules/i18n/formatter.js +1 -1
- package/dist/modules/i18n/locale.js +1 -1
- package/dist/modules/i18n/namespace.js +1 -1
- package/dist/modules/i18n/provider.js +1 -1
- package/dist/modules/i18n/providers/fetch.js +1 -1
- package/dist/modules/i18n/providers/namespace.js +1 -1
- package/dist/modules/i18n/translations.js +1 -1
- package/dist/modules/logging/handler/console.js +1 -1
- package/dist/modules/logging/handler/namespace.js +1 -1
- package/dist/modules/logging/handler.js +1 -1
- package/dist/modules/logging/logentry.js +1 -1
- package/dist/modules/logging/logger.js +1 -1
- package/dist/modules/logging/namespace.js +1 -1
- package/dist/modules/math/namespace.js +1 -1
- package/dist/modules/math/random.js +1 -1
- package/dist/modules/monster.js +1 -1
- package/dist/modules/namespace.js +1 -1
- package/dist/modules/text/formatter.js +1 -1
- package/dist/modules/text/namespace.js +1 -1
- package/dist/modules/types/base.js +1 -1
- package/dist/modules/types/basewithoptions.js +1 -1
- package/dist/modules/types/binary.js +1 -1
- package/dist/modules/types/dataurl.js +1 -1
- package/dist/modules/types/global.js +1 -1
- package/dist/modules/types/id.js +1 -1
- package/dist/modules/types/is.js +1 -1
- package/dist/modules/types/mediatype.js +1 -1
- package/dist/modules/types/namespace.js +1 -1
- package/dist/modules/types/node.js +1 -1
- package/dist/modules/types/nodelist.js +1 -1
- package/dist/modules/types/noderecursiveiterator.js +1 -1
- package/dist/modules/types/observer.js +1 -1
- package/dist/modules/types/observerlist.js +1 -1
- package/dist/modules/types/proxyobserver.js +1 -1
- package/dist/modules/types/queue.js +1 -1
- package/dist/modules/types/randomid.js +1 -1
- package/dist/modules/types/regex.js +1 -1
- package/dist/modules/types/stack.js +1 -1
- package/dist/modules/types/tokenlist.js +1 -1
- package/dist/modules/types/typeof.js +1 -1
- package/dist/modules/types/uniquequeue.js +1 -1
- package/dist/modules/types/uuid.js +1 -1
- package/dist/modules/types/validate.js +1 -1
- package/dist/modules/types/version.js +2 -2
- package/dist/modules/util/clone.js +1 -1
- package/dist/modules/util/comparator.js +1 -1
- package/dist/modules/util/deadmansswitch.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 +247 -225
- 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 +27 -27
- package/source/dom/customcontrol.js +1 -1
- package/source/dom/customelement.js +18 -6
- package/source/dom/events.js +6 -6
- package/source/dom/focusmanager.js +2 -2
- package/source/dom/locale.js +2 -2
- package/source/dom/resource/data.js +2 -2
- package/source/dom/resource/link/stylesheet.js +2 -2
- package/source/dom/resource/link.js +2 -2
- package/source/dom/resource/script.js +2 -2
- package/source/dom/resource.js +2 -2
- package/source/dom/resourcemanager.js +2 -2
- package/source/dom/template.js +5 -5
- package/source/dom/theme.js +3 -3
- package/source/dom/updater.js +3 -3
- package/source/dom/util.js +6 -6
- package/source/dom/worker/factory.js +2 -2
- package/source/i18n/formatter.js +4 -4
- package/source/i18n/locale.js +4 -4
- package/source/i18n/provider.js +2 -2
- package/source/i18n/providers/fetch.js +3 -3
- package/source/i18n/translations.js +4 -4
- package/source/logging/handler/console.js +2 -2
- package/source/logging/handler.js +2 -2
- package/source/logging/logentry.js +2 -2
- package/source/logging/logger.js +2 -2
- package/source/math/random.js +2 -2
- package/source/namespace.js +1 -1
- package/source/text/formatter.js +3 -3
- package/source/types/base.js +2 -2
- package/source/types/basewithoptions.js +2 -2
- package/source/types/binary.js +4 -4
- package/source/types/dataurl.js +4 -4
- package/source/types/global.js +4 -4
- package/source/types/id.js +2 -2
- package/source/types/is.js +20 -20
- package/source/types/mediatype.js +4 -4
- package/source/types/node.js +2 -2
- package/source/types/nodelist.js +2 -2
- package/source/types/noderecursiveiterator.js +4 -4
- package/source/types/observer.js +3 -3
- package/source/types/observerlist.js +2 -2
- package/source/types/proxyobserver.js +5 -5
- package/source/types/queue.js +3 -3
- package/source/types/randomid.js +2 -2
- package/source/types/regex.js +2 -2
- package/source/types/stack.js +2 -2
- package/source/types/tokenlist.js +2 -2
- package/source/types/typeof.js +3 -3
- package/source/types/uniquequeue.js +2 -2
- package/source/types/uuid.js +2 -2
- package/source/types/validate.js +20 -20
- package/source/types/version.js +6 -6
- package/source/util/clone.js +2 -2
- package/source/util/comparator.js +3 -3
- package/source/util/deadmansswitch.js +3 -3
- package/source/util/freeze.js +2 -2
- package/source/util/processing.js +3 -3
- package/source/util/trimspaces.js +2 -2
- package/test/cases/dom/customelement.js +55 -3
- package/test/cases/monster.js +1 -1
- package/test/web/monster-dev.html +3 -3
- package/test/web/monster.html +2 -2
- package/test/web/test.html +3 -2
- package/test/web/tests.js +2 -2
package/dist/monster.dev.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
/** Monster 1.29.
|
1
|
+
/** Monster 1.29.2, © 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.29.
|
143
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/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.29.
|
390
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/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.29.
|
399
|
+
* import {Base} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/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.29.
|
571
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/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.29.
|
580
|
+
* import {AndOperator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/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.29.
|
588
|
-
* import {Invalid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
589
|
-
* import {AndOperator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
587
|
+
* import {Valid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/constraints/valid.js';
|
588
|
+
* import {Invalid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/constraints/invalid.js';
|
589
|
+
* import {AndOperator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/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.29.
|
691
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/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.29.
|
700
|
+
* import {Invalid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/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.29.
|
707
|
+
* import {Invalid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/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.29.
|
802
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/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.29.
|
811
|
+
* import {IsArray} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/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.29.
|
818
|
+
* import {IsArray} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/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.29.
|
907
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/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.29.
|
918
|
+
* import {isIterable} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/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.29.
|
946
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/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.29.
|
956
|
+
* import {isPrimitive} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/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.29.
|
994
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/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.29.
|
1004
|
+
* import {isSymbol} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/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.29.
|
1030
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/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.29.
|
1041
|
+
* import {isBoolean} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/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.29.
|
1072
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/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.29.
|
1082
|
+
* import {isString} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/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.29.
|
1112
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/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.29.
|
1123
|
+
* import {isObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/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.29.
|
1156
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/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.29.
|
1167
|
+
* import {isInstance} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/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.29.
|
1197
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/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.29.
|
1207
|
+
* import {isArray} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/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.29.
|
1234
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/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.29.
|
1245
|
+
* import {isFunction} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/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.29.
|
1279
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/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.29.
|
1290
|
+
* import {isInteger} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/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.29.
|
1363
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/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.29.
|
1372
|
+
* import {IsObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/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.29.
|
1379
|
+
* import {IsObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/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.29.
|
1482
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/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.29.
|
1491
|
+
* import {OrOperator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/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.29.
|
1499
|
-
* import {Invalid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
1500
|
-
* import {OrOperator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
1498
|
+
* import {Valid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/constraints/valid.js';
|
1499
|
+
* import {Invalid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/constraints/invalid.js';
|
1500
|
+
* import {OrOperator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/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.29.
|
1625
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/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.29.
|
1634
|
+
* import {Valid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/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.29.
|
1641
|
+
* import {Valid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/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.29.
|
1750
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/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.29.
|
1759
|
+
* import {buildMap} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/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.29.
|
1770
|
+
* import {buildMap} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/data/buildmap.js';
|
1771
1771
|
* // a typical data structure as reported by an api
|
1772
1772
|
*
|
1773
1773
|
* let map;
|
@@ -1998,7 +1998,7 @@ function buildFlatMap(subject, selector, key, parentMap) {
|
|
1998
1998
|
* Alternatively to a string selector a callback can be specified. this must return a map.
|
1999
1999
|
*
|
2000
2000
|
* @example
|
2001
|
-
* import {buildMap} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
2001
|
+
* import {buildMap} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/data/buildmap.js';
|
2002
2002
|
*
|
2003
2003
|
* let obj = {
|
2004
2004
|
* "data": [
|
@@ -2201,7 +2201,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
2201
2201
|
*
|
2202
2202
|
* ```
|
2203
2203
|
* <script type="module">
|
2204
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
2204
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
|
2205
2205
|
* console.log(Monster.Types.validateIterable('2')) // ↦ TypeError
|
2206
2206
|
* console.log(Monster.Types.validateIterable([])) // ↦ value
|
2207
2207
|
* </script>
|
@@ -2211,7 +2211,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
2211
2211
|
*
|
2212
2212
|
* ```
|
2213
2213
|
* <script type="module">
|
2214
|
-
* import {validateIterable} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
2214
|
+
* import {validateIterable} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/types/validate.js';
|
2215
2215
|
* console.log(validateIterable('2')) // ↦ TypeError
|
2216
2216
|
* console.log(validateIterable([])) // ↦ value
|
2217
2217
|
* </script>
|
@@ -2242,7 +2242,7 @@ function validateIterable(value) {
|
|
2242
2242
|
*
|
2243
2243
|
* ```
|
2244
2244
|
* <script type="module">
|
2245
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
2245
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
|
2246
2246
|
* console.log(Monster.Types.validatePrimitive('2')) // ↦ value
|
2247
2247
|
* console.log(Monster.Types.validatePrimitive([])) // ↦ TypeError
|
2248
2248
|
* </script>
|
@@ -2252,7 +2252,7 @@ function validateIterable(value) {
|
|
2252
2252
|
*
|
2253
2253
|
* ```
|
2254
2254
|
* <script type="module">
|
2255
|
-
* import {validatePrimitive} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
2255
|
+
* import {validatePrimitive} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/types/validate.js';
|
2256
2256
|
* console.log(validatePrimitive('2')) // ↦ value
|
2257
2257
|
* console.log(validatePrimitive([])) // ↦ TypeError
|
2258
2258
|
* </script>
|
@@ -2284,7 +2284,7 @@ function validatePrimitive(value) {
|
|
2284
2284
|
*
|
2285
2285
|
* ```
|
2286
2286
|
* <script type="module">
|
2287
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
2287
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
|
2288
2288
|
* console.log(Monster.Types.validateBoolean(true)) // ↦ value
|
2289
2289
|
* console.log(Monster.Types.validateBoolean('2')) // ↦ TypeError
|
2290
2290
|
* console.log(Monster.Types.validateBoolean([])) // ↦ TypeError
|
@@ -2295,7 +2295,7 @@ function validatePrimitive(value) {
|
|
2295
2295
|
*
|
2296
2296
|
* ```
|
2297
2297
|
* <script type="module">
|
2298
|
-
* import {validateBoolean} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
2298
|
+
* import {validateBoolean} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/types/validate.js';
|
2299
2299
|
* console.log(validateBoolean(false)) // ↦ value
|
2300
2300
|
* console.log(validateBoolean('2')) // ↦ TypeError
|
2301
2301
|
* console.log(validateBoolean([])) // ↦ TypeError
|
@@ -2326,7 +2326,7 @@ function validateBoolean(value) {
|
|
2326
2326
|
*
|
2327
2327
|
* ```
|
2328
2328
|
* <script type="module">
|
2329
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
2329
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
|
2330
2330
|
* console.log(Monster.Types.validateString('2')) // ↦ value
|
2331
2331
|
* console.log(Monster.Types.validateString([])) // ↦ TypeError
|
2332
2332
|
* </script>
|
@@ -2336,7 +2336,7 @@ function validateBoolean(value) {
|
|
2336
2336
|
*
|
2337
2337
|
* ```
|
2338
2338
|
* <script type="module">
|
2339
|
-
* import {validateString} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
2339
|
+
* import {validateString} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/types/validate.js';
|
2340
2340
|
* console.log(validateString('2')) // ↦ value
|
2341
2341
|
* console.log(validateString([])) // ↦ TypeError
|
2342
2342
|
* </script>
|
@@ -2365,7 +2365,7 @@ function validateString(value) {
|
|
2365
2365
|
*
|
2366
2366
|
* ```
|
2367
2367
|
* <script type="module">
|
2368
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
2368
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
|
2369
2369
|
* console.log(Monster.Types.validateObject({})) // ↦ value
|
2370
2370
|
* console.log(Monster.Types.validateObject('2')) // ↦ TypeError
|
2371
2371
|
* console.log(Monster.Types.validateObject([])) // ↦ TypeError
|
@@ -2376,7 +2376,7 @@ function validateString(value) {
|
|
2376
2376
|
*
|
2377
2377
|
* ```
|
2378
2378
|
* <script type="module">
|
2379
|
-
* import {validateObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
2379
|
+
* import {validateObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/types/validate.js';
|
2380
2380
|
* console.log(validateObject({})) // ↦ value
|
2381
2381
|
* console.log(validateObject('2')) // ↦ TypeError
|
2382
2382
|
* console.log(validateObject([])) // ↦ TypeError
|
@@ -2406,7 +2406,7 @@ function validateObject(value) {
|
|
2406
2406
|
*
|
2407
2407
|
* ```
|
2408
2408
|
* <script type="module">
|
2409
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
2409
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
|
2410
2410
|
* console.log(Monster.Types.validateInstance({}, Object)) // ↦ value
|
2411
2411
|
* console.log(Monster.Types.validateInstance('2', Object)) // ↦ TypeError
|
2412
2412
|
* console.log(Monster.Types.validateInstance([], Object)) // ↦ TypeError
|
@@ -2417,7 +2417,7 @@ function validateObject(value) {
|
|
2417
2417
|
*
|
2418
2418
|
* ```
|
2419
2419
|
* <script type="module">
|
2420
|
-
* import {validateInstance} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
2420
|
+
* import {validateInstance} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/types/validate.js';
|
2421
2421
|
* console.log(validateInstance({}, Object)) // ↦ value
|
2422
2422
|
* console.log(validateInstance('2', Object)) // ↦ TypeError
|
2423
2423
|
* console.log(validateInstance([], Object)) // ↦ TypeError
|
@@ -2457,7 +2457,7 @@ function validateInstance(value, instance) {
|
|
2457
2457
|
*
|
2458
2458
|
* ```
|
2459
2459
|
* <script type="module">
|
2460
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
2460
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
|
2461
2461
|
* console.log(Monster.Types.validateArray('2')) // ↦ TypeError
|
2462
2462
|
* console.log(Monster.Types.validateArray([])) // ↦ value
|
2463
2463
|
* </script>
|
@@ -2467,7 +2467,7 @@ function validateInstance(value, instance) {
|
|
2467
2467
|
*
|
2468
2468
|
* ```
|
2469
2469
|
* <script type="module">
|
2470
|
-
* import {validateArray} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
2470
|
+
* import {validateArray} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/types/validate.js';
|
2471
2471
|
* console.log(validateArray('2')) // ↦ TypeError
|
2472
2472
|
* console.log(validateArray([])) // ↦ value
|
2473
2473
|
* </script>
|
@@ -2496,7 +2496,7 @@ function validateArray(value) {
|
|
2496
2496
|
*
|
2497
2497
|
* ```
|
2498
2498
|
* <script type="module">
|
2499
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
2499
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
|
2500
2500
|
* console.log(Monster.Types.validateSymbol('2')) // ↦ TypeError
|
2501
2501
|
* console.log(Monster.Types.validateSymbol([])) // ↦ value
|
2502
2502
|
* </script>
|
@@ -2506,7 +2506,7 @@ function validateArray(value) {
|
|
2506
2506
|
*
|
2507
2507
|
* ```
|
2508
2508
|
* <script type="module">
|
2509
|
-
* import {validateSymbol} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
2509
|
+
* import {validateSymbol} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/types/validate.js';
|
2510
2510
|
* console.log(validateSymbol('2')) // ↦ TypeError
|
2511
2511
|
* console.log(validateSymbol()) // ↦ value
|
2512
2512
|
* </script>
|
@@ -2535,7 +2535,7 @@ function validateSymbol(value) {
|
|
2535
2535
|
*
|
2536
2536
|
* ```
|
2537
2537
|
* <script type="module">
|
2538
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
2538
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
|
2539
2539
|
* console.log(Monster.Types.validateFunction(()=>{})) // ↦ value
|
2540
2540
|
* console.log(Monster.Types.validateFunction('2')) // ↦ TypeError
|
2541
2541
|
* console.log(Monster.Types.validateFunction([])) // ↦ TypeError
|
@@ -2546,7 +2546,7 @@ function validateSymbol(value) {
|
|
2546
2546
|
*
|
2547
2547
|
* ```
|
2548
2548
|
* <script type="module">
|
2549
|
-
* import {validateFunction} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
2549
|
+
* import {validateFunction} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/types/validate.js';
|
2550
2550
|
* console.log(validateFunction(()=>{})) // ↦ value
|
2551
2551
|
* console.log(validateFunction('2')) // ↦ TypeError
|
2552
2552
|
* console.log(validateFunction([])) // ↦ TypeError
|
@@ -2576,7 +2576,7 @@ function validateFunction(value) {
|
|
2576
2576
|
*
|
2577
2577
|
* ```
|
2578
2578
|
* <script type="module">
|
2579
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
2579
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
|
2580
2580
|
* console.log(Monster.Types.validateInteger(true)) // ↦ TypeError
|
2581
2581
|
* console.log(Monster.Types.validateInteger('2')) // ↦ TypeError
|
2582
2582
|
* console.log(Monster.Types.validateInteger(2)) // ↦ value
|
@@ -2587,7 +2587,7 @@ function validateFunction(value) {
|
|
2587
2587
|
*
|
2588
2588
|
* ```
|
2589
2589
|
* <script type="module">
|
2590
|
-
* import {validateFunction} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
2590
|
+
* import {validateFunction} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/types/validate.js';
|
2591
2591
|
* console.log(validateInteger(true)) // ↦ TypeError
|
2592
2592
|
* console.log(validateInteger('2')) // ↦ TypeError
|
2593
2593
|
* console.log(validateInteger(2)) // ↦ value
|
@@ -2653,7 +2653,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "functi
|
|
2653
2653
|
*
|
2654
2654
|
* ```
|
2655
2655
|
* <script type="module">
|
2656
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
2656
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
|
2657
2657
|
* Monster.Util.clone({})
|
2658
2658
|
* </script>
|
2659
2659
|
* ```
|
@@ -2662,7 +2662,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "functi
|
|
2662
2662
|
*
|
2663
2663
|
* ```
|
2664
2664
|
* <script type="module">
|
2665
|
-
* import {clone} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
2665
|
+
* import {clone} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/util/clone.js';
|
2666
2666
|
* clone({})
|
2667
2667
|
* </script>
|
2668
2668
|
* ```
|
@@ -2874,7 +2874,7 @@ function getGlobal() {
|
|
2874
2874
|
*
|
2875
2875
|
* ```
|
2876
2876
|
* <script type="module">
|
2877
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
2877
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
|
2878
2878
|
* Monster.Types.getGlobalObject('document')
|
2879
2879
|
* // ↦ { }
|
2880
2880
|
* </script>
|
@@ -2884,7 +2884,7 @@ function getGlobal() {
|
|
2884
2884
|
*
|
2885
2885
|
* ```
|
2886
2886
|
* <script type="module">
|
2887
|
-
* import {getGlobalObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
2887
|
+
* import {getGlobalObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/types/global.js';
|
2888
2888
|
* getGlobalObject('document')
|
2889
2889
|
* // ↦ { }
|
2890
2890
|
* </script>
|
@@ -2916,7 +2916,7 @@ function getGlobalObject(name) {
|
|
2916
2916
|
*
|
2917
2917
|
* ```
|
2918
2918
|
* <script type="module">
|
2919
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
2919
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
|
2920
2920
|
* console.log(Monster.Types.getGlobalFunction('parseInt')) // ↦ f parseInt() { }
|
2921
2921
|
* </script>
|
2922
2922
|
* ```
|
@@ -2925,7 +2925,7 @@ function getGlobalObject(name) {
|
|
2925
2925
|
*
|
2926
2926
|
* ```
|
2927
2927
|
* <script type="module">
|
2928
|
-
* import {getGlobalFunction} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
2928
|
+
* import {getGlobalFunction} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/types/global.js';
|
2929
2929
|
* console.log(getGlobalFunction('parseInt')) // ↦ f parseInt() { }
|
2930
2930
|
* </script>
|
2931
2931
|
* ```
|
@@ -2976,7 +2976,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
2976
2976
|
*
|
2977
2977
|
* ```
|
2978
2978
|
* <script type="module">
|
2979
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
2979
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
|
2980
2980
|
* console.log(Monster.Types.typeOf())
|
2981
2981
|
* </script>
|
2982
2982
|
* ```
|
@@ -2985,14 +2985,14 @@ __webpack_require__.r(__webpack_exports__);
|
|
2985
2985
|
*
|
2986
2986
|
* ```
|
2987
2987
|
* <script type="module">
|
2988
|
-
* import {typeOf} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
2988
|
+
* import {typeOf} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/types/typeof.js';
|
2989
2989
|
* console.log(typeOf())
|
2990
2990
|
* </script>
|
2991
2991
|
* ```
|
2992
2992
|
*
|
2993
2993
|
* @example
|
2994
2994
|
*
|
2995
|
-
* import {typeOf} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
2995
|
+
* import {typeOf} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/types/typeof.js';
|
2996
2996
|
*
|
2997
2997
|
* console.log(typeOf(undefined)); // ↦ undefined
|
2998
2998
|
* console.log(typeOf("")); // ↦ string
|
@@ -3111,7 +3111,7 @@ var WILDCARD = '*';
|
|
3111
3111
|
*
|
3112
3112
|
* ```
|
3113
3113
|
* <script type="module">
|
3114
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
3114
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
|
3115
3115
|
* console.log(new Monster.Data.Pathfinder())
|
3116
3116
|
* </script>
|
3117
3117
|
* ```
|
@@ -3120,7 +3120,7 @@ var WILDCARD = '*';
|
|
3120
3120
|
*
|
3121
3121
|
* ```
|
3122
3122
|
* <script type="module">
|
3123
|
-
* import {Pathfinder} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
3123
|
+
* import {Pathfinder} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/data/pathfinder.js';
|
3124
3124
|
* console.log(new Pathfinder())
|
3125
3125
|
* </script>
|
3126
3126
|
* ```
|
@@ -3162,7 +3162,7 @@ var WILDCARD = '*';
|
|
3162
3162
|
*
|
3163
3163
|
* @example
|
3164
3164
|
*
|
3165
|
-
* import {Pathfinder} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
3165
|
+
* import {Pathfinder} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/data/pathfinder.js';
|
3166
3166
|
*
|
3167
3167
|
* let value = new Pathfinder({
|
3168
3168
|
* a: {
|
@@ -3188,7 +3188,7 @@ var WILDCARD = '*';
|
|
3188
3188
|
*
|
3189
3189
|
* @example
|
3190
3190
|
*
|
3191
|
-
* import {Pathfinder} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
3191
|
+
* import {Pathfinder} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/data/pathfinder.js';
|
3192
3192
|
*
|
3193
3193
|
* let p = new Pathfinder({
|
3194
3194
|
* a: {
|
@@ -3603,7 +3603,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
3603
3603
|
*
|
3604
3604
|
* ```
|
3605
3605
|
* <script type="module">
|
3606
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
3606
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
|
3607
3607
|
* console.log(new Monster.Types.Stack())
|
3608
3608
|
* </script>
|
3609
3609
|
* ```
|
@@ -3612,7 +3612,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
3612
3612
|
*
|
3613
3613
|
* ```
|
3614
3614
|
* <script type="module">
|
3615
|
-
* import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
3615
|
+
* import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/types/stack.js';
|
3616
3616
|
* console.log(new Stack())
|
3617
3617
|
* </script>
|
3618
3618
|
* ```
|
@@ -3747,7 +3747,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "functi
|
|
3747
3747
|
*
|
3748
3748
|
* ```
|
3749
3749
|
* <script type="module">
|
3750
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
3750
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
|
3751
3751
|
* Monster.Data.Diff(a, b)
|
3752
3752
|
* </script>
|
3753
3753
|
* ```
|
@@ -3756,14 +3756,14 @@ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "functi
|
|
3756
3756
|
*
|
3757
3757
|
* ```
|
3758
3758
|
* <script type="module">
|
3759
|
-
* import {Diff} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
3759
|
+
* import {Diff} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/data/diff.js';
|
3760
3760
|
* Diff(a, b)
|
3761
3761
|
* </script>
|
3762
3762
|
* ```
|
3763
3763
|
*
|
3764
3764
|
* @example
|
3765
3765
|
*
|
3766
|
-
* import {Diff} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
3766
|
+
* import {Diff} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/data/diff.js';
|
3767
3767
|
*
|
3768
3768
|
* // given are two objects x and y.
|
3769
3769
|
*
|
@@ -4009,7 +4009,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
4009
4009
|
*
|
4010
4010
|
* ```
|
4011
4011
|
* <script type="module">
|
4012
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
4012
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
|
4013
4013
|
* Monster.Data.extend(a, b)
|
4014
4014
|
* </script>
|
4015
4015
|
* ```
|
@@ -4018,7 +4018,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
4018
4018
|
*
|
4019
4019
|
* ```
|
4020
4020
|
* <script type="module">
|
4021
|
-
* import {extend} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
4021
|
+
* import {extend} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/data/extend.js';
|
4022
4022
|
* extend(a, b)
|
4023
4023
|
* </script>
|
4024
4024
|
* ```
|
@@ -4147,7 +4147,7 @@ var DELIMITER = '|';
|
|
4147
4147
|
*
|
4148
4148
|
* ```
|
4149
4149
|
* <script type="module">
|
4150
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
4150
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
|
4151
4151
|
* new Monster.Data.Pipe()
|
4152
4152
|
* </script>
|
4153
4153
|
* ```
|
@@ -4156,7 +4156,7 @@ var DELIMITER = '|';
|
|
4156
4156
|
*
|
4157
4157
|
* ```
|
4158
4158
|
* <script type="module">
|
4159
|
-
* import {Pipe} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
4159
|
+
* import {Pipe} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/data/pipe.js';
|
4160
4160
|
* new Pipe()
|
4161
4161
|
* </script>
|
4162
4162
|
* ```
|
@@ -4167,7 +4167,7 @@ var DELIMITER = '|';
|
|
4167
4167
|
* the word is then converted to uppercase letters and a prefix Hello is added. the two backslash safe the space char.
|
4168
4168
|
*
|
4169
4169
|
* @example
|
4170
|
-
* import {Pipe} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
4170
|
+
* import {Pipe} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/data/pipe.js';
|
4171
4171
|
*
|
4172
4172
|
* let obj = {
|
4173
4173
|
* a: {
|
@@ -4329,7 +4329,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
4329
4329
|
*
|
4330
4330
|
* ```
|
4331
4331
|
* <script type="module">
|
4332
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
4332
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
|
4333
4333
|
* new Monster.Data.Transformer()
|
4334
4334
|
* </script>
|
4335
4335
|
* ```
|
@@ -4338,7 +4338,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
4338
4338
|
*
|
4339
4339
|
* ```
|
4340
4340
|
* <script type="module">
|
4341
|
-
* import {Transformer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
4341
|
+
* import {Transformer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/data/transformer.js';
|
4342
4342
|
* new Transformer()
|
4343
4343
|
* </script>
|
4344
4344
|
* ```
|
@@ -4424,7 +4424,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
4424
4424
|
*
|
4425
4425
|
* @example
|
4426
4426
|
*
|
4427
|
-
* import {Transformer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
4427
|
+
* import {Transformer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/data/transformer.js';
|
4428
4428
|
*
|
4429
4429
|
* const transformer = new Transformer("tolower")
|
4430
4430
|
*
|
@@ -4957,7 +4957,7 @@ var internalCounter = new Map();
|
|
4957
4957
|
*
|
4958
4958
|
* ```
|
4959
4959
|
* <script type="module">
|
4960
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
4960
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
|
4961
4961
|
* console.log(new Monster.Types.ID())
|
4962
4962
|
* </script>
|
4963
4963
|
* ```
|
@@ -4966,7 +4966,7 @@ var internalCounter = new Map();
|
|
4966
4966
|
*
|
4967
4967
|
* ```
|
4968
4968
|
* <script type="module">
|
4969
|
-
* import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
4969
|
+
* import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/types/id.js';
|
4970
4970
|
* console.log(new ID())
|
4971
4971
|
* </script>
|
4972
4972
|
* ```
|
@@ -5089,7 +5089,7 @@ var ATTRIBUTEPREFIX = "data-monster-";
|
|
5089
5089
|
*
|
5090
5090
|
* ```
|
5091
5091
|
* <script type="module">
|
5092
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
5092
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
|
5093
5093
|
* console.log(new Monster.DOM.Assembler())
|
5094
5094
|
* </script>
|
5095
5095
|
* ```
|
@@ -5098,7 +5098,7 @@ var ATTRIBUTEPREFIX = "data-monster-";
|
|
5098
5098
|
*
|
5099
5099
|
* ```
|
5100
5100
|
* <script type="module">
|
5101
|
-
* import {Assembler} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
5101
|
+
* import {Assembler} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/dom/assembler.js';
|
5102
5102
|
* console.log(new Assembler())
|
5103
5103
|
* </script>
|
5104
5104
|
* ```
|
@@ -5239,7 +5239,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
5239
5239
|
*
|
5240
5240
|
* ```
|
5241
5241
|
* <script type="module">
|
5242
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
5242
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
|
5243
5243
|
* new Monster.Types.ProxyObserver()
|
5244
5244
|
* </script>
|
5245
5245
|
* ```
|
@@ -5248,7 +5248,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
5248
5248
|
*
|
5249
5249
|
* ```
|
5250
5250
|
* <script type="module">
|
5251
|
-
* import {ProxyObserver} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
5251
|
+
* import {ProxyObserver} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/types/proxyobserver.js';
|
5252
5252
|
* new ProxyObserver()
|
5253
5253
|
* </script>
|
5254
5254
|
* ```
|
@@ -5259,9 +5259,9 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
5259
5259
|
*
|
5260
5260
|
* @example
|
5261
5261
|
*
|
5262
|
-
* import {ProxyObserver} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
5263
|
-
* import {Observer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
5264
|
-
* import {isObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
5262
|
+
* import {ProxyObserver} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/types/proxyobserver.js';
|
5263
|
+
* import {Observer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/types/observer.js';
|
5264
|
+
* import {isObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/types/is.js';
|
5265
5265
|
*
|
5266
5266
|
* const o = new Observer(function () {
|
5267
5267
|
* if (isObject(this) && this instanceof ProxyObserver) {
|
@@ -5586,14 +5586,14 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
5586
5586
|
* You can call the method via the monster namespace `new Monster.Types.Observer()`.
|
5587
5587
|
*
|
5588
5588
|
* ```
|
5589
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
5589
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
|
5590
5590
|
* new Monster.Types.Observer()
|
5591
5591
|
* ```
|
5592
5592
|
*
|
5593
5593
|
* Alternatively, you can also integrate this function individually.
|
5594
5594
|
*
|
5595
5595
|
* ```
|
5596
|
-
* import {Observer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
5596
|
+
* import {Observer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/types/observer.js';
|
5597
5597
|
* new Observer()
|
5598
5598
|
* ```
|
5599
5599
|
*
|
@@ -5622,7 +5622,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
5622
5622
|
*
|
5623
5623
|
* @example
|
5624
5624
|
*
|
5625
|
-
* import {Observer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
5625
|
+
* import {Observer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/types/observer.js';
|
5626
5626
|
*
|
5627
5627
|
* const observer = new Observer(function(a, b, c) {
|
5628
5628
|
* console.log(this, a, b, c); // ↦ "a", 2, true
|
@@ -5822,7 +5822,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
5822
5822
|
*
|
5823
5823
|
* ```
|
5824
5824
|
* <script type="module">
|
5825
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
5825
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
|
5826
5826
|
* new Monster.Types.TokenList("myclass row")
|
5827
5827
|
* </script>
|
5828
5828
|
* ```
|
@@ -5831,7 +5831,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
5831
5831
|
*
|
5832
5832
|
* ```
|
5833
5833
|
* <script type="module">
|
5834
|
-
* import {TokenList} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
5834
|
+
* import {TokenList} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/types/tokenlist.js';
|
5835
5835
|
* new TokenList("myclass row")
|
5836
5836
|
* </script>
|
5837
5837
|
* ```
|
@@ -6254,7 +6254,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
6254
6254
|
*
|
6255
6255
|
* ```
|
6256
6256
|
* <script type="module">
|
6257
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
6257
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
|
6258
6258
|
* new Monster.Types.UniqueQueue()
|
6259
6259
|
* </script>
|
6260
6260
|
* ```
|
@@ -6263,7 +6263,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
6263
6263
|
*
|
6264
6264
|
* ```
|
6265
6265
|
* <script type="module">
|
6266
|
-
* import {UniqueQueue} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
6266
|
+
* import {UniqueQueue} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/types/uniquequeue.js';
|
6267
6267
|
* new UniqueQueue()
|
6268
6268
|
* </script>
|
6269
6269
|
* ```
|
@@ -6398,7 +6398,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
6398
6398
|
*
|
6399
6399
|
* ```
|
6400
6400
|
* <script type="module">
|
6401
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
6401
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
|
6402
6402
|
* new Monster.Types.Queue()
|
6403
6403
|
* </script>
|
6404
6404
|
* ```
|
@@ -6407,14 +6407,14 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
6407
6407
|
*
|
6408
6408
|
* ```
|
6409
6409
|
* <script type="module">
|
6410
|
-
* import {Queue} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
6410
|
+
* import {Queue} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/types/queue.js';
|
6411
6411
|
* new Queue()
|
6412
6412
|
* </script>
|
6413
6413
|
* ```
|
6414
6414
|
*
|
6415
6415
|
* @example
|
6416
6416
|
*
|
6417
|
-
* import {Queue} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
6417
|
+
* import {Queue} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/types/queue.js';
|
6418
6418
|
*
|
6419
6419
|
* const queue = new Queue;
|
6420
6420
|
*
|
@@ -6583,7 +6583,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
6583
6583
|
*
|
6584
6584
|
* ```
|
6585
6585
|
* <script type="module">
|
6586
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
6586
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
|
6587
6587
|
* console.log(new Monster.Types.ObserverList())
|
6588
6588
|
* console.log(new Monster.Types.ObserverList())
|
6589
6589
|
* </script>
|
@@ -6593,7 +6593,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
6593
6593
|
*
|
6594
6594
|
* ```
|
6595
6595
|
* <script type="module">
|
6596
|
-
* import {ObserverList} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
6596
|
+
* import {ObserverList} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/types/observerlist.js';
|
6597
6597
|
* console.log(ObserverList())
|
6598
6598
|
* console.log(ObserverList())
|
6599
6599
|
* </script>
|
@@ -6753,7 +6753,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
6753
6753
|
*
|
6754
6754
|
* ```
|
6755
6755
|
* <script type="module">
|
6756
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
6756
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
|
6757
6757
|
* console.log(Monster.DOM.findClosestObjectLink())
|
6758
6758
|
* </script>
|
6759
6759
|
* ```
|
@@ -6762,7 +6762,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
6762
6762
|
*
|
6763
6763
|
* ```
|
6764
6764
|
* <script type="module">
|
6765
|
-
* import {getUpdaterFromNode} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
6765
|
+
* import {getUpdaterFromNode} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/dom/updater.js';
|
6766
6766
|
* console.log(findClosestObjectLink())
|
6767
6767
|
* </script>
|
6768
6768
|
* ```
|
@@ -6783,7 +6783,7 @@ function findClosestObjectLink(element) {
|
|
6783
6783
|
*
|
6784
6784
|
* ```
|
6785
6785
|
* <script type="module">
|
6786
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
6786
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
|
6787
6787
|
* Monster.DOM.addToObjectLink();
|
6788
6788
|
* </script>
|
6789
6789
|
* ```
|
@@ -6792,7 +6792,7 @@ function findClosestObjectLink(element) {
|
|
6792
6792
|
*
|
6793
6793
|
* ```
|
6794
6794
|
* <script type="module">
|
6795
|
-
* import {addToObjectLink} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
6795
|
+
* import {addToObjectLink} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/dom/attributes.js';
|
6796
6796
|
* addToObjectLink();
|
6797
6797
|
* </script>
|
6798
6798
|
* ```
|
@@ -6824,7 +6824,7 @@ function addToObjectLink(element, symbol, object) {
|
|
6824
6824
|
*
|
6825
6825
|
* ```
|
6826
6826
|
* <script type="module">
|
6827
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
6827
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
|
6828
6828
|
* Monster.DOM.removeObjectLink();
|
6829
6829
|
* </script>
|
6830
6830
|
* ```
|
@@ -6833,7 +6833,7 @@ function addToObjectLink(element, symbol, object) {
|
|
6833
6833
|
*
|
6834
6834
|
* ```
|
6835
6835
|
* <script type="module">
|
6836
|
-
* import {removeObjectLink} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
6836
|
+
* import {removeObjectLink} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/dom/attributes.js';
|
6837
6837
|
* removeObjectLink();
|
6838
6838
|
* </script>
|
6839
6839
|
* ```
|
@@ -6864,7 +6864,7 @@ function removeObjectLink(element, symbol) {
|
|
6864
6864
|
*
|
6865
6865
|
* ```
|
6866
6866
|
* <script type="module">
|
6867
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
6867
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
|
6868
6868
|
* Monster.DOM.hasObjectLink();
|
6869
6869
|
* </script>
|
6870
6870
|
* ```
|
@@ -6873,7 +6873,7 @@ function removeObjectLink(element, symbol) {
|
|
6873
6873
|
*
|
6874
6874
|
* ```
|
6875
6875
|
* <script type="module">
|
6876
|
-
* import {hasObjectLink} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
6876
|
+
* import {hasObjectLink} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/dom/attributes.js';
|
6877
6877
|
* hasObjectLink();
|
6878
6878
|
* </script>
|
6879
6879
|
* ```
|
@@ -6909,7 +6909,7 @@ function hasObjectLink(element, symbol) {
|
|
6909
6909
|
*
|
6910
6910
|
* ```
|
6911
6911
|
* <script type="module">
|
6912
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
6912
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
|
6913
6913
|
* Monster.DOM.getLinkedObjects();
|
6914
6914
|
* </script>
|
6915
6915
|
* ```
|
@@ -6918,7 +6918,7 @@ function hasObjectLink(element, symbol) {
|
|
6918
6918
|
*
|
6919
6919
|
* ```
|
6920
6920
|
* <script type="module">
|
6921
|
-
* import {getLinkedObjects} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
6921
|
+
* import {getLinkedObjects} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/dom/attributes.js';
|
6922
6922
|
* getLinkedObjects();
|
6923
6923
|
* </script>
|
6924
6924
|
* ```
|
@@ -6952,7 +6952,7 @@ function getLinkedObjects(element, symbol) {
|
|
6952
6952
|
*
|
6953
6953
|
* ```
|
6954
6954
|
* <script type="module">
|
6955
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
6955
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
|
6956
6956
|
* Monster.DOM.toggleAttributeToken();
|
6957
6957
|
* </script>
|
6958
6958
|
* ```
|
@@ -6961,7 +6961,7 @@ function getLinkedObjects(element, symbol) {
|
|
6961
6961
|
*
|
6962
6962
|
* ```
|
6963
6963
|
* <script type="module">
|
6964
|
-
* import {toggleAttributeToken} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
6964
|
+
* import {toggleAttributeToken} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/dom/attributes.js';
|
6965
6965
|
* toggleAttributeToken();
|
6966
6966
|
* </script>
|
6967
6967
|
* ```
|
@@ -6990,13 +6990,13 @@ function toggleAttributeToken(element, key, token) {
|
|
6990
6990
|
return element;
|
6991
6991
|
}
|
6992
6992
|
/**
|
6993
|
-
*
|
6993
|
+
* This method can be used to add a token to an attribute. Tokens are always separated by a space.
|
6994
6994
|
*
|
6995
6995
|
* You can call the method via the monster namespace `new Monster.DOM.addAttributeToken()`.
|
6996
6996
|
*
|
6997
6997
|
* ```
|
6998
6998
|
* <script type="module">
|
6999
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
6999
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
|
7000
7000
|
* Monster.DOM.addAttributeToken();
|
7001
7001
|
* </script>
|
7002
7002
|
* ```
|
@@ -7005,7 +7005,7 @@ function toggleAttributeToken(element, key, token) {
|
|
7005
7005
|
*
|
7006
7006
|
* ```
|
7007
7007
|
* <script type="module">
|
7008
|
-
* import {addAttributeToken} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
7008
|
+
* import {addAttributeToken} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/dom/attributes.js';
|
7009
7009
|
* addAttributeToken();
|
7010
7010
|
* </script>
|
7011
7011
|
* ```
|
@@ -7042,7 +7042,7 @@ function addAttributeToken(element, key, token) {
|
|
7042
7042
|
*
|
7043
7043
|
* ```
|
7044
7044
|
* <script type="module">
|
7045
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
7045
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
|
7046
7046
|
* Monster.DOM.removeAttributeToken();
|
7047
7047
|
* </script>
|
7048
7048
|
* ```
|
@@ -7051,7 +7051,7 @@ function addAttributeToken(element, key, token) {
|
|
7051
7051
|
*
|
7052
7052
|
* ```
|
7053
7053
|
* <script type="module">
|
7054
|
-
* import {removeAttributeToken} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
7054
|
+
* import {removeAttributeToken} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/dom/attributes.js';
|
7055
7055
|
* removeAttributeToken();
|
7056
7056
|
* </script>
|
7057
7057
|
* ```
|
@@ -7087,7 +7087,7 @@ function removeAttributeToken(element, key, token) {
|
|
7087
7087
|
*
|
7088
7088
|
* ```
|
7089
7089
|
* <script type="module">
|
7090
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
7090
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
|
7091
7091
|
* Monster.DOM.containsAttributeToken();
|
7092
7092
|
* </script>
|
7093
7093
|
* ```
|
@@ -7096,7 +7096,7 @@ function removeAttributeToken(element, key, token) {
|
|
7096
7096
|
*
|
7097
7097
|
* ```
|
7098
7098
|
* <script type="module">
|
7099
|
-
* import {containsAttributeToken} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
7099
|
+
* import {containsAttributeToken} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/dom/attributes.js';
|
7100
7100
|
* containsAttributeToken();
|
7101
7101
|
* </script>
|
7102
7102
|
* ```
|
@@ -7129,7 +7129,7 @@ function containsAttributeToken(element, key, token) {
|
|
7129
7129
|
*
|
7130
7130
|
* ```
|
7131
7131
|
* <script type="module">
|
7132
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
7132
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
|
7133
7133
|
* Monster.DOM.replaceAttributeToken();
|
7134
7134
|
* </script>
|
7135
7135
|
* ```
|
@@ -7138,7 +7138,7 @@ function containsAttributeToken(element, key, token) {
|
|
7138
7138
|
*
|
7139
7139
|
* ```
|
7140
7140
|
* <script type="module">
|
7141
|
-
* import {replaceAttributeToken} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
7141
|
+
* import {replaceAttributeToken} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/dom/attributes.js';
|
7142
7142
|
* replaceAttributeToken();
|
7143
7143
|
* </script>
|
7144
7144
|
* ```
|
@@ -7174,7 +7174,7 @@ function replaceAttributeToken(element, key, from, to) {
|
|
7174
7174
|
*
|
7175
7175
|
* ```
|
7176
7176
|
* <script type="module">
|
7177
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
7177
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
|
7178
7178
|
* Monster.DOM.clearAttributeTokens();
|
7179
7179
|
* </script>
|
7180
7180
|
* ```
|
@@ -7183,7 +7183,7 @@ function replaceAttributeToken(element, key, from, to) {
|
|
7183
7183
|
*
|
7184
7184
|
* ```
|
7185
7185
|
* <script type="module">
|
7186
|
-
* import {clearAttributeTokens} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
7186
|
+
* import {clearAttributeTokens} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/dom/attributes.js';
|
7187
7187
|
* clearAttributeTokens();
|
7188
7188
|
* </script>
|
7189
7189
|
* ```
|
@@ -7231,7 +7231,7 @@ function clearAttributeTokens(element, key) {
|
|
7231
7231
|
*
|
7232
7232
|
* ```
|
7233
7233
|
* <script type="module">
|
7234
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
7234
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
|
7235
7235
|
* Monster.DOM.findClosestByAttribute();
|
7236
7236
|
* </script>
|
7237
7237
|
* ```
|
@@ -7240,7 +7240,7 @@ function clearAttributeTokens(element, key) {
|
|
7240
7240
|
*
|
7241
7241
|
* ```
|
7242
7242
|
* <script type="module">
|
7243
|
-
* import {findClosestByAttribute} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
7243
|
+
* import {findClosestByAttribute} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/dom/attributes.js';
|
7244
7244
|
* findClosestByAttribute();
|
7245
7245
|
* </script>
|
7246
7246
|
* ```
|
@@ -7298,7 +7298,7 @@ function findClosestByAttribute(element, key, value) {
|
|
7298
7298
|
*
|
7299
7299
|
* ```
|
7300
7300
|
* <script type="module">
|
7301
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
7301
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
|
7302
7302
|
* Monster.DOM.findClosestByClass();
|
7303
7303
|
* </script>
|
7304
7304
|
* ```
|
@@ -7307,7 +7307,7 @@ function findClosestByAttribute(element, key, value) {
|
|
7307
7307
|
*
|
7308
7308
|
* ```
|
7309
7309
|
* <script type="module">
|
7310
|
-
* import {findClosestByClass} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
7310
|
+
* import {findClosestByClass} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/dom/attributes.js';
|
7311
7311
|
* findClosestByClass();
|
7312
7312
|
* </script>
|
7313
7313
|
* ```
|
@@ -7841,7 +7841,7 @@ var attachedInternalSymbol = Symbol('attachedInternal');
|
|
7841
7841
|
*
|
7842
7842
|
* ```
|
7843
7843
|
* <script type="module">
|
7844
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
7844
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
|
7845
7845
|
* document.createElement('monster-')
|
7846
7846
|
* </script>
|
7847
7847
|
* ```
|
@@ -8377,7 +8377,7 @@ var attributeObserverSymbol = Symbol('attributeObserver');
|
|
8377
8377
|
*
|
8378
8378
|
* ```
|
8379
8379
|
* <script type="module">
|
8380
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
8380
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
|
8381
8381
|
* document.createElement('monster-')
|
8382
8382
|
* </script>
|
8383
8383
|
* ```
|
@@ -8687,7 +8687,9 @@ var CustomElement = /*#__PURE__*/function (_HTMLElement) {
|
|
8687
8687
|
|
8688
8688
|
try {
|
8689
8689
|
initCSSStylesheet.call(this);
|
8690
|
-
} catch (e) {
|
8690
|
+
} catch (e) {
|
8691
|
+
(0,_attributes_js__WEBPACK_IMPORTED_MODULE_11__.addAttributeToken)(self, _constants_js__WEBPACK_IMPORTED_MODULE_12__.ATTRIBUTE_ERRORMESSAGE, e.toString());
|
8692
|
+
}
|
8691
8693
|
}
|
8692
8694
|
|
8693
8695
|
if (!(elements instanceof NodeList)) {
|
@@ -8997,7 +8999,7 @@ function initOptionObserver() {
|
|
8997
8999
|
}
|
8998
9000
|
})); // disabled
|
8999
9001
|
|
9000
|
-
self[attributeObserverSymbol][_constants_js__WEBPACK_IMPORTED_MODULE_12__.ATTRIBUTE_DISABLED] = function (
|
9002
|
+
self[attributeObserverSymbol][_constants_js__WEBPACK_IMPORTED_MODULE_12__.ATTRIBUTE_DISABLED] = function () {
|
9001
9003
|
if (self.hasAttribute(_constants_js__WEBPACK_IMPORTED_MODULE_12__.ATTRIBUTE_DISABLED)) {
|
9002
9004
|
self.setOption(_constants_js__WEBPACK_IMPORTED_MODULE_12__.ATTRIBUTE_DISABLED, true);
|
9003
9005
|
} else {
|
@@ -9084,6 +9086,7 @@ function initHtmlContent() {
|
|
9084
9086
|
* @memberOf Monster.DOM
|
9085
9087
|
* @this CustomElement
|
9086
9088
|
* @since 1.16.0
|
9089
|
+
* @throws {TypeError} value is not an instance of
|
9087
9090
|
*/
|
9088
9091
|
|
9089
9092
|
|
@@ -9099,7 +9102,26 @@ function initCSSStylesheet() {
|
|
9099
9102
|
if (styleSheet instanceof CSSStyleSheet) {
|
9100
9103
|
this.shadowRoot.adoptedStyleSheets = [styleSheet];
|
9101
9104
|
} else if ((0,_types_is_js__WEBPACK_IMPORTED_MODULE_6__.isArray)(styleSheet)) {
|
9102
|
-
|
9105
|
+
var assign = [];
|
9106
|
+
|
9107
|
+
var _iterator3 = _createForOfIteratorHelper(styleSheet),
|
9108
|
+
_step3;
|
9109
|
+
|
9110
|
+
try {
|
9111
|
+
for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
|
9112
|
+
var s = _step3.value;
|
9113
|
+
(0,_types_validate_js__WEBPACK_IMPORTED_MODULE_9__.validateInstance)(s, CSSStyleSheet);
|
9114
|
+
assign.push(s);
|
9115
|
+
}
|
9116
|
+
} catch (err) {
|
9117
|
+
_iterator3.e(err);
|
9118
|
+
} finally {
|
9119
|
+
_iterator3.f();
|
9120
|
+
}
|
9121
|
+
|
9122
|
+
if (assign.length > 0) {
|
9123
|
+
this.shadowRoot.adoptedStyleSheets = assign;
|
9124
|
+
}
|
9103
9125
|
} else if ((0,_types_is_js__WEBPACK_IMPORTED_MODULE_6__.isString)(styleSheet)) {
|
9104
9126
|
var style = self.shadowRoot.createElement('<style>');
|
9105
9127
|
style.innerText = styleSheet;
|
@@ -9257,7 +9279,7 @@ var internal = Symbol('internal');
|
|
9257
9279
|
*
|
9258
9280
|
* ```
|
9259
9281
|
* <script type="module">
|
9260
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
9282
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
|
9261
9283
|
* new Monster.Types.DataUrl()
|
9262
9284
|
* </script>
|
9263
9285
|
* ```
|
@@ -9266,7 +9288,7 @@ var internal = Symbol('internal');
|
|
9266
9288
|
*
|
9267
9289
|
* ```
|
9268
9290
|
* <script type="module">
|
9269
|
-
* import {DataUrl} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
9291
|
+
* import {DataUrl} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/types/dataurl.js';
|
9270
9292
|
* new DataUrl()
|
9271
9293
|
* </script>
|
9272
9294
|
* ```
|
@@ -9346,7 +9368,7 @@ var DataUrl = /*#__PURE__*/function (_Base) {
|
|
9346
9368
|
*
|
9347
9369
|
* ```
|
9348
9370
|
* <script type="module">
|
9349
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
9371
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
|
9350
9372
|
* console.log(Monster.Types.parseDataURL())
|
9351
9373
|
* </script>
|
9352
9374
|
* ```
|
@@ -9355,7 +9377,7 @@ var DataUrl = /*#__PURE__*/function (_Base) {
|
|
9355
9377
|
*
|
9356
9378
|
* ```
|
9357
9379
|
* <script type="module">
|
9358
|
-
* import {parseDataURL} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
9380
|
+
* import {parseDataURL} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/types/dataurl.js';
|
9359
9381
|
* console.log(parseDataURL())
|
9360
9382
|
* </script>
|
9361
9383
|
* ```
|
@@ -9493,7 +9515,7 @@ var internal = Symbol('internal');
|
|
9493
9515
|
*
|
9494
9516
|
* ```
|
9495
9517
|
* <script type="module">
|
9496
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
9518
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
|
9497
9519
|
* console.log(new Monster.Types.MediaType())
|
9498
9520
|
* </script>
|
9499
9521
|
* ```
|
@@ -9502,7 +9524,7 @@ var internal = Symbol('internal');
|
|
9502
9524
|
*
|
9503
9525
|
* ```
|
9504
9526
|
* <script type="module">
|
9505
|
-
* import {MediaType} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
9527
|
+
* import {MediaType} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/types/mediatype.js';
|
9506
9528
|
* console.log(new MediaType())
|
9507
9529
|
* </script>
|
9508
9530
|
* ```
|
@@ -9620,7 +9642,7 @@ var MediaType = /*#__PURE__*/function (_Base) {
|
|
9620
9642
|
*
|
9621
9643
|
* ```
|
9622
9644
|
* <script type="module">
|
9623
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
9645
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
|
9624
9646
|
* console.log(Monster.Types.parseMediaType())
|
9625
9647
|
* </script>
|
9626
9648
|
* ```
|
@@ -9629,7 +9651,7 @@ var MediaType = /*#__PURE__*/function (_Base) {
|
|
9629
9651
|
*
|
9630
9652
|
* ```
|
9631
9653
|
* <script type="module">
|
9632
|
-
* import {parseMediaType} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
9654
|
+
* import {parseMediaType} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/types/dataurl.js';
|
9633
9655
|
* console.log(parseMediaType())
|
9634
9656
|
* </script>
|
9635
9657
|
* ```
|
@@ -9768,7 +9790,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
9768
9790
|
*
|
9769
9791
|
* ```
|
9770
9792
|
* <script type="module">
|
9771
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
9793
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
|
9772
9794
|
* new Monster.DOM.Template()
|
9773
9795
|
* </script>
|
9774
9796
|
* ```
|
@@ -9777,7 +9799,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
9777
9799
|
*
|
9778
9800
|
* ```
|
9779
9801
|
* <script type="module">
|
9780
|
-
* import {Template} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
9802
|
+
* import {Template} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/dom/template.js';
|
9781
9803
|
* new Template()
|
9782
9804
|
* </script>
|
9783
9805
|
* ```
|
@@ -9855,7 +9877,7 @@ var Template = /*#__PURE__*/function (_Base) {
|
|
9855
9877
|
*
|
9856
9878
|
* ```
|
9857
9879
|
* <script type="module">
|
9858
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
9880
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
|
9859
9881
|
* Monster.DOM.findDocumentTemplate()
|
9860
9882
|
* </script>
|
9861
9883
|
* ```
|
@@ -9864,14 +9886,14 @@ var Template = /*#__PURE__*/function (_Base) {
|
|
9864
9886
|
*
|
9865
9887
|
* ```
|
9866
9888
|
* <script type="module">
|
9867
|
-
* import {findTemplate} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
9889
|
+
* import {findTemplate} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/dom/template.js';
|
9868
9890
|
* findDocumentTemplate()
|
9869
9891
|
* </script>
|
9870
9892
|
* ```
|
9871
9893
|
*
|
9872
9894
|
* @example
|
9873
9895
|
*
|
9874
|
-
* import { findDocumentTemplate } from "https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
9896
|
+
* import { findDocumentTemplate } from "https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/dom/template.js";
|
9875
9897
|
*
|
9876
9898
|
* const template = document.createElement("template");
|
9877
9899
|
* template.id = "myTemplate";
|
@@ -10043,7 +10065,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
10043
10065
|
*
|
10044
10066
|
* ```
|
10045
10067
|
* <script type="module">
|
10046
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
10068
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
|
10047
10069
|
* console.log(new Monster.DOM.Theme())
|
10048
10070
|
* </script>
|
10049
10071
|
* ```
|
@@ -10052,14 +10074,14 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
10052
10074
|
*
|
10053
10075
|
* ```
|
10054
10076
|
* <script type="module">
|
10055
|
-
* import {Theme} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
10077
|
+
* import {Theme} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/dom/theme.js';
|
10056
10078
|
* console.log(new Theme())
|
10057
10079
|
* </script>
|
10058
10080
|
* ```
|
10059
10081
|
*
|
10060
10082
|
* @example
|
10061
10083
|
*
|
10062
|
-
* import {getDocumentTheme} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
10084
|
+
* import {getDocumentTheme} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/dom/theme.js';
|
10063
10085
|
*
|
10064
10086
|
* const theme = getDocumentTheme();
|
10065
10087
|
* console.log(theme.getName());
|
@@ -10246,7 +10268,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
10246
10268
|
*
|
10247
10269
|
* ```
|
10248
10270
|
* <script type="module">
|
10249
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
10271
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
|
10250
10272
|
* new Monster.DOM.Updater()
|
10251
10273
|
* </script>
|
10252
10274
|
* ```
|
@@ -10255,14 +10277,14 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
10255
10277
|
*
|
10256
10278
|
* ```
|
10257
10279
|
* <script type="module">
|
10258
|
-
* import {Updater} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
10280
|
+
* import {Updater} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/dom/updater.js';
|
10259
10281
|
* new Updater()
|
10260
10282
|
* </script>
|
10261
10283
|
* ```
|
10262
10284
|
*
|
10263
10285
|
* @example
|
10264
10286
|
*
|
10265
|
-
* import {Updater} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
10287
|
+
* import {Updater} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/dom/updater.js';
|
10266
10288
|
*
|
10267
10289
|
* // First we prepare the html document.
|
10268
10290
|
* // This is done here via script, but can also be inserted into the document as pure html.
|
@@ -11258,7 +11280,7 @@ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || func
|
|
11258
11280
|
*
|
11259
11281
|
* ```
|
11260
11282
|
* <script type="module">
|
11261
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
11283
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
|
11262
11284
|
* Monster.Util.trimSpaces(" hello ")
|
11263
11285
|
* </script>
|
11264
11286
|
* ```
|
@@ -11267,7 +11289,7 @@ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || func
|
|
11267
11289
|
*
|
11268
11290
|
* ```
|
11269
11291
|
* <script type="module">
|
11270
|
-
* import {trimSpaces} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
11292
|
+
* import {trimSpaces} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/util/trimspaces.js';
|
11271
11293
|
* trimSpaces(' hello \\ ')
|
11272
11294
|
* </script>
|
11273
11295
|
* ```
|
@@ -11372,7 +11394,7 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
|
|
11372
11394
|
*
|
11373
11395
|
* ```
|
11374
11396
|
* <script type="module">
|
11375
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
11397
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
|
11376
11398
|
* new Monster.DOM.fireEvent()
|
11377
11399
|
* </script>
|
11378
11400
|
* ```
|
@@ -11381,7 +11403,7 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
|
|
11381
11403
|
*
|
11382
11404
|
* ```
|
11383
11405
|
* <script type="module">
|
11384
|
-
* import {fireEvent} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
11406
|
+
* import {fireEvent} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/dom/events.js';
|
11385
11407
|
* fireEvent()
|
11386
11408
|
* </script>
|
11387
11409
|
* ```
|
@@ -11433,7 +11455,7 @@ function fireEvent(element, type) {
|
|
11433
11455
|
*
|
11434
11456
|
* ```
|
11435
11457
|
* <script type="module">
|
11436
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
11458
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
|
11437
11459
|
* new Monster.DOM.fireCustomEvent()
|
11438
11460
|
* </script>
|
11439
11461
|
* ```
|
@@ -11442,7 +11464,7 @@ function fireEvent(element, type) {
|
|
11442
11464
|
*
|
11443
11465
|
* ```
|
11444
11466
|
* <script type="module">
|
11445
|
-
* import {fireCustomEvent} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
11467
|
+
* import {fireCustomEvent} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/dom/events.js';
|
11446
11468
|
* fireCustomEvent()
|
11447
11469
|
* </script>
|
11448
11470
|
* ```
|
@@ -11501,7 +11523,7 @@ function fireCustomEvent(element, type, detail) {
|
|
11501
11523
|
*
|
11502
11524
|
* ```
|
11503
11525
|
* <script type="module">
|
11504
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
11526
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
|
11505
11527
|
* new Monster.DOM.findTargetElementFromEvent()
|
11506
11528
|
* </script>
|
11507
11529
|
* ```
|
@@ -11510,7 +11532,7 @@ function fireCustomEvent(element, type, detail) {
|
|
11510
11532
|
*
|
11511
11533
|
* ```
|
11512
11534
|
* <script type="module">
|
11513
|
-
* import {findTargetElementFromEvent} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
11535
|
+
* import {findTargetElementFromEvent} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/dom/events.js';
|
11514
11536
|
* findTargetElementFromEvent()
|
11515
11537
|
* </script>
|
11516
11538
|
* ```
|
@@ -11581,7 +11603,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "functi
|
|
11581
11603
|
*
|
11582
11604
|
* ```
|
11583
11605
|
* <script type="module">
|
11584
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
11606
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
|
11585
11607
|
* console.log(Monster.DOM.getDocument())
|
11586
11608
|
* </script>
|
11587
11609
|
* ```
|
@@ -11590,7 +11612,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "functi
|
|
11590
11612
|
*
|
11591
11613
|
* ```
|
11592
11614
|
* <script type="module">
|
11593
|
-
* import {getDocument} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
11615
|
+
* import {getDocument} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/dom/util.js';
|
11594
11616
|
* console.log(getDocument())
|
11595
11617
|
* </script>
|
11596
11618
|
* ```
|
@@ -11645,7 +11667,7 @@ function getDocument() {
|
|
11645
11667
|
*
|
11646
11668
|
* ```
|
11647
11669
|
* <script type="module">
|
11648
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
11670
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
|
11649
11671
|
* console.log(Monster.DOM.getWindow())
|
11650
11672
|
* </script>
|
11651
11673
|
* ```
|
@@ -11654,7 +11676,7 @@ function getDocument() {
|
|
11654
11676
|
*
|
11655
11677
|
* ```
|
11656
11678
|
* <script type="module">
|
11657
|
-
* import {getWindow} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
11679
|
+
* import {getWindow} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/dom/util.js';
|
11658
11680
|
* console.log(getWindow(null))
|
11659
11681
|
* </script>
|
11660
11682
|
* ```
|
@@ -11714,7 +11736,7 @@ function getWindow() {
|
|
11714
11736
|
*
|
11715
11737
|
* ```
|
11716
11738
|
* <script type="module">
|
11717
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
11739
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
|
11718
11740
|
* console.log(Monster.DOM.getDocumentFragmentFromString())
|
11719
11741
|
* </script>
|
11720
11742
|
* ```
|
@@ -11723,7 +11745,7 @@ function getWindow() {
|
|
11723
11745
|
*
|
11724
11746
|
* ```
|
11725
11747
|
* <script type="module">
|
11726
|
-
* import {getDocumentFragmentFromString} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
11748
|
+
* import {getDocumentFragmentFromString} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/dom/util.js';
|
11727
11749
|
* console.log(getDocumentFragmentFromString('<div></div>'))
|
11728
11750
|
* </script>
|
11729
11751
|
* ```
|
@@ -11813,7 +11835,7 @@ var DEFAULT_LANGUAGE = 'en';
|
|
11813
11835
|
*
|
11814
11836
|
* ```
|
11815
11837
|
* <script type="module">
|
11816
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
11838
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
|
11817
11839
|
* new Monster.DOM.getLocaleOfDocument()
|
11818
11840
|
* </script>
|
11819
11841
|
* ```
|
@@ -11822,7 +11844,7 @@ var DEFAULT_LANGUAGE = 'en';
|
|
11822
11844
|
*
|
11823
11845
|
* ```
|
11824
11846
|
* <script type="module">
|
11825
|
-
* import {getLocaleOfDocument} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
11847
|
+
* import {getLocaleOfDocument} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/dom/locale.js';
|
11826
11848
|
* new getLocaleOfDocument()
|
11827
11849
|
* </script>
|
11828
11850
|
* ```
|
@@ -11915,7 +11937,7 @@ var localeStringSymbol = Symbol('localeString');
|
|
11915
11937
|
*
|
11916
11938
|
* ```
|
11917
11939
|
* <script type="module">
|
11918
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
11940
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
|
11919
11941
|
* new Monster.I18n.Locale()
|
11920
11942
|
* </script>
|
11921
11943
|
* ```
|
@@ -11924,7 +11946,7 @@ var localeStringSymbol = Symbol('localeString');
|
|
11924
11946
|
*
|
11925
11947
|
* ```
|
11926
11948
|
* <script type="module">
|
11927
|
-
* import {Locale} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
11949
|
+
* import {Locale} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/i18n/locale.js';
|
11928
11950
|
* new Locale()
|
11929
11951
|
* </script>
|
11930
11952
|
* ```
|
@@ -12117,7 +12139,7 @@ var Locale = /*#__PURE__*/function (_Base) {
|
|
12117
12139
|
*
|
12118
12140
|
* ```
|
12119
12141
|
* <script type="module">
|
12120
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
12142
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
|
12121
12143
|
* new Monster.I18n.createLocale()
|
12122
12144
|
* </script>
|
12123
12145
|
* ```
|
@@ -12126,7 +12148,7 @@ var Locale = /*#__PURE__*/function (_Base) {
|
|
12126
12148
|
*
|
12127
12149
|
* ```
|
12128
12150
|
* <script type="module">
|
12129
|
-
* import {createLocale} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
12151
|
+
* import {createLocale} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/i18n/locale.js';
|
12130
12152
|
* createLocale()
|
12131
12153
|
* </script>
|
12132
12154
|
* ```
|
@@ -12302,7 +12324,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
12302
12324
|
*
|
12303
12325
|
* ```
|
12304
12326
|
* <script type="module">
|
12305
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
12327
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
|
12306
12328
|
* new Monster.I18n.Provider()
|
12307
12329
|
* </script>
|
12308
12330
|
* ```
|
@@ -12311,7 +12333,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
12311
12333
|
*
|
12312
12334
|
* ```
|
12313
12335
|
* <script type="module">
|
12314
|
-
* import {Provider} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
12336
|
+
* import {Provider} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/i18n/provider.js';
|
12315
12337
|
* new Provider()
|
12316
12338
|
* </script>
|
12317
12339
|
* ```
|
@@ -12414,7 +12436,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
12414
12436
|
*
|
12415
12437
|
* ```html
|
12416
12438
|
* <script type="module">
|
12417
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
12439
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
|
12418
12440
|
* new Monster.Types.BaseWithOptions()
|
12419
12441
|
* </script>
|
12420
12442
|
* ```
|
@@ -12423,7 +12445,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
12423
12445
|
*
|
12424
12446
|
* ```html
|
12425
12447
|
* <script type="module">
|
12426
|
-
* import {BaseWithOptions} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
12448
|
+
* import {BaseWithOptions} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/types/basewithoptions.js';
|
12427
12449
|
* new BaseWithOptions()
|
12428
12450
|
* </script>
|
12429
12451
|
* ```
|
@@ -12588,7 +12610,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
12588
12610
|
*
|
12589
12611
|
* ```
|
12590
12612
|
* <script type="module">
|
12591
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
12613
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
|
12592
12614
|
* new Monster.I18n.Translations()
|
12593
12615
|
* </script>
|
12594
12616
|
* ```
|
@@ -12597,15 +12619,15 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
12597
12619
|
*
|
12598
12620
|
* ```
|
12599
12621
|
* <script type="module">
|
12600
|
-
* import {Translations} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
12622
|
+
* import {Translations} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/i18n/translations.js';
|
12601
12623
|
* new Translations()
|
12602
12624
|
* </script>
|
12603
12625
|
* ```
|
12604
12626
|
*
|
12605
12627
|
* @example
|
12606
12628
|
*
|
12607
|
-
* import {Translations} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
12608
|
-
* import {parseLocale} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
12629
|
+
* import {Translations} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/i18n/translations.js';
|
12630
|
+
* import {parseLocale} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/i18n/locale.js';
|
12609
12631
|
*
|
12610
12632
|
* const translation = new Translations(parseLocale('en-GB'));
|
12611
12633
|
*
|
@@ -12877,7 +12899,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
12877
12899
|
*
|
12878
12900
|
* ```
|
12879
12901
|
* <script type="module">
|
12880
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
12902
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
|
12881
12903
|
* new Monster.I18n.Providers.Fetch()
|
12882
12904
|
* </script>
|
12883
12905
|
* ```
|
@@ -12886,14 +12908,14 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
12886
12908
|
*
|
12887
12909
|
* ```
|
12888
12910
|
* <script type="module">
|
12889
|
-
* import {Fetch} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
12911
|
+
* import {Fetch} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/i18n/providers/fetch.js';
|
12890
12912
|
* new Fetch()
|
12891
12913
|
* </script>
|
12892
12914
|
* ```
|
12893
12915
|
*
|
12894
12916
|
* @example <caption>das ist ein test</caption>
|
12895
12917
|
*
|
12896
|
-
* import {Fetch} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
12918
|
+
* import {Fetch} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/i18n/providers/fetch.js';
|
12897
12919
|
*
|
12898
12920
|
* // fetch from API
|
12899
12921
|
* const translation = new Fetch('https://example.com/${language}.json').getTranslation('en-GB');
|
@@ -13123,7 +13145,7 @@ var workingDataSymbol = Symbol('workingData');
|
|
13123
13145
|
*
|
13124
13146
|
* ```
|
13125
13147
|
* <script type="module">
|
13126
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
13148
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
|
13127
13149
|
* new Monster.Text.Formatter()
|
13128
13150
|
* </script>
|
13129
13151
|
* ```
|
@@ -13132,7 +13154,7 @@ var workingDataSymbol = Symbol('workingData');
|
|
13132
13154
|
*
|
13133
13155
|
* ```
|
13134
13156
|
* <script type="module">
|
13135
|
-
* import {Formatter} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
13157
|
+
* import {Formatter} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/text/formatter.js';
|
13136
13158
|
* new Formatter()
|
13137
13159
|
* </script>
|
13138
13160
|
* ```
|
@@ -13177,7 +13199,7 @@ var workingDataSymbol = Symbol('workingData');
|
|
13177
13199
|
*
|
13178
13200
|
* @example
|
13179
13201
|
*
|
13180
|
-
* import {Formatter} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
13202
|
+
* import {Formatter} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/text/formatter.js';
|
13181
13203
|
*
|
13182
13204
|
* new Formatter({
|
13183
13205
|
* a: {
|
@@ -13522,7 +13544,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
13522
13544
|
*
|
13523
13545
|
* ```
|
13524
13546
|
* <script type="module">
|
13525
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
13547
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
|
13526
13548
|
* console.log(new Monster.Logging.Handler())
|
13527
13549
|
* </script>
|
13528
13550
|
* ```
|
@@ -13531,7 +13553,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
13531
13553
|
*
|
13532
13554
|
* ```
|
13533
13555
|
* <script type="module">
|
13534
|
-
* import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
13556
|
+
* import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/logging/handler.js';
|
13535
13557
|
* console.log(new Handler())
|
13536
13558
|
* </script>
|
13537
13559
|
* ```
|
@@ -13769,7 +13791,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
13769
13791
|
*
|
13770
13792
|
* ```
|
13771
13793
|
* <script type="module">
|
13772
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
13794
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
|
13773
13795
|
* console.log(new Monster.Logging.LogEntry())
|
13774
13796
|
* </script>
|
13775
13797
|
* ```
|
@@ -13778,7 +13800,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
13778
13800
|
*
|
13779
13801
|
* ```
|
13780
13802
|
* <script type="module">
|
13781
|
-
* import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
13803
|
+
* import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/logging/logentry.js';
|
13782
13804
|
* console.log(new LogEntry())
|
13783
13805
|
* </script>
|
13784
13806
|
* ```
|
@@ -13964,7 +13986,7 @@ var OFF = 0;
|
|
13964
13986
|
*
|
13965
13987
|
* ```
|
13966
13988
|
* <script type="module">
|
13967
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
13989
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
|
13968
13990
|
* new Monster.Logging.Logger()
|
13969
13991
|
* </script>
|
13970
13992
|
* ```
|
@@ -13973,7 +13995,7 @@ var OFF = 0;
|
|
13973
13995
|
*
|
13974
13996
|
* ```
|
13975
13997
|
* <script type="module">
|
13976
|
-
* import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
13998
|
+
* import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/logging/logger.js';
|
13977
13999
|
* new Logger()
|
13978
14000
|
* </script>
|
13979
14001
|
* ```
|
@@ -14273,7 +14295,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
14273
14295
|
*
|
14274
14296
|
* ```
|
14275
14297
|
* <script type="module">
|
14276
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
14298
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
|
14277
14299
|
* console.log(new Monster.Logging.Handler.ConsoleHandler())
|
14278
14300
|
* </script>
|
14279
14301
|
* ```
|
@@ -14282,7 +14304,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
14282
14304
|
*
|
14283
14305
|
* ```
|
14284
14306
|
* <script type="module">
|
14285
|
-
* import {ConsoleHandler} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
14307
|
+
* import {ConsoleHandler} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/logging/handler/console.js';
|
14286
14308
|
* console.log(new ConsoleHandler())
|
14287
14309
|
* </script>
|
14288
14310
|
* ```
|
@@ -14358,7 +14380,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
14358
14380
|
*
|
14359
14381
|
* ```
|
14360
14382
|
* <script type="module">
|
14361
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
14383
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
|
14362
14384
|
* Monster.Math.random(1,10)
|
14363
14385
|
* // ↦ 5
|
14364
14386
|
* </script>
|
@@ -14368,7 +14390,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
14368
14390
|
*
|
14369
14391
|
* ```
|
14370
14392
|
* <script type="module">
|
14371
|
-
* import {random} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
14393
|
+
* import {random} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/math/random.js';
|
14372
14394
|
* random(1,10)
|
14373
14395
|
* // ↦ 5
|
14374
14396
|
* </script>
|
@@ -14525,7 +14547,7 @@ var internalCounter = 0;
|
|
14525
14547
|
*
|
14526
14548
|
* ```
|
14527
14549
|
* <script type="module">
|
14528
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
14550
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
|
14529
14551
|
* console.log(new Monster.Types.RandomID())
|
14530
14552
|
* </script>
|
14531
14553
|
* ```
|
@@ -14534,7 +14556,7 @@ var internalCounter = 0;
|
|
14534
14556
|
*
|
14535
14557
|
* ```
|
14536
14558
|
* <script type="module">
|
14537
|
-
* import {RandomID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
14559
|
+
* import {RandomID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/types/randomid.js';
|
14538
14560
|
* console.log(new RandomID())
|
14539
14561
|
* </script>
|
14540
14562
|
* ```
|
@@ -14617,7 +14639,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
14617
14639
|
*
|
14618
14640
|
* ```
|
14619
14641
|
* <script type="module">
|
14620
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
14642
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
|
14621
14643
|
* console.log(new Monster.Types.Version('1.2.3')) // ↦ 1.2.3
|
14622
14644
|
* console.log(new Monster.Types.Version('1')) // ↦ 1.0.0
|
14623
14645
|
* </script>
|
@@ -14627,7 +14649,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
14627
14649
|
*
|
14628
14650
|
* ```
|
14629
14651
|
* <script type="module">
|
14630
|
-
* import {Version} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
14652
|
+
* import {Version} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/types/version.js';
|
14631
14653
|
* console.log(new Version('1.2.3')) // ↦ 1.2.3
|
14632
14654
|
* console.log(new Version('1')) // ↦ 1.0.0
|
14633
14655
|
* </script>
|
@@ -14635,7 +14657,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
14635
14657
|
*
|
14636
14658
|
* @example
|
14637
14659
|
*
|
14638
|
-
* import {Version} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
14660
|
+
* import {Version} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/types/version.js';
|
14639
14661
|
*
|
14640
14662
|
* new Version('1.0.0') // ↦ 1.0.0
|
14641
14663
|
* new Version(1) // ↦ 1.0.0
|
@@ -14769,7 +14791,7 @@ var monsterVersion;
|
|
14769
14791
|
*
|
14770
14792
|
* ```
|
14771
14793
|
* <script type="module">
|
14772
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
14794
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
|
14773
14795
|
* console.log(Monster.getVersion())
|
14774
14796
|
* </script>
|
14775
14797
|
* ```
|
@@ -14778,7 +14800,7 @@ var monsterVersion;
|
|
14778
14800
|
*
|
14779
14801
|
* ```
|
14780
14802
|
* <script type="module">
|
14781
|
-
* import {getVersion} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
14803
|
+
* import {getVersion} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/types/version.js';
|
14782
14804
|
* console.log(getVersion())
|
14783
14805
|
* </script>
|
14784
14806
|
* ```
|
@@ -14797,7 +14819,7 @@ function getVersion() {
|
|
14797
14819
|
/**#@+ dont touch, replaced by make with package.json version */
|
14798
14820
|
|
14799
14821
|
|
14800
|
-
monsterVersion = new Version('1.29.
|
14822
|
+
monsterVersion = new Version('1.29.2');
|
14801
14823
|
/**#@-*/
|
14802
14824
|
|
14803
14825
|
return monsterVersion;
|
@@ -14853,7 +14875,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
14853
14875
|
*
|
14854
14876
|
* ```
|
14855
14877
|
* <script type="module">
|
14856
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
14878
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
|
14857
14879
|
* new Monster.Util.Comparator()
|
14858
14880
|
* </script>
|
14859
14881
|
* ```
|
@@ -14862,7 +14884,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
14862
14884
|
*
|
14863
14885
|
* ```
|
14864
14886
|
* <script type="module">
|
14865
|
-
* import {Comparator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
14887
|
+
* import {Comparator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/util/comparator.js';
|
14866
14888
|
* console.log(new Comparator())
|
14867
14889
|
* </script>
|
14868
14890
|
* ```
|
@@ -14887,7 +14909,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
14887
14909
|
*
|
14888
14910
|
* @example
|
14889
14911
|
*
|
14890
|
-
* import {Comparator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
14912
|
+
* import {Comparator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/util/comparator.js';
|
14891
14913
|
*
|
14892
14914
|
* console.log(new Comparator().lessThanOrEqual(2, 5))
|
14893
14915
|
* // ↦ true
|
@@ -15100,7 +15122,7 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
|
|
15100
15122
|
*
|
15101
15123
|
* ```
|
15102
15124
|
* <script type="module">
|
15103
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
15125
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
|
15104
15126
|
* Monster.Util.deepFreeze({})
|
15105
15127
|
* </script>
|
15106
15128
|
* ```
|
@@ -15109,7 +15131,7 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
|
|
15109
15131
|
*
|
15110
15132
|
* ```
|
15111
15133
|
* <script type="module">
|
15112
|
-
* import {deepFreeze} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
15134
|
+
* import {deepFreeze} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/util/freeze.js';
|
15113
15135
|
* deepFreeze({})
|
15114
15136
|
* </script>
|
15115
15137
|
* ```
|