@schukai/monster 1.30.0 → 1.30.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/dist/modules/constants.js +1 -1
- package/dist/modules/constraints/abstract.js +1 -1
- package/dist/modules/constraints/abstractoperator.js +1 -1
- package/dist/modules/constraints/andoperator.js +1 -1
- package/dist/modules/constraints/invalid.js +1 -1
- package/dist/modules/constraints/isarray.js +1 -1
- package/dist/modules/constraints/isobject.js +1 -1
- package/dist/modules/constraints/namespace.js +1 -1
- package/dist/modules/constraints/oroperator.js +1 -1
- package/dist/modules/constraints/valid.js +1 -1
- package/dist/modules/data/buildmap.js +1 -1
- package/dist/modules/data/buildtree.js +1 -1
- package/dist/modules/data/datasource/namespace.js +1 -1
- package/dist/modules/data/datasource/restapi/writeerror.js +1 -1
- package/dist/modules/data/datasource/restapi.js +1 -1
- package/dist/modules/data/datasource/storage/localstorage.js +1 -1
- package/dist/modules/data/datasource/storage/namespace.js +1 -1
- package/dist/modules/data/datasource/storage/sessionstorage.js +1 -1
- package/dist/modules/data/datasource/storage.js +1 -1
- package/dist/modules/data/datasource.js +1 -1
- package/dist/modules/data/diff.js +1 -1
- package/dist/modules/data/extend.js +1 -1
- package/dist/modules/data/namespace.js +1 -1
- package/dist/modules/data/pathfinder.js +1 -1
- package/dist/modules/data/pipe.js +1 -1
- package/dist/modules/data/transformer.js +1 -1
- package/dist/modules/dom/assembler.js +1 -1
- package/dist/modules/dom/attributes.js +1 -1
- package/dist/modules/dom/constants.js +1 -1
- package/dist/modules/dom/customcontrol.js +1 -1
- package/dist/modules/dom/customelement.js +2 -2
- package/dist/modules/dom/events.js +1 -1
- package/dist/modules/dom/focusmanager.js +1 -1
- package/dist/modules/dom/locale.js +1 -1
- package/dist/modules/dom/namespace.js +1 -1
- package/dist/modules/dom/resource/data.js +1 -1
- package/dist/modules/dom/resource/link/stylesheet.js +1 -1
- package/dist/modules/dom/resource/link.js +1 -1
- package/dist/modules/dom/resource/script.js +1 -1
- package/dist/modules/dom/resource.js +1 -1
- package/dist/modules/dom/resourcemanager.js +1 -1
- package/dist/modules/dom/template.js +1 -1
- package/dist/modules/dom/theme.js +1 -1
- package/dist/modules/dom/updater.js +1 -1
- package/dist/modules/dom/util.js +1 -1
- package/dist/modules/dom/worker/factory.js +1 -1
- package/dist/modules/i18n/formatter.js +1 -1
- package/dist/modules/i18n/locale.js +1 -1
- package/dist/modules/i18n/namespace.js +1 -1
- package/dist/modules/i18n/provider.js +1 -1
- package/dist/modules/i18n/providers/fetch.js +1 -1
- package/dist/modules/i18n/providers/namespace.js +1 -1
- package/dist/modules/i18n/translations.js +1 -1
- package/dist/modules/logging/handler/console.js +1 -1
- package/dist/modules/logging/handler/namespace.js +1 -1
- package/dist/modules/logging/handler.js +1 -1
- package/dist/modules/logging/logentry.js +1 -1
- package/dist/modules/logging/logger.js +1 -1
- package/dist/modules/logging/namespace.js +1 -1
- package/dist/modules/math/namespace.js +1 -1
- package/dist/modules/math/random.js +1 -1
- package/dist/modules/monster.js +1 -1
- package/dist/modules/namespace.js +1 -1
- package/dist/modules/text/formatter.js +1 -1
- package/dist/modules/text/namespace.js +1 -1
- package/dist/modules/types/base.js +1 -1
- package/dist/modules/types/basewithoptions.js +1 -1
- package/dist/modules/types/binary.js +1 -1
- package/dist/modules/types/dataurl.js +1 -1
- package/dist/modules/types/global.js +1 -1
- package/dist/modules/types/id.js +1 -1
- package/dist/modules/types/is.js +1 -1
- package/dist/modules/types/mediatype.js +1 -1
- package/dist/modules/types/namespace.js +1 -1
- package/dist/modules/types/node.js +1 -1
- package/dist/modules/types/nodelist.js +1 -1
- package/dist/modules/types/noderecursiveiterator.js +1 -1
- package/dist/modules/types/observer.js +1 -1
- package/dist/modules/types/observerlist.js +1 -1
- package/dist/modules/types/proxyobserver.js +1 -1
- package/dist/modules/types/queue.js +1 -1
- package/dist/modules/types/randomid.js +1 -1
- package/dist/modules/types/regex.js +1 -1
- package/dist/modules/types/stack.js +1 -1
- package/dist/modules/types/tokenlist.js +1 -1
- package/dist/modules/types/typeof.js +1 -1
- package/dist/modules/types/uniquequeue.js +1 -1
- package/dist/modules/types/uuid.js +1 -1
- package/dist/modules/types/validate.js +1 -1
- package/dist/modules/types/version.js +2 -2
- package/dist/modules/util/clone.js +1 -1
- package/dist/modules/util/comparator.js +1 -1
- package/dist/modules/util/deadmansswitch.js +1 -1
- package/dist/modules/util/freeze.js +1 -1
- package/dist/modules/util/namespace.js +1 -1
- package/dist/modules/util/processing.js +1 -1
- package/dist/modules/util/trimspaces.js +1 -1
- package/dist/monster.dev.js +247 -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 +4 -4
- package/source/data/buildtree.js +2 -2
- package/source/data/datasource/restapi.js +3 -3
- package/source/data/datasource/storage/localstorage.js +2 -2
- package/source/data/datasource/storage/sessionstorage.js +2 -2
- package/source/data/datasource/storage.js +3 -3
- package/source/data/datasource.js +3 -3
- package/source/data/diff.js +3 -3
- package/source/data/extend.js +2 -2
- package/source/data/pathfinder.js +4 -4
- package/source/data/pipe.js +3 -3
- package/source/data/transformer.js +3 -3
- package/source/dom/assembler.js +2 -2
- package/source/dom/attributes.js +26 -26
- package/source/dom/customcontrol.js +1 -1
- package/source/dom/customelement.js +26 -7
- 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/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.30.
|
|
1
|
+
/** Monster 1.30.1, © 2021 schukai GmbH, Released under the AGPL 3.0 License. */
|
|
2
2
|
(function webpackUniversalModuleDefinition(root, factory) {
|
|
3
3
|
if(typeof exports === 'object' && typeof module === 'object')
|
|
4
4
|
module.exports = factory();
|
|
@@ -140,7 +140,7 @@ var Monster = new Namespace("Monster");
|
|
|
140
140
|
*
|
|
141
141
|
* ```
|
|
142
142
|
* <script type="module">
|
|
143
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
143
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/monster.js';
|
|
144
144
|
* function hello() {
|
|
145
145
|
* console.log('Hello World!');
|
|
146
146
|
* }
|
|
@@ -387,7 +387,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
|
387
387
|
*
|
|
388
388
|
* ```
|
|
389
389
|
* <script type="module">
|
|
390
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
390
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/monster.js';
|
|
391
391
|
* new Monster.Types.Base()
|
|
392
392
|
* </script>
|
|
393
393
|
* ```
|
|
@@ -396,7 +396,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
|
396
396
|
*
|
|
397
397
|
* ```
|
|
398
398
|
* <script type="module">
|
|
399
|
-
* import {Base} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
399
|
+
* import {Base} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/modules/types/base.js';
|
|
400
400
|
* new Base()
|
|
401
401
|
* </script>
|
|
402
402
|
* ```
|
|
@@ -572,7 +572,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
|
572
572
|
*
|
|
573
573
|
* ```
|
|
574
574
|
* <script type="module">
|
|
575
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
575
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/monster.js';
|
|
576
576
|
* new Monster.Constraint.AndOperator();
|
|
577
577
|
* </script>
|
|
578
578
|
* ```
|
|
@@ -581,16 +581,16 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
|
581
581
|
*
|
|
582
582
|
* ```
|
|
583
583
|
* <script type="module">
|
|
584
|
-
* import {AndOperator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
584
|
+
* import {AndOperator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/modules/constraints/andoperator.js';
|
|
585
585
|
* new AndOperator();
|
|
586
586
|
* </script>
|
|
587
587
|
* ```
|
|
588
588
|
*
|
|
589
589
|
* @example
|
|
590
590
|
*
|
|
591
|
-
* import {Valid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
592
|
-
* import {Invalid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
593
|
-
* import {AndOperator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
591
|
+
* import {Valid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/modules/constraints/valid.js';
|
|
592
|
+
* import {Invalid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/modules/constraints/invalid.js';
|
|
593
|
+
* import {AndOperator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/modules/constraints/andoperator.js';
|
|
594
594
|
*
|
|
595
595
|
* new AndOperator(
|
|
596
596
|
* new Valid(), new Valid()).isValid()
|
|
@@ -692,7 +692,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
|
692
692
|
*
|
|
693
693
|
* ```
|
|
694
694
|
* <script type="module">
|
|
695
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
695
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/monster.js';
|
|
696
696
|
* new Monster.Constraint.Invalid();
|
|
697
697
|
* </script>
|
|
698
698
|
* ```
|
|
@@ -701,14 +701,14 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
|
701
701
|
*
|
|
702
702
|
* ```
|
|
703
703
|
* <script type="module">
|
|
704
|
-
* import {Invalid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
704
|
+
* import {Invalid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/modules/constraints/invalid.js';
|
|
705
705
|
* new Invalid();
|
|
706
706
|
* </script>
|
|
707
707
|
* ```
|
|
708
708
|
*
|
|
709
709
|
* @example
|
|
710
710
|
*
|
|
711
|
-
* import {Invalid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
711
|
+
* import {Invalid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/modules/constraints/invalid.js';
|
|
712
712
|
*
|
|
713
713
|
* new Invalid().isValid()
|
|
714
714
|
* .then(()=>console.log(true))
|
|
@@ -803,7 +803,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
|
803
803
|
*
|
|
804
804
|
* ```
|
|
805
805
|
* <script type="module">
|
|
806
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
806
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/monster.js';
|
|
807
807
|
* new Monster.Constraint.IsArray()
|
|
808
808
|
* </script>
|
|
809
809
|
* ```
|
|
@@ -812,14 +812,14 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
|
812
812
|
*
|
|
813
813
|
* ```
|
|
814
814
|
* <script type="module">
|
|
815
|
-
* import {IsArray} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
815
|
+
* import {IsArray} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/modules/constraints/isarray.js';
|
|
816
816
|
* console.log(new IsArray())
|
|
817
817
|
* </script>
|
|
818
818
|
* ```
|
|
819
819
|
*
|
|
820
820
|
* @example
|
|
821
821
|
*
|
|
822
|
-
* import {IsArray} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
822
|
+
* import {IsArray} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/modules/constraints/isarray.js';
|
|
823
823
|
*
|
|
824
824
|
* new IsArray()
|
|
825
825
|
* .isValid([])
|
|
@@ -908,7 +908,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "functi
|
|
|
908
908
|
*
|
|
909
909
|
* ```
|
|
910
910
|
* <script type="module">
|
|
911
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
911
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/monster.js';
|
|
912
912
|
* Monster.Types.isIterable(null) // ↦ false
|
|
913
913
|
* Monster.Types.isIterable('hello') // ↦ true
|
|
914
914
|
* Monster.Types.isIterable([]) // ↦ true
|
|
@@ -919,7 +919,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "functi
|
|
|
919
919
|
*
|
|
920
920
|
* ```
|
|
921
921
|
* <script type="module">
|
|
922
|
-
* import {isIterable} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
922
|
+
* import {isIterable} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/modules/types/is.js';
|
|
923
923
|
* isIterable(null) // ↦ false
|
|
924
924
|
* isIterable('hello') // ↦ true
|
|
925
925
|
* isIterable([]) // ↦ true
|
|
@@ -947,7 +947,7 @@ function isIterable(value) {
|
|
|
947
947
|
*
|
|
948
948
|
* ```
|
|
949
949
|
* <script type="module">
|
|
950
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
950
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/monster.js';
|
|
951
951
|
* Monster.Types.isPrimitive('2') // ↦ false
|
|
952
952
|
* Monster.Types.isPrimitive([]) // ↦ true
|
|
953
953
|
* </script>
|
|
@@ -957,7 +957,7 @@ function isIterable(value) {
|
|
|
957
957
|
*
|
|
958
958
|
* ```
|
|
959
959
|
* <script type="module">
|
|
960
|
-
* import {isPrimitive} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
960
|
+
* import {isPrimitive} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/modules/types/is.js';
|
|
961
961
|
* isPrimitive('2')) // ↦ true
|
|
962
962
|
* isPrimitive([])) // ↦ false
|
|
963
963
|
* </script>
|
|
@@ -995,7 +995,7 @@ function isPrimitive(value) {
|
|
|
995
995
|
*
|
|
996
996
|
* ```
|
|
997
997
|
* <script type="module">
|
|
998
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
998
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/monster.js';
|
|
999
999
|
* Monster.Types.isSymbol('2') // ↦ false
|
|
1000
1000
|
* Monster.Types.isSymbol(Symbol('test') // ↦ true
|
|
1001
1001
|
* </script>
|
|
@@ -1005,7 +1005,7 @@ function isPrimitive(value) {
|
|
|
1005
1005
|
*
|
|
1006
1006
|
* ```
|
|
1007
1007
|
* <script type="module">
|
|
1008
|
-
* import {isSymbol} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
1008
|
+
* import {isSymbol} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/modules/types/is.js';
|
|
1009
1009
|
* isSymbol(Symbol('a'))) // ↦ true
|
|
1010
1010
|
* isSymbol([]) // ↦ false
|
|
1011
1011
|
* </script>
|
|
@@ -1031,7 +1031,7 @@ function isSymbol(value) {
|
|
|
1031
1031
|
*
|
|
1032
1032
|
* ```
|
|
1033
1033
|
* <script type="module">
|
|
1034
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
1034
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/monster.js';
|
|
1035
1035
|
* Monster.Types.isBoolean('2') // ↦ false
|
|
1036
1036
|
* Monster.Types.isBoolean([]) // ↦ false
|
|
1037
1037
|
* Monster.Types.isBoolean(true) // ↦ true
|
|
@@ -1042,7 +1042,7 @@ function isSymbol(value) {
|
|
|
1042
1042
|
*
|
|
1043
1043
|
* ```
|
|
1044
1044
|
* <script type="module">
|
|
1045
|
-
* import {isBoolean} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
1045
|
+
* import {isBoolean} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/modules/types/is.js';
|
|
1046
1046
|
* isBoolean('2')) // ↦ false
|
|
1047
1047
|
* isBoolean([])) // ↦ false
|
|
1048
1048
|
* isBoolean(2>4)) // ↦ true
|
|
@@ -1073,7 +1073,7 @@ function isBoolean(value) {
|
|
|
1073
1073
|
*
|
|
1074
1074
|
* ```
|
|
1075
1075
|
* <script type="module">
|
|
1076
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
1076
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/monster.js';
|
|
1077
1077
|
* Monster.Types.isString('2') // ↦ true
|
|
1078
1078
|
* Monster.Types.isString([]) // ↦ false
|
|
1079
1079
|
* </script>
|
|
@@ -1083,7 +1083,7 @@ function isBoolean(value) {
|
|
|
1083
1083
|
*
|
|
1084
1084
|
* ```
|
|
1085
1085
|
* <script type="module">
|
|
1086
|
-
* import {isString} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
1086
|
+
* import {isString} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/modules/types/is.js';
|
|
1087
1087
|
* isString('2')) // ↦ true
|
|
1088
1088
|
* isString([])) // ↦ false
|
|
1089
1089
|
* </script>
|
|
@@ -1113,7 +1113,7 @@ function isString(value) {
|
|
|
1113
1113
|
*
|
|
1114
1114
|
* ```
|
|
1115
1115
|
* <script type="module">
|
|
1116
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
1116
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/monster.js';
|
|
1117
1117
|
* Monster.Types.isObject('2') // ↦ false
|
|
1118
1118
|
* Monster.Types.isObject([]) // ↦ false
|
|
1119
1119
|
* Monster.Types.isObject({}) // ↦ true
|
|
@@ -1124,7 +1124,7 @@ function isString(value) {
|
|
|
1124
1124
|
*
|
|
1125
1125
|
* ```
|
|
1126
1126
|
* <script type="module">
|
|
1127
|
-
* import {isObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
1127
|
+
* import {isObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/modules/types/is.js';
|
|
1128
1128
|
* isObject('2')) // ↦ false
|
|
1129
1129
|
* isObject([])) // ↦ false
|
|
1130
1130
|
* </script>
|
|
@@ -1157,7 +1157,7 @@ function isObject(value) {
|
|
|
1157
1157
|
*
|
|
1158
1158
|
* ```
|
|
1159
1159
|
* <script type="module">
|
|
1160
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
1160
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/monster.js';
|
|
1161
1161
|
* Monster.Types.isInstance('2') // ↦ false
|
|
1162
1162
|
* Monster.Types.isInstance([]) // ↦ false
|
|
1163
1163
|
* Monster.Types.isInstance({}) // ↦ true
|
|
@@ -1168,7 +1168,7 @@ function isObject(value) {
|
|
|
1168
1168
|
*
|
|
1169
1169
|
* ```
|
|
1170
1170
|
* <script type="module">
|
|
1171
|
-
* import {isInstance} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
1171
|
+
* import {isInstance} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/modules/types/is.js';
|
|
1172
1172
|
* isInstance('2')) // ↦ false
|
|
1173
1173
|
* isInstance([])) // ↦ false
|
|
1174
1174
|
* </script>
|
|
@@ -1198,7 +1198,7 @@ function isInstance(value, instance) {
|
|
|
1198
1198
|
*
|
|
1199
1199
|
* ```
|
|
1200
1200
|
* <script type="module">
|
|
1201
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
1201
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/monster.js';
|
|
1202
1202
|
* Monster.Types.isArray('2') // ↦ false
|
|
1203
1203
|
* Monster.Types.isArray([]) // ↦ true
|
|
1204
1204
|
* </script>
|
|
@@ -1208,7 +1208,7 @@ function isInstance(value, instance) {
|
|
|
1208
1208
|
*
|
|
1209
1209
|
* ```
|
|
1210
1210
|
* <script type="module">
|
|
1211
|
-
* import {isArray} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
1211
|
+
* import {isArray} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/modules/types/is.js';
|
|
1212
1212
|
* isArray('2')) // ↦ false
|
|
1213
1213
|
* isArray([])) // ↦ true
|
|
1214
1214
|
* </script>
|
|
@@ -1235,7 +1235,7 @@ function isArray(value) {
|
|
|
1235
1235
|
*
|
|
1236
1236
|
* ```
|
|
1237
1237
|
* <script type="module">
|
|
1238
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
1238
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/monster.js';
|
|
1239
1239
|
* Monster.Types.isFunction(()=>{}) // ↦ true
|
|
1240
1240
|
* Monster.Types.isFunction('2') // ↦ false
|
|
1241
1241
|
* Monster.Types.isFunction([]) // ↦ false
|
|
@@ -1246,7 +1246,7 @@ function isArray(value) {
|
|
|
1246
1246
|
*
|
|
1247
1247
|
* ```
|
|
1248
1248
|
* <script type="module">
|
|
1249
|
-
* import {isFunction} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
1249
|
+
* import {isFunction} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/modules/types/is.js';
|
|
1250
1250
|
* isFunction(()=>{}) // ↦ true
|
|
1251
1251
|
* isFunction('2')) // ↦ false
|
|
1252
1252
|
* isFunction([])) // ↦ false
|
|
@@ -1280,7 +1280,7 @@ function isFunction(value) {
|
|
|
1280
1280
|
*
|
|
1281
1281
|
* ```
|
|
1282
1282
|
* <script type="module">
|
|
1283
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
1283
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/monster.js';
|
|
1284
1284
|
* Monster.Types.isInteger(()=>{}) // ↦ true
|
|
1285
1285
|
* Monster.Types.isInteger('2') // ↦ false
|
|
1286
1286
|
* Monster.Types.isInteger(2) // ↦ true
|
|
@@ -1291,7 +1291,7 @@ function isFunction(value) {
|
|
|
1291
1291
|
*
|
|
1292
1292
|
* ```
|
|
1293
1293
|
* <script type="module">
|
|
1294
|
-
* import {isInteger} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
1294
|
+
* import {isInteger} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/modules/types/is.js';
|
|
1295
1295
|
* isInteger(()=>{}) // ↦ true
|
|
1296
1296
|
* isInteger('2')) // ↦ false
|
|
1297
1297
|
* isInteger(2)) // ↦ true
|
|
@@ -1364,7 +1364,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
|
1364
1364
|
*
|
|
1365
1365
|
* ```
|
|
1366
1366
|
* <script type="module">
|
|
1367
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
1367
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/monster.js';
|
|
1368
1368
|
* console.log(new Monster.Constraint.IsObject())
|
|
1369
1369
|
* </script>
|
|
1370
1370
|
* ```
|
|
@@ -1373,14 +1373,14 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
|
1373
1373
|
*
|
|
1374
1374
|
* ```
|
|
1375
1375
|
* <script type="module">
|
|
1376
|
-
* import {IsObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
1376
|
+
* import {IsObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/modules/constraints/isobject.js';
|
|
1377
1377
|
* console.log(new IsObject())
|
|
1378
1378
|
* </script>
|
|
1379
1379
|
* ```
|
|
1380
1380
|
*
|
|
1381
1381
|
* @example
|
|
1382
1382
|
*
|
|
1383
|
-
* import {IsObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
1383
|
+
* import {IsObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/modules/constraints/isobject.js';
|
|
1384
1384
|
*
|
|
1385
1385
|
* new IsObject()
|
|
1386
1386
|
* .isValid({})
|
|
@@ -1483,7 +1483,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
|
1483
1483
|
*
|
|
1484
1484
|
* ```
|
|
1485
1485
|
* <script type="module">
|
|
1486
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
1486
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/monster.js';
|
|
1487
1487
|
* new Monster.Constraint.OrOperator();
|
|
1488
1488
|
* </script>
|
|
1489
1489
|
* ```
|
|
@@ -1492,16 +1492,16 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
|
1492
1492
|
*
|
|
1493
1493
|
* ```
|
|
1494
1494
|
* <script type="module">
|
|
1495
|
-
* import {OrOperator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
1495
|
+
* import {OrOperator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/modules/constraint/oroperator.js';
|
|
1496
1496
|
* new OrOperator();
|
|
1497
1497
|
* </script>
|
|
1498
1498
|
* ```
|
|
1499
1499
|
*
|
|
1500
1500
|
* @example
|
|
1501
1501
|
*
|
|
1502
|
-
* import {Valid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
1503
|
-
* import {Invalid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
1504
|
-
* import {OrOperator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
1502
|
+
* import {Valid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/modules/constraints/valid.js';
|
|
1503
|
+
* import {Invalid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/modules/constraints/invalid.js';
|
|
1504
|
+
* import {OrOperator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/modules/constraints/oroperator.js';
|
|
1505
1505
|
*
|
|
1506
1506
|
* new OrOperator(
|
|
1507
1507
|
* new Valid(), new Invalid()).isValid()
|
|
@@ -1626,7 +1626,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
|
1626
1626
|
*
|
|
1627
1627
|
* ```
|
|
1628
1628
|
* <script type="module">
|
|
1629
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
1629
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/monster.js';
|
|
1630
1630
|
* new Monster.Constraint.Valid();
|
|
1631
1631
|
* </script>
|
|
1632
1632
|
* ```
|
|
@@ -1635,14 +1635,14 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
|
1635
1635
|
*
|
|
1636
1636
|
* ```
|
|
1637
1637
|
* <script type="module">
|
|
1638
|
-
* import {Valid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
1638
|
+
* import {Valid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/modules/constraints/valid.js';
|
|
1639
1639
|
* new Valid();
|
|
1640
1640
|
* </script>
|
|
1641
1641
|
* ```
|
|
1642
1642
|
*
|
|
1643
1643
|
* @example
|
|
1644
1644
|
*
|
|
1645
|
-
* import {Valid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
1645
|
+
* import {Valid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/modules/constraints/valid.js';
|
|
1646
1646
|
*
|
|
1647
1647
|
* new Valid().isValid()
|
|
1648
1648
|
* .then(()=>console.log(true))
|
|
@@ -1757,7 +1757,7 @@ var PARENT = '^';
|
|
|
1757
1757
|
*
|
|
1758
1758
|
* ```
|
|
1759
1759
|
* <script type="module">
|
|
1760
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
1760
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/monster.js';
|
|
1761
1761
|
* console.log(Monster.Data.buildMap())
|
|
1762
1762
|
* </script>
|
|
1763
1763
|
* ```
|
|
@@ -1766,7 +1766,7 @@ var PARENT = '^';
|
|
|
1766
1766
|
*
|
|
1767
1767
|
* ```
|
|
1768
1768
|
* <script type="module">
|
|
1769
|
-
* import {buildMap} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
1769
|
+
* import {buildMap} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/modules/data/buildmap.js';
|
|
1770
1770
|
* console.log(buildMap())
|
|
1771
1771
|
* </script>
|
|
1772
1772
|
* ```
|
|
@@ -1777,7 +1777,7 @@ var PARENT = '^';
|
|
|
1777
1777
|
*
|
|
1778
1778
|
* @example
|
|
1779
1779
|
*
|
|
1780
|
-
* import {buildMap} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
1780
|
+
* import {buildMap} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/modules/data/buildmap.js';
|
|
1781
1781
|
* // a typical data structure as reported by an api
|
|
1782
1782
|
*
|
|
1783
1783
|
* let map;
|
|
@@ -2008,7 +2008,7 @@ function buildFlatMap(subject, selector, key, parentMap) {
|
|
|
2008
2008
|
* Alternatively to a string selector a callback can be specified. this must return a map.
|
|
2009
2009
|
*
|
|
2010
2010
|
* @example
|
|
2011
|
-
* import {buildMap} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
2011
|
+
* import {buildMap} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/modules/data/buildmap.js';
|
|
2012
2012
|
*
|
|
2013
2013
|
* let obj = {
|
|
2014
2014
|
* "data": [
|
|
@@ -2211,7 +2211,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
2211
2211
|
*
|
|
2212
2212
|
* ```
|
|
2213
2213
|
* <script type="module">
|
|
2214
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
2214
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/monster.js';
|
|
2215
2215
|
* console.log(Monster.Types.validateIterable('2')) // ↦ TypeError
|
|
2216
2216
|
* console.log(Monster.Types.validateIterable([])) // ↦ value
|
|
2217
2217
|
* </script>
|
|
@@ -2221,7 +2221,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
2221
2221
|
*
|
|
2222
2222
|
* ```
|
|
2223
2223
|
* <script type="module">
|
|
2224
|
-
* import {validateIterable} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
2224
|
+
* import {validateIterable} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/modules/types/validate.js';
|
|
2225
2225
|
* console.log(validateIterable('2')) // ↦ TypeError
|
|
2226
2226
|
* console.log(validateIterable([])) // ↦ value
|
|
2227
2227
|
* </script>
|
|
@@ -2252,7 +2252,7 @@ function validateIterable(value) {
|
|
|
2252
2252
|
*
|
|
2253
2253
|
* ```
|
|
2254
2254
|
* <script type="module">
|
|
2255
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
2255
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/monster.js';
|
|
2256
2256
|
* console.log(Monster.Types.validatePrimitive('2')) // ↦ value
|
|
2257
2257
|
* console.log(Monster.Types.validatePrimitive([])) // ↦ TypeError
|
|
2258
2258
|
* </script>
|
|
@@ -2262,7 +2262,7 @@ function validateIterable(value) {
|
|
|
2262
2262
|
*
|
|
2263
2263
|
* ```
|
|
2264
2264
|
* <script type="module">
|
|
2265
|
-
* import {validatePrimitive} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
2265
|
+
* import {validatePrimitive} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/modules/types/validate.js';
|
|
2266
2266
|
* console.log(validatePrimitive('2')) // ↦ value
|
|
2267
2267
|
* console.log(validatePrimitive([])) // ↦ TypeError
|
|
2268
2268
|
* </script>
|
|
@@ -2294,7 +2294,7 @@ function validatePrimitive(value) {
|
|
|
2294
2294
|
*
|
|
2295
2295
|
* ```
|
|
2296
2296
|
* <script type="module">
|
|
2297
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
2297
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/monster.js';
|
|
2298
2298
|
* console.log(Monster.Types.validateBoolean(true)) // ↦ value
|
|
2299
2299
|
* console.log(Monster.Types.validateBoolean('2')) // ↦ TypeError
|
|
2300
2300
|
* console.log(Monster.Types.validateBoolean([])) // ↦ TypeError
|
|
@@ -2305,7 +2305,7 @@ function validatePrimitive(value) {
|
|
|
2305
2305
|
*
|
|
2306
2306
|
* ```
|
|
2307
2307
|
* <script type="module">
|
|
2308
|
-
* import {validateBoolean} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
2308
|
+
* import {validateBoolean} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/modules/types/validate.js';
|
|
2309
2309
|
* console.log(validateBoolean(false)) // ↦ value
|
|
2310
2310
|
* console.log(validateBoolean('2')) // ↦ TypeError
|
|
2311
2311
|
* console.log(validateBoolean([])) // ↦ TypeError
|
|
@@ -2336,7 +2336,7 @@ function validateBoolean(value) {
|
|
|
2336
2336
|
*
|
|
2337
2337
|
* ```
|
|
2338
2338
|
* <script type="module">
|
|
2339
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
2339
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/monster.js';
|
|
2340
2340
|
* console.log(Monster.Types.validateString('2')) // ↦ value
|
|
2341
2341
|
* console.log(Monster.Types.validateString([])) // ↦ TypeError
|
|
2342
2342
|
* </script>
|
|
@@ -2346,7 +2346,7 @@ function validateBoolean(value) {
|
|
|
2346
2346
|
*
|
|
2347
2347
|
* ```
|
|
2348
2348
|
* <script type="module">
|
|
2349
|
-
* import {validateString} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
2349
|
+
* import {validateString} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/modules/types/validate.js';
|
|
2350
2350
|
* console.log(validateString('2')) // ↦ value
|
|
2351
2351
|
* console.log(validateString([])) // ↦ TypeError
|
|
2352
2352
|
* </script>
|
|
@@ -2375,7 +2375,7 @@ function validateString(value) {
|
|
|
2375
2375
|
*
|
|
2376
2376
|
* ```
|
|
2377
2377
|
* <script type="module">
|
|
2378
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
2378
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/monster.js';
|
|
2379
2379
|
* console.log(Monster.Types.validateObject({})) // ↦ value
|
|
2380
2380
|
* console.log(Monster.Types.validateObject('2')) // ↦ TypeError
|
|
2381
2381
|
* console.log(Monster.Types.validateObject([])) // ↦ TypeError
|
|
@@ -2386,7 +2386,7 @@ function validateString(value) {
|
|
|
2386
2386
|
*
|
|
2387
2387
|
* ```
|
|
2388
2388
|
* <script type="module">
|
|
2389
|
-
* import {validateObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
2389
|
+
* import {validateObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/modules/types/validate.js';
|
|
2390
2390
|
* console.log(validateObject({})) // ↦ value
|
|
2391
2391
|
* console.log(validateObject('2')) // ↦ TypeError
|
|
2392
2392
|
* console.log(validateObject([])) // ↦ TypeError
|
|
@@ -2416,7 +2416,7 @@ function validateObject(value) {
|
|
|
2416
2416
|
*
|
|
2417
2417
|
* ```
|
|
2418
2418
|
* <script type="module">
|
|
2419
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
2419
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/monster.js';
|
|
2420
2420
|
* console.log(Monster.Types.validateInstance({}, Object)) // ↦ value
|
|
2421
2421
|
* console.log(Monster.Types.validateInstance('2', Object)) // ↦ TypeError
|
|
2422
2422
|
* console.log(Monster.Types.validateInstance([], Object)) // ↦ TypeError
|
|
@@ -2427,7 +2427,7 @@ function validateObject(value) {
|
|
|
2427
2427
|
*
|
|
2428
2428
|
* ```
|
|
2429
2429
|
* <script type="module">
|
|
2430
|
-
* import {validateInstance} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
2430
|
+
* import {validateInstance} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/modules/types/validate.js';
|
|
2431
2431
|
* console.log(validateInstance({}, Object)) // ↦ value
|
|
2432
2432
|
* console.log(validateInstance('2', Object)) // ↦ TypeError
|
|
2433
2433
|
* console.log(validateInstance([], Object)) // ↦ TypeError
|
|
@@ -2467,7 +2467,7 @@ function validateInstance(value, instance) {
|
|
|
2467
2467
|
*
|
|
2468
2468
|
* ```
|
|
2469
2469
|
* <script type="module">
|
|
2470
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
2470
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/monster.js';
|
|
2471
2471
|
* console.log(Monster.Types.validateArray('2')) // ↦ TypeError
|
|
2472
2472
|
* console.log(Monster.Types.validateArray([])) // ↦ value
|
|
2473
2473
|
* </script>
|
|
@@ -2477,7 +2477,7 @@ function validateInstance(value, instance) {
|
|
|
2477
2477
|
*
|
|
2478
2478
|
* ```
|
|
2479
2479
|
* <script type="module">
|
|
2480
|
-
* import {validateArray} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
2480
|
+
* import {validateArray} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/modules/types/validate.js';
|
|
2481
2481
|
* console.log(validateArray('2')) // ↦ TypeError
|
|
2482
2482
|
* console.log(validateArray([])) // ↦ value
|
|
2483
2483
|
* </script>
|
|
@@ -2506,7 +2506,7 @@ function validateArray(value) {
|
|
|
2506
2506
|
*
|
|
2507
2507
|
* ```
|
|
2508
2508
|
* <script type="module">
|
|
2509
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
2509
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/monster.js';
|
|
2510
2510
|
* console.log(Monster.Types.validateSymbol('2')) // ↦ TypeError
|
|
2511
2511
|
* console.log(Monster.Types.validateSymbol([])) // ↦ value
|
|
2512
2512
|
* </script>
|
|
@@ -2516,7 +2516,7 @@ function validateArray(value) {
|
|
|
2516
2516
|
*
|
|
2517
2517
|
* ```
|
|
2518
2518
|
* <script type="module">
|
|
2519
|
-
* import {validateSymbol} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
2519
|
+
* import {validateSymbol} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/modules/types/validate.js';
|
|
2520
2520
|
* console.log(validateSymbol('2')) // ↦ TypeError
|
|
2521
2521
|
* console.log(validateSymbol()) // ↦ value
|
|
2522
2522
|
* </script>
|
|
@@ -2545,7 +2545,7 @@ function validateSymbol(value) {
|
|
|
2545
2545
|
*
|
|
2546
2546
|
* ```
|
|
2547
2547
|
* <script type="module">
|
|
2548
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
2548
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/monster.js';
|
|
2549
2549
|
* console.log(Monster.Types.validateFunction(()=>{})) // ↦ value
|
|
2550
2550
|
* console.log(Monster.Types.validateFunction('2')) // ↦ TypeError
|
|
2551
2551
|
* console.log(Monster.Types.validateFunction([])) // ↦ TypeError
|
|
@@ -2556,7 +2556,7 @@ function validateSymbol(value) {
|
|
|
2556
2556
|
*
|
|
2557
2557
|
* ```
|
|
2558
2558
|
* <script type="module">
|
|
2559
|
-
* import {validateFunction} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
2559
|
+
* import {validateFunction} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/modules/types/validate.js';
|
|
2560
2560
|
* console.log(validateFunction(()=>{})) // ↦ value
|
|
2561
2561
|
* console.log(validateFunction('2')) // ↦ TypeError
|
|
2562
2562
|
* console.log(validateFunction([])) // ↦ TypeError
|
|
@@ -2586,7 +2586,7 @@ function validateFunction(value) {
|
|
|
2586
2586
|
*
|
|
2587
2587
|
* ```
|
|
2588
2588
|
* <script type="module">
|
|
2589
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
2589
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/monster.js';
|
|
2590
2590
|
* console.log(Monster.Types.validateInteger(true)) // ↦ TypeError
|
|
2591
2591
|
* console.log(Monster.Types.validateInteger('2')) // ↦ TypeError
|
|
2592
2592
|
* console.log(Monster.Types.validateInteger(2)) // ↦ value
|
|
@@ -2597,7 +2597,7 @@ function validateFunction(value) {
|
|
|
2597
2597
|
*
|
|
2598
2598
|
* ```
|
|
2599
2599
|
* <script type="module">
|
|
2600
|
-
* import {validateFunction} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
2600
|
+
* import {validateFunction} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/modules/types/validate.js';
|
|
2601
2601
|
* console.log(validateInteger(true)) // ↦ TypeError
|
|
2602
2602
|
* console.log(validateInteger('2')) // ↦ TypeError
|
|
2603
2603
|
* console.log(validateInteger(2)) // ↦ value
|
|
@@ -2663,7 +2663,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "functi
|
|
|
2663
2663
|
*
|
|
2664
2664
|
* ```
|
|
2665
2665
|
* <script type="module">
|
|
2666
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
2666
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/monster.js';
|
|
2667
2667
|
* Monster.Util.clone({})
|
|
2668
2668
|
* </script>
|
|
2669
2669
|
* ```
|
|
@@ -2672,7 +2672,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "functi
|
|
|
2672
2672
|
*
|
|
2673
2673
|
* ```
|
|
2674
2674
|
* <script type="module">
|
|
2675
|
-
* import {clone} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
2675
|
+
* import {clone} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/modules/util/clone.js';
|
|
2676
2676
|
* clone({})
|
|
2677
2677
|
* </script>
|
|
2678
2678
|
* ```
|
|
@@ -2884,7 +2884,7 @@ function getGlobal() {
|
|
|
2884
2884
|
*
|
|
2885
2885
|
* ```
|
|
2886
2886
|
* <script type="module">
|
|
2887
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
2887
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/monster.js';
|
|
2888
2888
|
* Monster.Types.getGlobalObject('document')
|
|
2889
2889
|
* // ↦ { }
|
|
2890
2890
|
* </script>
|
|
@@ -2894,7 +2894,7 @@ function getGlobal() {
|
|
|
2894
2894
|
*
|
|
2895
2895
|
* ```
|
|
2896
2896
|
* <script type="module">
|
|
2897
|
-
* import {getGlobalObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
2897
|
+
* import {getGlobalObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/modules/types/global.js';
|
|
2898
2898
|
* getGlobalObject('document')
|
|
2899
2899
|
* // ↦ { }
|
|
2900
2900
|
* </script>
|
|
@@ -2926,7 +2926,7 @@ function getGlobalObject(name) {
|
|
|
2926
2926
|
*
|
|
2927
2927
|
* ```
|
|
2928
2928
|
* <script type="module">
|
|
2929
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
2929
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/monster.js';
|
|
2930
2930
|
* console.log(Monster.Types.getGlobalFunction('parseInt')) // ↦ f parseInt() { }
|
|
2931
2931
|
* </script>
|
|
2932
2932
|
* ```
|
|
@@ -2935,7 +2935,7 @@ function getGlobalObject(name) {
|
|
|
2935
2935
|
*
|
|
2936
2936
|
* ```
|
|
2937
2937
|
* <script type="module">
|
|
2938
|
-
* import {getGlobalFunction} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
2938
|
+
* import {getGlobalFunction} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/modules/types/global.js';
|
|
2939
2939
|
* console.log(getGlobalFunction('parseInt')) // ↦ f parseInt() { }
|
|
2940
2940
|
* </script>
|
|
2941
2941
|
* ```
|
|
@@ -2986,7 +2986,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
2986
2986
|
*
|
|
2987
2987
|
* ```
|
|
2988
2988
|
* <script type="module">
|
|
2989
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
2989
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/monster.js';
|
|
2990
2990
|
* console.log(Monster.Types.typeOf())
|
|
2991
2991
|
* </script>
|
|
2992
2992
|
* ```
|
|
@@ -2995,14 +2995,14 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
2995
2995
|
*
|
|
2996
2996
|
* ```
|
|
2997
2997
|
* <script type="module">
|
|
2998
|
-
* import {typeOf} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
2998
|
+
* import {typeOf} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/modules/types/typeof.js';
|
|
2999
2999
|
* console.log(typeOf())
|
|
3000
3000
|
* </script>
|
|
3001
3001
|
* ```
|
|
3002
3002
|
*
|
|
3003
3003
|
* @example
|
|
3004
3004
|
*
|
|
3005
|
-
* import {typeOf} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
3005
|
+
* import {typeOf} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/modules/types/typeof.js';
|
|
3006
3006
|
*
|
|
3007
3007
|
* console.log(typeOf(undefined)); // ↦ undefined
|
|
3008
3008
|
* console.log(typeOf("")); // ↦ string
|
|
@@ -3121,7 +3121,7 @@ var WILDCARD = '*';
|
|
|
3121
3121
|
*
|
|
3122
3122
|
* ```
|
|
3123
3123
|
* <script type="module">
|
|
3124
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
3124
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/monster.js';
|
|
3125
3125
|
* console.log(new Monster.Data.Pathfinder())
|
|
3126
3126
|
* </script>
|
|
3127
3127
|
* ```
|
|
@@ -3130,7 +3130,7 @@ var WILDCARD = '*';
|
|
|
3130
3130
|
*
|
|
3131
3131
|
* ```
|
|
3132
3132
|
* <script type="module">
|
|
3133
|
-
* import {Pathfinder} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
3133
|
+
* import {Pathfinder} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/modules/data/pathfinder.js';
|
|
3134
3134
|
* console.log(new Pathfinder())
|
|
3135
3135
|
* </script>
|
|
3136
3136
|
* ```
|
|
@@ -3172,7 +3172,7 @@ var WILDCARD = '*';
|
|
|
3172
3172
|
*
|
|
3173
3173
|
* @example
|
|
3174
3174
|
*
|
|
3175
|
-
* import {Pathfinder} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
3175
|
+
* import {Pathfinder} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/modules/data/pathfinder.js';
|
|
3176
3176
|
*
|
|
3177
3177
|
* let value = new Pathfinder({
|
|
3178
3178
|
* a: {
|
|
@@ -3198,7 +3198,7 @@ var WILDCARD = '*';
|
|
|
3198
3198
|
*
|
|
3199
3199
|
* @example
|
|
3200
3200
|
*
|
|
3201
|
-
* import {Pathfinder} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
3201
|
+
* import {Pathfinder} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/modules/data/pathfinder.js';
|
|
3202
3202
|
*
|
|
3203
3203
|
* let p = new Pathfinder({
|
|
3204
3204
|
* a: {
|
|
@@ -3613,7 +3613,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
|
3613
3613
|
*
|
|
3614
3614
|
* ```
|
|
3615
3615
|
* <script type="module">
|
|
3616
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
3616
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/monster.js';
|
|
3617
3617
|
* console.log(new Monster.Types.Stack())
|
|
3618
3618
|
* </script>
|
|
3619
3619
|
* ```
|
|
@@ -3622,7 +3622,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
|
3622
3622
|
*
|
|
3623
3623
|
* ```
|
|
3624
3624
|
* <script type="module">
|
|
3625
|
-
* import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
3625
|
+
* import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/modules/types/stack.js';
|
|
3626
3626
|
* console.log(new Stack())
|
|
3627
3627
|
* </script>
|
|
3628
3628
|
* ```
|
|
@@ -3757,7 +3757,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "functi
|
|
|
3757
3757
|
*
|
|
3758
3758
|
* ```
|
|
3759
3759
|
* <script type="module">
|
|
3760
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
3760
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/monster.js';
|
|
3761
3761
|
* Monster.Data.Diff(a, b)
|
|
3762
3762
|
* </script>
|
|
3763
3763
|
* ```
|
|
@@ -3766,14 +3766,14 @@ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "functi
|
|
|
3766
3766
|
*
|
|
3767
3767
|
* ```
|
|
3768
3768
|
* <script type="module">
|
|
3769
|
-
* import {Diff} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
3769
|
+
* import {Diff} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/modules/data/diff.js';
|
|
3770
3770
|
* Diff(a, b)
|
|
3771
3771
|
* </script>
|
|
3772
3772
|
* ```
|
|
3773
3773
|
*
|
|
3774
3774
|
* @example
|
|
3775
3775
|
*
|
|
3776
|
-
* import {Diff} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
3776
|
+
* import {Diff} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/modules/data/diff.js';
|
|
3777
3777
|
*
|
|
3778
3778
|
* // given are two objects x and y.
|
|
3779
3779
|
*
|
|
@@ -4019,7 +4019,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
4019
4019
|
*
|
|
4020
4020
|
* ```
|
|
4021
4021
|
* <script type="module">
|
|
4022
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
4022
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/monster.js';
|
|
4023
4023
|
* Monster.Data.extend(a, b)
|
|
4024
4024
|
* </script>
|
|
4025
4025
|
* ```
|
|
@@ -4028,7 +4028,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
4028
4028
|
*
|
|
4029
4029
|
* ```
|
|
4030
4030
|
* <script type="module">
|
|
4031
|
-
* import {extend} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
4031
|
+
* import {extend} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/modules/data/extend.js';
|
|
4032
4032
|
* extend(a, b)
|
|
4033
4033
|
* </script>
|
|
4034
4034
|
* ```
|
|
@@ -4157,7 +4157,7 @@ var DELIMITER = '|';
|
|
|
4157
4157
|
*
|
|
4158
4158
|
* ```
|
|
4159
4159
|
* <script type="module">
|
|
4160
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
4160
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/monster.js';
|
|
4161
4161
|
* new Monster.Data.Pipe()
|
|
4162
4162
|
* </script>
|
|
4163
4163
|
* ```
|
|
@@ -4166,7 +4166,7 @@ var DELIMITER = '|';
|
|
|
4166
4166
|
*
|
|
4167
4167
|
* ```
|
|
4168
4168
|
* <script type="module">
|
|
4169
|
-
* import {Pipe} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
4169
|
+
* import {Pipe} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/modules/data/pipe.js';
|
|
4170
4170
|
* new Pipe()
|
|
4171
4171
|
* </script>
|
|
4172
4172
|
* ```
|
|
@@ -4177,7 +4177,7 @@ var DELIMITER = '|';
|
|
|
4177
4177
|
* the word is then converted to uppercase letters and a prefix Hello is added. the two backslash safe the space char.
|
|
4178
4178
|
*
|
|
4179
4179
|
* @example
|
|
4180
|
-
* import {Pipe} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
4180
|
+
* import {Pipe} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/modules/data/pipe.js';
|
|
4181
4181
|
*
|
|
4182
4182
|
* let obj = {
|
|
4183
4183
|
* a: {
|
|
@@ -4339,7 +4339,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
|
4339
4339
|
*
|
|
4340
4340
|
* ```
|
|
4341
4341
|
* <script type="module">
|
|
4342
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
4342
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/monster.js';
|
|
4343
4343
|
* new Monster.Data.Transformer()
|
|
4344
4344
|
* </script>
|
|
4345
4345
|
* ```
|
|
@@ -4348,7 +4348,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
|
4348
4348
|
*
|
|
4349
4349
|
* ```
|
|
4350
4350
|
* <script type="module">
|
|
4351
|
-
* import {Transformer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
4351
|
+
* import {Transformer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/modules/data/transformer.js';
|
|
4352
4352
|
* new Transformer()
|
|
4353
4353
|
* </script>
|
|
4354
4354
|
* ```
|
|
@@ -4434,7 +4434,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
|
4434
4434
|
*
|
|
4435
4435
|
* @example
|
|
4436
4436
|
*
|
|
4437
|
-
* import {Transformer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
4437
|
+
* import {Transformer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/modules/data/transformer.js';
|
|
4438
4438
|
*
|
|
4439
4439
|
* const transformer = new Transformer("tolower")
|
|
4440
4440
|
*
|
|
@@ -4967,7 +4967,7 @@ var internalCounter = new Map();
|
|
|
4967
4967
|
*
|
|
4968
4968
|
* ```
|
|
4969
4969
|
* <script type="module">
|
|
4970
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
4970
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/monster.js';
|
|
4971
4971
|
* console.log(new Monster.Types.ID())
|
|
4972
4972
|
* </script>
|
|
4973
4973
|
* ```
|
|
@@ -4976,7 +4976,7 @@ var internalCounter = new Map();
|
|
|
4976
4976
|
*
|
|
4977
4977
|
* ```
|
|
4978
4978
|
* <script type="module">
|
|
4979
|
-
* import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
4979
|
+
* import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/modules/types/id.js';
|
|
4980
4980
|
* console.log(new ID())
|
|
4981
4981
|
* </script>
|
|
4982
4982
|
* ```
|
|
@@ -5099,7 +5099,7 @@ var ATTRIBUTEPREFIX = "data-monster-";
|
|
|
5099
5099
|
*
|
|
5100
5100
|
* ```
|
|
5101
5101
|
* <script type="module">
|
|
5102
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
5102
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/monster.js';
|
|
5103
5103
|
* console.log(new Monster.DOM.Assembler())
|
|
5104
5104
|
* </script>
|
|
5105
5105
|
* ```
|
|
@@ -5108,7 +5108,7 @@ var ATTRIBUTEPREFIX = "data-monster-";
|
|
|
5108
5108
|
*
|
|
5109
5109
|
* ```
|
|
5110
5110
|
* <script type="module">
|
|
5111
|
-
* import {Assembler} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
5111
|
+
* import {Assembler} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/modules/dom/assembler.js';
|
|
5112
5112
|
* console.log(new Assembler())
|
|
5113
5113
|
* </script>
|
|
5114
5114
|
* ```
|
|
@@ -5249,7 +5249,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
|
5249
5249
|
*
|
|
5250
5250
|
* ```
|
|
5251
5251
|
* <script type="module">
|
|
5252
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
5252
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/monster.js';
|
|
5253
5253
|
* new Monster.Types.ProxyObserver()
|
|
5254
5254
|
* </script>
|
|
5255
5255
|
* ```
|
|
@@ -5258,7 +5258,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
|
5258
5258
|
*
|
|
5259
5259
|
* ```
|
|
5260
5260
|
* <script type="module">
|
|
5261
|
-
* import {ProxyObserver} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
5261
|
+
* import {ProxyObserver} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/modules/types/proxyobserver.js';
|
|
5262
5262
|
* new ProxyObserver()
|
|
5263
5263
|
* </script>
|
|
5264
5264
|
* ```
|
|
@@ -5269,9 +5269,9 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
|
5269
5269
|
*
|
|
5270
5270
|
* @example
|
|
5271
5271
|
*
|
|
5272
|
-
* import {ProxyObserver} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
5273
|
-
* import {Observer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
5274
|
-
* import {isObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
5272
|
+
* import {ProxyObserver} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/modules/types/proxyobserver.js';
|
|
5273
|
+
* import {Observer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/modules/types/observer.js';
|
|
5274
|
+
* import {isObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/modules/types/is.js';
|
|
5275
5275
|
*
|
|
5276
5276
|
* const o = new Observer(function () {
|
|
5277
5277
|
* if (isObject(this) && this instanceof ProxyObserver) {
|
|
@@ -5596,14 +5596,14 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
|
5596
5596
|
* You can call the method via the monster namespace `new Monster.Types.Observer()`.
|
|
5597
5597
|
*
|
|
5598
5598
|
* ```
|
|
5599
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
5599
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/monster.js';
|
|
5600
5600
|
* new Monster.Types.Observer()
|
|
5601
5601
|
* ```
|
|
5602
5602
|
*
|
|
5603
5603
|
* Alternatively, you can also integrate this function individually.
|
|
5604
5604
|
*
|
|
5605
5605
|
* ```
|
|
5606
|
-
* import {Observer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
5606
|
+
* import {Observer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/modules/types/observer.js';
|
|
5607
5607
|
* new Observer()
|
|
5608
5608
|
* ```
|
|
5609
5609
|
*
|
|
@@ -5632,7 +5632,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
|
5632
5632
|
*
|
|
5633
5633
|
* @example
|
|
5634
5634
|
*
|
|
5635
|
-
* import {Observer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
5635
|
+
* import {Observer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/modules/types/observer.js';
|
|
5636
5636
|
*
|
|
5637
5637
|
* const observer = new Observer(function(a, b, c) {
|
|
5638
5638
|
* console.log(this, a, b, c); // ↦ "a", 2, true
|
|
@@ -5832,7 +5832,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
|
5832
5832
|
*
|
|
5833
5833
|
* ```
|
|
5834
5834
|
* <script type="module">
|
|
5835
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
5835
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/monster.js';
|
|
5836
5836
|
* new Monster.Types.TokenList("myclass row")
|
|
5837
5837
|
* </script>
|
|
5838
5838
|
* ```
|
|
@@ -5841,7 +5841,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
|
5841
5841
|
*
|
|
5842
5842
|
* ```
|
|
5843
5843
|
* <script type="module">
|
|
5844
|
-
* import {TokenList} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
5844
|
+
* import {TokenList} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/modules/types/tokenlist.js';
|
|
5845
5845
|
* new TokenList("myclass row")
|
|
5846
5846
|
* </script>
|
|
5847
5847
|
* ```
|
|
@@ -6264,7 +6264,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
|
6264
6264
|
*
|
|
6265
6265
|
* ```
|
|
6266
6266
|
* <script type="module">
|
|
6267
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
6267
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/monster.js';
|
|
6268
6268
|
* new Monster.Types.UniqueQueue()
|
|
6269
6269
|
* </script>
|
|
6270
6270
|
* ```
|
|
@@ -6273,7 +6273,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
|
6273
6273
|
*
|
|
6274
6274
|
* ```
|
|
6275
6275
|
* <script type="module">
|
|
6276
|
-
* import {UniqueQueue} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
6276
|
+
* import {UniqueQueue} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/modules/types/uniquequeue.js';
|
|
6277
6277
|
* new UniqueQueue()
|
|
6278
6278
|
* </script>
|
|
6279
6279
|
* ```
|
|
@@ -6408,7 +6408,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
|
6408
6408
|
*
|
|
6409
6409
|
* ```
|
|
6410
6410
|
* <script type="module">
|
|
6411
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
6411
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/monster.js';
|
|
6412
6412
|
* new Monster.Types.Queue()
|
|
6413
6413
|
* </script>
|
|
6414
6414
|
* ```
|
|
@@ -6417,14 +6417,14 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
|
6417
6417
|
*
|
|
6418
6418
|
* ```
|
|
6419
6419
|
* <script type="module">
|
|
6420
|
-
* import {Queue} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
6420
|
+
* import {Queue} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/modules/types/queue.js';
|
|
6421
6421
|
* new Queue()
|
|
6422
6422
|
* </script>
|
|
6423
6423
|
* ```
|
|
6424
6424
|
*
|
|
6425
6425
|
* @example
|
|
6426
6426
|
*
|
|
6427
|
-
* import {Queue} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
6427
|
+
* import {Queue} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/modules/types/queue.js';
|
|
6428
6428
|
*
|
|
6429
6429
|
* const queue = new Queue;
|
|
6430
6430
|
*
|
|
@@ -6593,7 +6593,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
|
6593
6593
|
*
|
|
6594
6594
|
* ```
|
|
6595
6595
|
* <script type="module">
|
|
6596
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
6596
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/monster.js';
|
|
6597
6597
|
* console.log(new Monster.Types.ObserverList())
|
|
6598
6598
|
* console.log(new Monster.Types.ObserverList())
|
|
6599
6599
|
* </script>
|
|
@@ -6603,7 +6603,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
|
6603
6603
|
*
|
|
6604
6604
|
* ```
|
|
6605
6605
|
* <script type="module">
|
|
6606
|
-
* import {ObserverList} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
6606
|
+
* import {ObserverList} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/modules/types/observerlist.js';
|
|
6607
6607
|
* console.log(ObserverList())
|
|
6608
6608
|
* console.log(ObserverList())
|
|
6609
6609
|
* </script>
|
|
@@ -6763,7 +6763,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
6763
6763
|
*
|
|
6764
6764
|
* ```
|
|
6765
6765
|
* <script type="module">
|
|
6766
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
6766
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/monster.js';
|
|
6767
6767
|
* console.log(Monster.DOM.findClosestObjectLink())
|
|
6768
6768
|
* </script>
|
|
6769
6769
|
* ```
|
|
@@ -6772,7 +6772,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
6772
6772
|
*
|
|
6773
6773
|
* ```
|
|
6774
6774
|
* <script type="module">
|
|
6775
|
-
* import {getUpdaterFromNode} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
6775
|
+
* import {getUpdaterFromNode} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/modules/dom/updater.js';
|
|
6776
6776
|
* console.log(findClosestObjectLink())
|
|
6777
6777
|
* </script>
|
|
6778
6778
|
* ```
|
|
@@ -6793,7 +6793,7 @@ function findClosestObjectLink(element) {
|
|
|
6793
6793
|
*
|
|
6794
6794
|
* ```
|
|
6795
6795
|
* <script type="module">
|
|
6796
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
6796
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/monster.js';
|
|
6797
6797
|
* Monster.DOM.addToObjectLink();
|
|
6798
6798
|
* </script>
|
|
6799
6799
|
* ```
|
|
@@ -6802,7 +6802,7 @@ function findClosestObjectLink(element) {
|
|
|
6802
6802
|
*
|
|
6803
6803
|
* ```
|
|
6804
6804
|
* <script type="module">
|
|
6805
|
-
* import {addToObjectLink} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
6805
|
+
* import {addToObjectLink} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/modules/dom/attributes.js';
|
|
6806
6806
|
* addToObjectLink();
|
|
6807
6807
|
* </script>
|
|
6808
6808
|
* ```
|
|
@@ -6834,7 +6834,7 @@ function addToObjectLink(element, symbol, object) {
|
|
|
6834
6834
|
*
|
|
6835
6835
|
* ```
|
|
6836
6836
|
* <script type="module">
|
|
6837
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
6837
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/monster.js';
|
|
6838
6838
|
* Monster.DOM.removeObjectLink();
|
|
6839
6839
|
* </script>
|
|
6840
6840
|
* ```
|
|
@@ -6843,7 +6843,7 @@ function addToObjectLink(element, symbol, object) {
|
|
|
6843
6843
|
*
|
|
6844
6844
|
* ```
|
|
6845
6845
|
* <script type="module">
|
|
6846
|
-
* import {removeObjectLink} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
6846
|
+
* import {removeObjectLink} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/modules/dom/attributes.js';
|
|
6847
6847
|
* removeObjectLink();
|
|
6848
6848
|
* </script>
|
|
6849
6849
|
* ```
|
|
@@ -6874,7 +6874,7 @@ function removeObjectLink(element, symbol) {
|
|
|
6874
6874
|
*
|
|
6875
6875
|
* ```
|
|
6876
6876
|
* <script type="module">
|
|
6877
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
6877
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/monster.js';
|
|
6878
6878
|
* Monster.DOM.hasObjectLink();
|
|
6879
6879
|
* </script>
|
|
6880
6880
|
* ```
|
|
@@ -6883,7 +6883,7 @@ function removeObjectLink(element, symbol) {
|
|
|
6883
6883
|
*
|
|
6884
6884
|
* ```
|
|
6885
6885
|
* <script type="module">
|
|
6886
|
-
* import {hasObjectLink} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
6886
|
+
* import {hasObjectLink} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/modules/dom/attributes.js';
|
|
6887
6887
|
* hasObjectLink();
|
|
6888
6888
|
* </script>
|
|
6889
6889
|
* ```
|
|
@@ -6919,7 +6919,7 @@ function hasObjectLink(element, symbol) {
|
|
|
6919
6919
|
*
|
|
6920
6920
|
* ```
|
|
6921
6921
|
* <script type="module">
|
|
6922
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
6922
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/monster.js';
|
|
6923
6923
|
* Monster.DOM.getLinkedObjects();
|
|
6924
6924
|
* </script>
|
|
6925
6925
|
* ```
|
|
@@ -6928,7 +6928,7 @@ function hasObjectLink(element, symbol) {
|
|
|
6928
6928
|
*
|
|
6929
6929
|
* ```
|
|
6930
6930
|
* <script type="module">
|
|
6931
|
-
* import {getLinkedObjects} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
6931
|
+
* import {getLinkedObjects} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/modules/dom/attributes.js';
|
|
6932
6932
|
* getLinkedObjects();
|
|
6933
6933
|
* </script>
|
|
6934
6934
|
* ```
|
|
@@ -6962,7 +6962,7 @@ function getLinkedObjects(element, symbol) {
|
|
|
6962
6962
|
*
|
|
6963
6963
|
* ```
|
|
6964
6964
|
* <script type="module">
|
|
6965
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
6965
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/monster.js';
|
|
6966
6966
|
* Monster.DOM.toggleAttributeToken();
|
|
6967
6967
|
* </script>
|
|
6968
6968
|
* ```
|
|
@@ -6971,7 +6971,7 @@ function getLinkedObjects(element, symbol) {
|
|
|
6971
6971
|
*
|
|
6972
6972
|
* ```
|
|
6973
6973
|
* <script type="module">
|
|
6974
|
-
* import {toggleAttributeToken} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
6974
|
+
* import {toggleAttributeToken} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/modules/dom/attributes.js';
|
|
6975
6975
|
* toggleAttributeToken();
|
|
6976
6976
|
* </script>
|
|
6977
6977
|
* ```
|
|
@@ -7006,7 +7006,7 @@ function toggleAttributeToken(element, key, token) {
|
|
|
7006
7006
|
*
|
|
7007
7007
|
* ```
|
|
7008
7008
|
* <script type="module">
|
|
7009
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
7009
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/monster.js';
|
|
7010
7010
|
* Monster.DOM.addAttributeToken();
|
|
7011
7011
|
* </script>
|
|
7012
7012
|
* ```
|
|
@@ -7015,7 +7015,7 @@ function toggleAttributeToken(element, key, token) {
|
|
|
7015
7015
|
*
|
|
7016
7016
|
* ```
|
|
7017
7017
|
* <script type="module">
|
|
7018
|
-
* import {addAttributeToken} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
7018
|
+
* import {addAttributeToken} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/modules/dom/attributes.js';
|
|
7019
7019
|
* addAttributeToken();
|
|
7020
7020
|
* </script>
|
|
7021
7021
|
* ```
|
|
@@ -7052,7 +7052,7 @@ function addAttributeToken(element, key, token) {
|
|
|
7052
7052
|
*
|
|
7053
7053
|
* ```
|
|
7054
7054
|
* <script type="module">
|
|
7055
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
7055
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/monster.js';
|
|
7056
7056
|
* Monster.DOM.removeAttributeToken();
|
|
7057
7057
|
* </script>
|
|
7058
7058
|
* ```
|
|
@@ -7061,7 +7061,7 @@ function addAttributeToken(element, key, token) {
|
|
|
7061
7061
|
*
|
|
7062
7062
|
* ```
|
|
7063
7063
|
* <script type="module">
|
|
7064
|
-
* import {removeAttributeToken} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
7064
|
+
* import {removeAttributeToken} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/modules/dom/attributes.js';
|
|
7065
7065
|
* removeAttributeToken();
|
|
7066
7066
|
* </script>
|
|
7067
7067
|
* ```
|
|
@@ -7097,7 +7097,7 @@ function removeAttributeToken(element, key, token) {
|
|
|
7097
7097
|
*
|
|
7098
7098
|
* ```
|
|
7099
7099
|
* <script type="module">
|
|
7100
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
7100
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/monster.js';
|
|
7101
7101
|
* Monster.DOM.containsAttributeToken();
|
|
7102
7102
|
* </script>
|
|
7103
7103
|
* ```
|
|
@@ -7106,7 +7106,7 @@ function removeAttributeToken(element, key, token) {
|
|
|
7106
7106
|
*
|
|
7107
7107
|
* ```
|
|
7108
7108
|
* <script type="module">
|
|
7109
|
-
* import {containsAttributeToken} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
7109
|
+
* import {containsAttributeToken} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/modules/dom/attributes.js';
|
|
7110
7110
|
* containsAttributeToken();
|
|
7111
7111
|
* </script>
|
|
7112
7112
|
* ```
|
|
@@ -7139,7 +7139,7 @@ function containsAttributeToken(element, key, token) {
|
|
|
7139
7139
|
*
|
|
7140
7140
|
* ```
|
|
7141
7141
|
* <script type="module">
|
|
7142
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
7142
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/monster.js';
|
|
7143
7143
|
* Monster.DOM.replaceAttributeToken();
|
|
7144
7144
|
* </script>
|
|
7145
7145
|
* ```
|
|
@@ -7148,7 +7148,7 @@ function containsAttributeToken(element, key, token) {
|
|
|
7148
7148
|
*
|
|
7149
7149
|
* ```
|
|
7150
7150
|
* <script type="module">
|
|
7151
|
-
* import {replaceAttributeToken} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
7151
|
+
* import {replaceAttributeToken} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/modules/dom/attributes.js';
|
|
7152
7152
|
* replaceAttributeToken();
|
|
7153
7153
|
* </script>
|
|
7154
7154
|
* ```
|
|
@@ -7184,7 +7184,7 @@ function replaceAttributeToken(element, key, from, to) {
|
|
|
7184
7184
|
*
|
|
7185
7185
|
* ```
|
|
7186
7186
|
* <script type="module">
|
|
7187
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
7187
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/monster.js';
|
|
7188
7188
|
* Monster.DOM.clearAttributeTokens();
|
|
7189
7189
|
* </script>
|
|
7190
7190
|
* ```
|
|
@@ -7193,7 +7193,7 @@ function replaceAttributeToken(element, key, from, to) {
|
|
|
7193
7193
|
*
|
|
7194
7194
|
* ```
|
|
7195
7195
|
* <script type="module">
|
|
7196
|
-
* import {clearAttributeTokens} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
7196
|
+
* import {clearAttributeTokens} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/modules/dom/attributes.js';
|
|
7197
7197
|
* clearAttributeTokens();
|
|
7198
7198
|
* </script>
|
|
7199
7199
|
* ```
|
|
@@ -7241,7 +7241,7 @@ function clearAttributeTokens(element, key) {
|
|
|
7241
7241
|
*
|
|
7242
7242
|
* ```
|
|
7243
7243
|
* <script type="module">
|
|
7244
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
7244
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/monster.js';
|
|
7245
7245
|
* Monster.DOM.findClosestByAttribute();
|
|
7246
7246
|
* </script>
|
|
7247
7247
|
* ```
|
|
@@ -7250,7 +7250,7 @@ function clearAttributeTokens(element, key) {
|
|
|
7250
7250
|
*
|
|
7251
7251
|
* ```
|
|
7252
7252
|
* <script type="module">
|
|
7253
|
-
* import {findClosestByAttribute} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
7253
|
+
* import {findClosestByAttribute} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/modules/dom/attributes.js';
|
|
7254
7254
|
* findClosestByAttribute();
|
|
7255
7255
|
* </script>
|
|
7256
7256
|
* ```
|
|
@@ -7308,7 +7308,7 @@ function findClosestByAttribute(element, key, value) {
|
|
|
7308
7308
|
*
|
|
7309
7309
|
* ```
|
|
7310
7310
|
* <script type="module">
|
|
7311
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
7311
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/monster.js';
|
|
7312
7312
|
* Monster.DOM.findClosestByClass();
|
|
7313
7313
|
* </script>
|
|
7314
7314
|
* ```
|
|
@@ -7317,7 +7317,7 @@ function findClosestByAttribute(element, key, value) {
|
|
|
7317
7317
|
*
|
|
7318
7318
|
* ```
|
|
7319
7319
|
* <script type="module">
|
|
7320
|
-
* import {findClosestByClass} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
7320
|
+
* import {findClosestByClass} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/modules/dom/attributes.js';
|
|
7321
7321
|
* findClosestByClass();
|
|
7322
7322
|
* </script>
|
|
7323
7323
|
* ```
|
|
@@ -7861,7 +7861,7 @@ var attachedInternalSymbol = Symbol('attachedInternal');
|
|
|
7861
7861
|
*
|
|
7862
7862
|
* ```
|
|
7863
7863
|
* <script type="module">
|
|
7864
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
7864
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/monster.js';
|
|
7865
7865
|
* document.createElement('monster-')
|
|
7866
7866
|
* </script>
|
|
7867
7867
|
* ```
|
|
@@ -8397,7 +8397,7 @@ var attributeObserverSymbol = Symbol('attributeObserver');
|
|
|
8397
8397
|
*
|
|
8398
8398
|
* ```
|
|
8399
8399
|
* <script type="module">
|
|
8400
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
8400
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/monster.js';
|
|
8401
8401
|
* document.createElement('monster-')
|
|
8402
8402
|
* </script>
|
|
8403
8403
|
* ```
|
|
@@ -8510,7 +8510,7 @@ var CustomElement = /*#__PURE__*/function (_HTMLElement) {
|
|
|
8510
8510
|
|
|
8511
8511
|
_this = _super.call(this);
|
|
8512
8512
|
_this[_constants_js__WEBPACK_IMPORTED_MODULE_0__.internalSymbol] = new _types_proxyobserver_js__WEBPACK_IMPORTED_MODULE_8__.ProxyObserver({
|
|
8513
|
-
'options': (0,_data_extend_js__WEBPACK_IMPORTED_MODULE_1__.extend)({}, _this.defaults
|
|
8513
|
+
'options': (0,_data_extend_js__WEBPACK_IMPORTED_MODULE_1__.extend)({}, _this.defaults)
|
|
8514
8514
|
});
|
|
8515
8515
|
_this[attributeObserverSymbol] = {};
|
|
8516
8516
|
initOptionObserver.call(_assertThisInitialized(_this));
|
|
@@ -8555,11 +8555,11 @@ var CustomElement = /*#__PURE__*/function (_HTMLElement) {
|
|
|
8555
8555
|
* }
|
|
8556
8556
|
* })),'application/json',true).toString()
|
|
8557
8557
|
* ```
|
|
8558
|
-
*
|
|
8558
|
+
*
|
|
8559
8559
|
* The attribute data-monster-options-selector can be used to access a script tag that contains additional configuration.
|
|
8560
|
-
*
|
|
8560
|
+
*
|
|
8561
8561
|
* As value a selector must be specified, which belongs to a script tag and contains the configuration as json.
|
|
8562
|
-
*
|
|
8562
|
+
*
|
|
8563
8563
|
* ```
|
|
8564
8564
|
* <script id="id-for-this-config" type="application/json">
|
|
8565
8565
|
* {
|
|
@@ -8567,7 +8567,7 @@ var CustomElement = /*#__PURE__*/function (_HTMLElement) {
|
|
|
8567
8567
|
* }
|
|
8568
8568
|
* </script>
|
|
8569
8569
|
* ```
|
|
8570
|
-
*
|
|
8570
|
+
*
|
|
8571
8571
|
*
|
|
8572
8572
|
* @property {boolean} disabled=false Object The Boolean disabled attribute, when present, makes the element not mutable, focusable, or even submitted with the form.
|
|
8573
8573
|
* @property {string} shadowMode=open `open` Elements of the shadow root are accessible from JavaScript outside the root, for example using. `close` Denies access to the node(s) of a closed shadow root from JavaScript outside it
|
|
@@ -8711,6 +8711,17 @@ var CustomElement = /*#__PURE__*/function (_HTMLElement) {
|
|
|
8711
8711
|
value: function value() {
|
|
8712
8712
|
var self = this;
|
|
8713
8713
|
var elements, nodeList;
|
|
8714
|
+
var AttributeOptions = getOptionsFromAttributes.call(self);
|
|
8715
|
+
|
|
8716
|
+
if ((0,_types_is_js__WEBPACK_IMPORTED_MODULE_6__.isObject)(AttributeOptions) && Object.keys(AttributeOptions).length > 0) {
|
|
8717
|
+
self.setOptions(AttributeOptions);
|
|
8718
|
+
}
|
|
8719
|
+
|
|
8720
|
+
var ScriptOptions = getOptionsFromScriptTag.call(self);
|
|
8721
|
+
|
|
8722
|
+
if ((0,_types_is_js__WEBPACK_IMPORTED_MODULE_6__.isObject)(ScriptOptions) && Object.keys(ScriptOptions).length > 0) {
|
|
8723
|
+
self.setOptions(ScriptOptions);
|
|
8724
|
+
}
|
|
8714
8725
|
|
|
8715
8726
|
if (self.getOption('shadowMode', false) !== false) {
|
|
8716
8727
|
try {
|
|
@@ -9044,7 +9055,16 @@ function initOptionObserver() {
|
|
|
9044
9055
|
self[attributeObserverSymbol][_constants_js__WEBPACK_IMPORTED_MODULE_12__.ATTRIBUTE_OPTIONS] = function () {
|
|
9045
9056
|
var options = getOptionsFromAttributes.call(self);
|
|
9046
9057
|
|
|
9047
|
-
if ((0,_types_is_js__WEBPACK_IMPORTED_MODULE_6__.isObject)(options)) {
|
|
9058
|
+
if ((0,_types_is_js__WEBPACK_IMPORTED_MODULE_6__.isObject)(options) && Object.keys(options).length > 0) {
|
|
9059
|
+
self.setOptions(options);
|
|
9060
|
+
}
|
|
9061
|
+
}; // data-monster-options-selector
|
|
9062
|
+
|
|
9063
|
+
|
|
9064
|
+
self[attributeObserverSymbol][_constants_js__WEBPACK_IMPORTED_MODULE_12__.ATTRIBUTE_OPTIONS_SELECTOR] = function () {
|
|
9065
|
+
var options = getOptionsFromScriptTag.call(self);
|
|
9066
|
+
|
|
9067
|
+
if ((0,_types_is_js__WEBPACK_IMPORTED_MODULE_6__.isObject)(options) && Object.keys(options).length > 0) {
|
|
9048
9068
|
self.setOptions(options);
|
|
9049
9069
|
}
|
|
9050
9070
|
};
|
|
@@ -9372,7 +9392,7 @@ var internal = Symbol('internal');
|
|
|
9372
9392
|
*
|
|
9373
9393
|
* ```
|
|
9374
9394
|
* <script type="module">
|
|
9375
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
9395
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/monster.js';
|
|
9376
9396
|
* new Monster.Types.DataUrl()
|
|
9377
9397
|
* </script>
|
|
9378
9398
|
* ```
|
|
@@ -9381,7 +9401,7 @@ var internal = Symbol('internal');
|
|
|
9381
9401
|
*
|
|
9382
9402
|
* ```
|
|
9383
9403
|
* <script type="module">
|
|
9384
|
-
* import {DataUrl} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
9404
|
+
* import {DataUrl} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/modules/types/dataurl.js';
|
|
9385
9405
|
* new DataUrl()
|
|
9386
9406
|
* </script>
|
|
9387
9407
|
* ```
|
|
@@ -9461,7 +9481,7 @@ var DataUrl = /*#__PURE__*/function (_Base) {
|
|
|
9461
9481
|
*
|
|
9462
9482
|
* ```
|
|
9463
9483
|
* <script type="module">
|
|
9464
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
9484
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/monster.js';
|
|
9465
9485
|
* console.log(Monster.Types.parseDataURL())
|
|
9466
9486
|
* </script>
|
|
9467
9487
|
* ```
|
|
@@ -9470,7 +9490,7 @@ var DataUrl = /*#__PURE__*/function (_Base) {
|
|
|
9470
9490
|
*
|
|
9471
9491
|
* ```
|
|
9472
9492
|
* <script type="module">
|
|
9473
|
-
* import {parseDataURL} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
9493
|
+
* import {parseDataURL} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/modules/types/dataurl.js';
|
|
9474
9494
|
* console.log(parseDataURL())
|
|
9475
9495
|
* </script>
|
|
9476
9496
|
* ```
|
|
@@ -9608,7 +9628,7 @@ var internal = Symbol('internal');
|
|
|
9608
9628
|
*
|
|
9609
9629
|
* ```
|
|
9610
9630
|
* <script type="module">
|
|
9611
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
9631
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/monster.js';
|
|
9612
9632
|
* console.log(new Monster.Types.MediaType())
|
|
9613
9633
|
* </script>
|
|
9614
9634
|
* ```
|
|
@@ -9617,7 +9637,7 @@ var internal = Symbol('internal');
|
|
|
9617
9637
|
*
|
|
9618
9638
|
* ```
|
|
9619
9639
|
* <script type="module">
|
|
9620
|
-
* import {MediaType} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
9640
|
+
* import {MediaType} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/modules/types/mediatype.js';
|
|
9621
9641
|
* console.log(new MediaType())
|
|
9622
9642
|
* </script>
|
|
9623
9643
|
* ```
|
|
@@ -9735,7 +9755,7 @@ var MediaType = /*#__PURE__*/function (_Base) {
|
|
|
9735
9755
|
*
|
|
9736
9756
|
* ```
|
|
9737
9757
|
* <script type="module">
|
|
9738
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
9758
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/monster.js';
|
|
9739
9759
|
* console.log(Monster.Types.parseMediaType())
|
|
9740
9760
|
* </script>
|
|
9741
9761
|
* ```
|
|
@@ -9744,7 +9764,7 @@ var MediaType = /*#__PURE__*/function (_Base) {
|
|
|
9744
9764
|
*
|
|
9745
9765
|
* ```
|
|
9746
9766
|
* <script type="module">
|
|
9747
|
-
* import {parseMediaType} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
9767
|
+
* import {parseMediaType} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/modules/types/dataurl.js';
|
|
9748
9768
|
* console.log(parseMediaType())
|
|
9749
9769
|
* </script>
|
|
9750
9770
|
* ```
|
|
@@ -9883,7 +9903,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
|
9883
9903
|
*
|
|
9884
9904
|
* ```
|
|
9885
9905
|
* <script type="module">
|
|
9886
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
9906
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/monster.js';
|
|
9887
9907
|
* new Monster.DOM.Template()
|
|
9888
9908
|
* </script>
|
|
9889
9909
|
* ```
|
|
@@ -9892,7 +9912,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
|
9892
9912
|
*
|
|
9893
9913
|
* ```
|
|
9894
9914
|
* <script type="module">
|
|
9895
|
-
* import {Template} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
9915
|
+
* import {Template} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/modules/dom/template.js';
|
|
9896
9916
|
* new Template()
|
|
9897
9917
|
* </script>
|
|
9898
9918
|
* ```
|
|
@@ -9970,7 +9990,7 @@ var Template = /*#__PURE__*/function (_Base) {
|
|
|
9970
9990
|
*
|
|
9971
9991
|
* ```
|
|
9972
9992
|
* <script type="module">
|
|
9973
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
9993
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/monster.js';
|
|
9974
9994
|
* Monster.DOM.findDocumentTemplate()
|
|
9975
9995
|
* </script>
|
|
9976
9996
|
* ```
|
|
@@ -9979,14 +9999,14 @@ var Template = /*#__PURE__*/function (_Base) {
|
|
|
9979
9999
|
*
|
|
9980
10000
|
* ```
|
|
9981
10001
|
* <script type="module">
|
|
9982
|
-
* import {findTemplate} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
10002
|
+
* import {findTemplate} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/modules/dom/template.js';
|
|
9983
10003
|
* findDocumentTemplate()
|
|
9984
10004
|
* </script>
|
|
9985
10005
|
* ```
|
|
9986
10006
|
*
|
|
9987
10007
|
* @example
|
|
9988
10008
|
*
|
|
9989
|
-
* import { findDocumentTemplate } from "https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
10009
|
+
* import { findDocumentTemplate } from "https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/modules/dom/template.js";
|
|
9990
10010
|
*
|
|
9991
10011
|
* const template = document.createElement("template");
|
|
9992
10012
|
* template.id = "myTemplate";
|
|
@@ -10158,7 +10178,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
|
10158
10178
|
*
|
|
10159
10179
|
* ```
|
|
10160
10180
|
* <script type="module">
|
|
10161
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
10181
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/monster.js';
|
|
10162
10182
|
* console.log(new Monster.DOM.Theme())
|
|
10163
10183
|
* </script>
|
|
10164
10184
|
* ```
|
|
@@ -10167,14 +10187,14 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
|
10167
10187
|
*
|
|
10168
10188
|
* ```
|
|
10169
10189
|
* <script type="module">
|
|
10170
|
-
* import {Theme} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
10190
|
+
* import {Theme} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/modules/dom/theme.js';
|
|
10171
10191
|
* console.log(new Theme())
|
|
10172
10192
|
* </script>
|
|
10173
10193
|
* ```
|
|
10174
10194
|
*
|
|
10175
10195
|
* @example
|
|
10176
10196
|
*
|
|
10177
|
-
* import {getDocumentTheme} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
10197
|
+
* import {getDocumentTheme} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/modules/dom/theme.js';
|
|
10178
10198
|
*
|
|
10179
10199
|
* const theme = getDocumentTheme();
|
|
10180
10200
|
* console.log(theme.getName());
|
|
@@ -10361,7 +10381,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
|
10361
10381
|
*
|
|
10362
10382
|
* ```
|
|
10363
10383
|
* <script type="module">
|
|
10364
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
10384
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/monster.js';
|
|
10365
10385
|
* new Monster.DOM.Updater()
|
|
10366
10386
|
* </script>
|
|
10367
10387
|
* ```
|
|
@@ -10370,14 +10390,14 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
|
10370
10390
|
*
|
|
10371
10391
|
* ```
|
|
10372
10392
|
* <script type="module">
|
|
10373
|
-
* import {Updater} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
10393
|
+
* import {Updater} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/modules/dom/updater.js';
|
|
10374
10394
|
* new Updater()
|
|
10375
10395
|
* </script>
|
|
10376
10396
|
* ```
|
|
10377
10397
|
*
|
|
10378
10398
|
* @example
|
|
10379
10399
|
*
|
|
10380
|
-
* import {Updater} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
10400
|
+
* import {Updater} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/modules/dom/updater.js';
|
|
10381
10401
|
*
|
|
10382
10402
|
* // First we prepare the html document.
|
|
10383
10403
|
* // This is done here via script, but can also be inserted into the document as pure html.
|
|
@@ -11373,7 +11393,7 @@ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || func
|
|
|
11373
11393
|
*
|
|
11374
11394
|
* ```
|
|
11375
11395
|
* <script type="module">
|
|
11376
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
11396
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/monster.js';
|
|
11377
11397
|
* Monster.Util.trimSpaces(" hello ")
|
|
11378
11398
|
* </script>
|
|
11379
11399
|
* ```
|
|
@@ -11382,7 +11402,7 @@ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || func
|
|
|
11382
11402
|
*
|
|
11383
11403
|
* ```
|
|
11384
11404
|
* <script type="module">
|
|
11385
|
-
* import {trimSpaces} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
11405
|
+
* import {trimSpaces} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/modules/util/trimspaces.js';
|
|
11386
11406
|
* trimSpaces(' hello \\ ')
|
|
11387
11407
|
* </script>
|
|
11388
11408
|
* ```
|
|
@@ -11487,7 +11507,7 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
|
|
|
11487
11507
|
*
|
|
11488
11508
|
* ```
|
|
11489
11509
|
* <script type="module">
|
|
11490
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
11510
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/monster.js';
|
|
11491
11511
|
* new Monster.DOM.fireEvent()
|
|
11492
11512
|
* </script>
|
|
11493
11513
|
* ```
|
|
@@ -11496,7 +11516,7 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
|
|
|
11496
11516
|
*
|
|
11497
11517
|
* ```
|
|
11498
11518
|
* <script type="module">
|
|
11499
|
-
* import {fireEvent} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
11519
|
+
* import {fireEvent} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/modules/dom/events.js';
|
|
11500
11520
|
* fireEvent()
|
|
11501
11521
|
* </script>
|
|
11502
11522
|
* ```
|
|
@@ -11548,7 +11568,7 @@ function fireEvent(element, type) {
|
|
|
11548
11568
|
*
|
|
11549
11569
|
* ```
|
|
11550
11570
|
* <script type="module">
|
|
11551
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
11571
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/monster.js';
|
|
11552
11572
|
* new Monster.DOM.fireCustomEvent()
|
|
11553
11573
|
* </script>
|
|
11554
11574
|
* ```
|
|
@@ -11557,7 +11577,7 @@ function fireEvent(element, type) {
|
|
|
11557
11577
|
*
|
|
11558
11578
|
* ```
|
|
11559
11579
|
* <script type="module">
|
|
11560
|
-
* import {fireCustomEvent} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
11580
|
+
* import {fireCustomEvent} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/modules/dom/events.js';
|
|
11561
11581
|
* fireCustomEvent()
|
|
11562
11582
|
* </script>
|
|
11563
11583
|
* ```
|
|
@@ -11616,7 +11636,7 @@ function fireCustomEvent(element, type, detail) {
|
|
|
11616
11636
|
*
|
|
11617
11637
|
* ```
|
|
11618
11638
|
* <script type="module">
|
|
11619
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
11639
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/monster.js';
|
|
11620
11640
|
* new Monster.DOM.findTargetElementFromEvent()
|
|
11621
11641
|
* </script>
|
|
11622
11642
|
* ```
|
|
@@ -11625,7 +11645,7 @@ function fireCustomEvent(element, type, detail) {
|
|
|
11625
11645
|
*
|
|
11626
11646
|
* ```
|
|
11627
11647
|
* <script type="module">
|
|
11628
|
-
* import {findTargetElementFromEvent} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
11648
|
+
* import {findTargetElementFromEvent} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/modules/dom/events.js';
|
|
11629
11649
|
* findTargetElementFromEvent()
|
|
11630
11650
|
* </script>
|
|
11631
11651
|
* ```
|
|
@@ -11696,7 +11716,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "functi
|
|
|
11696
11716
|
*
|
|
11697
11717
|
* ```
|
|
11698
11718
|
* <script type="module">
|
|
11699
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
11719
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/monster.js';
|
|
11700
11720
|
* console.log(Monster.DOM.getDocument())
|
|
11701
11721
|
* </script>
|
|
11702
11722
|
* ```
|
|
@@ -11705,7 +11725,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "functi
|
|
|
11705
11725
|
*
|
|
11706
11726
|
* ```
|
|
11707
11727
|
* <script type="module">
|
|
11708
|
-
* import {getDocument} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
11728
|
+
* import {getDocument} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/modules/dom/util.js';
|
|
11709
11729
|
* console.log(getDocument())
|
|
11710
11730
|
* </script>
|
|
11711
11731
|
* ```
|
|
@@ -11760,7 +11780,7 @@ function getDocument() {
|
|
|
11760
11780
|
*
|
|
11761
11781
|
* ```
|
|
11762
11782
|
* <script type="module">
|
|
11763
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
11783
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/monster.js';
|
|
11764
11784
|
* console.log(Monster.DOM.getWindow())
|
|
11765
11785
|
* </script>
|
|
11766
11786
|
* ```
|
|
@@ -11769,7 +11789,7 @@ function getDocument() {
|
|
|
11769
11789
|
*
|
|
11770
11790
|
* ```
|
|
11771
11791
|
* <script type="module">
|
|
11772
|
-
* import {getWindow} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
11792
|
+
* import {getWindow} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/modules/dom/util.js';
|
|
11773
11793
|
* console.log(getWindow(null))
|
|
11774
11794
|
* </script>
|
|
11775
11795
|
* ```
|
|
@@ -11829,7 +11849,7 @@ function getWindow() {
|
|
|
11829
11849
|
*
|
|
11830
11850
|
* ```
|
|
11831
11851
|
* <script type="module">
|
|
11832
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
11852
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/monster.js';
|
|
11833
11853
|
* console.log(Monster.DOM.getDocumentFragmentFromString())
|
|
11834
11854
|
* </script>
|
|
11835
11855
|
* ```
|
|
@@ -11838,7 +11858,7 @@ function getWindow() {
|
|
|
11838
11858
|
*
|
|
11839
11859
|
* ```
|
|
11840
11860
|
* <script type="module">
|
|
11841
|
-
* import {getDocumentFragmentFromString} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
11861
|
+
* import {getDocumentFragmentFromString} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/modules/dom/util.js';
|
|
11842
11862
|
* console.log(getDocumentFragmentFromString('<div></div>'))
|
|
11843
11863
|
* </script>
|
|
11844
11864
|
* ```
|
|
@@ -11928,7 +11948,7 @@ var DEFAULT_LANGUAGE = 'en';
|
|
|
11928
11948
|
*
|
|
11929
11949
|
* ```
|
|
11930
11950
|
* <script type="module">
|
|
11931
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
11951
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/monster.js';
|
|
11932
11952
|
* new Monster.DOM.getLocaleOfDocument()
|
|
11933
11953
|
* </script>
|
|
11934
11954
|
* ```
|
|
@@ -11937,7 +11957,7 @@ var DEFAULT_LANGUAGE = 'en';
|
|
|
11937
11957
|
*
|
|
11938
11958
|
* ```
|
|
11939
11959
|
* <script type="module">
|
|
11940
|
-
* import {getLocaleOfDocument} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
11960
|
+
* import {getLocaleOfDocument} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/modules/dom/locale.js';
|
|
11941
11961
|
* new getLocaleOfDocument()
|
|
11942
11962
|
* </script>
|
|
11943
11963
|
* ```
|
|
@@ -12030,7 +12050,7 @@ var localeStringSymbol = Symbol('localeString');
|
|
|
12030
12050
|
*
|
|
12031
12051
|
* ```
|
|
12032
12052
|
* <script type="module">
|
|
12033
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
12053
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/monster.js';
|
|
12034
12054
|
* new Monster.I18n.Locale()
|
|
12035
12055
|
* </script>
|
|
12036
12056
|
* ```
|
|
@@ -12039,7 +12059,7 @@ var localeStringSymbol = Symbol('localeString');
|
|
|
12039
12059
|
*
|
|
12040
12060
|
* ```
|
|
12041
12061
|
* <script type="module">
|
|
12042
|
-
* import {Locale} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
12062
|
+
* import {Locale} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/modules/i18n/locale.js';
|
|
12043
12063
|
* new Locale()
|
|
12044
12064
|
* </script>
|
|
12045
12065
|
* ```
|
|
@@ -12232,7 +12252,7 @@ var Locale = /*#__PURE__*/function (_Base) {
|
|
|
12232
12252
|
*
|
|
12233
12253
|
* ```
|
|
12234
12254
|
* <script type="module">
|
|
12235
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
12255
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/monster.js';
|
|
12236
12256
|
* new Monster.I18n.createLocale()
|
|
12237
12257
|
* </script>
|
|
12238
12258
|
* ```
|
|
@@ -12241,7 +12261,7 @@ var Locale = /*#__PURE__*/function (_Base) {
|
|
|
12241
12261
|
*
|
|
12242
12262
|
* ```
|
|
12243
12263
|
* <script type="module">
|
|
12244
|
-
* import {createLocale} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
12264
|
+
* import {createLocale} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/modules/i18n/locale.js';
|
|
12245
12265
|
* createLocale()
|
|
12246
12266
|
* </script>
|
|
12247
12267
|
* ```
|
|
@@ -12417,7 +12437,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
|
12417
12437
|
*
|
|
12418
12438
|
* ```
|
|
12419
12439
|
* <script type="module">
|
|
12420
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
12440
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/monster.js';
|
|
12421
12441
|
* new Monster.I18n.Provider()
|
|
12422
12442
|
* </script>
|
|
12423
12443
|
* ```
|
|
@@ -12426,7 +12446,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
|
12426
12446
|
*
|
|
12427
12447
|
* ```
|
|
12428
12448
|
* <script type="module">
|
|
12429
|
-
* import {Provider} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
12449
|
+
* import {Provider} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/modules/i18n/provider.js';
|
|
12430
12450
|
* new Provider()
|
|
12431
12451
|
* </script>
|
|
12432
12452
|
* ```
|
|
@@ -12529,7 +12549,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
|
12529
12549
|
*
|
|
12530
12550
|
* ```html
|
|
12531
12551
|
* <script type="module">
|
|
12532
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
12552
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/monster.js';
|
|
12533
12553
|
* new Monster.Types.BaseWithOptions()
|
|
12534
12554
|
* </script>
|
|
12535
12555
|
* ```
|
|
@@ -12538,7 +12558,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
|
12538
12558
|
*
|
|
12539
12559
|
* ```html
|
|
12540
12560
|
* <script type="module">
|
|
12541
|
-
* import {BaseWithOptions} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
12561
|
+
* import {BaseWithOptions} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/modules/types/basewithoptions.js';
|
|
12542
12562
|
* new BaseWithOptions()
|
|
12543
12563
|
* </script>
|
|
12544
12564
|
* ```
|
|
@@ -12703,7 +12723,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
|
12703
12723
|
*
|
|
12704
12724
|
* ```
|
|
12705
12725
|
* <script type="module">
|
|
12706
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
12726
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/monster.js';
|
|
12707
12727
|
* new Monster.I18n.Translations()
|
|
12708
12728
|
* </script>
|
|
12709
12729
|
* ```
|
|
@@ -12712,15 +12732,15 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
|
12712
12732
|
*
|
|
12713
12733
|
* ```
|
|
12714
12734
|
* <script type="module">
|
|
12715
|
-
* import {Translations} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
12735
|
+
* import {Translations} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/modules/i18n/translations.js';
|
|
12716
12736
|
* new Translations()
|
|
12717
12737
|
* </script>
|
|
12718
12738
|
* ```
|
|
12719
12739
|
*
|
|
12720
12740
|
* @example
|
|
12721
12741
|
*
|
|
12722
|
-
* import {Translations} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
12723
|
-
* import {parseLocale} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
12742
|
+
* import {Translations} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/modules/i18n/translations.js';
|
|
12743
|
+
* import {parseLocale} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/modules/i18n/locale.js';
|
|
12724
12744
|
*
|
|
12725
12745
|
* const translation = new Translations(parseLocale('en-GB'));
|
|
12726
12746
|
*
|
|
@@ -12992,7 +13012,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
|
12992
13012
|
*
|
|
12993
13013
|
* ```
|
|
12994
13014
|
* <script type="module">
|
|
12995
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
13015
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/monster.js';
|
|
12996
13016
|
* new Monster.I18n.Providers.Fetch()
|
|
12997
13017
|
* </script>
|
|
12998
13018
|
* ```
|
|
@@ -13001,14 +13021,14 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
|
13001
13021
|
*
|
|
13002
13022
|
* ```
|
|
13003
13023
|
* <script type="module">
|
|
13004
|
-
* import {Fetch} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
13024
|
+
* import {Fetch} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/modules/i18n/providers/fetch.js';
|
|
13005
13025
|
* new Fetch()
|
|
13006
13026
|
* </script>
|
|
13007
13027
|
* ```
|
|
13008
13028
|
*
|
|
13009
13029
|
* @example <caption>das ist ein test</caption>
|
|
13010
13030
|
*
|
|
13011
|
-
* import {Fetch} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
13031
|
+
* import {Fetch} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/modules/i18n/providers/fetch.js';
|
|
13012
13032
|
*
|
|
13013
13033
|
* // fetch from API
|
|
13014
13034
|
* const translation = new Fetch('https://example.com/${language}.json').getTranslation('en-GB');
|
|
@@ -13238,7 +13258,7 @@ var workingDataSymbol = Symbol('workingData');
|
|
|
13238
13258
|
*
|
|
13239
13259
|
* ```
|
|
13240
13260
|
* <script type="module">
|
|
13241
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
13261
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/monster.js';
|
|
13242
13262
|
* new Monster.Text.Formatter()
|
|
13243
13263
|
* </script>
|
|
13244
13264
|
* ```
|
|
@@ -13247,7 +13267,7 @@ var workingDataSymbol = Symbol('workingData');
|
|
|
13247
13267
|
*
|
|
13248
13268
|
* ```
|
|
13249
13269
|
* <script type="module">
|
|
13250
|
-
* import {Formatter} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
13270
|
+
* import {Formatter} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/modules/text/formatter.js';
|
|
13251
13271
|
* new Formatter()
|
|
13252
13272
|
* </script>
|
|
13253
13273
|
* ```
|
|
@@ -13292,7 +13312,7 @@ var workingDataSymbol = Symbol('workingData');
|
|
|
13292
13312
|
*
|
|
13293
13313
|
* @example
|
|
13294
13314
|
*
|
|
13295
|
-
* import {Formatter} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
13315
|
+
* import {Formatter} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/modules/text/formatter.js';
|
|
13296
13316
|
*
|
|
13297
13317
|
* new Formatter({
|
|
13298
13318
|
* a: {
|
|
@@ -13637,7 +13657,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
|
13637
13657
|
*
|
|
13638
13658
|
* ```
|
|
13639
13659
|
* <script type="module">
|
|
13640
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
13660
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/monster.js';
|
|
13641
13661
|
* console.log(new Monster.Logging.Handler())
|
|
13642
13662
|
* </script>
|
|
13643
13663
|
* ```
|
|
@@ -13646,7 +13666,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
|
13646
13666
|
*
|
|
13647
13667
|
* ```
|
|
13648
13668
|
* <script type="module">
|
|
13649
|
-
* import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
13669
|
+
* import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/modules/logging/handler.js';
|
|
13650
13670
|
* console.log(new Handler())
|
|
13651
13671
|
* </script>
|
|
13652
13672
|
* ```
|
|
@@ -13884,7 +13904,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
|
13884
13904
|
*
|
|
13885
13905
|
* ```
|
|
13886
13906
|
* <script type="module">
|
|
13887
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
13907
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/monster.js';
|
|
13888
13908
|
* console.log(new Monster.Logging.LogEntry())
|
|
13889
13909
|
* </script>
|
|
13890
13910
|
* ```
|
|
@@ -13893,7 +13913,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
|
13893
13913
|
*
|
|
13894
13914
|
* ```
|
|
13895
13915
|
* <script type="module">
|
|
13896
|
-
* import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
13916
|
+
* import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/modules/logging/logentry.js';
|
|
13897
13917
|
* console.log(new LogEntry())
|
|
13898
13918
|
* </script>
|
|
13899
13919
|
* ```
|
|
@@ -14079,7 +14099,7 @@ var OFF = 0;
|
|
|
14079
14099
|
*
|
|
14080
14100
|
* ```
|
|
14081
14101
|
* <script type="module">
|
|
14082
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
14102
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/monster.js';
|
|
14083
14103
|
* new Monster.Logging.Logger()
|
|
14084
14104
|
* </script>
|
|
14085
14105
|
* ```
|
|
@@ -14088,7 +14108,7 @@ var OFF = 0;
|
|
|
14088
14108
|
*
|
|
14089
14109
|
* ```
|
|
14090
14110
|
* <script type="module">
|
|
14091
|
-
* import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
14111
|
+
* import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/modules/logging/logger.js';
|
|
14092
14112
|
* new Logger()
|
|
14093
14113
|
* </script>
|
|
14094
14114
|
* ```
|
|
@@ -14388,7 +14408,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
|
14388
14408
|
*
|
|
14389
14409
|
* ```
|
|
14390
14410
|
* <script type="module">
|
|
14391
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
14411
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/monster.js';
|
|
14392
14412
|
* console.log(new Monster.Logging.Handler.ConsoleHandler())
|
|
14393
14413
|
* </script>
|
|
14394
14414
|
* ```
|
|
@@ -14397,7 +14417,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
|
14397
14417
|
*
|
|
14398
14418
|
* ```
|
|
14399
14419
|
* <script type="module">
|
|
14400
|
-
* import {ConsoleHandler} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
14420
|
+
* import {ConsoleHandler} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/modules/logging/handler/console.js';
|
|
14401
14421
|
* console.log(new ConsoleHandler())
|
|
14402
14422
|
* </script>
|
|
14403
14423
|
* ```
|
|
@@ -14473,7 +14493,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
14473
14493
|
*
|
|
14474
14494
|
* ```
|
|
14475
14495
|
* <script type="module">
|
|
14476
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
14496
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/monster.js';
|
|
14477
14497
|
* Monster.Math.random(1,10)
|
|
14478
14498
|
* // ↦ 5
|
|
14479
14499
|
* </script>
|
|
@@ -14483,7 +14503,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
14483
14503
|
*
|
|
14484
14504
|
* ```
|
|
14485
14505
|
* <script type="module">
|
|
14486
|
-
* import {random} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
14506
|
+
* import {random} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/modules/math/random.js';
|
|
14487
14507
|
* random(1,10)
|
|
14488
14508
|
* // ↦ 5
|
|
14489
14509
|
* </script>
|
|
@@ -14644,7 +14664,7 @@ var internalCounter = 0;
|
|
|
14644
14664
|
*
|
|
14645
14665
|
* ```
|
|
14646
14666
|
* <script type="module">
|
|
14647
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
14667
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/monster.js';
|
|
14648
14668
|
* console.log(new Monster.Types.RandomID())
|
|
14649
14669
|
* </script>
|
|
14650
14670
|
* ```
|
|
@@ -14653,7 +14673,7 @@ var internalCounter = 0;
|
|
|
14653
14673
|
*
|
|
14654
14674
|
* ```
|
|
14655
14675
|
* <script type="module">
|
|
14656
|
-
* import {RandomID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
14676
|
+
* import {RandomID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/modules/types/randomid.js';
|
|
14657
14677
|
* console.log(new RandomID())
|
|
14658
14678
|
* </script>
|
|
14659
14679
|
* ```
|
|
@@ -14736,7 +14756,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
|
14736
14756
|
*
|
|
14737
14757
|
* ```
|
|
14738
14758
|
* <script type="module">
|
|
14739
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
14759
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/monster.js';
|
|
14740
14760
|
* console.log(new Monster.Types.Version('1.2.3')) // ↦ 1.2.3
|
|
14741
14761
|
* console.log(new Monster.Types.Version('1')) // ↦ 1.0.0
|
|
14742
14762
|
* </script>
|
|
@@ -14746,7 +14766,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
|
14746
14766
|
*
|
|
14747
14767
|
* ```
|
|
14748
14768
|
* <script type="module">
|
|
14749
|
-
* import {Version} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
14769
|
+
* import {Version} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/modules/types/version.js';
|
|
14750
14770
|
* console.log(new Version('1.2.3')) // ↦ 1.2.3
|
|
14751
14771
|
* console.log(new Version('1')) // ↦ 1.0.0
|
|
14752
14772
|
* </script>
|
|
@@ -14754,7 +14774,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
|
14754
14774
|
*
|
|
14755
14775
|
* @example
|
|
14756
14776
|
*
|
|
14757
|
-
* import {Version} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
14777
|
+
* import {Version} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/modules/types/version.js';
|
|
14758
14778
|
*
|
|
14759
14779
|
* new Version('1.0.0') // ↦ 1.0.0
|
|
14760
14780
|
* new Version(1) // ↦ 1.0.0
|
|
@@ -14888,7 +14908,7 @@ var monsterVersion;
|
|
|
14888
14908
|
*
|
|
14889
14909
|
* ```
|
|
14890
14910
|
* <script type="module">
|
|
14891
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
14911
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/monster.js';
|
|
14892
14912
|
* console.log(Monster.getVersion())
|
|
14893
14913
|
* </script>
|
|
14894
14914
|
* ```
|
|
@@ -14897,7 +14917,7 @@ var monsterVersion;
|
|
|
14897
14917
|
*
|
|
14898
14918
|
* ```
|
|
14899
14919
|
* <script type="module">
|
|
14900
|
-
* import {getVersion} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
14920
|
+
* import {getVersion} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/modules/types/version.js';
|
|
14901
14921
|
* console.log(getVersion())
|
|
14902
14922
|
* </script>
|
|
14903
14923
|
* ```
|
|
@@ -14916,7 +14936,7 @@ function getVersion() {
|
|
|
14916
14936
|
/**#@+ dont touch, replaced by make with package.json version */
|
|
14917
14937
|
|
|
14918
14938
|
|
|
14919
|
-
monsterVersion = new Version('1.30.
|
|
14939
|
+
monsterVersion = new Version('1.30.1');
|
|
14920
14940
|
/**#@-*/
|
|
14921
14941
|
|
|
14922
14942
|
return monsterVersion;
|
|
@@ -14972,7 +14992,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
|
14972
14992
|
*
|
|
14973
14993
|
* ```
|
|
14974
14994
|
* <script type="module">
|
|
14975
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
14995
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/monster.js';
|
|
14976
14996
|
* new Monster.Util.Comparator()
|
|
14977
14997
|
* </script>
|
|
14978
14998
|
* ```
|
|
@@ -14981,7 +15001,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
|
14981
15001
|
*
|
|
14982
15002
|
* ```
|
|
14983
15003
|
* <script type="module">
|
|
14984
|
-
* import {Comparator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
15004
|
+
* import {Comparator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/modules/util/comparator.js';
|
|
14985
15005
|
* console.log(new Comparator())
|
|
14986
15006
|
* </script>
|
|
14987
15007
|
* ```
|
|
@@ -15006,7 +15026,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
|
15006
15026
|
*
|
|
15007
15027
|
* @example
|
|
15008
15028
|
*
|
|
15009
|
-
* import {Comparator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
15029
|
+
* import {Comparator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/modules/util/comparator.js';
|
|
15010
15030
|
*
|
|
15011
15031
|
* console.log(new Comparator().lessThanOrEqual(2, 5))
|
|
15012
15032
|
* // ↦ true
|
|
@@ -15219,7 +15239,7 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
|
|
|
15219
15239
|
*
|
|
15220
15240
|
* ```
|
|
15221
15241
|
* <script type="module">
|
|
15222
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
15242
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/monster.js';
|
|
15223
15243
|
* Monster.Util.deepFreeze({})
|
|
15224
15244
|
* </script>
|
|
15225
15245
|
* ```
|
|
@@ -15228,7 +15248,7 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
|
|
|
15228
15248
|
*
|
|
15229
15249
|
* ```
|
|
15230
15250
|
* <script type="module">
|
|
15231
|
-
* import {deepFreeze} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.
|
|
15251
|
+
* import {deepFreeze} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.1/dist/modules/util/freeze.js';
|
|
15232
15252
|
* deepFreeze({})
|
|
15233
15253
|
* </script>
|
|
15234
15254
|
* ```
|