@schukai/monster 1.29.2 → 1.29.3
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG +6 -0
- package/README.md +3 -3
- package/dist/modules/constants.js +1 -1
- package/dist/modules/constraints/abstract.js +1 -1
- package/dist/modules/constraints/abstractoperator.js +1 -1
- package/dist/modules/constraints/andoperator.js +1 -1
- package/dist/modules/constraints/invalid.js +1 -1
- package/dist/modules/constraints/isarray.js +1 -1
- package/dist/modules/constraints/isobject.js +1 -1
- package/dist/modules/constraints/namespace.js +1 -1
- package/dist/modules/constraints/oroperator.js +1 -1
- package/dist/modules/constraints/valid.js +1 -1
- package/dist/modules/data/buildmap.js +2 -2
- 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 +256 -227
- 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 +12 -5
- 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 +5 -4
- package/source/data/pipe.js +3 -3
- package/source/data/transformer.js +3 -3
- package/source/dom/assembler.js +2 -2
- package/source/dom/attributes.js +26 -26
- package/source/dom/customcontrol.js +1 -1
- package/source/dom/customelement.js +30 -8
- 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 +163 -5
- package/test/cases/dom/resource/link.js +3 -5
- package/test/cases/monster.js +1 -1
- package/test/web/monster-dev.html +3 -3
- package/test/web/monster.html +2 -2
- package/test/web/test.html +2 -2
- package/test/web/tests.js +2 -2
package/dist/monster.dev.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
/** Monster 1.29.
|
1
|
+
/** Monster 1.29.3, © 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.3/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.3/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.3/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.3/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.3/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.3/dist/modules/constraints/valid.js';
|
588
|
+
* import {Invalid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/modules/constraints/invalid.js';
|
589
|
+
* import {AndOperator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/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.3/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.3/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.3/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.3/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.3/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.3/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.3/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.3/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.3/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.3/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.3/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.3/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.3/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.3/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.3/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.3/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.3/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.3/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.3/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.3/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.3/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.3/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.3/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.3/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.3/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.3/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.3/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.3/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.3/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.3/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.3/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.3/dist/modules/constraints/valid.js';
|
1499
|
+
* import {Invalid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/modules/constraints/invalid.js';
|
1500
|
+
* import {OrOperator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/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.3/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.3/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.3/dist/modules/constraints/valid.js';
|
1642
1642
|
*
|
1643
1643
|
* new Valid().isValid()
|
1644
1644
|
* .then(()=>console.log(true))
|
@@ -1688,6 +1688,7 @@ var Valid = /*#__PURE__*/function (_AbstractConstraint) {
|
|
1688
1688
|
|
1689
1689
|
__webpack_require__.r(__webpack_exports__);
|
1690
1690
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
1691
|
+
/* harmony export */ "PARENT": function() { return /* binding */ PARENT; },
|
1691
1692
|
/* harmony export */ "Monster": function() { return /* reexport safe */ _namespace_js__WEBPACK_IMPORTED_MODULE_0__.Monster; },
|
1692
1693
|
/* harmony export */ "buildMap": function() { return /* binding */ buildMap; },
|
1693
1694
|
/* harmony export */ "assembleParts": function() { return /* binding */ assembleParts; }
|
@@ -1737,6 +1738,11 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
|
|
1737
1738
|
|
1738
1739
|
|
1739
1740
|
|
1741
|
+
/**
|
1742
|
+
* @type {string} parent symbol
|
1743
|
+
*/
|
1744
|
+
|
1745
|
+
var PARENT = '^';
|
1740
1746
|
/**
|
1741
1747
|
* With the help of the function `buildMap()`, maps can be easily created from data objects.
|
1742
1748
|
*
|
@@ -1747,7 +1753,7 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
|
|
1747
1753
|
*
|
1748
1754
|
* ```
|
1749
1755
|
* <script type="module">
|
1750
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
1756
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/monster.js';
|
1751
1757
|
* console.log(Monster.Data.buildMap())
|
1752
1758
|
* </script>
|
1753
1759
|
* ```
|
@@ -1756,7 +1762,7 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
|
|
1756
1762
|
*
|
1757
1763
|
* ```
|
1758
1764
|
* <script type="module">
|
1759
|
-
* import {buildMap} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
1765
|
+
* import {buildMap} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/modules/data/buildmap.js';
|
1760
1766
|
* console.log(buildMap())
|
1761
1767
|
* </script>
|
1762
1768
|
* ```
|
@@ -1767,7 +1773,7 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
|
|
1767
1773
|
*
|
1768
1774
|
* @example
|
1769
1775
|
*
|
1770
|
-
* import {buildMap} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
1776
|
+
* import {buildMap} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/modules/data/buildmap.js';
|
1771
1777
|
* // a typical data structure as reported by an api
|
1772
1778
|
*
|
1773
1779
|
* let map;
|
@@ -1945,7 +1951,7 @@ function buildFlatMap(subject, selector, key, parentMap) {
|
|
1945
1951
|
var sub = buildFlatMap.call(result, o, parts.join(_pathfinder_js__WEBPACK_IMPORTED_MODULE_4__.DELIMITER), copyKey, o);
|
1946
1952
|
|
1947
1953
|
if ((0,_types_is_js__WEBPACK_IMPORTED_MODULE_1__.isObject)(sub) && parentMap !== undefined) {
|
1948
|
-
sub[
|
1954
|
+
sub[PARENT] = parentMap;
|
1949
1955
|
}
|
1950
1956
|
|
1951
1957
|
currentMap.set(kk, sub);
|
@@ -1998,7 +2004,7 @@ function buildFlatMap(subject, selector, key, parentMap) {
|
|
1998
2004
|
* Alternatively to a string selector a callback can be specified. this must return a map.
|
1999
2005
|
*
|
2000
2006
|
* @example
|
2001
|
-
* import {buildMap} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
2007
|
+
* import {buildMap} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/modules/data/buildmap.js';
|
2002
2008
|
*
|
2003
2009
|
* let obj = {
|
2004
2010
|
* "data": [
|
@@ -2201,7 +2207,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
2201
2207
|
*
|
2202
2208
|
* ```
|
2203
2209
|
* <script type="module">
|
2204
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
2210
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/monster.js';
|
2205
2211
|
* console.log(Monster.Types.validateIterable('2')) // ↦ TypeError
|
2206
2212
|
* console.log(Monster.Types.validateIterable([])) // ↦ value
|
2207
2213
|
* </script>
|
@@ -2211,7 +2217,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
2211
2217
|
*
|
2212
2218
|
* ```
|
2213
2219
|
* <script type="module">
|
2214
|
-
* import {validateIterable} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
2220
|
+
* import {validateIterable} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/modules/types/validate.js';
|
2215
2221
|
* console.log(validateIterable('2')) // ↦ TypeError
|
2216
2222
|
* console.log(validateIterable([])) // ↦ value
|
2217
2223
|
* </script>
|
@@ -2242,7 +2248,7 @@ function validateIterable(value) {
|
|
2242
2248
|
*
|
2243
2249
|
* ```
|
2244
2250
|
* <script type="module">
|
2245
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
2251
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/monster.js';
|
2246
2252
|
* console.log(Monster.Types.validatePrimitive('2')) // ↦ value
|
2247
2253
|
* console.log(Monster.Types.validatePrimitive([])) // ↦ TypeError
|
2248
2254
|
* </script>
|
@@ -2252,7 +2258,7 @@ function validateIterable(value) {
|
|
2252
2258
|
*
|
2253
2259
|
* ```
|
2254
2260
|
* <script type="module">
|
2255
|
-
* import {validatePrimitive} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
2261
|
+
* import {validatePrimitive} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/modules/types/validate.js';
|
2256
2262
|
* console.log(validatePrimitive('2')) // ↦ value
|
2257
2263
|
* console.log(validatePrimitive([])) // ↦ TypeError
|
2258
2264
|
* </script>
|
@@ -2284,7 +2290,7 @@ function validatePrimitive(value) {
|
|
2284
2290
|
*
|
2285
2291
|
* ```
|
2286
2292
|
* <script type="module">
|
2287
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
2293
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/monster.js';
|
2288
2294
|
* console.log(Monster.Types.validateBoolean(true)) // ↦ value
|
2289
2295
|
* console.log(Monster.Types.validateBoolean('2')) // ↦ TypeError
|
2290
2296
|
* console.log(Monster.Types.validateBoolean([])) // ↦ TypeError
|
@@ -2295,7 +2301,7 @@ function validatePrimitive(value) {
|
|
2295
2301
|
*
|
2296
2302
|
* ```
|
2297
2303
|
* <script type="module">
|
2298
|
-
* import {validateBoolean} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
2304
|
+
* import {validateBoolean} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/modules/types/validate.js';
|
2299
2305
|
* console.log(validateBoolean(false)) // ↦ value
|
2300
2306
|
* console.log(validateBoolean('2')) // ↦ TypeError
|
2301
2307
|
* console.log(validateBoolean([])) // ↦ TypeError
|
@@ -2326,7 +2332,7 @@ function validateBoolean(value) {
|
|
2326
2332
|
*
|
2327
2333
|
* ```
|
2328
2334
|
* <script type="module">
|
2329
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
2335
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/monster.js';
|
2330
2336
|
* console.log(Monster.Types.validateString('2')) // ↦ value
|
2331
2337
|
* console.log(Monster.Types.validateString([])) // ↦ TypeError
|
2332
2338
|
* </script>
|
@@ -2336,7 +2342,7 @@ function validateBoolean(value) {
|
|
2336
2342
|
*
|
2337
2343
|
* ```
|
2338
2344
|
* <script type="module">
|
2339
|
-
* import {validateString} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
2345
|
+
* import {validateString} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/modules/types/validate.js';
|
2340
2346
|
* console.log(validateString('2')) // ↦ value
|
2341
2347
|
* console.log(validateString([])) // ↦ TypeError
|
2342
2348
|
* </script>
|
@@ -2365,7 +2371,7 @@ function validateString(value) {
|
|
2365
2371
|
*
|
2366
2372
|
* ```
|
2367
2373
|
* <script type="module">
|
2368
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
2374
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/monster.js';
|
2369
2375
|
* console.log(Monster.Types.validateObject({})) // ↦ value
|
2370
2376
|
* console.log(Monster.Types.validateObject('2')) // ↦ TypeError
|
2371
2377
|
* console.log(Monster.Types.validateObject([])) // ↦ TypeError
|
@@ -2376,7 +2382,7 @@ function validateString(value) {
|
|
2376
2382
|
*
|
2377
2383
|
* ```
|
2378
2384
|
* <script type="module">
|
2379
|
-
* import {validateObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
2385
|
+
* import {validateObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/modules/types/validate.js';
|
2380
2386
|
* console.log(validateObject({})) // ↦ value
|
2381
2387
|
* console.log(validateObject('2')) // ↦ TypeError
|
2382
2388
|
* console.log(validateObject([])) // ↦ TypeError
|
@@ -2406,7 +2412,7 @@ function validateObject(value) {
|
|
2406
2412
|
*
|
2407
2413
|
* ```
|
2408
2414
|
* <script type="module">
|
2409
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
2415
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/monster.js';
|
2410
2416
|
* console.log(Monster.Types.validateInstance({}, Object)) // ↦ value
|
2411
2417
|
* console.log(Monster.Types.validateInstance('2', Object)) // ↦ TypeError
|
2412
2418
|
* console.log(Monster.Types.validateInstance([], Object)) // ↦ TypeError
|
@@ -2417,7 +2423,7 @@ function validateObject(value) {
|
|
2417
2423
|
*
|
2418
2424
|
* ```
|
2419
2425
|
* <script type="module">
|
2420
|
-
* import {validateInstance} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
2426
|
+
* import {validateInstance} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/modules/types/validate.js';
|
2421
2427
|
* console.log(validateInstance({}, Object)) // ↦ value
|
2422
2428
|
* console.log(validateInstance('2', Object)) // ↦ TypeError
|
2423
2429
|
* console.log(validateInstance([], Object)) // ↦ TypeError
|
@@ -2457,7 +2463,7 @@ function validateInstance(value, instance) {
|
|
2457
2463
|
*
|
2458
2464
|
* ```
|
2459
2465
|
* <script type="module">
|
2460
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
2466
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/monster.js';
|
2461
2467
|
* console.log(Monster.Types.validateArray('2')) // ↦ TypeError
|
2462
2468
|
* console.log(Monster.Types.validateArray([])) // ↦ value
|
2463
2469
|
* </script>
|
@@ -2467,7 +2473,7 @@ function validateInstance(value, instance) {
|
|
2467
2473
|
*
|
2468
2474
|
* ```
|
2469
2475
|
* <script type="module">
|
2470
|
-
* import {validateArray} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
2476
|
+
* import {validateArray} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/modules/types/validate.js';
|
2471
2477
|
* console.log(validateArray('2')) // ↦ TypeError
|
2472
2478
|
* console.log(validateArray([])) // ↦ value
|
2473
2479
|
* </script>
|
@@ -2496,7 +2502,7 @@ function validateArray(value) {
|
|
2496
2502
|
*
|
2497
2503
|
* ```
|
2498
2504
|
* <script type="module">
|
2499
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
2505
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/monster.js';
|
2500
2506
|
* console.log(Monster.Types.validateSymbol('2')) // ↦ TypeError
|
2501
2507
|
* console.log(Monster.Types.validateSymbol([])) // ↦ value
|
2502
2508
|
* </script>
|
@@ -2506,7 +2512,7 @@ function validateArray(value) {
|
|
2506
2512
|
*
|
2507
2513
|
* ```
|
2508
2514
|
* <script type="module">
|
2509
|
-
* import {validateSymbol} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
2515
|
+
* import {validateSymbol} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/modules/types/validate.js';
|
2510
2516
|
* console.log(validateSymbol('2')) // ↦ TypeError
|
2511
2517
|
* console.log(validateSymbol()) // ↦ value
|
2512
2518
|
* </script>
|
@@ -2535,7 +2541,7 @@ function validateSymbol(value) {
|
|
2535
2541
|
*
|
2536
2542
|
* ```
|
2537
2543
|
* <script type="module">
|
2538
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
2544
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/monster.js';
|
2539
2545
|
* console.log(Monster.Types.validateFunction(()=>{})) // ↦ value
|
2540
2546
|
* console.log(Monster.Types.validateFunction('2')) // ↦ TypeError
|
2541
2547
|
* console.log(Monster.Types.validateFunction([])) // ↦ TypeError
|
@@ -2546,7 +2552,7 @@ function validateSymbol(value) {
|
|
2546
2552
|
*
|
2547
2553
|
* ```
|
2548
2554
|
* <script type="module">
|
2549
|
-
* import {validateFunction} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
2555
|
+
* import {validateFunction} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/modules/types/validate.js';
|
2550
2556
|
* console.log(validateFunction(()=>{})) // ↦ value
|
2551
2557
|
* console.log(validateFunction('2')) // ↦ TypeError
|
2552
2558
|
* console.log(validateFunction([])) // ↦ TypeError
|
@@ -2576,7 +2582,7 @@ function validateFunction(value) {
|
|
2576
2582
|
*
|
2577
2583
|
* ```
|
2578
2584
|
* <script type="module">
|
2579
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
2585
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/monster.js';
|
2580
2586
|
* console.log(Monster.Types.validateInteger(true)) // ↦ TypeError
|
2581
2587
|
* console.log(Monster.Types.validateInteger('2')) // ↦ TypeError
|
2582
2588
|
* console.log(Monster.Types.validateInteger(2)) // ↦ value
|
@@ -2587,7 +2593,7 @@ function validateFunction(value) {
|
|
2587
2593
|
*
|
2588
2594
|
* ```
|
2589
2595
|
* <script type="module">
|
2590
|
-
* import {validateFunction} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
2596
|
+
* import {validateFunction} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/modules/types/validate.js';
|
2591
2597
|
* console.log(validateInteger(true)) // ↦ TypeError
|
2592
2598
|
* console.log(validateInteger('2')) // ↦ TypeError
|
2593
2599
|
* console.log(validateInteger(2)) // ↦ value
|
@@ -2653,7 +2659,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "functi
|
|
2653
2659
|
*
|
2654
2660
|
* ```
|
2655
2661
|
* <script type="module">
|
2656
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
2662
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/monster.js';
|
2657
2663
|
* Monster.Util.clone({})
|
2658
2664
|
* </script>
|
2659
2665
|
* ```
|
@@ -2662,7 +2668,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "functi
|
|
2662
2668
|
*
|
2663
2669
|
* ```
|
2664
2670
|
* <script type="module">
|
2665
|
-
* import {clone} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
2671
|
+
* import {clone} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/modules/util/clone.js';
|
2666
2672
|
* clone({})
|
2667
2673
|
* </script>
|
2668
2674
|
* ```
|
@@ -2874,7 +2880,7 @@ function getGlobal() {
|
|
2874
2880
|
*
|
2875
2881
|
* ```
|
2876
2882
|
* <script type="module">
|
2877
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
2883
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/monster.js';
|
2878
2884
|
* Monster.Types.getGlobalObject('document')
|
2879
2885
|
* // ↦ { }
|
2880
2886
|
* </script>
|
@@ -2884,7 +2890,7 @@ function getGlobal() {
|
|
2884
2890
|
*
|
2885
2891
|
* ```
|
2886
2892
|
* <script type="module">
|
2887
|
-
* import {getGlobalObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
2893
|
+
* import {getGlobalObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/modules/types/global.js';
|
2888
2894
|
* getGlobalObject('document')
|
2889
2895
|
* // ↦ { }
|
2890
2896
|
* </script>
|
@@ -2916,7 +2922,7 @@ function getGlobalObject(name) {
|
|
2916
2922
|
*
|
2917
2923
|
* ```
|
2918
2924
|
* <script type="module">
|
2919
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
2925
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/monster.js';
|
2920
2926
|
* console.log(Monster.Types.getGlobalFunction('parseInt')) // ↦ f parseInt() { }
|
2921
2927
|
* </script>
|
2922
2928
|
* ```
|
@@ -2925,7 +2931,7 @@ function getGlobalObject(name) {
|
|
2925
2931
|
*
|
2926
2932
|
* ```
|
2927
2933
|
* <script type="module">
|
2928
|
-
* import {getGlobalFunction} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
2934
|
+
* import {getGlobalFunction} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/modules/types/global.js';
|
2929
2935
|
* console.log(getGlobalFunction('parseInt')) // ↦ f parseInt() { }
|
2930
2936
|
* </script>
|
2931
2937
|
* ```
|
@@ -2976,7 +2982,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
2976
2982
|
*
|
2977
2983
|
* ```
|
2978
2984
|
* <script type="module">
|
2979
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
2985
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/monster.js';
|
2980
2986
|
* console.log(Monster.Types.typeOf())
|
2981
2987
|
* </script>
|
2982
2988
|
* ```
|
@@ -2985,14 +2991,14 @@ __webpack_require__.r(__webpack_exports__);
|
|
2985
2991
|
*
|
2986
2992
|
* ```
|
2987
2993
|
* <script type="module">
|
2988
|
-
* import {typeOf} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
2994
|
+
* import {typeOf} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/modules/types/typeof.js';
|
2989
2995
|
* console.log(typeOf())
|
2990
2996
|
* </script>
|
2991
2997
|
* ```
|
2992
2998
|
*
|
2993
2999
|
* @example
|
2994
3000
|
*
|
2995
|
-
* import {typeOf} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
3001
|
+
* import {typeOf} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/modules/types/typeof.js';
|
2996
3002
|
*
|
2997
3003
|
* console.log(typeOf(undefined)); // ↦ undefined
|
2998
3004
|
* console.log(typeOf("")); // ↦ string
|
@@ -3111,7 +3117,7 @@ var WILDCARD = '*';
|
|
3111
3117
|
*
|
3112
3118
|
* ```
|
3113
3119
|
* <script type="module">
|
3114
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
3120
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/monster.js';
|
3115
3121
|
* console.log(new Monster.Data.Pathfinder())
|
3116
3122
|
* </script>
|
3117
3123
|
* ```
|
@@ -3120,7 +3126,7 @@ var WILDCARD = '*';
|
|
3120
3126
|
*
|
3121
3127
|
* ```
|
3122
3128
|
* <script type="module">
|
3123
|
-
* import {Pathfinder} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
3129
|
+
* import {Pathfinder} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/modules/data/pathfinder.js';
|
3124
3130
|
* console.log(new Pathfinder())
|
3125
3131
|
* </script>
|
3126
3132
|
* ```
|
@@ -3162,7 +3168,7 @@ var WILDCARD = '*';
|
|
3162
3168
|
*
|
3163
3169
|
* @example
|
3164
3170
|
*
|
3165
|
-
* import {Pathfinder} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
3171
|
+
* import {Pathfinder} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/modules/data/pathfinder.js';
|
3166
3172
|
*
|
3167
3173
|
* let value = new Pathfinder({
|
3168
3174
|
* a: {
|
@@ -3188,7 +3194,7 @@ var WILDCARD = '*';
|
|
3188
3194
|
*
|
3189
3195
|
* @example
|
3190
3196
|
*
|
3191
|
-
* import {Pathfinder} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
3197
|
+
* import {Pathfinder} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/modules/data/pathfinder.js';
|
3192
3198
|
*
|
3193
3199
|
* let p = new Pathfinder({
|
3194
3200
|
* a: {
|
@@ -3603,7 +3609,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
3603
3609
|
*
|
3604
3610
|
* ```
|
3605
3611
|
* <script type="module">
|
3606
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
3612
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/monster.js';
|
3607
3613
|
* console.log(new Monster.Types.Stack())
|
3608
3614
|
* </script>
|
3609
3615
|
* ```
|
@@ -3612,7 +3618,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
3612
3618
|
*
|
3613
3619
|
* ```
|
3614
3620
|
* <script type="module">
|
3615
|
-
* import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
3621
|
+
* import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/modules/types/stack.js';
|
3616
3622
|
* console.log(new Stack())
|
3617
3623
|
* </script>
|
3618
3624
|
* ```
|
@@ -3747,7 +3753,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "functi
|
|
3747
3753
|
*
|
3748
3754
|
* ```
|
3749
3755
|
* <script type="module">
|
3750
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
3756
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/monster.js';
|
3751
3757
|
* Monster.Data.Diff(a, b)
|
3752
3758
|
* </script>
|
3753
3759
|
* ```
|
@@ -3756,14 +3762,14 @@ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "functi
|
|
3756
3762
|
*
|
3757
3763
|
* ```
|
3758
3764
|
* <script type="module">
|
3759
|
-
* import {Diff} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
3765
|
+
* import {Diff} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/modules/data/diff.js';
|
3760
3766
|
* Diff(a, b)
|
3761
3767
|
* </script>
|
3762
3768
|
* ```
|
3763
3769
|
*
|
3764
3770
|
* @example
|
3765
3771
|
*
|
3766
|
-
* import {Diff} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
3772
|
+
* import {Diff} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/modules/data/diff.js';
|
3767
3773
|
*
|
3768
3774
|
* // given are two objects x and y.
|
3769
3775
|
*
|
@@ -4009,7 +4015,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
4009
4015
|
*
|
4010
4016
|
* ```
|
4011
4017
|
* <script type="module">
|
4012
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
4018
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/monster.js';
|
4013
4019
|
* Monster.Data.extend(a, b)
|
4014
4020
|
* </script>
|
4015
4021
|
* ```
|
@@ -4018,7 +4024,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
4018
4024
|
*
|
4019
4025
|
* ```
|
4020
4026
|
* <script type="module">
|
4021
|
-
* import {extend} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
4027
|
+
* import {extend} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/modules/data/extend.js';
|
4022
4028
|
* extend(a, b)
|
4023
4029
|
* </script>
|
4024
4030
|
* ```
|
@@ -4147,7 +4153,7 @@ var DELIMITER = '|';
|
|
4147
4153
|
*
|
4148
4154
|
* ```
|
4149
4155
|
* <script type="module">
|
4150
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
4156
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/monster.js';
|
4151
4157
|
* new Monster.Data.Pipe()
|
4152
4158
|
* </script>
|
4153
4159
|
* ```
|
@@ -4156,7 +4162,7 @@ var DELIMITER = '|';
|
|
4156
4162
|
*
|
4157
4163
|
* ```
|
4158
4164
|
* <script type="module">
|
4159
|
-
* import {Pipe} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
4165
|
+
* import {Pipe} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/modules/data/pipe.js';
|
4160
4166
|
* new Pipe()
|
4161
4167
|
* </script>
|
4162
4168
|
* ```
|
@@ -4167,7 +4173,7 @@ var DELIMITER = '|';
|
|
4167
4173
|
* the word is then converted to uppercase letters and a prefix Hello is added. the two backslash safe the space char.
|
4168
4174
|
*
|
4169
4175
|
* @example
|
4170
|
-
* import {Pipe} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
4176
|
+
* import {Pipe} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/modules/data/pipe.js';
|
4171
4177
|
*
|
4172
4178
|
* let obj = {
|
4173
4179
|
* a: {
|
@@ -4329,7 +4335,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
4329
4335
|
*
|
4330
4336
|
* ```
|
4331
4337
|
* <script type="module">
|
4332
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
4338
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/monster.js';
|
4333
4339
|
* new Monster.Data.Transformer()
|
4334
4340
|
* </script>
|
4335
4341
|
* ```
|
@@ -4338,7 +4344,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
4338
4344
|
*
|
4339
4345
|
* ```
|
4340
4346
|
* <script type="module">
|
4341
|
-
* import {Transformer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
4347
|
+
* import {Transformer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/modules/data/transformer.js';
|
4342
4348
|
* new Transformer()
|
4343
4349
|
* </script>
|
4344
4350
|
* ```
|
@@ -4424,7 +4430,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
4424
4430
|
*
|
4425
4431
|
* @example
|
4426
4432
|
*
|
4427
|
-
* import {Transformer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
4433
|
+
* import {Transformer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/modules/data/transformer.js';
|
4428
4434
|
*
|
4429
4435
|
* const transformer = new Transformer("tolower")
|
4430
4436
|
*
|
@@ -4957,7 +4963,7 @@ var internalCounter = new Map();
|
|
4957
4963
|
*
|
4958
4964
|
* ```
|
4959
4965
|
* <script type="module">
|
4960
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
4966
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/monster.js';
|
4961
4967
|
* console.log(new Monster.Types.ID())
|
4962
4968
|
* </script>
|
4963
4969
|
* ```
|
@@ -4966,7 +4972,7 @@ var internalCounter = new Map();
|
|
4966
4972
|
*
|
4967
4973
|
* ```
|
4968
4974
|
* <script type="module">
|
4969
|
-
* import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
4975
|
+
* import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/modules/types/id.js';
|
4970
4976
|
* console.log(new ID())
|
4971
4977
|
* </script>
|
4972
4978
|
* ```
|
@@ -5089,7 +5095,7 @@ var ATTRIBUTEPREFIX = "data-monster-";
|
|
5089
5095
|
*
|
5090
5096
|
* ```
|
5091
5097
|
* <script type="module">
|
5092
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
5098
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/monster.js';
|
5093
5099
|
* console.log(new Monster.DOM.Assembler())
|
5094
5100
|
* </script>
|
5095
5101
|
* ```
|
@@ -5098,7 +5104,7 @@ var ATTRIBUTEPREFIX = "data-monster-";
|
|
5098
5104
|
*
|
5099
5105
|
* ```
|
5100
5106
|
* <script type="module">
|
5101
|
-
* import {Assembler} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
5107
|
+
* import {Assembler} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/modules/dom/assembler.js';
|
5102
5108
|
* console.log(new Assembler())
|
5103
5109
|
* </script>
|
5104
5110
|
* ```
|
@@ -5239,7 +5245,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
5239
5245
|
*
|
5240
5246
|
* ```
|
5241
5247
|
* <script type="module">
|
5242
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
5248
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/monster.js';
|
5243
5249
|
* new Monster.Types.ProxyObserver()
|
5244
5250
|
* </script>
|
5245
5251
|
* ```
|
@@ -5248,7 +5254,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
5248
5254
|
*
|
5249
5255
|
* ```
|
5250
5256
|
* <script type="module">
|
5251
|
-
* import {ProxyObserver} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
5257
|
+
* import {ProxyObserver} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/modules/types/proxyobserver.js';
|
5252
5258
|
* new ProxyObserver()
|
5253
5259
|
* </script>
|
5254
5260
|
* ```
|
@@ -5259,9 +5265,9 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
5259
5265
|
*
|
5260
5266
|
* @example
|
5261
5267
|
*
|
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.
|
5268
|
+
* import {ProxyObserver} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/modules/types/proxyobserver.js';
|
5269
|
+
* import {Observer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/modules/types/observer.js';
|
5270
|
+
* import {isObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/modules/types/is.js';
|
5265
5271
|
*
|
5266
5272
|
* const o = new Observer(function () {
|
5267
5273
|
* if (isObject(this) && this instanceof ProxyObserver) {
|
@@ -5586,14 +5592,14 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
5586
5592
|
* You can call the method via the monster namespace `new Monster.Types.Observer()`.
|
5587
5593
|
*
|
5588
5594
|
* ```
|
5589
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
5595
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/monster.js';
|
5590
5596
|
* new Monster.Types.Observer()
|
5591
5597
|
* ```
|
5592
5598
|
*
|
5593
5599
|
* Alternatively, you can also integrate this function individually.
|
5594
5600
|
*
|
5595
5601
|
* ```
|
5596
|
-
* import {Observer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
5602
|
+
* import {Observer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/modules/types/observer.js';
|
5597
5603
|
* new Observer()
|
5598
5604
|
* ```
|
5599
5605
|
*
|
@@ -5622,7 +5628,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
5622
5628
|
*
|
5623
5629
|
* @example
|
5624
5630
|
*
|
5625
|
-
* import {Observer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
5631
|
+
* import {Observer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/modules/types/observer.js';
|
5626
5632
|
*
|
5627
5633
|
* const observer = new Observer(function(a, b, c) {
|
5628
5634
|
* console.log(this, a, b, c); // ↦ "a", 2, true
|
@@ -5822,7 +5828,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
5822
5828
|
*
|
5823
5829
|
* ```
|
5824
5830
|
* <script type="module">
|
5825
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
5831
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/monster.js';
|
5826
5832
|
* new Monster.Types.TokenList("myclass row")
|
5827
5833
|
* </script>
|
5828
5834
|
* ```
|
@@ -5831,7 +5837,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
5831
5837
|
*
|
5832
5838
|
* ```
|
5833
5839
|
* <script type="module">
|
5834
|
-
* import {TokenList} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
5840
|
+
* import {TokenList} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/modules/types/tokenlist.js';
|
5835
5841
|
* new TokenList("myclass row")
|
5836
5842
|
* </script>
|
5837
5843
|
* ```
|
@@ -6254,7 +6260,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
6254
6260
|
*
|
6255
6261
|
* ```
|
6256
6262
|
* <script type="module">
|
6257
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
6263
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/monster.js';
|
6258
6264
|
* new Monster.Types.UniqueQueue()
|
6259
6265
|
* </script>
|
6260
6266
|
* ```
|
@@ -6263,7 +6269,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
6263
6269
|
*
|
6264
6270
|
* ```
|
6265
6271
|
* <script type="module">
|
6266
|
-
* import {UniqueQueue} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
6272
|
+
* import {UniqueQueue} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/modules/types/uniquequeue.js';
|
6267
6273
|
* new UniqueQueue()
|
6268
6274
|
* </script>
|
6269
6275
|
* ```
|
@@ -6398,7 +6404,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
6398
6404
|
*
|
6399
6405
|
* ```
|
6400
6406
|
* <script type="module">
|
6401
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
6407
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/monster.js';
|
6402
6408
|
* new Monster.Types.Queue()
|
6403
6409
|
* </script>
|
6404
6410
|
* ```
|
@@ -6407,14 +6413,14 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
6407
6413
|
*
|
6408
6414
|
* ```
|
6409
6415
|
* <script type="module">
|
6410
|
-
* import {Queue} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
6416
|
+
* import {Queue} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/modules/types/queue.js';
|
6411
6417
|
* new Queue()
|
6412
6418
|
* </script>
|
6413
6419
|
* ```
|
6414
6420
|
*
|
6415
6421
|
* @example
|
6416
6422
|
*
|
6417
|
-
* import {Queue} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
6423
|
+
* import {Queue} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/modules/types/queue.js';
|
6418
6424
|
*
|
6419
6425
|
* const queue = new Queue;
|
6420
6426
|
*
|
@@ -6583,7 +6589,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
6583
6589
|
*
|
6584
6590
|
* ```
|
6585
6591
|
* <script type="module">
|
6586
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
6592
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/monster.js';
|
6587
6593
|
* console.log(new Monster.Types.ObserverList())
|
6588
6594
|
* console.log(new Monster.Types.ObserverList())
|
6589
6595
|
* </script>
|
@@ -6593,7 +6599,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
6593
6599
|
*
|
6594
6600
|
* ```
|
6595
6601
|
* <script type="module">
|
6596
|
-
* import {ObserverList} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
6602
|
+
* import {ObserverList} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/modules/types/observerlist.js';
|
6597
6603
|
* console.log(ObserverList())
|
6598
6604
|
* console.log(ObserverList())
|
6599
6605
|
* </script>
|
@@ -6753,7 +6759,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
6753
6759
|
*
|
6754
6760
|
* ```
|
6755
6761
|
* <script type="module">
|
6756
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
6762
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/monster.js';
|
6757
6763
|
* console.log(Monster.DOM.findClosestObjectLink())
|
6758
6764
|
* </script>
|
6759
6765
|
* ```
|
@@ -6762,7 +6768,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
6762
6768
|
*
|
6763
6769
|
* ```
|
6764
6770
|
* <script type="module">
|
6765
|
-
* import {getUpdaterFromNode} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
6771
|
+
* import {getUpdaterFromNode} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/modules/dom/updater.js';
|
6766
6772
|
* console.log(findClosestObjectLink())
|
6767
6773
|
* </script>
|
6768
6774
|
* ```
|
@@ -6783,7 +6789,7 @@ function findClosestObjectLink(element) {
|
|
6783
6789
|
*
|
6784
6790
|
* ```
|
6785
6791
|
* <script type="module">
|
6786
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
6792
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/monster.js';
|
6787
6793
|
* Monster.DOM.addToObjectLink();
|
6788
6794
|
* </script>
|
6789
6795
|
* ```
|
@@ -6792,7 +6798,7 @@ function findClosestObjectLink(element) {
|
|
6792
6798
|
*
|
6793
6799
|
* ```
|
6794
6800
|
* <script type="module">
|
6795
|
-
* import {addToObjectLink} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
6801
|
+
* import {addToObjectLink} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/modules/dom/attributes.js';
|
6796
6802
|
* addToObjectLink();
|
6797
6803
|
* </script>
|
6798
6804
|
* ```
|
@@ -6824,7 +6830,7 @@ function addToObjectLink(element, symbol, object) {
|
|
6824
6830
|
*
|
6825
6831
|
* ```
|
6826
6832
|
* <script type="module">
|
6827
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
6833
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/monster.js';
|
6828
6834
|
* Monster.DOM.removeObjectLink();
|
6829
6835
|
* </script>
|
6830
6836
|
* ```
|
@@ -6833,7 +6839,7 @@ function addToObjectLink(element, symbol, object) {
|
|
6833
6839
|
*
|
6834
6840
|
* ```
|
6835
6841
|
* <script type="module">
|
6836
|
-
* import {removeObjectLink} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
6842
|
+
* import {removeObjectLink} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/modules/dom/attributes.js';
|
6837
6843
|
* removeObjectLink();
|
6838
6844
|
* </script>
|
6839
6845
|
* ```
|
@@ -6864,7 +6870,7 @@ function removeObjectLink(element, symbol) {
|
|
6864
6870
|
*
|
6865
6871
|
* ```
|
6866
6872
|
* <script type="module">
|
6867
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
6873
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/monster.js';
|
6868
6874
|
* Monster.DOM.hasObjectLink();
|
6869
6875
|
* </script>
|
6870
6876
|
* ```
|
@@ -6873,7 +6879,7 @@ function removeObjectLink(element, symbol) {
|
|
6873
6879
|
*
|
6874
6880
|
* ```
|
6875
6881
|
* <script type="module">
|
6876
|
-
* import {hasObjectLink} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
6882
|
+
* import {hasObjectLink} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/modules/dom/attributes.js';
|
6877
6883
|
* hasObjectLink();
|
6878
6884
|
* </script>
|
6879
6885
|
* ```
|
@@ -6909,7 +6915,7 @@ function hasObjectLink(element, symbol) {
|
|
6909
6915
|
*
|
6910
6916
|
* ```
|
6911
6917
|
* <script type="module">
|
6912
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
6918
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/monster.js';
|
6913
6919
|
* Monster.DOM.getLinkedObjects();
|
6914
6920
|
* </script>
|
6915
6921
|
* ```
|
@@ -6918,7 +6924,7 @@ function hasObjectLink(element, symbol) {
|
|
6918
6924
|
*
|
6919
6925
|
* ```
|
6920
6926
|
* <script type="module">
|
6921
|
-
* import {getLinkedObjects} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
6927
|
+
* import {getLinkedObjects} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/modules/dom/attributes.js';
|
6922
6928
|
* getLinkedObjects();
|
6923
6929
|
* </script>
|
6924
6930
|
* ```
|
@@ -6952,7 +6958,7 @@ function getLinkedObjects(element, symbol) {
|
|
6952
6958
|
*
|
6953
6959
|
* ```
|
6954
6960
|
* <script type="module">
|
6955
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
6961
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/monster.js';
|
6956
6962
|
* Monster.DOM.toggleAttributeToken();
|
6957
6963
|
* </script>
|
6958
6964
|
* ```
|
@@ -6961,7 +6967,7 @@ function getLinkedObjects(element, symbol) {
|
|
6961
6967
|
*
|
6962
6968
|
* ```
|
6963
6969
|
* <script type="module">
|
6964
|
-
* import {toggleAttributeToken} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
6970
|
+
* import {toggleAttributeToken} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/modules/dom/attributes.js';
|
6965
6971
|
* toggleAttributeToken();
|
6966
6972
|
* </script>
|
6967
6973
|
* ```
|
@@ -6996,7 +7002,7 @@ function toggleAttributeToken(element, key, token) {
|
|
6996
7002
|
*
|
6997
7003
|
* ```
|
6998
7004
|
* <script type="module">
|
6999
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
7005
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/monster.js';
|
7000
7006
|
* Monster.DOM.addAttributeToken();
|
7001
7007
|
* </script>
|
7002
7008
|
* ```
|
@@ -7005,7 +7011,7 @@ function toggleAttributeToken(element, key, token) {
|
|
7005
7011
|
*
|
7006
7012
|
* ```
|
7007
7013
|
* <script type="module">
|
7008
|
-
* import {addAttributeToken} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
7014
|
+
* import {addAttributeToken} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/modules/dom/attributes.js';
|
7009
7015
|
* addAttributeToken();
|
7010
7016
|
* </script>
|
7011
7017
|
* ```
|
@@ -7042,7 +7048,7 @@ function addAttributeToken(element, key, token) {
|
|
7042
7048
|
*
|
7043
7049
|
* ```
|
7044
7050
|
* <script type="module">
|
7045
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
7051
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/monster.js';
|
7046
7052
|
* Monster.DOM.removeAttributeToken();
|
7047
7053
|
* </script>
|
7048
7054
|
* ```
|
@@ -7051,7 +7057,7 @@ function addAttributeToken(element, key, token) {
|
|
7051
7057
|
*
|
7052
7058
|
* ```
|
7053
7059
|
* <script type="module">
|
7054
|
-
* import {removeAttributeToken} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
7060
|
+
* import {removeAttributeToken} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/modules/dom/attributes.js';
|
7055
7061
|
* removeAttributeToken();
|
7056
7062
|
* </script>
|
7057
7063
|
* ```
|
@@ -7087,7 +7093,7 @@ function removeAttributeToken(element, key, token) {
|
|
7087
7093
|
*
|
7088
7094
|
* ```
|
7089
7095
|
* <script type="module">
|
7090
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
7096
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/monster.js';
|
7091
7097
|
* Monster.DOM.containsAttributeToken();
|
7092
7098
|
* </script>
|
7093
7099
|
* ```
|
@@ -7096,7 +7102,7 @@ function removeAttributeToken(element, key, token) {
|
|
7096
7102
|
*
|
7097
7103
|
* ```
|
7098
7104
|
* <script type="module">
|
7099
|
-
* import {containsAttributeToken} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
7105
|
+
* import {containsAttributeToken} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/modules/dom/attributes.js';
|
7100
7106
|
* containsAttributeToken();
|
7101
7107
|
* </script>
|
7102
7108
|
* ```
|
@@ -7129,7 +7135,7 @@ function containsAttributeToken(element, key, token) {
|
|
7129
7135
|
*
|
7130
7136
|
* ```
|
7131
7137
|
* <script type="module">
|
7132
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
7138
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/monster.js';
|
7133
7139
|
* Monster.DOM.replaceAttributeToken();
|
7134
7140
|
* </script>
|
7135
7141
|
* ```
|
@@ -7138,7 +7144,7 @@ function containsAttributeToken(element, key, token) {
|
|
7138
7144
|
*
|
7139
7145
|
* ```
|
7140
7146
|
* <script type="module">
|
7141
|
-
* import {replaceAttributeToken} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
7147
|
+
* import {replaceAttributeToken} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/modules/dom/attributes.js';
|
7142
7148
|
* replaceAttributeToken();
|
7143
7149
|
* </script>
|
7144
7150
|
* ```
|
@@ -7174,7 +7180,7 @@ function replaceAttributeToken(element, key, from, to) {
|
|
7174
7180
|
*
|
7175
7181
|
* ```
|
7176
7182
|
* <script type="module">
|
7177
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
7183
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/monster.js';
|
7178
7184
|
* Monster.DOM.clearAttributeTokens();
|
7179
7185
|
* </script>
|
7180
7186
|
* ```
|
@@ -7183,7 +7189,7 @@ function replaceAttributeToken(element, key, from, to) {
|
|
7183
7189
|
*
|
7184
7190
|
* ```
|
7185
7191
|
* <script type="module">
|
7186
|
-
* import {clearAttributeTokens} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
7192
|
+
* import {clearAttributeTokens} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/modules/dom/attributes.js';
|
7187
7193
|
* clearAttributeTokens();
|
7188
7194
|
* </script>
|
7189
7195
|
* ```
|
@@ -7231,7 +7237,7 @@ function clearAttributeTokens(element, key) {
|
|
7231
7237
|
*
|
7232
7238
|
* ```
|
7233
7239
|
* <script type="module">
|
7234
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
7240
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/monster.js';
|
7235
7241
|
* Monster.DOM.findClosestByAttribute();
|
7236
7242
|
* </script>
|
7237
7243
|
* ```
|
@@ -7240,7 +7246,7 @@ function clearAttributeTokens(element, key) {
|
|
7240
7246
|
*
|
7241
7247
|
* ```
|
7242
7248
|
* <script type="module">
|
7243
|
-
* import {findClosestByAttribute} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
7249
|
+
* import {findClosestByAttribute} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/modules/dom/attributes.js';
|
7244
7250
|
* findClosestByAttribute();
|
7245
7251
|
* </script>
|
7246
7252
|
* ```
|
@@ -7298,7 +7304,7 @@ function findClosestByAttribute(element, key, value) {
|
|
7298
7304
|
*
|
7299
7305
|
* ```
|
7300
7306
|
* <script type="module">
|
7301
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
7307
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/monster.js';
|
7302
7308
|
* Monster.DOM.findClosestByClass();
|
7303
7309
|
* </script>
|
7304
7310
|
* ```
|
@@ -7307,7 +7313,7 @@ function findClosestByAttribute(element, key, value) {
|
|
7307
7313
|
*
|
7308
7314
|
* ```
|
7309
7315
|
* <script type="module">
|
7310
|
-
* import {findClosestByClass} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
7316
|
+
* import {findClosestByClass} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/modules/dom/attributes.js';
|
7311
7317
|
* findClosestByClass();
|
7312
7318
|
* </script>
|
7313
7319
|
* ```
|
@@ -7841,7 +7847,7 @@ var attachedInternalSymbol = Symbol('attachedInternal');
|
|
7841
7847
|
*
|
7842
7848
|
* ```
|
7843
7849
|
* <script type="module">
|
7844
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
7850
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/monster.js';
|
7845
7851
|
* document.createElement('monster-')
|
7846
7852
|
* </script>
|
7847
7853
|
* ```
|
@@ -8377,7 +8383,7 @@ var attributeObserverSymbol = Symbol('attributeObserver');
|
|
8377
8383
|
*
|
8378
8384
|
* ```
|
8379
8385
|
* <script type="module">
|
8380
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
8386
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/monster.js';
|
8381
8387
|
* document.createElement('monster-')
|
8382
8388
|
* </script>
|
8383
8389
|
* ```
|
@@ -9100,7 +9106,9 @@ function initCSSStylesheet() {
|
|
9100
9106
|
var styleSheet = this.constructor.getCSSStyleSheet();
|
9101
9107
|
|
9102
9108
|
if (styleSheet instanceof CSSStyleSheet) {
|
9103
|
-
|
9109
|
+
if (styleSheet.cssRules.length > 0) {
|
9110
|
+
this.shadowRoot.adoptedStyleSheets = [styleSheet];
|
9111
|
+
}
|
9104
9112
|
} else if ((0,_types_is_js__WEBPACK_IMPORTED_MODULE_6__.isArray)(styleSheet)) {
|
9105
9113
|
var assign = [];
|
9106
9114
|
|
@@ -9110,8 +9118,24 @@ function initCSSStylesheet() {
|
|
9110
9118
|
try {
|
9111
9119
|
for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
|
9112
9120
|
var s = _step3.value;
|
9121
|
+
|
9122
|
+
if ((0,_types_is_js__WEBPACK_IMPORTED_MODULE_6__.isString)(s)) {
|
9123
|
+
var trimedStyleSheet = s.trim();
|
9124
|
+
|
9125
|
+
if (trimedStyleSheet !== '') {
|
9126
|
+
var style = document.createElement('style');
|
9127
|
+
style.innerHTML = trimedStyleSheet;
|
9128
|
+
self.shadowRoot.prepend(style);
|
9129
|
+
}
|
9130
|
+
|
9131
|
+
continue;
|
9132
|
+
}
|
9133
|
+
|
9113
9134
|
(0,_types_validate_js__WEBPACK_IMPORTED_MODULE_9__.validateInstance)(s, CSSStyleSheet);
|
9114
|
-
|
9135
|
+
|
9136
|
+
if (s.cssRules.length > 0) {
|
9137
|
+
assign.push(s);
|
9138
|
+
}
|
9115
9139
|
}
|
9116
9140
|
} catch (err) {
|
9117
9141
|
_iterator3.e(err);
|
@@ -9123,9 +9147,14 @@ function initCSSStylesheet() {
|
|
9123
9147
|
this.shadowRoot.adoptedStyleSheets = assign;
|
9124
9148
|
}
|
9125
9149
|
} else if ((0,_types_is_js__WEBPACK_IMPORTED_MODULE_6__.isString)(styleSheet)) {
|
9126
|
-
var
|
9127
|
-
|
9128
|
-
|
9150
|
+
var _trimedStyleSheet = styleSheet.trim();
|
9151
|
+
|
9152
|
+
if (_trimedStyleSheet !== '') {
|
9153
|
+
var _style = document.createElement('style');
|
9154
|
+
|
9155
|
+
_style.innerHTML = styleSheet;
|
9156
|
+
self.shadowRoot.prepend(_style);
|
9157
|
+
}
|
9129
9158
|
}
|
9130
9159
|
|
9131
9160
|
return self;
|
@@ -9279,7 +9308,7 @@ var internal = Symbol('internal');
|
|
9279
9308
|
*
|
9280
9309
|
* ```
|
9281
9310
|
* <script type="module">
|
9282
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
9311
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/monster.js';
|
9283
9312
|
* new Monster.Types.DataUrl()
|
9284
9313
|
* </script>
|
9285
9314
|
* ```
|
@@ -9288,7 +9317,7 @@ var internal = Symbol('internal');
|
|
9288
9317
|
*
|
9289
9318
|
* ```
|
9290
9319
|
* <script type="module">
|
9291
|
-
* import {DataUrl} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
9320
|
+
* import {DataUrl} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/modules/types/dataurl.js';
|
9292
9321
|
* new DataUrl()
|
9293
9322
|
* </script>
|
9294
9323
|
* ```
|
@@ -9368,7 +9397,7 @@ var DataUrl = /*#__PURE__*/function (_Base) {
|
|
9368
9397
|
*
|
9369
9398
|
* ```
|
9370
9399
|
* <script type="module">
|
9371
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
9400
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/monster.js';
|
9372
9401
|
* console.log(Monster.Types.parseDataURL())
|
9373
9402
|
* </script>
|
9374
9403
|
* ```
|
@@ -9377,7 +9406,7 @@ var DataUrl = /*#__PURE__*/function (_Base) {
|
|
9377
9406
|
*
|
9378
9407
|
* ```
|
9379
9408
|
* <script type="module">
|
9380
|
-
* import {parseDataURL} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
9409
|
+
* import {parseDataURL} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/modules/types/dataurl.js';
|
9381
9410
|
* console.log(parseDataURL())
|
9382
9411
|
* </script>
|
9383
9412
|
* ```
|
@@ -9515,7 +9544,7 @@ var internal = Symbol('internal');
|
|
9515
9544
|
*
|
9516
9545
|
* ```
|
9517
9546
|
* <script type="module">
|
9518
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
9547
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/monster.js';
|
9519
9548
|
* console.log(new Monster.Types.MediaType())
|
9520
9549
|
* </script>
|
9521
9550
|
* ```
|
@@ -9524,7 +9553,7 @@ var internal = Symbol('internal');
|
|
9524
9553
|
*
|
9525
9554
|
* ```
|
9526
9555
|
* <script type="module">
|
9527
|
-
* import {MediaType} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
9556
|
+
* import {MediaType} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/modules/types/mediatype.js';
|
9528
9557
|
* console.log(new MediaType())
|
9529
9558
|
* </script>
|
9530
9559
|
* ```
|
@@ -9642,7 +9671,7 @@ var MediaType = /*#__PURE__*/function (_Base) {
|
|
9642
9671
|
*
|
9643
9672
|
* ```
|
9644
9673
|
* <script type="module">
|
9645
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
9674
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/monster.js';
|
9646
9675
|
* console.log(Monster.Types.parseMediaType())
|
9647
9676
|
* </script>
|
9648
9677
|
* ```
|
@@ -9651,7 +9680,7 @@ var MediaType = /*#__PURE__*/function (_Base) {
|
|
9651
9680
|
*
|
9652
9681
|
* ```
|
9653
9682
|
* <script type="module">
|
9654
|
-
* import {parseMediaType} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
9683
|
+
* import {parseMediaType} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/modules/types/dataurl.js';
|
9655
9684
|
* console.log(parseMediaType())
|
9656
9685
|
* </script>
|
9657
9686
|
* ```
|
@@ -9790,7 +9819,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
9790
9819
|
*
|
9791
9820
|
* ```
|
9792
9821
|
* <script type="module">
|
9793
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
9822
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/monster.js';
|
9794
9823
|
* new Monster.DOM.Template()
|
9795
9824
|
* </script>
|
9796
9825
|
* ```
|
@@ -9799,7 +9828,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
9799
9828
|
*
|
9800
9829
|
* ```
|
9801
9830
|
* <script type="module">
|
9802
|
-
* import {Template} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
9831
|
+
* import {Template} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/modules/dom/template.js';
|
9803
9832
|
* new Template()
|
9804
9833
|
* </script>
|
9805
9834
|
* ```
|
@@ -9877,7 +9906,7 @@ var Template = /*#__PURE__*/function (_Base) {
|
|
9877
9906
|
*
|
9878
9907
|
* ```
|
9879
9908
|
* <script type="module">
|
9880
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
9909
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/monster.js';
|
9881
9910
|
* Monster.DOM.findDocumentTemplate()
|
9882
9911
|
* </script>
|
9883
9912
|
* ```
|
@@ -9886,14 +9915,14 @@ var Template = /*#__PURE__*/function (_Base) {
|
|
9886
9915
|
*
|
9887
9916
|
* ```
|
9888
9917
|
* <script type="module">
|
9889
|
-
* import {findTemplate} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
9918
|
+
* import {findTemplate} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/modules/dom/template.js';
|
9890
9919
|
* findDocumentTemplate()
|
9891
9920
|
* </script>
|
9892
9921
|
* ```
|
9893
9922
|
*
|
9894
9923
|
* @example
|
9895
9924
|
*
|
9896
|
-
* import { findDocumentTemplate } from "https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
9925
|
+
* import { findDocumentTemplate } from "https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/modules/dom/template.js";
|
9897
9926
|
*
|
9898
9927
|
* const template = document.createElement("template");
|
9899
9928
|
* template.id = "myTemplate";
|
@@ -10065,7 +10094,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
10065
10094
|
*
|
10066
10095
|
* ```
|
10067
10096
|
* <script type="module">
|
10068
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
10097
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/monster.js';
|
10069
10098
|
* console.log(new Monster.DOM.Theme())
|
10070
10099
|
* </script>
|
10071
10100
|
* ```
|
@@ -10074,14 +10103,14 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
10074
10103
|
*
|
10075
10104
|
* ```
|
10076
10105
|
* <script type="module">
|
10077
|
-
* import {Theme} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
10106
|
+
* import {Theme} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/modules/dom/theme.js';
|
10078
10107
|
* console.log(new Theme())
|
10079
10108
|
* </script>
|
10080
10109
|
* ```
|
10081
10110
|
*
|
10082
10111
|
* @example
|
10083
10112
|
*
|
10084
|
-
* import {getDocumentTheme} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
10113
|
+
* import {getDocumentTheme} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/modules/dom/theme.js';
|
10085
10114
|
*
|
10086
10115
|
* const theme = getDocumentTheme();
|
10087
10116
|
* console.log(theme.getName());
|
@@ -10268,7 +10297,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
10268
10297
|
*
|
10269
10298
|
* ```
|
10270
10299
|
* <script type="module">
|
10271
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
10300
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/monster.js';
|
10272
10301
|
* new Monster.DOM.Updater()
|
10273
10302
|
* </script>
|
10274
10303
|
* ```
|
@@ -10277,14 +10306,14 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
10277
10306
|
*
|
10278
10307
|
* ```
|
10279
10308
|
* <script type="module">
|
10280
|
-
* import {Updater} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
10309
|
+
* import {Updater} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/modules/dom/updater.js';
|
10281
10310
|
* new Updater()
|
10282
10311
|
* </script>
|
10283
10312
|
* ```
|
10284
10313
|
*
|
10285
10314
|
* @example
|
10286
10315
|
*
|
10287
|
-
* import {Updater} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
10316
|
+
* import {Updater} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/modules/dom/updater.js';
|
10288
10317
|
*
|
10289
10318
|
* // First we prepare the html document.
|
10290
10319
|
* // This is done here via script, but can also be inserted into the document as pure html.
|
@@ -11280,7 +11309,7 @@ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || func
|
|
11280
11309
|
*
|
11281
11310
|
* ```
|
11282
11311
|
* <script type="module">
|
11283
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
11312
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/monster.js';
|
11284
11313
|
* Monster.Util.trimSpaces(" hello ")
|
11285
11314
|
* </script>
|
11286
11315
|
* ```
|
@@ -11289,7 +11318,7 @@ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || func
|
|
11289
11318
|
*
|
11290
11319
|
* ```
|
11291
11320
|
* <script type="module">
|
11292
|
-
* import {trimSpaces} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
11321
|
+
* import {trimSpaces} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/modules/util/trimspaces.js';
|
11293
11322
|
* trimSpaces(' hello \\ ')
|
11294
11323
|
* </script>
|
11295
11324
|
* ```
|
@@ -11394,7 +11423,7 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
|
|
11394
11423
|
*
|
11395
11424
|
* ```
|
11396
11425
|
* <script type="module">
|
11397
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
11426
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/monster.js';
|
11398
11427
|
* new Monster.DOM.fireEvent()
|
11399
11428
|
* </script>
|
11400
11429
|
* ```
|
@@ -11403,7 +11432,7 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
|
|
11403
11432
|
*
|
11404
11433
|
* ```
|
11405
11434
|
* <script type="module">
|
11406
|
-
* import {fireEvent} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
11435
|
+
* import {fireEvent} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/modules/dom/events.js';
|
11407
11436
|
* fireEvent()
|
11408
11437
|
* </script>
|
11409
11438
|
* ```
|
@@ -11455,7 +11484,7 @@ function fireEvent(element, type) {
|
|
11455
11484
|
*
|
11456
11485
|
* ```
|
11457
11486
|
* <script type="module">
|
11458
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
11487
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/monster.js';
|
11459
11488
|
* new Monster.DOM.fireCustomEvent()
|
11460
11489
|
* </script>
|
11461
11490
|
* ```
|
@@ -11464,7 +11493,7 @@ function fireEvent(element, type) {
|
|
11464
11493
|
*
|
11465
11494
|
* ```
|
11466
11495
|
* <script type="module">
|
11467
|
-
* import {fireCustomEvent} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
11496
|
+
* import {fireCustomEvent} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/modules/dom/events.js';
|
11468
11497
|
* fireCustomEvent()
|
11469
11498
|
* </script>
|
11470
11499
|
* ```
|
@@ -11523,7 +11552,7 @@ function fireCustomEvent(element, type, detail) {
|
|
11523
11552
|
*
|
11524
11553
|
* ```
|
11525
11554
|
* <script type="module">
|
11526
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
11555
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/monster.js';
|
11527
11556
|
* new Monster.DOM.findTargetElementFromEvent()
|
11528
11557
|
* </script>
|
11529
11558
|
* ```
|
@@ -11532,7 +11561,7 @@ function fireCustomEvent(element, type, detail) {
|
|
11532
11561
|
*
|
11533
11562
|
* ```
|
11534
11563
|
* <script type="module">
|
11535
|
-
* import {findTargetElementFromEvent} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
11564
|
+
* import {findTargetElementFromEvent} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/modules/dom/events.js';
|
11536
11565
|
* findTargetElementFromEvent()
|
11537
11566
|
* </script>
|
11538
11567
|
* ```
|
@@ -11603,7 +11632,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "functi
|
|
11603
11632
|
*
|
11604
11633
|
* ```
|
11605
11634
|
* <script type="module">
|
11606
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
11635
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/monster.js';
|
11607
11636
|
* console.log(Monster.DOM.getDocument())
|
11608
11637
|
* </script>
|
11609
11638
|
* ```
|
@@ -11612,7 +11641,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "functi
|
|
11612
11641
|
*
|
11613
11642
|
* ```
|
11614
11643
|
* <script type="module">
|
11615
|
-
* import {getDocument} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
11644
|
+
* import {getDocument} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/modules/dom/util.js';
|
11616
11645
|
* console.log(getDocument())
|
11617
11646
|
* </script>
|
11618
11647
|
* ```
|
@@ -11667,7 +11696,7 @@ function getDocument() {
|
|
11667
11696
|
*
|
11668
11697
|
* ```
|
11669
11698
|
* <script type="module">
|
11670
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
11699
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/monster.js';
|
11671
11700
|
* console.log(Monster.DOM.getWindow())
|
11672
11701
|
* </script>
|
11673
11702
|
* ```
|
@@ -11676,7 +11705,7 @@ function getDocument() {
|
|
11676
11705
|
*
|
11677
11706
|
* ```
|
11678
11707
|
* <script type="module">
|
11679
|
-
* import {getWindow} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
11708
|
+
* import {getWindow} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/modules/dom/util.js';
|
11680
11709
|
* console.log(getWindow(null))
|
11681
11710
|
* </script>
|
11682
11711
|
* ```
|
@@ -11736,7 +11765,7 @@ function getWindow() {
|
|
11736
11765
|
*
|
11737
11766
|
* ```
|
11738
11767
|
* <script type="module">
|
11739
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
11768
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/monster.js';
|
11740
11769
|
* console.log(Monster.DOM.getDocumentFragmentFromString())
|
11741
11770
|
* </script>
|
11742
11771
|
* ```
|
@@ -11745,7 +11774,7 @@ function getWindow() {
|
|
11745
11774
|
*
|
11746
11775
|
* ```
|
11747
11776
|
* <script type="module">
|
11748
|
-
* import {getDocumentFragmentFromString} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
11777
|
+
* import {getDocumentFragmentFromString} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/modules/dom/util.js';
|
11749
11778
|
* console.log(getDocumentFragmentFromString('<div></div>'))
|
11750
11779
|
* </script>
|
11751
11780
|
* ```
|
@@ -11835,7 +11864,7 @@ var DEFAULT_LANGUAGE = 'en';
|
|
11835
11864
|
*
|
11836
11865
|
* ```
|
11837
11866
|
* <script type="module">
|
11838
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
11867
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/monster.js';
|
11839
11868
|
* new Monster.DOM.getLocaleOfDocument()
|
11840
11869
|
* </script>
|
11841
11870
|
* ```
|
@@ -11844,7 +11873,7 @@ var DEFAULT_LANGUAGE = 'en';
|
|
11844
11873
|
*
|
11845
11874
|
* ```
|
11846
11875
|
* <script type="module">
|
11847
|
-
* import {getLocaleOfDocument} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
11876
|
+
* import {getLocaleOfDocument} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/modules/dom/locale.js';
|
11848
11877
|
* new getLocaleOfDocument()
|
11849
11878
|
* </script>
|
11850
11879
|
* ```
|
@@ -11937,7 +11966,7 @@ var localeStringSymbol = Symbol('localeString');
|
|
11937
11966
|
*
|
11938
11967
|
* ```
|
11939
11968
|
* <script type="module">
|
11940
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
11969
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/monster.js';
|
11941
11970
|
* new Monster.I18n.Locale()
|
11942
11971
|
* </script>
|
11943
11972
|
* ```
|
@@ -11946,7 +11975,7 @@ var localeStringSymbol = Symbol('localeString');
|
|
11946
11975
|
*
|
11947
11976
|
* ```
|
11948
11977
|
* <script type="module">
|
11949
|
-
* import {Locale} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
11978
|
+
* import {Locale} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/modules/i18n/locale.js';
|
11950
11979
|
* new Locale()
|
11951
11980
|
* </script>
|
11952
11981
|
* ```
|
@@ -12139,7 +12168,7 @@ var Locale = /*#__PURE__*/function (_Base) {
|
|
12139
12168
|
*
|
12140
12169
|
* ```
|
12141
12170
|
* <script type="module">
|
12142
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
12171
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/monster.js';
|
12143
12172
|
* new Monster.I18n.createLocale()
|
12144
12173
|
* </script>
|
12145
12174
|
* ```
|
@@ -12148,7 +12177,7 @@ var Locale = /*#__PURE__*/function (_Base) {
|
|
12148
12177
|
*
|
12149
12178
|
* ```
|
12150
12179
|
* <script type="module">
|
12151
|
-
* import {createLocale} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
12180
|
+
* import {createLocale} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/modules/i18n/locale.js';
|
12152
12181
|
* createLocale()
|
12153
12182
|
* </script>
|
12154
12183
|
* ```
|
@@ -12324,7 +12353,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
12324
12353
|
*
|
12325
12354
|
* ```
|
12326
12355
|
* <script type="module">
|
12327
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
12356
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/monster.js';
|
12328
12357
|
* new Monster.I18n.Provider()
|
12329
12358
|
* </script>
|
12330
12359
|
* ```
|
@@ -12333,7 +12362,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
12333
12362
|
*
|
12334
12363
|
* ```
|
12335
12364
|
* <script type="module">
|
12336
|
-
* import {Provider} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
12365
|
+
* import {Provider} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/modules/i18n/provider.js';
|
12337
12366
|
* new Provider()
|
12338
12367
|
* </script>
|
12339
12368
|
* ```
|
@@ -12436,7 +12465,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
12436
12465
|
*
|
12437
12466
|
* ```html
|
12438
12467
|
* <script type="module">
|
12439
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
12468
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/monster.js';
|
12440
12469
|
* new Monster.Types.BaseWithOptions()
|
12441
12470
|
* </script>
|
12442
12471
|
* ```
|
@@ -12445,7 +12474,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
12445
12474
|
*
|
12446
12475
|
* ```html
|
12447
12476
|
* <script type="module">
|
12448
|
-
* import {BaseWithOptions} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
12477
|
+
* import {BaseWithOptions} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/modules/types/basewithoptions.js';
|
12449
12478
|
* new BaseWithOptions()
|
12450
12479
|
* </script>
|
12451
12480
|
* ```
|
@@ -12610,7 +12639,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
12610
12639
|
*
|
12611
12640
|
* ```
|
12612
12641
|
* <script type="module">
|
12613
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
12642
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/monster.js';
|
12614
12643
|
* new Monster.I18n.Translations()
|
12615
12644
|
* </script>
|
12616
12645
|
* ```
|
@@ -12619,15 +12648,15 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
12619
12648
|
*
|
12620
12649
|
* ```
|
12621
12650
|
* <script type="module">
|
12622
|
-
* import {Translations} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
12651
|
+
* import {Translations} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/modules/i18n/translations.js';
|
12623
12652
|
* new Translations()
|
12624
12653
|
* </script>
|
12625
12654
|
* ```
|
12626
12655
|
*
|
12627
12656
|
* @example
|
12628
12657
|
*
|
12629
|
-
* import {Translations} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
12630
|
-
* import {parseLocale} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
12658
|
+
* import {Translations} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/modules/i18n/translations.js';
|
12659
|
+
* import {parseLocale} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/modules/i18n/locale.js';
|
12631
12660
|
*
|
12632
12661
|
* const translation = new Translations(parseLocale('en-GB'));
|
12633
12662
|
*
|
@@ -12899,7 +12928,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
12899
12928
|
*
|
12900
12929
|
* ```
|
12901
12930
|
* <script type="module">
|
12902
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
12931
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/monster.js';
|
12903
12932
|
* new Monster.I18n.Providers.Fetch()
|
12904
12933
|
* </script>
|
12905
12934
|
* ```
|
@@ -12908,14 +12937,14 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
12908
12937
|
*
|
12909
12938
|
* ```
|
12910
12939
|
* <script type="module">
|
12911
|
-
* import {Fetch} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
12940
|
+
* import {Fetch} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/modules/i18n/providers/fetch.js';
|
12912
12941
|
* new Fetch()
|
12913
12942
|
* </script>
|
12914
12943
|
* ```
|
12915
12944
|
*
|
12916
12945
|
* @example <caption>das ist ein test</caption>
|
12917
12946
|
*
|
12918
|
-
* import {Fetch} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
12947
|
+
* import {Fetch} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/modules/i18n/providers/fetch.js';
|
12919
12948
|
*
|
12920
12949
|
* // fetch from API
|
12921
12950
|
* const translation = new Fetch('https://example.com/${language}.json').getTranslation('en-GB');
|
@@ -13145,7 +13174,7 @@ var workingDataSymbol = Symbol('workingData');
|
|
13145
13174
|
*
|
13146
13175
|
* ```
|
13147
13176
|
* <script type="module">
|
13148
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
13177
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/monster.js';
|
13149
13178
|
* new Monster.Text.Formatter()
|
13150
13179
|
* </script>
|
13151
13180
|
* ```
|
@@ -13154,7 +13183,7 @@ var workingDataSymbol = Symbol('workingData');
|
|
13154
13183
|
*
|
13155
13184
|
* ```
|
13156
13185
|
* <script type="module">
|
13157
|
-
* import {Formatter} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
13186
|
+
* import {Formatter} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/modules/text/formatter.js';
|
13158
13187
|
* new Formatter()
|
13159
13188
|
* </script>
|
13160
13189
|
* ```
|
@@ -13199,7 +13228,7 @@ var workingDataSymbol = Symbol('workingData');
|
|
13199
13228
|
*
|
13200
13229
|
* @example
|
13201
13230
|
*
|
13202
|
-
* import {Formatter} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
13231
|
+
* import {Formatter} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/modules/text/formatter.js';
|
13203
13232
|
*
|
13204
13233
|
* new Formatter({
|
13205
13234
|
* a: {
|
@@ -13544,7 +13573,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
13544
13573
|
*
|
13545
13574
|
* ```
|
13546
13575
|
* <script type="module">
|
13547
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
13576
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/monster.js';
|
13548
13577
|
* console.log(new Monster.Logging.Handler())
|
13549
13578
|
* </script>
|
13550
13579
|
* ```
|
@@ -13553,7 +13582,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
13553
13582
|
*
|
13554
13583
|
* ```
|
13555
13584
|
* <script type="module">
|
13556
|
-
* import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
13585
|
+
* import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/modules/logging/handler.js';
|
13557
13586
|
* console.log(new Handler())
|
13558
13587
|
* </script>
|
13559
13588
|
* ```
|
@@ -13791,7 +13820,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
13791
13820
|
*
|
13792
13821
|
* ```
|
13793
13822
|
* <script type="module">
|
13794
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
13823
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/monster.js';
|
13795
13824
|
* console.log(new Monster.Logging.LogEntry())
|
13796
13825
|
* </script>
|
13797
13826
|
* ```
|
@@ -13800,7 +13829,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
13800
13829
|
*
|
13801
13830
|
* ```
|
13802
13831
|
* <script type="module">
|
13803
|
-
* import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
13832
|
+
* import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/modules/logging/logentry.js';
|
13804
13833
|
* console.log(new LogEntry())
|
13805
13834
|
* </script>
|
13806
13835
|
* ```
|
@@ -13986,7 +14015,7 @@ var OFF = 0;
|
|
13986
14015
|
*
|
13987
14016
|
* ```
|
13988
14017
|
* <script type="module">
|
13989
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
14018
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/monster.js';
|
13990
14019
|
* new Monster.Logging.Logger()
|
13991
14020
|
* </script>
|
13992
14021
|
* ```
|
@@ -13995,7 +14024,7 @@ var OFF = 0;
|
|
13995
14024
|
*
|
13996
14025
|
* ```
|
13997
14026
|
* <script type="module">
|
13998
|
-
* import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
14027
|
+
* import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/modules/logging/logger.js';
|
13999
14028
|
* new Logger()
|
14000
14029
|
* </script>
|
14001
14030
|
* ```
|
@@ -14295,7 +14324,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
14295
14324
|
*
|
14296
14325
|
* ```
|
14297
14326
|
* <script type="module">
|
14298
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
14327
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/monster.js';
|
14299
14328
|
* console.log(new Monster.Logging.Handler.ConsoleHandler())
|
14300
14329
|
* </script>
|
14301
14330
|
* ```
|
@@ -14304,7 +14333,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
14304
14333
|
*
|
14305
14334
|
* ```
|
14306
14335
|
* <script type="module">
|
14307
|
-
* import {ConsoleHandler} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
14336
|
+
* import {ConsoleHandler} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/modules/logging/handler/console.js';
|
14308
14337
|
* console.log(new ConsoleHandler())
|
14309
14338
|
* </script>
|
14310
14339
|
* ```
|
@@ -14380,7 +14409,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
14380
14409
|
*
|
14381
14410
|
* ```
|
14382
14411
|
* <script type="module">
|
14383
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
14412
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/monster.js';
|
14384
14413
|
* Monster.Math.random(1,10)
|
14385
14414
|
* // ↦ 5
|
14386
14415
|
* </script>
|
@@ -14390,7 +14419,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
14390
14419
|
*
|
14391
14420
|
* ```
|
14392
14421
|
* <script type="module">
|
14393
|
-
* import {random} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
14422
|
+
* import {random} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/modules/math/random.js';
|
14394
14423
|
* random(1,10)
|
14395
14424
|
* // ↦ 5
|
14396
14425
|
* </script>
|
@@ -14547,7 +14576,7 @@ var internalCounter = 0;
|
|
14547
14576
|
*
|
14548
14577
|
* ```
|
14549
14578
|
* <script type="module">
|
14550
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
14579
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/monster.js';
|
14551
14580
|
* console.log(new Monster.Types.RandomID())
|
14552
14581
|
* </script>
|
14553
14582
|
* ```
|
@@ -14556,7 +14585,7 @@ var internalCounter = 0;
|
|
14556
14585
|
*
|
14557
14586
|
* ```
|
14558
14587
|
* <script type="module">
|
14559
|
-
* import {RandomID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
14588
|
+
* import {RandomID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/modules/types/randomid.js';
|
14560
14589
|
* console.log(new RandomID())
|
14561
14590
|
* </script>
|
14562
14591
|
* ```
|
@@ -14639,7 +14668,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
14639
14668
|
*
|
14640
14669
|
* ```
|
14641
14670
|
* <script type="module">
|
14642
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
14671
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/monster.js';
|
14643
14672
|
* console.log(new Monster.Types.Version('1.2.3')) // ↦ 1.2.3
|
14644
14673
|
* console.log(new Monster.Types.Version('1')) // ↦ 1.0.0
|
14645
14674
|
* </script>
|
@@ -14649,7 +14678,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
14649
14678
|
*
|
14650
14679
|
* ```
|
14651
14680
|
* <script type="module">
|
14652
|
-
* import {Version} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
14681
|
+
* import {Version} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/modules/types/version.js';
|
14653
14682
|
* console.log(new Version('1.2.3')) // ↦ 1.2.3
|
14654
14683
|
* console.log(new Version('1')) // ↦ 1.0.0
|
14655
14684
|
* </script>
|
@@ -14657,7 +14686,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
14657
14686
|
*
|
14658
14687
|
* @example
|
14659
14688
|
*
|
14660
|
-
* import {Version} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
14689
|
+
* import {Version} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/modules/types/version.js';
|
14661
14690
|
*
|
14662
14691
|
* new Version('1.0.0') // ↦ 1.0.0
|
14663
14692
|
* new Version(1) // ↦ 1.0.0
|
@@ -14791,7 +14820,7 @@ var monsterVersion;
|
|
14791
14820
|
*
|
14792
14821
|
* ```
|
14793
14822
|
* <script type="module">
|
14794
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
14823
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/monster.js';
|
14795
14824
|
* console.log(Monster.getVersion())
|
14796
14825
|
* </script>
|
14797
14826
|
* ```
|
@@ -14800,7 +14829,7 @@ var monsterVersion;
|
|
14800
14829
|
*
|
14801
14830
|
* ```
|
14802
14831
|
* <script type="module">
|
14803
|
-
* import {getVersion} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
14832
|
+
* import {getVersion} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/modules/types/version.js';
|
14804
14833
|
* console.log(getVersion())
|
14805
14834
|
* </script>
|
14806
14835
|
* ```
|
@@ -14819,7 +14848,7 @@ function getVersion() {
|
|
14819
14848
|
/**#@+ dont touch, replaced by make with package.json version */
|
14820
14849
|
|
14821
14850
|
|
14822
|
-
monsterVersion = new Version('1.29.
|
14851
|
+
monsterVersion = new Version('1.29.3');
|
14823
14852
|
/**#@-*/
|
14824
14853
|
|
14825
14854
|
return monsterVersion;
|
@@ -14875,7 +14904,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
14875
14904
|
*
|
14876
14905
|
* ```
|
14877
14906
|
* <script type="module">
|
14878
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
14907
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/monster.js';
|
14879
14908
|
* new Monster.Util.Comparator()
|
14880
14909
|
* </script>
|
14881
14910
|
* ```
|
@@ -14884,7 +14913,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
14884
14913
|
*
|
14885
14914
|
* ```
|
14886
14915
|
* <script type="module">
|
14887
|
-
* import {Comparator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
14916
|
+
* import {Comparator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/modules/util/comparator.js';
|
14888
14917
|
* console.log(new Comparator())
|
14889
14918
|
* </script>
|
14890
14919
|
* ```
|
@@ -14909,7 +14938,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
14909
14938
|
*
|
14910
14939
|
* @example
|
14911
14940
|
*
|
14912
|
-
* import {Comparator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
14941
|
+
* import {Comparator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/modules/util/comparator.js';
|
14913
14942
|
*
|
14914
14943
|
* console.log(new Comparator().lessThanOrEqual(2, 5))
|
14915
14944
|
* // ↦ true
|
@@ -15122,7 +15151,7 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
|
|
15122
15151
|
*
|
15123
15152
|
* ```
|
15124
15153
|
* <script type="module">
|
15125
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
15154
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/monster.js';
|
15126
15155
|
* Monster.Util.deepFreeze({})
|
15127
15156
|
* </script>
|
15128
15157
|
* ```
|
@@ -15131,7 +15160,7 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
|
|
15131
15160
|
*
|
15132
15161
|
* ```
|
15133
15162
|
* <script type="module">
|
15134
|
-
* import {deepFreeze} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.
|
15163
|
+
* import {deepFreeze} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.3/dist/modules/util/freeze.js';
|
15135
15164
|
* deepFreeze({})
|
15136
15165
|
* </script>
|
15137
15166
|
* ```
|