@schukai/monster 1.20.0 → 1.21.1
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG +24 -0
- package/README.md +4 -4
- package/dist/modules/constants.js +1 -1
- package/dist/modules/constraints/abstract.js +1 -1
- package/dist/modules/constraints/abstractoperator.js +1 -1
- package/dist/modules/constraints/andoperator.js +1 -1
- package/dist/modules/constraints/invalid.js +1 -1
- package/dist/modules/constraints/isarray.js +1 -1
- package/dist/modules/constraints/isobject.js +1 -1
- package/dist/modules/constraints/namespace.js +1 -1
- package/dist/modules/constraints/oroperator.js +1 -1
- package/dist/modules/constraints/valid.js +1 -1
- package/dist/modules/data/buildmap.js +1 -1
- package/dist/modules/data/diff.js +1 -1
- package/dist/modules/data/extend.js +2 -2
- 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/locale.js +1 -1
- package/dist/modules/dom/namespace.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/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/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/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/validate.js +1 -1
- package/dist/modules/types/version.js +2 -2
- package/dist/modules/util/clone.js +2 -2
- package/dist/modules/util/comparator.js +1 -1
- package/dist/modules/util/freeze.js +1 -1
- package/dist/modules/util/namespace.js +1 -1
- package/dist/modules/util/processing.js +2 -0
- package/dist/monster.dev.js +389 -308
- package/dist/monster.dev.js.map +1 -1
- package/dist/monster.js +2 -2
- package/package.json +1 -5
- 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/diff.js +3 -3
- package/source/data/extend.js +9 -9
- package/source/data/pathfinder.js +4 -4
- package/source/data/pipe.js +3 -3
- package/source/data/transformer.js +4 -4
- package/source/dom/assembler.js +2 -2
- package/source/dom/attributes.js +24 -24
- package/source/dom/customcontrol.js +2 -2
- package/source/dom/customelement.js +61 -4
- package/source/dom/events.js +4 -4
- package/source/dom/locale.js +2 -2
- package/source/dom/template.js +4 -4
- package/source/dom/theme.js +3 -3
- package/source/dom/updater.js +3 -3
- package/source/dom/util.js +6 -6
- package/source/i18n/locale.js +4 -4
- package/source/i18n/provider.js +2 -2
- package/source/i18n/providers/fetch.js +2 -2
- package/source/i18n/translations.js +2 -2
- 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 +2 -2
- 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/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/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/validate.js +20 -20
- package/source/types/version.js +6 -6
- package/source/util/clone.js +16 -6
- package/source/util/comparator.js +3 -3
- package/source/util/freeze.js +2 -2
- package/source/util/processing.js +197 -0
- package/test/cases/data/extend.js +9 -0
- package/test/cases/monster.js +1 -1
- package/test/cases/util/clone.js +31 -0
- package/test/cases/util/freeze.js +25 -0
- package/test/cases/util/processing.js +110 -0
- package/test/web/import.js +2 -0
- package/test/web/monster-dev.html +3 -3
- package/test/web/monster.html +2 -2
- package/test/web/test.html +3 -3
- package/test/web/tests.js +3 -3
package/dist/monster.dev.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
/** Monster 1.
|
1
|
+
/** Monster 1.21.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();
|
@@ -132,7 +132,7 @@ var Monster = new Namespace("Monster");
|
|
132
132
|
*
|
133
133
|
* ```
|
134
134
|
* <script type="module">
|
135
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
135
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/namespace.js';
|
136
136
|
* function hello() {
|
137
137
|
* console.log('Hello World!');
|
138
138
|
* }
|
@@ -374,7 +374,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
374
374
|
*
|
375
375
|
* ```
|
376
376
|
* <script type="module">
|
377
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
377
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/base.js';
|
378
378
|
* console.log(new Monster.Types.Base())
|
379
379
|
* </script>
|
380
380
|
* ```
|
@@ -383,7 +383,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
383
383
|
*
|
384
384
|
* ```
|
385
385
|
* <script type="module">
|
386
|
-
* import {Base} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
386
|
+
* import {Base} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/base.js';
|
387
387
|
* console.log(new Base())
|
388
388
|
* </script>
|
389
389
|
* ```
|
@@ -546,7 +546,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
546
546
|
*
|
547
547
|
* ```
|
548
548
|
* <script type="module">
|
549
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
549
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/constraints/andoperator.js';
|
550
550
|
* new Monster.Constraint.AndOperator();
|
551
551
|
* </script>
|
552
552
|
* ```
|
@@ -555,16 +555,16 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
555
555
|
*
|
556
556
|
* ```
|
557
557
|
* <script type="module">
|
558
|
-
* import {AndOperator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
558
|
+
* import {AndOperator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/constraints/andoperator.js';
|
559
559
|
* new AndOperator();
|
560
560
|
* </script>
|
561
561
|
* ```
|
562
562
|
*
|
563
563
|
* @example
|
564
564
|
*
|
565
|
-
* import {Valid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
566
|
-
* import {Invalid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
567
|
-
* import {AndOperator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
565
|
+
* import {Valid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/constraints/valid.js';
|
566
|
+
* import {Invalid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/constraints/invalid.js';
|
567
|
+
* import {AndOperator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/constraints/andoperator.js';
|
568
568
|
*
|
569
569
|
* new AndOperator(
|
570
570
|
* new Valid(), new Valid()).isValid()
|
@@ -661,7 +661,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
661
661
|
*
|
662
662
|
* ```
|
663
663
|
* <script type="module">
|
664
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
664
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/constraints/invalid.js';
|
665
665
|
* new Monster.Constraint.Invalid();
|
666
666
|
* </script>
|
667
667
|
* ```
|
@@ -670,14 +670,14 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
670
670
|
*
|
671
671
|
* ```
|
672
672
|
* <script type="module">
|
673
|
-
* import {Invalid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
673
|
+
* import {Invalid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/constraints/invalid.js';
|
674
674
|
* new Invalid();
|
675
675
|
* </script>
|
676
676
|
* ```
|
677
677
|
*
|
678
678
|
* @example
|
679
679
|
*
|
680
|
-
* import {Invalid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
680
|
+
* import {Invalid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/constraints/invalid.js';
|
681
681
|
*
|
682
682
|
* new Invalid().isValid()
|
683
683
|
* .then(()=>console.log(true))
|
@@ -767,7 +767,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
767
767
|
*
|
768
768
|
* ```
|
769
769
|
* <script type="module">
|
770
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
770
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/constraints/isarray.js';
|
771
771
|
* console.log(new Monster.Constraint.IsArray())
|
772
772
|
* </script>
|
773
773
|
* ```
|
@@ -776,14 +776,14 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
776
776
|
*
|
777
777
|
* ```
|
778
778
|
* <script type="module">
|
779
|
-
* import {IsArray} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
779
|
+
* import {IsArray} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/constraints/isarray.js';
|
780
780
|
* console.log(new IsArray())
|
781
781
|
* </script>
|
782
782
|
* ```
|
783
783
|
*
|
784
784
|
* @example
|
785
785
|
*
|
786
|
-
* import {IsArray} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
786
|
+
* import {IsArray} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/constraints/isarray.js';
|
787
787
|
*
|
788
788
|
* new IsArray()
|
789
789
|
* .isValid([])
|
@@ -869,7 +869,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "functi
|
|
869
869
|
*
|
870
870
|
* ```
|
871
871
|
* <script type="module">
|
872
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
872
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/is.js';
|
873
873
|
* console.log(Monster.Types.isIterable(null)) // ↦ false
|
874
874
|
* console.log(Monster.Types.isIterable('hello')) // ↦ true
|
875
875
|
* console.log(Monster.Types.isIterable([])) // ↦ true
|
@@ -880,7 +880,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "functi
|
|
880
880
|
*
|
881
881
|
* ```
|
882
882
|
* <script type="module">
|
883
|
-
* import {isIterable} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
883
|
+
* import {isIterable} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/is.js';
|
884
884
|
* console.log(isIterable(null)) // ↦ false
|
885
885
|
* console.log(isIterable('hello')) // ↦ true
|
886
886
|
* console.log(isIterable([])) // ↦ true
|
@@ -906,7 +906,7 @@ function isIterable(value) {
|
|
906
906
|
*
|
907
907
|
* ```
|
908
908
|
* <script type="module">
|
909
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
909
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/is.js';
|
910
910
|
* console.log(Monster.Types.isPrimitive('2')) // ↦ false
|
911
911
|
* console.log(Monster.Types.isPrimitive([])) // ↦ true
|
912
912
|
* </script>
|
@@ -916,7 +916,7 @@ function isIterable(value) {
|
|
916
916
|
*
|
917
917
|
* ```
|
918
918
|
* <script type="module">
|
919
|
-
* import {isPrimitive} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
919
|
+
* import {isPrimitive} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/is.js';
|
920
920
|
* console.log(isPrimitive('2')) // ↦ true
|
921
921
|
* console.log(isPrimitive([])) // ↦ false
|
922
922
|
* </script>
|
@@ -952,7 +952,7 @@ function isPrimitive(value) {
|
|
952
952
|
*
|
953
953
|
* ```
|
954
954
|
* <script type="module">
|
955
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
955
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/is.js';
|
956
956
|
* console.log(Monster.Types.isSymbol('2')) // ↦ false
|
957
957
|
* console.log(Monster.Types.isSymbol(Symbol('test')) // ↦ true
|
958
958
|
* </script>
|
@@ -962,7 +962,7 @@ function isPrimitive(value) {
|
|
962
962
|
*
|
963
963
|
* ```
|
964
964
|
* <script type="module">
|
965
|
-
* import {isSymbol} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
965
|
+
* import {isSymbol} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/is.js';
|
966
966
|
* console.log(isSymbol(Symbol('a'))) // ↦ true
|
967
967
|
* console.log(isSymbol([]) // ↦ false
|
968
968
|
* </script>
|
@@ -986,7 +986,7 @@ function isSymbol(value) {
|
|
986
986
|
*
|
987
987
|
* ```
|
988
988
|
* <script type="module">
|
989
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
989
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/is.js';
|
990
990
|
* console.log(Monster.Types.isBoolean('2')) // ↦ false
|
991
991
|
* console.log(Monster.Types.isBoolean([])) // ↦ false
|
992
992
|
* console.log(Monster.Types.isBoolean(true)) // ↦ true
|
@@ -997,7 +997,7 @@ function isSymbol(value) {
|
|
997
997
|
*
|
998
998
|
* ```
|
999
999
|
* <script type="module">
|
1000
|
-
* import {isBoolean} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
1000
|
+
* import {isBoolean} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/is.js';
|
1001
1001
|
* console.log(isBoolean('2')) // ↦ false
|
1002
1002
|
* console.log(isBoolean([])) // ↦ false
|
1003
1003
|
* console.log(isBoolean(2>4)) // ↦ true
|
@@ -1026,7 +1026,7 @@ function isBoolean(value) {
|
|
1026
1026
|
*
|
1027
1027
|
* ```
|
1028
1028
|
* <script type="module">
|
1029
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
1029
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/is.js';
|
1030
1030
|
* console.log(Monster.Types.isString('2')) // ↦ true
|
1031
1031
|
* console.log(Monster.Types.isString([])) // ↦ false
|
1032
1032
|
* </script>
|
@@ -1036,7 +1036,7 @@ function isBoolean(value) {
|
|
1036
1036
|
*
|
1037
1037
|
* ```
|
1038
1038
|
* <script type="module">
|
1039
|
-
* import {isString} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
1039
|
+
* import {isString} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/is.js';
|
1040
1040
|
* console.log(isString('2')) // ↦ true
|
1041
1041
|
* console.log(isString([])) // ↦ false
|
1042
1042
|
* </script>
|
@@ -1064,7 +1064,7 @@ function isString(value) {
|
|
1064
1064
|
*
|
1065
1065
|
* ```
|
1066
1066
|
* <script type="module">
|
1067
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
1067
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/is.js';
|
1068
1068
|
* console.log(Monster.Types.isObject('2')) // ↦ false
|
1069
1069
|
* console.log(Monster.Types.isObject([])) // ↦ false
|
1070
1070
|
* console.log(Monster.Types.isObject({})) // ↦ true
|
@@ -1075,7 +1075,7 @@ function isString(value) {
|
|
1075
1075
|
*
|
1076
1076
|
* ```
|
1077
1077
|
* <script type="module">
|
1078
|
-
* import {isObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
1078
|
+
* import {isObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/is.js';
|
1079
1079
|
* console.log(isObject('2')) // ↦ false
|
1080
1080
|
* console.log(isObject([])) // ↦ false
|
1081
1081
|
* </script>
|
@@ -1106,7 +1106,7 @@ function isObject(value) {
|
|
1106
1106
|
*
|
1107
1107
|
* ```
|
1108
1108
|
* <script type="module">
|
1109
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
1109
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/is.js';
|
1110
1110
|
* console.log(Monster.Types.isInstance('2')) // ↦ false
|
1111
1111
|
* console.log(Monster.Types.isInstance([])) // ↦ false
|
1112
1112
|
* console.log(Monster.Types.isInstance({})) // ↦ true
|
@@ -1117,7 +1117,7 @@ function isObject(value) {
|
|
1117
1117
|
*
|
1118
1118
|
* ```
|
1119
1119
|
* <script type="module">
|
1120
|
-
* import {isInstance} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
1120
|
+
* import {isInstance} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/is.js';
|
1121
1121
|
* console.log(isInstance('2')) // ↦ false
|
1122
1122
|
* console.log(isInstance([])) // ↦ false
|
1123
1123
|
* </script>
|
@@ -1145,7 +1145,7 @@ function isInstance(value, instance) {
|
|
1145
1145
|
*
|
1146
1146
|
* ```
|
1147
1147
|
* <script type="module">
|
1148
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
1148
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/is.js';
|
1149
1149
|
* console.log(Monster.Types.isArray('2')) // ↦ false
|
1150
1150
|
* console.log(Monster.Types.isArray([])) // ↦ true
|
1151
1151
|
* </script>
|
@@ -1155,7 +1155,7 @@ function isInstance(value, instance) {
|
|
1155
1155
|
*
|
1156
1156
|
* ```
|
1157
1157
|
* <script type="module">
|
1158
|
-
* import {isArray} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
1158
|
+
* import {isArray} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/is.js';
|
1159
1159
|
* console.log(isArray('2')) // ↦ false
|
1160
1160
|
* console.log(isArray([])) // ↦ true
|
1161
1161
|
* </script>
|
@@ -1183,7 +1183,7 @@ function isArray(value) {
|
|
1183
1183
|
*
|
1184
1184
|
* ```
|
1185
1185
|
* <script type="module">
|
1186
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
1186
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/is.js';
|
1187
1187
|
* console.log(Monster.Types.isFunction(()=>{})) // ↦ true
|
1188
1188
|
* console.log(Monster.Types.isFunction('2')) // ↦ false
|
1189
1189
|
* console.log(Monster.Types.isFunction([])) // ↦ false
|
@@ -1194,7 +1194,7 @@ function isArray(value) {
|
|
1194
1194
|
*
|
1195
1195
|
* ```
|
1196
1196
|
* <script type="module">
|
1197
|
-
* import {isFunction} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
1197
|
+
* import {isFunction} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/is.js';
|
1198
1198
|
* console.log(isFunction(()=>{})) // ↦ true
|
1199
1199
|
* console.log(isFunction('2')) // ↦ false
|
1200
1200
|
* console.log(isFunction([])) // ↦ false
|
@@ -1226,7 +1226,7 @@ function isFunction(value) {
|
|
1226
1226
|
*
|
1227
1227
|
* ```
|
1228
1228
|
* <script type="module">
|
1229
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
1229
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/is.js';
|
1230
1230
|
* console.log(Monster.Types.isInteger(()=>{})) // ↦ true
|
1231
1231
|
* console.log(Monster.Types.isInteger('2')) // ↦ false
|
1232
1232
|
* console.log(Monster.Types.isInteger(2)) // ↦ true
|
@@ -1237,7 +1237,7 @@ function isFunction(value) {
|
|
1237
1237
|
*
|
1238
1238
|
* ```
|
1239
1239
|
* <script type="module">
|
1240
|
-
* import {isInteger} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
1240
|
+
* import {isInteger} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/is.js';
|
1241
1241
|
* console.log(isInteger(()=>{})) // ↦ true
|
1242
1242
|
* console.log(isInteger('2')) // ↦ false
|
1243
1243
|
* console.log(isInteger(2)) // ↦ true
|
@@ -1306,7 +1306,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
1306
1306
|
*
|
1307
1307
|
* ```
|
1308
1308
|
* <script type="module">
|
1309
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
1309
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/constraints/isobject.js';
|
1310
1310
|
* console.log(new Monster.Constraint.IsObject())
|
1311
1311
|
* </script>
|
1312
1312
|
* ```
|
@@ -1315,14 +1315,14 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
1315
1315
|
*
|
1316
1316
|
* ```
|
1317
1317
|
* <script type="module">
|
1318
|
-
* import {IsObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
1318
|
+
* import {IsObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/constraints/isobject.js';
|
1319
1319
|
* console.log(new IsObject())
|
1320
1320
|
* </script>
|
1321
1321
|
* ```
|
1322
1322
|
*
|
1323
1323
|
* @example
|
1324
1324
|
*
|
1325
|
-
* import {IsObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
1325
|
+
* import {IsObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/constraints/isobject.js';
|
1326
1326
|
*
|
1327
1327
|
* new IsObject()
|
1328
1328
|
* .isValid({})
|
@@ -1420,7 +1420,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
1420
1420
|
*
|
1421
1421
|
* ```
|
1422
1422
|
* <script type="module">
|
1423
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
1423
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/constraint/oroperator.js';
|
1424
1424
|
* new Monster.Constraint.OrOperator();
|
1425
1425
|
* </script>
|
1426
1426
|
* ```
|
@@ -1429,16 +1429,16 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
1429
1429
|
*
|
1430
1430
|
* ```
|
1431
1431
|
* <script type="module">
|
1432
|
-
* import {OrOperator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
1432
|
+
* import {OrOperator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/constraint/oroperator.js';
|
1433
1433
|
* new OrOperator();
|
1434
1434
|
* </script>
|
1435
1435
|
* ```
|
1436
1436
|
*
|
1437
1437
|
* @example
|
1438
1438
|
*
|
1439
|
-
* import {Valid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
1440
|
-
* import {Invalid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
1441
|
-
* import {OrOperator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
1439
|
+
* import {Valid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/constraints/valid.js';
|
1440
|
+
* import {Invalid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/constraints/invalid.js';
|
1441
|
+
* import {OrOperator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/constraints/oroperator.js';
|
1442
1442
|
*
|
1443
1443
|
* new OrOperator(
|
1444
1444
|
* new Valid(), new Invalid()).isValid()
|
@@ -1558,7 +1558,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
1558
1558
|
*
|
1559
1559
|
* ```
|
1560
1560
|
* <script type="module">
|
1561
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
1561
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/constraints/valid.js';
|
1562
1562
|
* new Monster.Constraint.Valid();
|
1563
1563
|
* </script>
|
1564
1564
|
* ```
|
@@ -1567,14 +1567,14 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
1567
1567
|
*
|
1568
1568
|
* ```
|
1569
1569
|
* <script type="module">
|
1570
|
-
* import {Valid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
1570
|
+
* import {Valid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/constraints/valid.js';
|
1571
1571
|
* new Valid();
|
1572
1572
|
* </script>
|
1573
1573
|
* ```
|
1574
1574
|
*
|
1575
1575
|
* @example
|
1576
1576
|
*
|
1577
|
-
* import {Valid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
1577
|
+
* import {Valid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/constraints/valid.js';
|
1578
1578
|
*
|
1579
1579
|
* new Valid().isValid()
|
1580
1580
|
* .then(()=>console.log(true))
|
@@ -1630,7 +1630,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
1630
1630
|
/* harmony import */ var _types_is_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(9);
|
1631
1631
|
/* harmony import */ var _types_validate_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(14);
|
1632
1632
|
/* harmony import */ var _util_clone_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(15);
|
1633
|
-
/* harmony import */ var _pathfinder_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
|
1633
|
+
/* harmony import */ var _pathfinder_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(18);
|
1634
1634
|
|
1635
1635
|
/**
|
1636
1636
|
* @author schukai GmbH
|
@@ -1681,7 +1681,7 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
|
|
1681
1681
|
*
|
1682
1682
|
* ```
|
1683
1683
|
* <script type="module">
|
1684
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
1684
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/data/buildmap.js';
|
1685
1685
|
* console.log(Monster.Data.buildMap())
|
1686
1686
|
* </script>
|
1687
1687
|
* ```
|
@@ -1690,7 +1690,7 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
|
|
1690
1690
|
*
|
1691
1691
|
* ```
|
1692
1692
|
* <script type="module">
|
1693
|
-
* import {buildMap} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
1693
|
+
* import {buildMap} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/data/buildmap.js';
|
1694
1694
|
* console.log(buildMap())
|
1695
1695
|
* </script>
|
1696
1696
|
* ```
|
@@ -1701,7 +1701,7 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
|
|
1701
1701
|
*
|
1702
1702
|
* @example
|
1703
1703
|
*
|
1704
|
-
* import {buildMap} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
1704
|
+
* import {buildMap} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/data/buildmap.js';
|
1705
1705
|
* // a typical data structure as reported by an api
|
1706
1706
|
*
|
1707
1707
|
* let map;
|
@@ -1916,7 +1916,7 @@ function buildFlatMap(subject, selector, key, parentMap) {
|
|
1916
1916
|
* Alternatively to a string selector a callback can be specified. this must return a map.
|
1917
1917
|
*
|
1918
1918
|
* @example
|
1919
|
-
* import {buildMap} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
1919
|
+
* import {buildMap} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/data/buildmap.js';
|
1920
1920
|
*
|
1921
1921
|
* let obj = {
|
1922
1922
|
* "data": [
|
@@ -2119,7 +2119,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
2119
2119
|
*
|
2120
2120
|
* ```
|
2121
2121
|
* <script type="module">
|
2122
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
2122
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/validate.js';
|
2123
2123
|
* console.log(Monster.Types.validateIterable('2')) // ↦ TypeError
|
2124
2124
|
* console.log(Monster.Types.validateIterable([])) // ↦ value
|
2125
2125
|
* </script>
|
@@ -2129,7 +2129,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
2129
2129
|
*
|
2130
2130
|
* ```
|
2131
2131
|
* <script type="module">
|
2132
|
-
* import {validateIterable} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
2132
|
+
* import {validateIterable} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/validate.js';
|
2133
2133
|
* console.log(validateIterable('2')) // ↦ TypeError
|
2134
2134
|
* console.log(validateIterable([])) // ↦ value
|
2135
2135
|
* </script>
|
@@ -2160,7 +2160,7 @@ function validateIterable(value) {
|
|
2160
2160
|
*
|
2161
2161
|
* ```
|
2162
2162
|
* <script type="module">
|
2163
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
2163
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/validate.js';
|
2164
2164
|
* console.log(Monster.Types.validatePrimitive('2')) // ↦ value
|
2165
2165
|
* console.log(Monster.Types.validatePrimitive([])) // ↦ TypeError
|
2166
2166
|
* </script>
|
@@ -2170,7 +2170,7 @@ function validateIterable(value) {
|
|
2170
2170
|
*
|
2171
2171
|
* ```
|
2172
2172
|
* <script type="module">
|
2173
|
-
* import {validatePrimitive} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
2173
|
+
* import {validatePrimitive} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/validate.js';
|
2174
2174
|
* console.log(validatePrimitive('2')) // ↦ value
|
2175
2175
|
* console.log(validatePrimitive([])) // ↦ TypeError
|
2176
2176
|
* </script>
|
@@ -2202,7 +2202,7 @@ function validatePrimitive(value) {
|
|
2202
2202
|
*
|
2203
2203
|
* ```
|
2204
2204
|
* <script type="module">
|
2205
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
2205
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/validate.js';
|
2206
2206
|
* console.log(Monster.Types.validateBoolean(true)) // ↦ value
|
2207
2207
|
* console.log(Monster.Types.validateBoolean('2')) // ↦ TypeError
|
2208
2208
|
* console.log(Monster.Types.validateBoolean([])) // ↦ TypeError
|
@@ -2213,7 +2213,7 @@ function validatePrimitive(value) {
|
|
2213
2213
|
*
|
2214
2214
|
* ```
|
2215
2215
|
* <script type="module">
|
2216
|
-
* import {validateBoolean} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
2216
|
+
* import {validateBoolean} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/validate.js';
|
2217
2217
|
* console.log(validateBoolean(false)) // ↦ value
|
2218
2218
|
* console.log(validateBoolean('2')) // ↦ TypeError
|
2219
2219
|
* console.log(validateBoolean([])) // ↦ TypeError
|
@@ -2244,7 +2244,7 @@ function validateBoolean(value) {
|
|
2244
2244
|
*
|
2245
2245
|
* ```
|
2246
2246
|
* <script type="module">
|
2247
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
2247
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/validate.js';
|
2248
2248
|
* console.log(Monster.Types.validateString('2')) // ↦ value
|
2249
2249
|
* console.log(Monster.Types.validateString([])) // ↦ TypeError
|
2250
2250
|
* </script>
|
@@ -2254,7 +2254,7 @@ function validateBoolean(value) {
|
|
2254
2254
|
*
|
2255
2255
|
* ```
|
2256
2256
|
* <script type="module">
|
2257
|
-
* import {validateString} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
2257
|
+
* import {validateString} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/validate.js';
|
2258
2258
|
* console.log(validateString('2')) // ↦ value
|
2259
2259
|
* console.log(validateString([])) // ↦ TypeError
|
2260
2260
|
* </script>
|
@@ -2283,7 +2283,7 @@ function validateString(value) {
|
|
2283
2283
|
*
|
2284
2284
|
* ```
|
2285
2285
|
* <script type="module">
|
2286
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
2286
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/validate.js';
|
2287
2287
|
* console.log(Monster.Types.validateObject({})) // ↦ value
|
2288
2288
|
* console.log(Monster.Types.validateObject('2')) // ↦ TypeError
|
2289
2289
|
* console.log(Monster.Types.validateObject([])) // ↦ TypeError
|
@@ -2294,7 +2294,7 @@ function validateString(value) {
|
|
2294
2294
|
*
|
2295
2295
|
* ```
|
2296
2296
|
* <script type="module">
|
2297
|
-
* import {validateObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
2297
|
+
* import {validateObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/validate.js';
|
2298
2298
|
* console.log(validateObject({})) // ↦ value
|
2299
2299
|
* console.log(validateObject('2')) // ↦ TypeError
|
2300
2300
|
* console.log(validateObject([])) // ↦ TypeError
|
@@ -2324,7 +2324,7 @@ function validateObject(value) {
|
|
2324
2324
|
*
|
2325
2325
|
* ```
|
2326
2326
|
* <script type="module">
|
2327
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
2327
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/validate.js';
|
2328
2328
|
* console.log(Monster.Types.validateInstance({}, Object)) // ↦ value
|
2329
2329
|
* console.log(Monster.Types.validateInstance('2', Object)) // ↦ TypeError
|
2330
2330
|
* console.log(Monster.Types.validateInstance([], Object)) // ↦ TypeError
|
@@ -2335,7 +2335,7 @@ function validateObject(value) {
|
|
2335
2335
|
*
|
2336
2336
|
* ```
|
2337
2337
|
* <script type="module">
|
2338
|
-
* import {validateInstance} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
2338
|
+
* import {validateInstance} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/validate.js';
|
2339
2339
|
* console.log(validateInstance({}, Object)) // ↦ value
|
2340
2340
|
* console.log(validateInstance('2', Object)) // ↦ TypeError
|
2341
2341
|
* console.log(validateInstance([], Object)) // ↦ TypeError
|
@@ -2375,7 +2375,7 @@ function validateInstance(value, instance) {
|
|
2375
2375
|
*
|
2376
2376
|
* ```
|
2377
2377
|
* <script type="module">
|
2378
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
2378
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/validate.js';
|
2379
2379
|
* console.log(Monster.Types.validateArray('2')) // ↦ TypeError
|
2380
2380
|
* console.log(Monster.Types.validateArray([])) // ↦ value
|
2381
2381
|
* </script>
|
@@ -2385,7 +2385,7 @@ function validateInstance(value, instance) {
|
|
2385
2385
|
*
|
2386
2386
|
* ```
|
2387
2387
|
* <script type="module">
|
2388
|
-
* import {validateArray} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
2388
|
+
* import {validateArray} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/validate.js';
|
2389
2389
|
* console.log(validateArray('2')) // ↦ TypeError
|
2390
2390
|
* console.log(validateArray([])) // ↦ value
|
2391
2391
|
* </script>
|
@@ -2414,7 +2414,7 @@ function validateArray(value) {
|
|
2414
2414
|
*
|
2415
2415
|
* ```
|
2416
2416
|
* <script type="module">
|
2417
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
2417
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/validate.js';
|
2418
2418
|
* console.log(Monster.Types.validateSymbol('2')) // ↦ TypeError
|
2419
2419
|
* console.log(Monster.Types.validateSymbol([])) // ↦ value
|
2420
2420
|
* </script>
|
@@ -2424,7 +2424,7 @@ function validateArray(value) {
|
|
2424
2424
|
*
|
2425
2425
|
* ```
|
2426
2426
|
* <script type="module">
|
2427
|
-
* import {validateSymbol} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
2427
|
+
* import {validateSymbol} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/validate.js';
|
2428
2428
|
* console.log(validateSymbol('2')) // ↦ TypeError
|
2429
2429
|
* console.log(validateSymbol()) // ↦ value
|
2430
2430
|
* </script>
|
@@ -2453,7 +2453,7 @@ function validateSymbol(value) {
|
|
2453
2453
|
*
|
2454
2454
|
* ```
|
2455
2455
|
* <script type="module">
|
2456
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
2456
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/validate.js';
|
2457
2457
|
* console.log(Monster.Types.validateFunction(()=>{})) // ↦ value
|
2458
2458
|
* console.log(Monster.Types.validateFunction('2')) // ↦ TypeError
|
2459
2459
|
* console.log(Monster.Types.validateFunction([])) // ↦ TypeError
|
@@ -2464,7 +2464,7 @@ function validateSymbol(value) {
|
|
2464
2464
|
*
|
2465
2465
|
* ```
|
2466
2466
|
* <script type="module">
|
2467
|
-
* import {validateFunction} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
2467
|
+
* import {validateFunction} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/validate.js';
|
2468
2468
|
* console.log(validateFunction(()=>{})) // ↦ value
|
2469
2469
|
* console.log(validateFunction('2')) // ↦ TypeError
|
2470
2470
|
* console.log(validateFunction([])) // ↦ TypeError
|
@@ -2494,7 +2494,7 @@ function validateFunction(value) {
|
|
2494
2494
|
*
|
2495
2495
|
* ```
|
2496
2496
|
* <script type="module">
|
2497
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
2497
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/validate.js';
|
2498
2498
|
* console.log(Monster.Types.validateInteger(true)) // ↦ TypeError
|
2499
2499
|
* console.log(Monster.Types.validateInteger('2')) // ↦ TypeError
|
2500
2500
|
* console.log(Monster.Types.validateInteger(2)) // ↦ value
|
@@ -2505,7 +2505,7 @@ function validateFunction(value) {
|
|
2505
2505
|
*
|
2506
2506
|
* ```
|
2507
2507
|
* <script type="module">
|
2508
|
-
* import {validateFunction} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
2508
|
+
* import {validateFunction} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/validate.js';
|
2509
2509
|
* console.log(validateInteger(true)) // ↦ TypeError
|
2510
2510
|
* console.log(validateInteger('2')) // ↦ TypeError
|
2511
2511
|
* console.log(validateInteger(2)) // ↦ value
|
@@ -2544,6 +2544,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
2544
2544
|
/* harmony import */ var _namespace_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2);
|
2545
2545
|
/* harmony import */ var _types_global_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(16);
|
2546
2546
|
/* harmony import */ var _types_is_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(9);
|
2547
|
+
/* harmony import */ var _types_typeof_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(17);
|
2548
|
+
/* harmony import */ var _types_validate_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(14);
|
2547
2549
|
|
2548
2550
|
/**
|
2549
2551
|
* @author schukai GmbH
|
@@ -2554,6 +2556,8 @@ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "functi
|
|
2554
2556
|
|
2555
2557
|
|
2556
2558
|
|
2559
|
+
|
2560
|
+
|
2557
2561
|
/**
|
2558
2562
|
* With this function, objects can be cloned.
|
2559
2563
|
* The entire object tree is run through.
|
@@ -2567,7 +2571,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "functi
|
|
2567
2571
|
*
|
2568
2572
|
* ```
|
2569
2573
|
* <script type="module">
|
2570
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
2574
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/util/clone.js';
|
2571
2575
|
* console.log(Monster.Util.clone({}))
|
2572
2576
|
* </script>
|
2573
2577
|
* ```
|
@@ -2576,7 +2580,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "functi
|
|
2576
2580
|
*
|
2577
2581
|
* ```
|
2578
2582
|
* <script type="module">
|
2579
|
-
* import {clone} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
2583
|
+
* import {clone} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/util/clone.js';
|
2580
2584
|
* console.log(clone({}))
|
2581
2585
|
* </script>
|
2582
2586
|
* ```
|
@@ -2662,14 +2666,21 @@ function clone(obj) {
|
|
2662
2666
|
|
2663
2667
|
|
2664
2668
|
function cloneObject(obj) {
|
2665
|
-
|
2669
|
+
(0,_types_validate_js__WEBPACK_IMPORTED_MODULE_4__.validateObject)(obj);
|
2670
|
+
var constructor = obj === null || obj === void 0 ? void 0 : obj['constructor'];
|
2666
2671
|
/** Object has clone method */
|
2667
2672
|
|
2668
|
-
if (
|
2669
|
-
|
2673
|
+
if ((0,_types_typeof_js__WEBPACK_IMPORTED_MODULE_3__.typeOf)(constructor) === 'function') {
|
2674
|
+
var prototype = constructor === null || constructor === void 0 ? void 0 : constructor.prototype;
|
2675
|
+
|
2676
|
+
if (_typeof(prototype) === 'object') {
|
2677
|
+
if (prototype.hasOwnProperty('getClone') && (0,_types_typeof_js__WEBPACK_IMPORTED_MODULE_3__.typeOf)(obj.getClone) === 'function') {
|
2678
|
+
return obj.getClone();
|
2679
|
+
}
|
2680
|
+
}
|
2670
2681
|
}
|
2671
2682
|
|
2672
|
-
copy = {};
|
2683
|
+
var copy = {};
|
2673
2684
|
|
2674
2685
|
if (typeof obj.constructor === 'function' && typeof obj.constructor.call === 'function') {
|
2675
2686
|
copy = new obj.constructor();
|
@@ -2782,7 +2793,7 @@ function getGlobal() {
|
|
2782
2793
|
*
|
2783
2794
|
* ```
|
2784
2795
|
* <script type="module">
|
2785
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
2796
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/global.js';
|
2786
2797
|
* console.log(Monster.Types.getGlobalObject('document')) // ↦ { }
|
2787
2798
|
* </script>
|
2788
2799
|
* ```
|
@@ -2791,7 +2802,7 @@ function getGlobal() {
|
|
2791
2802
|
*
|
2792
2803
|
* ```
|
2793
2804
|
* <script type="module">
|
2794
|
-
* import {getGlobalObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
2805
|
+
* import {getGlobalObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/global.js';
|
2795
2806
|
* console.log(getGlobalObject('document')) // ↦ { }
|
2796
2807
|
* </script>
|
2797
2808
|
* ```
|
@@ -2822,7 +2833,7 @@ function getGlobalObject(name) {
|
|
2822
2833
|
*
|
2823
2834
|
* ```
|
2824
2835
|
* <script type="module">
|
2825
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
2836
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/global.js';
|
2826
2837
|
* console.log(Monster.Types.getGlobalFunction('parseInt')) // ↦ f parseInt() { }
|
2827
2838
|
* </script>
|
2828
2839
|
* ```
|
@@ -2831,7 +2842,7 @@ function getGlobalObject(name) {
|
|
2831
2842
|
*
|
2832
2843
|
* ```
|
2833
2844
|
* <script type="module">
|
2834
|
-
* import {getGlobalFunction} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
2845
|
+
* import {getGlobalFunction} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/global.js';
|
2835
2846
|
* console.log(getGlobalFunction('parseInt')) // ↦ f parseInt() { }
|
2836
2847
|
* </script>
|
2837
2848
|
* ```
|
@@ -2863,6 +2874,77 @@ function getGlobalFunction(name) {
|
|
2863
2874
|
/* 17 */
|
2864
2875
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
2865
2876
|
|
2877
|
+
__webpack_require__.r(__webpack_exports__);
|
2878
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
2879
|
+
/* harmony export */ "Monster": function() { return /* reexport safe */ _namespace_js__WEBPACK_IMPORTED_MODULE_0__.Monster; },
|
2880
|
+
/* harmony export */ "typeOf": function() { return /* binding */ typeOf; }
|
2881
|
+
/* harmony export */ });
|
2882
|
+
/* harmony import */ var _namespace_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2);
|
2883
|
+
|
2884
|
+
/**
|
2885
|
+
* @author schukai GmbH
|
2886
|
+
*/
|
2887
|
+
|
2888
|
+
|
2889
|
+
/**
|
2890
|
+
* The built-in typeof method is known to have some historical weaknesses. This function tries to provide a better and more accurate result.
|
2891
|
+
*
|
2892
|
+
* You can call the method via the monster namespace `Monster.Types.typeOf()`.
|
2893
|
+
*
|
2894
|
+
* ```
|
2895
|
+
* <script type="module">
|
2896
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/typeof.js';
|
2897
|
+
* console.log(Monster.Types.typeOf())
|
2898
|
+
* </script>
|
2899
|
+
* ```
|
2900
|
+
*
|
2901
|
+
* Alternatively, you can also integrate this function individually.
|
2902
|
+
*
|
2903
|
+
* ```
|
2904
|
+
* <script type="module">
|
2905
|
+
* import {typeOf} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/typeof.js';
|
2906
|
+
* console.log(typeOf())
|
2907
|
+
* </script>
|
2908
|
+
* ```
|
2909
|
+
*
|
2910
|
+
* @example
|
2911
|
+
*
|
2912
|
+
* import {typeOf} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/typeof.js';
|
2913
|
+
*
|
2914
|
+
* console.log(typeOf(undefined)); // ↦ undefined
|
2915
|
+
* console.log(typeOf("")); // ↦ string
|
2916
|
+
* console.log(typeOf(5)); // ↦ number
|
2917
|
+
* console.log(typeOf({})); // ↦ object
|
2918
|
+
* console.log(typeOf([])); // ↦ array
|
2919
|
+
* console.log(typeOf(new Map)); // ↦ map
|
2920
|
+
* console.log(typeOf(true)); // ↦ boolean
|
2921
|
+
*
|
2922
|
+
* @param {*} value
|
2923
|
+
* @return {string}
|
2924
|
+
* @since 1.7.0
|
2925
|
+
* @copyright schukai GmbH
|
2926
|
+
* @memberOf Monster.Types
|
2927
|
+
* @throws {TypeError} value is not a primitive
|
2928
|
+
*/
|
2929
|
+
|
2930
|
+
function typeOf(value) {
|
2931
|
+
var type = {}.toString.call(value).match(/\s([a-zA-Z]+)/)[1];
|
2932
|
+
|
2933
|
+
if ('Object' === type) {
|
2934
|
+
var results = /^(class|function)\s+(\w+)/.exec(value.constructor.toString());
|
2935
|
+
type = results && results.length > 2 ? results[2] : '';
|
2936
|
+
}
|
2937
|
+
|
2938
|
+
return type.toLowerCase();
|
2939
|
+
}
|
2940
|
+
|
2941
|
+
(0,_namespace_js__WEBPACK_IMPORTED_MODULE_0__.assignToNamespace)('Monster.Types', typeOf);
|
2942
|
+
|
2943
|
+
|
2944
|
+
/***/ }),
|
2945
|
+
/* 18 */
|
2946
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
2947
|
+
|
2866
2948
|
__webpack_require__.r(__webpack_exports__);
|
2867
2949
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
2868
2950
|
/* harmony export */ "DELIMITER": function() { return /* binding */ DELIMITER; },
|
@@ -2873,7 +2955,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
2873
2955
|
/* harmony import */ var _namespace_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2);
|
2874
2956
|
/* harmony import */ var _types_base_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(4);
|
2875
2957
|
/* harmony import */ var _types_is_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(9);
|
2876
|
-
/* harmony import */ var _types_stack_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
|
2958
|
+
/* harmony import */ var _types_stack_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(19);
|
2877
2959
|
/* harmony import */ var _types_validate_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(14);
|
2878
2960
|
|
2879
2961
|
/**
|
@@ -2946,7 +3028,7 @@ var WILDCARD = '*';
|
|
2946
3028
|
*
|
2947
3029
|
* ```
|
2948
3030
|
* <script type="module">
|
2949
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
3031
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/data/pathfinder.js';
|
2950
3032
|
* console.log(new Monster.Data.Pathfinder())
|
2951
3033
|
* </script>
|
2952
3034
|
* ```
|
@@ -2955,7 +3037,7 @@ var WILDCARD = '*';
|
|
2955
3037
|
*
|
2956
3038
|
* ```
|
2957
3039
|
* <script type="module">
|
2958
|
-
* import {Pathfinder} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
3040
|
+
* import {Pathfinder} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/data/pathfinder.js';
|
2959
3041
|
* console.log(new Pathfinder())
|
2960
3042
|
* </script>
|
2961
3043
|
* ```
|
@@ -2997,7 +3079,7 @@ var WILDCARD = '*';
|
|
2997
3079
|
*
|
2998
3080
|
* @example
|
2999
3081
|
*
|
3000
|
-
* import {Pathfinder} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
3082
|
+
* import {Pathfinder} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/data/pathfinder.js';
|
3001
3083
|
*
|
3002
3084
|
* let value = new Pathfinder({
|
3003
3085
|
* a: {
|
@@ -3023,7 +3105,7 @@ var WILDCARD = '*';
|
|
3023
3105
|
*
|
3024
3106
|
* @example
|
3025
3107
|
*
|
3026
|
-
* import {Pathfinder} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
3108
|
+
* import {Pathfinder} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/data/pathfinder.js';
|
3027
3109
|
*
|
3028
3110
|
* let p = new Pathfinder({
|
3029
3111
|
* a: {
|
@@ -3390,7 +3472,7 @@ function deleteValueViaPath(object, path) {
|
|
3390
3472
|
}
|
3391
3473
|
|
3392
3474
|
/***/ }),
|
3393
|
-
/*
|
3475
|
+
/* 19 */
|
3394
3476
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
3395
3477
|
|
3396
3478
|
__webpack_require__.r(__webpack_exports__);
|
@@ -3434,7 +3516,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
3434
3516
|
*
|
3435
3517
|
* ```
|
3436
3518
|
* <script type="module">
|
3437
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
3519
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/stack.js';
|
3438
3520
|
* console.log(new Monster.Types.Stack())
|
3439
3521
|
* </script>
|
3440
3522
|
* ```
|
@@ -3443,7 +3525,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
3443
3525
|
*
|
3444
3526
|
* ```
|
3445
3527
|
* <script type="module">
|
3446
|
-
* import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
3528
|
+
* import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/stack.js';
|
3447
3529
|
* console.log(new Stack())
|
3448
3530
|
* </script>
|
3449
3531
|
* ```
|
@@ -3548,7 +3630,7 @@ var Stack = /*#__PURE__*/function (_Base) {
|
|
3548
3630
|
|
3549
3631
|
|
3550
3632
|
/***/ }),
|
3551
|
-
/*
|
3633
|
+
/* 20 */
|
3552
3634
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
3553
3635
|
|
3554
3636
|
__webpack_require__.r(__webpack_exports__);
|
@@ -3558,7 +3640,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
3558
3640
|
/* harmony export */ });
|
3559
3641
|
/* harmony import */ var _namespace_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2);
|
3560
3642
|
/* harmony import */ var _types_is_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(9);
|
3561
|
-
/* harmony import */ var _types_typeof_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
|
3643
|
+
/* harmony import */ var _types_typeof_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(17);
|
3562
3644
|
|
3563
3645
|
/**
|
3564
3646
|
* @author schukai GmbH
|
@@ -3578,7 +3660,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "functi
|
|
3578
3660
|
*
|
3579
3661
|
* ```
|
3580
3662
|
* <script type="module">
|
3581
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
3663
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/data/diff.js';
|
3582
3664
|
* console.log(Monster.Data.Diff(a, b))
|
3583
3665
|
* </script>
|
3584
3666
|
* ```
|
@@ -3587,14 +3669,14 @@ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "functi
|
|
3587
3669
|
*
|
3588
3670
|
* ```
|
3589
3671
|
* <script type="module">
|
3590
|
-
* import {Diff} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
3672
|
+
* import {Diff} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/data/diff.js';
|
3591
3673
|
* console.log(Diff(a, b))
|
3592
3674
|
* </script>
|
3593
3675
|
* ```
|
3594
3676
|
*
|
3595
3677
|
* @example
|
3596
3678
|
*
|
3597
|
-
* import {Diff} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
3679
|
+
* import {Diff} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/data/diff.js';
|
3598
3680
|
*
|
3599
3681
|
* // given are two objects x and y.
|
3600
3682
|
*
|
@@ -3812,77 +3894,6 @@ function getOperator(a, b) {
|
|
3812
3894
|
(0,_namespace_js__WEBPACK_IMPORTED_MODULE_0__.assignToNamespace)('Monster.Data', Diff);
|
3813
3895
|
|
3814
3896
|
|
3815
|
-
/***/ }),
|
3816
|
-
/* 20 */
|
3817
|
-
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
3818
|
-
|
3819
|
-
__webpack_require__.r(__webpack_exports__);
|
3820
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
3821
|
-
/* harmony export */ "Monster": function() { return /* reexport safe */ _namespace_js__WEBPACK_IMPORTED_MODULE_0__.Monster; },
|
3822
|
-
/* harmony export */ "typeOf": function() { return /* binding */ typeOf; }
|
3823
|
-
/* harmony export */ });
|
3824
|
-
/* harmony import */ var _namespace_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2);
|
3825
|
-
|
3826
|
-
/**
|
3827
|
-
* @author schukai GmbH
|
3828
|
-
*/
|
3829
|
-
|
3830
|
-
|
3831
|
-
/**
|
3832
|
-
* The built-in typeof method is known to have some historical weaknesses. This function tries to provide a better and more accurate result.
|
3833
|
-
*
|
3834
|
-
* You can call the method via the monster namespace `Monster.Types.typeOf()`.
|
3835
|
-
*
|
3836
|
-
* ```
|
3837
|
-
* <script type="module">
|
3838
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/types/typeof.js';
|
3839
|
-
* console.log(Monster.Types.typeOf())
|
3840
|
-
* </script>
|
3841
|
-
* ```
|
3842
|
-
*
|
3843
|
-
* Alternatively, you can also integrate this function individually.
|
3844
|
-
*
|
3845
|
-
* ```
|
3846
|
-
* <script type="module">
|
3847
|
-
* import {typeOf} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/types/typeof.js';
|
3848
|
-
* console.log(typeOf())
|
3849
|
-
* </script>
|
3850
|
-
* ```
|
3851
|
-
*
|
3852
|
-
* @example
|
3853
|
-
*
|
3854
|
-
* import {typeOf} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/types/typeof.js';
|
3855
|
-
*
|
3856
|
-
* console.log(typeOf(undefined)); // ↦ undefined
|
3857
|
-
* console.log(typeOf("")); // ↦ string
|
3858
|
-
* console.log(typeOf(5)); // ↦ number
|
3859
|
-
* console.log(typeOf({})); // ↦ object
|
3860
|
-
* console.log(typeOf([])); // ↦ array
|
3861
|
-
* console.log(typeOf(new Map)); // ↦ map
|
3862
|
-
* console.log(typeOf(true)); // ↦ boolean
|
3863
|
-
*
|
3864
|
-
* @param {*} value
|
3865
|
-
* @return {string}
|
3866
|
-
* @since 1.7.0
|
3867
|
-
* @copyright schukai GmbH
|
3868
|
-
* @memberOf Monster.Types
|
3869
|
-
* @throws {TypeError} value is not a primitive
|
3870
|
-
*/
|
3871
|
-
|
3872
|
-
function typeOf(value) {
|
3873
|
-
var type = {}.toString.call(value).match(/\s([a-zA-Z]+)/)[1];
|
3874
|
-
|
3875
|
-
if ('Object' === type) {
|
3876
|
-
var results = /^(class|function)\s+(\w+)/.exec(value.constructor.toString());
|
3877
|
-
type = results && results.length > 2 ? results[2] : '';
|
3878
|
-
}
|
3879
|
-
|
3880
|
-
return type.toLowerCase();
|
3881
|
-
}
|
3882
|
-
|
3883
|
-
(0,_namespace_js__WEBPACK_IMPORTED_MODULE_0__.assignToNamespace)('Monster.Types', typeOf);
|
3884
|
-
|
3885
|
-
|
3886
3897
|
/***/ }),
|
3887
3898
|
/* 21 */
|
3888
3899
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
@@ -3894,7 +3905,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
3894
3905
|
/* harmony export */ });
|
3895
3906
|
/* harmony import */ var _namespace_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2);
|
3896
3907
|
/* harmony import */ var _types_is_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(9);
|
3897
|
-
/* harmony import */ var _types_typeof_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
|
3908
|
+
/* harmony import */ var _types_typeof_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(17);
|
3898
3909
|
|
3899
3910
|
/**
|
3900
3911
|
* @author schukai GmbH
|
@@ -3911,7 +3922,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
3911
3922
|
*
|
3912
3923
|
* ```
|
3913
3924
|
* <script type="module">
|
3914
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
3925
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/data/extend.js';
|
3915
3926
|
* console.log(Monster.Data.extend(a, b))
|
3916
3927
|
* </script>
|
3917
3928
|
* ```
|
@@ -3920,7 +3931,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
3920
3931
|
*
|
3921
3932
|
* ```
|
3922
3933
|
* <script type="module">
|
3923
|
-
* import {extend} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
3934
|
+
* import {extend} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/data/extend.js';
|
3924
3935
|
* console.log(extend(a, b))
|
3925
3936
|
* </script>
|
3926
3937
|
* ```
|
@@ -3931,7 +3942,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
3931
3942
|
* @since 1.10.0
|
3932
3943
|
* @copyright schukai GmbH
|
3933
3944
|
* @memberOf Monster.Data
|
3934
|
-
* @throws {Error}
|
3945
|
+
* @throws {Error} unsupported argument
|
3935
3946
|
* @throws {Error} type mismatch
|
3936
3947
|
*/
|
3937
3948
|
|
@@ -3942,7 +3953,7 @@ function extend() {
|
|
3942
3953
|
var a = arguments[i];
|
3943
3954
|
|
3944
3955
|
if (!((0,_types_is_js__WEBPACK_IMPORTED_MODULE_1__.isObject)(a) || (0,_types_is_js__WEBPACK_IMPORTED_MODULE_1__.isArray)(a))) {
|
3945
|
-
throw new Error('
|
3956
|
+
throw new Error('unsupported argument ' + JSON.stringify(a));
|
3946
3957
|
}
|
3947
3958
|
|
3948
3959
|
if (o === undefined) {
|
@@ -3959,17 +3970,17 @@ function extend() {
|
|
3959
3970
|
continue;
|
3960
3971
|
}
|
3961
3972
|
|
3962
|
-
if ((0,_types_is_js__WEBPACK_IMPORTED_MODULE_1__.isObject)(v) || (0,_types_is_js__WEBPACK_IMPORTED_MODULE_1__.isArray)(v)) {
|
3973
|
+
if ((0,_types_is_js__WEBPACK_IMPORTED_MODULE_1__.isObject)(v) && (0,_types_typeof_js__WEBPACK_IMPORTED_MODULE_2__.typeOf)(v) === 'object' || (0,_types_is_js__WEBPACK_IMPORTED_MODULE_1__.isArray)(v)) {
|
3963
3974
|
if (o[k] === undefined) {
|
3964
3975
|
if ((0,_types_is_js__WEBPACK_IMPORTED_MODULE_1__.isArray)(v)) {
|
3965
3976
|
o[k] = [];
|
3966
3977
|
} else {
|
3967
3978
|
o[k] = {};
|
3968
3979
|
}
|
3969
|
-
}
|
3970
|
-
|
3971
|
-
|
3972
|
-
|
3980
|
+
} else {
|
3981
|
+
if ((0,_types_typeof_js__WEBPACK_IMPORTED_MODULE_2__.typeOf)(o[k]) !== (0,_types_typeof_js__WEBPACK_IMPORTED_MODULE_2__.typeOf)(v)) {
|
3982
|
+
throw new Error("type mismatch: " + JSON.stringify(o[k]) + "(" + (0,_types_typeof_js__WEBPACK_IMPORTED_MODULE_2__.typeOf)(o[k]) + ") != " + JSON.stringify(v) + "(" + (0,_types_typeof_js__WEBPACK_IMPORTED_MODULE_2__.typeOf)(v) + ")");
|
3983
|
+
}
|
3973
3984
|
}
|
3974
3985
|
|
3975
3986
|
o[k] = extend(o[k], v);
|
@@ -4049,7 +4060,7 @@ var DELIMITER = '|';
|
|
4049
4060
|
*
|
4050
4061
|
* ```
|
4051
4062
|
* <script type="module">
|
4052
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
4063
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/data/pipe.js';
|
4053
4064
|
* console.log(new Monster.Data.Pipe())
|
4054
4065
|
* </script>
|
4055
4066
|
* ```
|
@@ -4058,7 +4069,7 @@ var DELIMITER = '|';
|
|
4058
4069
|
*
|
4059
4070
|
* ```
|
4060
4071
|
* <script type="module">
|
4061
|
-
* import {Pipe} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
4072
|
+
* import {Pipe} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/data/pipe.js';
|
4062
4073
|
* console.log(new Pipe())
|
4063
4074
|
* </script>
|
4064
4075
|
* ```
|
@@ -4069,7 +4080,7 @@ var DELIMITER = '|';
|
|
4069
4080
|
* the word is then converted to uppercase letters and a prefix Hello is added. the two backslash safe the space char.
|
4070
4081
|
*
|
4071
4082
|
* @example
|
4072
|
-
* import {Pipe} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
4083
|
+
* import {Pipe} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/data/pipe.js';
|
4073
4084
|
*
|
4074
4085
|
* let obj = {
|
4075
4086
|
* a: {
|
@@ -4172,7 +4183,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
4172
4183
|
/* harmony import */ var _types_is_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(9);
|
4173
4184
|
/* harmony import */ var _types_validate_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(14);
|
4174
4185
|
/* harmony import */ var _util_clone_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(15);
|
4175
|
-
/* harmony import */ var _pathfinder_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
|
4186
|
+
/* harmony import */ var _pathfinder_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(18);
|
4176
4187
|
|
4177
4188
|
/**
|
4178
4189
|
* @author schukai GmbH
|
@@ -4231,7 +4242,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
4231
4242
|
*
|
4232
4243
|
* ```
|
4233
4244
|
* <script type="module">
|
4234
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
4245
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/data/transformer.js';
|
4235
4246
|
* console.log(new Monster.Data.Transformer())
|
4236
4247
|
* </script>
|
4237
4248
|
* ```
|
@@ -4240,7 +4251,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
4240
4251
|
*
|
4241
4252
|
* ```
|
4242
4253
|
* <script type="module">
|
4243
|
-
* import {Transformer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
4254
|
+
* import {Transformer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/data/transformer.js';
|
4244
4255
|
* console.log(new Transformer())
|
4245
4256
|
* </script>
|
4246
4257
|
* ```
|
@@ -4258,7 +4269,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
4258
4269
|
* | command | parameter | alias | description |
|
4259
4270
|
* |:-------------|:---------------------------|:------------------------|:-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
4260
4271
|
* | base64 | | | Converts the value to base64 |
|
4261
|
-
* | call | function
|
4272
|
+
* | call | function:param1:param2:... | | Calling a callback function. The function can be defined in three places: either globally, in the context `addCallback` or in the passed object |
|
4262
4273
|
* | default | | | If the value is undefined the first argument is returned, otherwise the value. (since 1.12.0) |
|
4263
4274
|
* | empty | | | Return empty String "" |
|
4264
4275
|
* | fromjson | | | Type conversion from a JSON string (since 1.12.0) |
|
@@ -4319,7 +4330,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
4319
4330
|
*
|
4320
4331
|
* @example
|
4321
4332
|
*
|
4322
|
-
* import {Transformer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
4333
|
+
* import {Transformer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/data/transformer.js';
|
4323
4334
|
*
|
4324
4335
|
* const transformer = new Transformer("tolower")
|
4325
4336
|
*
|
@@ -4752,7 +4763,7 @@ var internalCounter = new Map();
|
|
4752
4763
|
*
|
4753
4764
|
* ```
|
4754
4765
|
* <script type="module">
|
4755
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
4766
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/id.js';
|
4756
4767
|
* console.log(new Monster.Types.ID())
|
4757
4768
|
* </script>
|
4758
4769
|
* ```
|
@@ -4761,7 +4772,7 @@ var internalCounter = new Map();
|
|
4761
4772
|
*
|
4762
4773
|
* ```
|
4763
4774
|
* <script type="module">
|
4764
|
-
* import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
4775
|
+
* import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/id.js';
|
4765
4776
|
* console.log(new ID())
|
4766
4777
|
* </script>
|
4767
4778
|
* ```
|
@@ -4881,7 +4892,7 @@ var ATTRIBUTEPREFIX = "data-monster-";
|
|
4881
4892
|
*
|
4882
4893
|
* ```
|
4883
4894
|
* <script type="module">
|
4884
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
4895
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/dom/assembler.js';
|
4885
4896
|
* console.log(new Monster.DOM.Assembler())
|
4886
4897
|
* </script>
|
4887
4898
|
* ```
|
@@ -4890,7 +4901,7 @@ var ATTRIBUTEPREFIX = "data-monster-";
|
|
4890
4901
|
*
|
4891
4902
|
* ```
|
4892
4903
|
* <script type="module">
|
4893
|
-
* import {Assembler} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
4904
|
+
* import {Assembler} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/dom/assembler.js';
|
4894
4905
|
* console.log(new Assembler())
|
4895
4906
|
* </script>
|
4896
4907
|
* ```
|
@@ -5029,7 +5040,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
5029
5040
|
*
|
5030
5041
|
* ```
|
5031
5042
|
* <script type="module">
|
5032
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
5043
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/proxyobserver.js';
|
5033
5044
|
* console.log(new Monster.Types.ProxyObserver())
|
5034
5045
|
* </script>
|
5035
5046
|
* ```
|
@@ -5038,7 +5049,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
5038
5049
|
*
|
5039
5050
|
* ```
|
5040
5051
|
* <script type="module">
|
5041
|
-
* import {ProxyObserver} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
5052
|
+
* import {ProxyObserver} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/proxyobserver.js';
|
5042
5053
|
* console.log(new ProxyObserver())
|
5043
5054
|
* </script>
|
5044
5055
|
* ```
|
@@ -5049,9 +5060,9 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
5049
5060
|
*
|
5050
5061
|
* @example
|
5051
5062
|
*
|
5052
|
-
* import {ProxyObserver} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
5053
|
-
* import {Observer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
5054
|
-
* import {isObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
5063
|
+
* import {ProxyObserver} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/proxyobserver.js';
|
5064
|
+
* import {Observer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/observer.js';
|
5065
|
+
* import {isObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/is.js';
|
5055
5066
|
*
|
5056
5067
|
* const o = new Observer(function () {
|
5057
5068
|
* if (isObject(this) && this instanceof ProxyObserver) {
|
@@ -5358,7 +5369,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
5358
5369
|
*
|
5359
5370
|
* ```
|
5360
5371
|
* <script type="module">
|
5361
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
5372
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/observer.js';
|
5362
5373
|
* console.log(new Monster.Types.Observer())
|
5363
5374
|
* </script>
|
5364
5375
|
* ```
|
@@ -5367,7 +5378,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
5367
5378
|
*
|
5368
5379
|
* ```
|
5369
5380
|
* <script type="module">
|
5370
|
-
* import {Observer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
5381
|
+
* import {Observer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/observer.js';
|
5371
5382
|
* console.log(new Observer())
|
5372
5383
|
* </script>
|
5373
5384
|
* ```
|
@@ -5401,7 +5412,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
5401
5412
|
*
|
5402
5413
|
* @example
|
5403
5414
|
*
|
5404
|
-
* import {Observer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
5415
|
+
* import {Observer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/observer.js';
|
5405
5416
|
*
|
5406
5417
|
* const observer = new Observer(function(a, b, c) {
|
5407
5418
|
* console.log(this, a, b, c); // ↦ "a", 2, true
|
@@ -5601,7 +5612,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
5601
5612
|
*
|
5602
5613
|
* ```
|
5603
5614
|
* <script type="module">
|
5604
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
5615
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/tokenlist.js';
|
5605
5616
|
* console.log(new Monster.Types.TokenList("myclass row"))
|
5606
5617
|
* console.log(new Monster.Types.TokenList("myclass row"))
|
5607
5618
|
* </script>
|
@@ -5611,7 +5622,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
5611
5622
|
*
|
5612
5623
|
* ```
|
5613
5624
|
* <script type="module">
|
5614
|
-
* import {TokenList} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
5625
|
+
* import {TokenList} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/tokenlist.js';
|
5615
5626
|
* console.log(new TokenList("myclass row"))
|
5616
5627
|
* console.log(new TokenList("myclass row"))
|
5617
5628
|
* </script>
|
@@ -6034,7 +6045,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
6034
6045
|
*
|
6035
6046
|
* ```
|
6036
6047
|
* <script type="module">
|
6037
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
6048
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/uniquequeue.js';
|
6038
6049
|
* console.log(new Monster.Types.UniqueQueue())
|
6039
6050
|
* </script>
|
6040
6051
|
* ```
|
@@ -6043,7 +6054,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
6043
6054
|
*
|
6044
6055
|
* ```
|
6045
6056
|
* <script type="module">
|
6046
|
-
* import {UniqueQueue} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
6057
|
+
* import {UniqueQueue} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/uniquequeue.js';
|
6047
6058
|
* console.log(new UniqueQueue())
|
6048
6059
|
* </script>
|
6049
6060
|
* ```
|
@@ -6178,7 +6189,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
6178
6189
|
*
|
6179
6190
|
* ```
|
6180
6191
|
* <script type="module">
|
6181
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
6192
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/queue.js';
|
6182
6193
|
* console.log(new Monster.Types.Queue())
|
6183
6194
|
* </script>
|
6184
6195
|
* ```
|
@@ -6187,14 +6198,14 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
6187
6198
|
*
|
6188
6199
|
* ```
|
6189
6200
|
* <script type="module">
|
6190
|
-
* import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
6201
|
+
* import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/queue.js';
|
6191
6202
|
* console.log(new Queue())
|
6192
6203
|
* </script>
|
6193
6204
|
* ```
|
6194
6205
|
*
|
6195
6206
|
* @example
|
6196
6207
|
*
|
6197
|
-
* import {Queue} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
6208
|
+
* import {Queue} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/queue.js';
|
6198
6209
|
*
|
6199
6210
|
* const queue = new Queue;
|
6200
6211
|
*
|
@@ -6363,7 +6374,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
6363
6374
|
*
|
6364
6375
|
* ```
|
6365
6376
|
* <script type="module">
|
6366
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
6377
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/observerlist.js';
|
6367
6378
|
* console.log(new Monster.Types.ObserverList())
|
6368
6379
|
* console.log(new Monster.Types.ObserverList())
|
6369
6380
|
* </script>
|
@@ -6373,7 +6384,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
6373
6384
|
*
|
6374
6385
|
* ```
|
6375
6386
|
* <script type="module">
|
6376
|
-
* import {ObserverList} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
6387
|
+
* import {ObserverList} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/observerlist.js';
|
6377
6388
|
* console.log(ObserverList())
|
6378
6389
|
* console.log(ObserverList())
|
6379
6390
|
* </script>
|
@@ -6532,7 +6543,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
6532
6543
|
*
|
6533
6544
|
* ```
|
6534
6545
|
* <script type="module">
|
6535
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
6546
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/dom/updater.js';
|
6536
6547
|
* console.log(Monster.DOM.findClosestObjectLink())
|
6537
6548
|
* </script>
|
6538
6549
|
* ```
|
@@ -6541,7 +6552,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
6541
6552
|
*
|
6542
6553
|
* ```
|
6543
6554
|
* <script type="module">
|
6544
|
-
* import {getUpdaterFromNode} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
6555
|
+
* import {getUpdaterFromNode} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/dom/updater.js';
|
6545
6556
|
* console.log(findClosestObjectLink())
|
6546
6557
|
* </script>
|
6547
6558
|
* ```
|
@@ -6562,7 +6573,7 @@ function findClosestObjectLink(element) {
|
|
6562
6573
|
*
|
6563
6574
|
* ```
|
6564
6575
|
* <script type="module">
|
6565
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
6576
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/dom/attributes.js';
|
6566
6577
|
* Monster.DOM.addToObjectLink();
|
6567
6578
|
* </script>
|
6568
6579
|
* ```
|
@@ -6571,7 +6582,7 @@ function findClosestObjectLink(element) {
|
|
6571
6582
|
*
|
6572
6583
|
* ```
|
6573
6584
|
* <script type="module">
|
6574
|
-
* import {addToObjectLink} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
6585
|
+
* import {addToObjectLink} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/dom/attributes.js';
|
6575
6586
|
* addToObjectLink();
|
6576
6587
|
* </script>
|
6577
6588
|
* ```
|
@@ -6603,7 +6614,7 @@ function addToObjectLink(element, symbol, object) {
|
|
6603
6614
|
*
|
6604
6615
|
* ```
|
6605
6616
|
* <script type="module">
|
6606
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
6617
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/dom/attributes.js';
|
6607
6618
|
* Monster.DOM.removeObjectLink();
|
6608
6619
|
* </script>
|
6609
6620
|
* ```
|
@@ -6612,7 +6623,7 @@ function addToObjectLink(element, symbol, object) {
|
|
6612
6623
|
*
|
6613
6624
|
* ```
|
6614
6625
|
* <script type="module">
|
6615
|
-
* import {removeObjectLink} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
6626
|
+
* import {removeObjectLink} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/dom/attributes.js';
|
6616
6627
|
* removeObjectLink();
|
6617
6628
|
* </script>
|
6618
6629
|
* ```
|
@@ -6643,7 +6654,7 @@ function removeObjectLink(element, symbol) {
|
|
6643
6654
|
*
|
6644
6655
|
* ```
|
6645
6656
|
* <script type="module">
|
6646
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
6657
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/dom/attributes.js';
|
6647
6658
|
* Monster.DOM.hasObjectLink();
|
6648
6659
|
* </script>
|
6649
6660
|
* ```
|
@@ -6652,7 +6663,7 @@ function removeObjectLink(element, symbol) {
|
|
6652
6663
|
*
|
6653
6664
|
* ```
|
6654
6665
|
* <script type="module">
|
6655
|
-
* import {hasObjectLink} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
6666
|
+
* import {hasObjectLink} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/dom/attributes.js';
|
6656
6667
|
* hasObjectLink();
|
6657
6668
|
* </script>
|
6658
6669
|
* ```
|
@@ -6688,7 +6699,7 @@ function hasObjectLink(element, symbol) {
|
|
6688
6699
|
*
|
6689
6700
|
* ```
|
6690
6701
|
* <script type="module">
|
6691
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
6702
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/dom/attributes.js';
|
6692
6703
|
* Monster.DOM.getLinkedObjects();
|
6693
6704
|
* </script>
|
6694
6705
|
* ```
|
@@ -6697,7 +6708,7 @@ function hasObjectLink(element, symbol) {
|
|
6697
6708
|
*
|
6698
6709
|
* ```
|
6699
6710
|
* <script type="module">
|
6700
|
-
* import {getLinkedObjects} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
6711
|
+
* import {getLinkedObjects} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/dom/attributes.js';
|
6701
6712
|
* getLinkedObjects();
|
6702
6713
|
* </script>
|
6703
6714
|
* ```
|
@@ -6731,7 +6742,7 @@ function getLinkedObjects(element, symbol) {
|
|
6731
6742
|
*
|
6732
6743
|
* ```
|
6733
6744
|
* <script type="module">
|
6734
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
6745
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/dom/attributes.js';
|
6735
6746
|
* Monster.DOM.toggleAttributeToken();
|
6736
6747
|
* </script>
|
6737
6748
|
* ```
|
@@ -6740,7 +6751,7 @@ function getLinkedObjects(element, symbol) {
|
|
6740
6751
|
*
|
6741
6752
|
* ```
|
6742
6753
|
* <script type="module">
|
6743
|
-
* import {toggleAttributeToken} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
6754
|
+
* import {toggleAttributeToken} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/dom/attributes.js';
|
6744
6755
|
* toggleAttributeToken();
|
6745
6756
|
* </script>
|
6746
6757
|
* ```
|
@@ -6775,7 +6786,7 @@ function toggleAttributeToken(element, key, token) {
|
|
6775
6786
|
*
|
6776
6787
|
* ```
|
6777
6788
|
* <script type="module">
|
6778
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
6789
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/dom/attributes.js';
|
6779
6790
|
* Monster.DOM.addAttributeToken();
|
6780
6791
|
* </script>
|
6781
6792
|
* ```
|
@@ -6784,7 +6795,7 @@ function toggleAttributeToken(element, key, token) {
|
|
6784
6795
|
*
|
6785
6796
|
* ```
|
6786
6797
|
* <script type="module">
|
6787
|
-
* import {addAttributeToken} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
6798
|
+
* import {addAttributeToken} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/dom/attributes.js';
|
6788
6799
|
* addAttributeToken();
|
6789
6800
|
* </script>
|
6790
6801
|
* ```
|
@@ -6821,7 +6832,7 @@ function addAttributeToken(element, key, token) {
|
|
6821
6832
|
*
|
6822
6833
|
* ```
|
6823
6834
|
* <script type="module">
|
6824
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
6835
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/dom/attributes.js';
|
6825
6836
|
* Monster.DOM.removeAttributeToken();
|
6826
6837
|
* </script>
|
6827
6838
|
* ```
|
@@ -6830,7 +6841,7 @@ function addAttributeToken(element, key, token) {
|
|
6830
6841
|
*
|
6831
6842
|
* ```
|
6832
6843
|
* <script type="module">
|
6833
|
-
* import {removeAttributeToken} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
6844
|
+
* import {removeAttributeToken} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/dom/attributes.js';
|
6834
6845
|
* removeAttributeToken();
|
6835
6846
|
* </script>
|
6836
6847
|
* ```
|
@@ -6866,7 +6877,7 @@ function removeAttributeToken(element, key, token) {
|
|
6866
6877
|
*
|
6867
6878
|
* ```
|
6868
6879
|
* <script type="module">
|
6869
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
6880
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/dom/attributes.js';
|
6870
6881
|
* Monster.DOM.containsAttributeToken();
|
6871
6882
|
* </script>
|
6872
6883
|
* ```
|
@@ -6875,7 +6886,7 @@ function removeAttributeToken(element, key, token) {
|
|
6875
6886
|
*
|
6876
6887
|
* ```
|
6877
6888
|
* <script type="module">
|
6878
|
-
* import {containsAttributeToken} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
6889
|
+
* import {containsAttributeToken} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/dom/attributes.js';
|
6879
6890
|
* containsAttributeToken();
|
6880
6891
|
* </script>
|
6881
6892
|
* ```
|
@@ -6908,7 +6919,7 @@ function containsAttributeToken(element, key, token) {
|
|
6908
6919
|
*
|
6909
6920
|
* ```
|
6910
6921
|
* <script type="module">
|
6911
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
6922
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/dom/attributes.js';
|
6912
6923
|
* Monster.DOM.replaceAttributeToken();
|
6913
6924
|
* </script>
|
6914
6925
|
* ```
|
@@ -6917,7 +6928,7 @@ function containsAttributeToken(element, key, token) {
|
|
6917
6928
|
*
|
6918
6929
|
* ```
|
6919
6930
|
* <script type="module">
|
6920
|
-
* import {replaceAttributeToken} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
6931
|
+
* import {replaceAttributeToken} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/dom/attributes.js';
|
6921
6932
|
* replaceAttributeToken();
|
6922
6933
|
* </script>
|
6923
6934
|
* ```
|
@@ -6953,7 +6964,7 @@ function replaceAttributeToken(element, key, from, to) {
|
|
6953
6964
|
*
|
6954
6965
|
* ```
|
6955
6966
|
* <script type="module">
|
6956
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
6967
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/dom/attributes.js';
|
6957
6968
|
* Monster.DOM.clearAttributeTokens();
|
6958
6969
|
* </script>
|
6959
6970
|
* ```
|
@@ -6962,7 +6973,7 @@ function replaceAttributeToken(element, key, from, to) {
|
|
6962
6973
|
*
|
6963
6974
|
* ```
|
6964
6975
|
* <script type="module">
|
6965
|
-
* import {clearAttributeTokens} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
6976
|
+
* import {clearAttributeTokens} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/dom/attributes.js';
|
6966
6977
|
* clearAttributeTokens();
|
6967
6978
|
* </script>
|
6968
6979
|
* ```
|
@@ -6992,7 +7003,7 @@ function clearAttributeTokens(element, key) {
|
|
6992
7003
|
*
|
6993
7004
|
* ```
|
6994
7005
|
* <script type="module">
|
6995
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
7006
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/dom/attributes.js';
|
6996
7007
|
* Monster.DOM.findClosestByAttribute();
|
6997
7008
|
* </script>
|
6998
7009
|
* ```
|
@@ -7001,7 +7012,7 @@ function clearAttributeTokens(element, key) {
|
|
7001
7012
|
*
|
7002
7013
|
* ```
|
7003
7014
|
* <script type="module">
|
7004
|
-
* import {findClosestByAttribute} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
7015
|
+
* import {findClosestByAttribute} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/dom/attributes.js';
|
7005
7016
|
* findClosestByAttribute();
|
7006
7017
|
* </script>
|
7007
7018
|
* ```
|
@@ -7237,7 +7248,7 @@ var internalSymbol = Symbol('internalSymbol');
|
|
7237
7248
|
*
|
7238
7249
|
* ```
|
7239
7250
|
* <script type="module">
|
7240
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
7251
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/dom/customcontrol.js';
|
7241
7252
|
* console.log(new Monster.DOM.CustomControl())
|
7242
7253
|
* </script>
|
7243
7254
|
* ```
|
@@ -7246,7 +7257,7 @@ var internalSymbol = Symbol('internalSymbol');
|
|
7246
7257
|
*
|
7247
7258
|
* ```
|
7248
7259
|
* <script type="module">
|
7249
|
-
* import {CustomControl} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
7260
|
+
* import {CustomControl} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/dom/customcontrol.js';
|
7250
7261
|
* console.log(new CustomControl())
|
7251
7262
|
* </script>
|
7252
7263
|
* ```
|
@@ -7592,7 +7603,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
7592
7603
|
/* harmony export */ });
|
7593
7604
|
/* harmony import */ var _constants_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1);
|
7594
7605
|
/* harmony import */ var _data_extend_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(21);
|
7595
|
-
/* harmony import */ var _data_pathfinder_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
|
7606
|
+
/* harmony import */ var _data_pathfinder_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(18);
|
7596
7607
|
/* harmony import */ var _namespace_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(2);
|
7597
7608
|
/* harmony import */ var _types_dataurl_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(36);
|
7598
7609
|
/* harmony import */ var _types_global_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(16);
|
@@ -7747,7 +7758,7 @@ var assembleMethodSymbol = Symbol('assembleMethodSymbol');
|
|
7747
7758
|
*
|
7748
7759
|
* ```
|
7749
7760
|
* <script type="module">
|
7750
|
-
* import {CustomElement} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
7761
|
+
* import {CustomElement} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/dom/customelement.js';
|
7751
7762
|
* console.log(new Monster.DOM.CustomElement())
|
7752
7763
|
* </script>
|
7753
7764
|
* ```
|
@@ -7756,7 +7767,7 @@ var assembleMethodSymbol = Symbol('assembleMethodSymbol');
|
|
7756
7767
|
*
|
7757
7768
|
* ```
|
7758
7769
|
* <script type="module">
|
7759
|
-
* import {CustomElement} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
7770
|
+
* import {CustomElement} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/dom/customelement.js';
|
7760
7771
|
* console.log(new CustomElement())
|
7761
7772
|
* </script>
|
7762
7773
|
* ```
|
@@ -7914,6 +7925,7 @@ var CustomElement = /*#__PURE__*/function (_HTMLElement) {
|
|
7914
7925
|
* })),'application/json',true).toString()
|
7915
7926
|
* ```
|
7916
7927
|
*
|
7928
|
+
* @property {boolean} disabled=false Object The Boolean disabled attribute, when present, makes the element not mutable, focusable, or even submitted with the form.
|
7917
7929
|
* @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
|
7918
7930
|
* @property {Boolean} delegatesFocus=true A boolean that, when set to true, specifies behavior that mitigates custom element issues around focusability. When a non-focusable part of the shadow DOM is clicked, the first focusable part is given focus, and the shadow host is given any available :focus styling.
|
7919
7931
|
* @property {Object} templates Templates
|
@@ -7925,6 +7937,7 @@ var CustomElement = /*#__PURE__*/function (_HTMLElement) {
|
|
7925
7937
|
*/
|
7926
7938
|
function get() {
|
7927
7939
|
return {
|
7940
|
+
disabled: false,
|
7928
7941
|
shadowMode: 'open',
|
7929
7942
|
delegatesFocus: true,
|
7930
7943
|
templates: {
|
@@ -8032,6 +8045,7 @@ var CustomElement = /*#__PURE__*/function (_HTMLElement) {
|
|
8032
8045
|
return self;
|
8033
8046
|
}
|
8034
8047
|
/**
|
8048
|
+
* Is called once via the constructor
|
8035
8049
|
*
|
8036
8050
|
* @return {CustomElement}
|
8037
8051
|
* @since 1.8.0
|
@@ -8043,6 +8057,7 @@ var CustomElement = /*#__PURE__*/function (_HTMLElement) {
|
|
8043
8057
|
return this;
|
8044
8058
|
}
|
8045
8059
|
/**
|
8060
|
+
* Is called once when the object is included in the DOM for the first time.
|
8046
8061
|
*
|
8047
8062
|
* @return {CustomElement}
|
8048
8063
|
* @since 1.8.0
|
@@ -8092,6 +8107,10 @@ var CustomElement = /*#__PURE__*/function (_HTMLElement) {
|
|
8092
8107
|
if (_ret === "continue") continue;
|
8093
8108
|
}
|
8094
8109
|
|
8110
|
+
if (this.hasAttribute('disabled')) {
|
8111
|
+
self.setOption('disabled', true);
|
8112
|
+
}
|
8113
|
+
|
8095
8114
|
return this;
|
8096
8115
|
}
|
8097
8116
|
/**
|
@@ -8153,7 +8172,7 @@ var CustomElement = /*#__PURE__*/function (_HTMLElement) {
|
|
8153
8172
|
}
|
8154
8173
|
}
|
8155
8174
|
/**
|
8156
|
-
*
|
8175
|
+
*
|
8157
8176
|
* @param {Node} node
|
8158
8177
|
* @return {boolean}
|
8159
8178
|
* @throws {TypeError} value is not an instance of
|
@@ -8253,6 +8272,31 @@ function containChildNode(node) {
|
|
8253
8272
|
|
8254
8273
|
function initOptionObserver() {
|
8255
8274
|
var self = this;
|
8275
|
+
var lastDisabledValue = undefined;
|
8276
|
+
self.attachObserver(new _types_observer_js__WEBPACK_IMPORTED_MODULE_7__.Observer(function () {
|
8277
|
+
var flag = self.getOption('disabled');
|
8278
|
+
|
8279
|
+
if (flag === lastDisabledValue) {
|
8280
|
+
return;
|
8281
|
+
}
|
8282
|
+
|
8283
|
+
if (self.shadowRoot instanceof ShadowRoot) {
|
8284
|
+
var found = self.shadowRoot.querySelectorAll('button, command, fieldset, keygen, optgroup, option, select, textarea, input, [data-monster-objectlink]');
|
8285
|
+
|
8286
|
+
for (var _i3 = 0, _Object$entries3 = Object.entries(found); _i3 < _Object$entries3.length; _i3++) {
|
8287
|
+
var _Object$entries3$_i = _slicedToArray(_Object$entries3[_i3], 2),
|
8288
|
+
element = _Object$entries3$_i[1];
|
8289
|
+
|
8290
|
+
if (flag === true) {
|
8291
|
+
element.setAttribute('disabled', '');
|
8292
|
+
} else {
|
8293
|
+
element.removeAttribute('disabled');
|
8294
|
+
}
|
8295
|
+
}
|
8296
|
+
}
|
8297
|
+
|
8298
|
+
lastDisabledValue = flag;
|
8299
|
+
}));
|
8256
8300
|
self.attachObserver(new _types_observer_js__WEBPACK_IMPORTED_MODULE_7__.Observer(function () {
|
8257
8301
|
// not initialised
|
8258
8302
|
if (!(0,_attributes_js__WEBPACK_IMPORTED_MODULE_11__.hasObjectLink)(self, Symbol.for(_constants_js__WEBPACK_IMPORTED_MODULE_12__.OBJECTLINK_KEY_UPDATER))) {
|
@@ -8290,6 +8334,43 @@ function initOptionObserver() {
|
|
8290
8334
|
_iterator.f();
|
8291
8335
|
}
|
8292
8336
|
}));
|
8337
|
+
var observer = new MutationObserver(function (mutationsList, observer) {
|
8338
|
+
var _iterator3 = _createForOfIteratorHelper(mutationsList),
|
8339
|
+
_step3;
|
8340
|
+
|
8341
|
+
try {
|
8342
|
+
for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
|
8343
|
+
var mutation = _step3.value;
|
8344
|
+
|
8345
|
+
if (mutation.type === 'attributes') {
|
8346
|
+
switch (mutation === null || mutation === void 0 ? void 0 : mutation.attributeName) {
|
8347
|
+
case 'disabled':
|
8348
|
+
self.setOption('disabled', self.hasAttribute('disabled') ? true : undefined);
|
8349
|
+
break;
|
8350
|
+
|
8351
|
+
case _constants_js__WEBPACK_IMPORTED_MODULE_12__.ATTRIBUTE_OPTIONS:
|
8352
|
+
var options = getOptionsFromAttributes.call(self);
|
8353
|
+
|
8354
|
+
if ((0,_types_is_js__WEBPACK_IMPORTED_MODULE_6__.isObject)(options)) {
|
8355
|
+
self.setOptions(options);
|
8356
|
+
}
|
8357
|
+
|
8358
|
+
break;
|
8359
|
+
}
|
8360
|
+
}
|
8361
|
+
}
|
8362
|
+
} catch (err) {
|
8363
|
+
_iterator3.e(err);
|
8364
|
+
} finally {
|
8365
|
+
_iterator3.f();
|
8366
|
+
}
|
8367
|
+
});
|
8368
|
+
observer.observe(this, {
|
8369
|
+
attributes: true,
|
8370
|
+
attributeOldValue: true,
|
8371
|
+
childList: false,
|
8372
|
+
subtree: false
|
8373
|
+
});
|
8293
8374
|
}
|
8294
8375
|
/**
|
8295
8376
|
* @private
|
@@ -8500,7 +8581,7 @@ var internal = Symbol('internal');
|
|
8500
8581
|
*
|
8501
8582
|
* ```
|
8502
8583
|
* <script type="module">
|
8503
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
8584
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/dataurl.js';
|
8504
8585
|
* console.log(new Monster.Types.DataUrl())
|
8505
8586
|
* </script>
|
8506
8587
|
* ```
|
@@ -8509,7 +8590,7 @@ var internal = Symbol('internal');
|
|
8509
8590
|
*
|
8510
8591
|
* ```
|
8511
8592
|
* <script type="module">
|
8512
|
-
* import {DataUrl} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
8593
|
+
* import {DataUrl} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/dataurl.js';
|
8513
8594
|
* console.log(new DataUrl())
|
8514
8595
|
* </script>
|
8515
8596
|
* ```
|
@@ -8589,7 +8670,7 @@ var DataUrl = /*#__PURE__*/function (_Base) {
|
|
8589
8670
|
*
|
8590
8671
|
* ```
|
8591
8672
|
* <script type="module">
|
8592
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
8673
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/dataurl.js';
|
8593
8674
|
* console.log(Monster.Types.parseDataURL())
|
8594
8675
|
* </script>
|
8595
8676
|
* ```
|
@@ -8598,7 +8679,7 @@ var DataUrl = /*#__PURE__*/function (_Base) {
|
|
8598
8679
|
*
|
8599
8680
|
* ```
|
8600
8681
|
* <script type="module">
|
8601
|
-
* import {parseDataURL} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
8682
|
+
* import {parseDataURL} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/dataurl.js';
|
8602
8683
|
* console.log(parseDataURL())
|
8603
8684
|
* </script>
|
8604
8685
|
* ```
|
@@ -8736,7 +8817,7 @@ var internal = Symbol('internal');
|
|
8736
8817
|
*
|
8737
8818
|
* ```
|
8738
8819
|
* <script type="module">
|
8739
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
8820
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/mediatype.js';
|
8740
8821
|
* console.log(new Monster.Types.MediaType())
|
8741
8822
|
* </script>
|
8742
8823
|
* ```
|
@@ -8745,7 +8826,7 @@ var internal = Symbol('internal');
|
|
8745
8826
|
*
|
8746
8827
|
* ```
|
8747
8828
|
* <script type="module">
|
8748
|
-
* import {MediaType} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
8829
|
+
* import {MediaType} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/mediatype.js';
|
8749
8830
|
* console.log(new MediaType())
|
8750
8831
|
* </script>
|
8751
8832
|
* ```
|
@@ -8863,7 +8944,7 @@ var MediaType = /*#__PURE__*/function (_Base) {
|
|
8863
8944
|
*
|
8864
8945
|
* ```
|
8865
8946
|
* <script type="module">
|
8866
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
8947
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/dataurl.js';
|
8867
8948
|
* console.log(Monster.Types.parseMediaType())
|
8868
8949
|
* </script>
|
8869
8950
|
* ```
|
@@ -8872,7 +8953,7 @@ var MediaType = /*#__PURE__*/function (_Base) {
|
|
8872
8953
|
*
|
8873
8954
|
* ```
|
8874
8955
|
* <script type="module">
|
8875
|
-
* import {parseMediaType} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
8956
|
+
* import {parseMediaType} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/dataurl.js';
|
8876
8957
|
* console.log(parseMediaType())
|
8877
8958
|
* </script>
|
8878
8959
|
* ```
|
@@ -9009,7 +9090,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
9009
9090
|
*
|
9010
9091
|
* ```
|
9011
9092
|
* <script type="module">
|
9012
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
9093
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/dom/template.js';
|
9013
9094
|
* console.log(new Monster.DOM.Template())
|
9014
9095
|
* </script>
|
9015
9096
|
* ```
|
@@ -9018,7 +9099,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
9018
9099
|
*
|
9019
9100
|
* ```
|
9020
9101
|
* <script type="module">
|
9021
|
-
* import {Template} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
9102
|
+
* import {Template} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/dom/template.js';
|
9022
9103
|
* console.log(new Template())
|
9023
9104
|
* </script>
|
9024
9105
|
* ```
|
@@ -9096,7 +9177,7 @@ var Template = /*#__PURE__*/function (_Base) {
|
|
9096
9177
|
*
|
9097
9178
|
* ```
|
9098
9179
|
* <script type="module">
|
9099
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
9180
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/dom/template.js';
|
9100
9181
|
* console.log(Monster.DOM.findDocumentTemplate())
|
9101
9182
|
* </script>
|
9102
9183
|
* ```
|
@@ -9105,7 +9186,7 @@ var Template = /*#__PURE__*/function (_Base) {
|
|
9105
9186
|
*
|
9106
9187
|
* ```
|
9107
9188
|
* <script type="module">
|
9108
|
-
* import {findTemplate} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
9189
|
+
* import {findTemplate} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/dom/template.js';
|
9109
9190
|
* console.log(findDocumentTemplate())
|
9110
9191
|
* </script>
|
9111
9192
|
* ```
|
@@ -9215,7 +9296,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
9215
9296
|
*
|
9216
9297
|
* ```
|
9217
9298
|
* <script type="module">
|
9218
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
9299
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/dom/theme.js';
|
9219
9300
|
* console.log(new Monster.DOM.Theme())
|
9220
9301
|
* </script>
|
9221
9302
|
* ```
|
@@ -9224,14 +9305,14 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
9224
9305
|
*
|
9225
9306
|
* ```
|
9226
9307
|
* <script type="module">
|
9227
|
-
* import {Theme} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
9308
|
+
* import {Theme} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/dom/theme.js';
|
9228
9309
|
* console.log(new Theme())
|
9229
9310
|
* </script>
|
9230
9311
|
* ```
|
9231
9312
|
*
|
9232
9313
|
* @example
|
9233
9314
|
*
|
9234
|
-
* import {getDocumentTheme} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
9315
|
+
* import {getDocumentTheme} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/dom/theme.js';
|
9235
9316
|
*
|
9236
9317
|
* const theme = getDocumentTheme();
|
9237
9318
|
* console.log(theme.getName());
|
@@ -9324,8 +9405,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
9324
9405
|
/* harmony export */ "Monster": function() { return /* reexport safe */ _namespace_js__WEBPACK_IMPORTED_MODULE_4__.Monster; },
|
9325
9406
|
/* harmony export */ "Updater": function() { return /* binding */ Updater; }
|
9326
9407
|
/* harmony export */ });
|
9327
|
-
/* harmony import */ var _data_diff_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
9328
|
-
/* harmony import */ var _data_pathfinder_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
|
9408
|
+
/* harmony import */ var _data_diff_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(20);
|
9409
|
+
/* harmony import */ var _data_pathfinder_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(18);
|
9329
9410
|
/* harmony import */ var _data_pipe_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(22);
|
9330
9411
|
/* harmony import */ var _dom_constants_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(33);
|
9331
9412
|
/* harmony import */ var _namespace_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(2);
|
@@ -9402,7 +9483,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
9402
9483
|
*
|
9403
9484
|
* ```
|
9404
9485
|
* <script type="module">
|
9405
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
9486
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/dom/updater.js';
|
9406
9487
|
* console.log(new Monster.DOM.Updater())
|
9407
9488
|
* </script>
|
9408
9489
|
* ```
|
@@ -9411,14 +9492,14 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
9411
9492
|
*
|
9412
9493
|
* ```
|
9413
9494
|
* <script type="module">
|
9414
|
-
* import {Updater} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
9495
|
+
* import {Updater} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/dom/updater.js';
|
9415
9496
|
* console.log(new Updater())
|
9416
9497
|
* </script>
|
9417
9498
|
* ```
|
9418
9499
|
*
|
9419
9500
|
* @example
|
9420
9501
|
*
|
9421
|
-
* import {Updater} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
9502
|
+
* import {Updater} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/dom/updater.js';
|
9422
9503
|
*
|
9423
9504
|
* // First we prepare the html document.
|
9424
9505
|
* // This is done here via script, but can also be inserted into the document as pure html.
|
@@ -10257,7 +10338,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "functi
|
|
10257
10338
|
*
|
10258
10339
|
* ```
|
10259
10340
|
* <script type="module">
|
10260
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
10341
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/dom/util.js';
|
10261
10342
|
* console.log(Monster.DOM.getDocument())
|
10262
10343
|
* </script>
|
10263
10344
|
* ```
|
@@ -10266,7 +10347,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "functi
|
|
10266
10347
|
*
|
10267
10348
|
* ```
|
10268
10349
|
* <script type="module">
|
10269
|
-
* import {getDocument} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
10350
|
+
* import {getDocument} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/dom/util.js';
|
10270
10351
|
* console.log(getDocument())
|
10271
10352
|
* </script>
|
10272
10353
|
* ```
|
@@ -10321,7 +10402,7 @@ function getDocument() {
|
|
10321
10402
|
*
|
10322
10403
|
* ```
|
10323
10404
|
* <script type="module">
|
10324
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
10405
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/dom/util.js';
|
10325
10406
|
* console.log(Monster.DOM.getWindow())
|
10326
10407
|
* </script>
|
10327
10408
|
* ```
|
@@ -10330,7 +10411,7 @@ function getDocument() {
|
|
10330
10411
|
*
|
10331
10412
|
* ```
|
10332
10413
|
* <script type="module">
|
10333
|
-
* import {getWindow} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
10414
|
+
* import {getWindow} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/dom/util.js';
|
10334
10415
|
* console.log(getWindow(null))
|
10335
10416
|
* </script>
|
10336
10417
|
* ```
|
@@ -10390,7 +10471,7 @@ function getWindow() {
|
|
10390
10471
|
*
|
10391
10472
|
* ```
|
10392
10473
|
* <script type="module">
|
10393
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
10474
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/dom/util.js';
|
10394
10475
|
* console.log(Monster.DOM.getDocumentFragmentFromString())
|
10395
10476
|
* </script>
|
10396
10477
|
* ```
|
@@ -10399,7 +10480,7 @@ function getWindow() {
|
|
10399
10480
|
*
|
10400
10481
|
* ```
|
10401
10482
|
* <script type="module">
|
10402
|
-
* import {getDocumentFragmentFromString} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
10483
|
+
* import {getDocumentFragmentFromString} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/dom/util.js';
|
10403
10484
|
* console.log(getDocumentFragmentFromString('<div></div>'))
|
10404
10485
|
* </script>
|
10405
10486
|
* ```
|
@@ -10485,7 +10566,7 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
|
|
10485
10566
|
*
|
10486
10567
|
* ```
|
10487
10568
|
* <script type="module">
|
10488
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
10569
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/dom/events.js';
|
10489
10570
|
* console.log(new Monster.DOM.fireEvent())
|
10490
10571
|
* </script>
|
10491
10572
|
* ```
|
@@ -10494,7 +10575,7 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
|
|
10494
10575
|
*
|
10495
10576
|
* ```
|
10496
10577
|
* <script type="module">
|
10497
|
-
* import {fireEvent} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
10578
|
+
* import {fireEvent} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/dom/events.js';
|
10498
10579
|
* console.log(fireEvent())
|
10499
10580
|
* </script>
|
10500
10581
|
* ```
|
@@ -10550,7 +10631,7 @@ function fireEvent(element, type) {
|
|
10550
10631
|
*
|
10551
10632
|
* ```
|
10552
10633
|
* <script type="module">
|
10553
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
10634
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/dom/events.js';
|
10554
10635
|
* console.log(new Monster.DOM.findTargetElementFromEvent())
|
10555
10636
|
* </script>
|
10556
10637
|
* ```
|
@@ -10559,7 +10640,7 @@ function fireEvent(element, type) {
|
|
10559
10640
|
*
|
10560
10641
|
* ```
|
10561
10642
|
* <script type="module">
|
10562
|
-
* import {findTargetElementFromEvent} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
10643
|
+
* import {findTargetElementFromEvent} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/dom/events.js';
|
10563
10644
|
* console.log(findTargetElementFromEvent())
|
10564
10645
|
* </script>
|
10565
10646
|
* ```
|
@@ -10637,7 +10718,7 @@ var DEFAULT_LANGUAGE = 'en';
|
|
10637
10718
|
*
|
10638
10719
|
* ```
|
10639
10720
|
* <script type="module">
|
10640
|
-
* import {getLocaleOfDocument} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
10721
|
+
* import {getLocaleOfDocument} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/dom/locale.js';
|
10641
10722
|
* console.log(new Monster.DOM.getLocaleOfDocument())
|
10642
10723
|
* </script>
|
10643
10724
|
* ```
|
@@ -10646,7 +10727,7 @@ var DEFAULT_LANGUAGE = 'en';
|
|
10646
10727
|
*
|
10647
10728
|
* ```
|
10648
10729
|
* <script type="module">
|
10649
|
-
* import {getLocaleOfDocument} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
10730
|
+
* import {getLocaleOfDocument} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/dom/locale.js';
|
10650
10731
|
* console.log(new getLocaleOfDocument())
|
10651
10732
|
* </script>
|
10652
10733
|
* ```
|
@@ -10739,7 +10820,7 @@ var localeStringSymbol = Symbol('localeString');
|
|
10739
10820
|
*
|
10740
10821
|
* ```
|
10741
10822
|
* <script type="module">
|
10742
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
10823
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/i18n/locale.js';
|
10743
10824
|
* console.log(new Monster.I18n.Locale())
|
10744
10825
|
* </script>
|
10745
10826
|
* ```
|
@@ -10748,7 +10829,7 @@ var localeStringSymbol = Symbol('localeString');
|
|
10748
10829
|
*
|
10749
10830
|
* ```
|
10750
10831
|
* <script type="module">
|
10751
|
-
* import {Locale} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
10832
|
+
* import {Locale} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/i18n/locale.js';
|
10752
10833
|
* console.log(new Locale())
|
10753
10834
|
* </script>
|
10754
10835
|
* ```
|
@@ -10939,7 +11020,7 @@ var Locale = /*#__PURE__*/function (_Base) {
|
|
10939
11020
|
*
|
10940
11021
|
* ```
|
10941
11022
|
* <script type="module">
|
10942
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
11023
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/i18n/locale.js';
|
10943
11024
|
* console.log(new Monster.I18n.createLocale())
|
10944
11025
|
* </script>
|
10945
11026
|
* ```
|
@@ -10948,7 +11029,7 @@ var Locale = /*#__PURE__*/function (_Base) {
|
|
10948
11029
|
*
|
10949
11030
|
* ```
|
10950
11031
|
* <script type="module">
|
10951
|
-
* import {createLocale} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
11032
|
+
* import {createLocale} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/i18n/locale.js';
|
10952
11033
|
* console.log(createLocale())
|
10953
11034
|
* </script>
|
10954
11035
|
* ```
|
@@ -11124,7 +11205,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
11124
11205
|
*
|
11125
11206
|
* ```
|
11126
11207
|
* <script type="module">
|
11127
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
11208
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/i18n/provider.js';
|
11128
11209
|
* console.log(new Monster.I18n.Provider())
|
11129
11210
|
* </script>
|
11130
11211
|
* ```
|
@@ -11133,7 +11214,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
11133
11214
|
*
|
11134
11215
|
* ```
|
11135
11216
|
* <script type="module">
|
11136
|
-
* import {Provider} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
11217
|
+
* import {Provider} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/i18n/provider.js';
|
11137
11218
|
* console.log(new Provider())
|
11138
11219
|
* </script>
|
11139
11220
|
* ```
|
@@ -11190,7 +11271,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
11190
11271
|
/* harmony export */ });
|
11191
11272
|
/* harmony import */ var _constants_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1);
|
11192
11273
|
/* harmony import */ var _data_extend_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(21);
|
11193
|
-
/* harmony import */ var _data_pathfinder_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
|
11274
|
+
/* harmony import */ var _data_pathfinder_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(18);
|
11194
11275
|
/* harmony import */ var _namespace_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(2);
|
11195
11276
|
/* harmony import */ var _base_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(4);
|
11196
11277
|
/* harmony import */ var _validate_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(14);
|
@@ -11241,7 +11322,7 @@ var optionsSymbol = Symbol.for(_constants_js__WEBPACK_IMPORTED_MODULE_0__.PROPER
|
|
11241
11322
|
*
|
11242
11323
|
* ```
|
11243
11324
|
* <script type="module">
|
11244
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
11325
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/basewithoptions.js';
|
11245
11326
|
* console.log(new Monster.Types.BaseWithOptions())
|
11246
11327
|
* </script>
|
11247
11328
|
* ```
|
@@ -11250,7 +11331,7 @@ var optionsSymbol = Symbol.for(_constants_js__WEBPACK_IMPORTED_MODULE_0__.PROPER
|
|
11250
11331
|
*
|
11251
11332
|
* ```
|
11252
11333
|
* <script type="module">
|
11253
|
-
* import {BaseWithOptions} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
11334
|
+
* import {BaseWithOptions} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/basewithoptions.js';
|
11254
11335
|
* console.log(new BaseWithOptions())
|
11255
11336
|
* </script>
|
11256
11337
|
* ```
|
@@ -11391,7 +11472,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
11391
11472
|
*
|
11392
11473
|
* ```
|
11393
11474
|
* <script type="module">
|
11394
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
11475
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/i18n/translations.js';
|
11395
11476
|
* console.log(new Monster.I18n.Translations())
|
11396
11477
|
* </script>
|
11397
11478
|
* ```
|
@@ -11400,7 +11481,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
11400
11481
|
*
|
11401
11482
|
* ```
|
11402
11483
|
* <script type="module">
|
11403
|
-
* import {Translations} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
11484
|
+
* import {Translations} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/i18n/translations.js';
|
11404
11485
|
* console.log(new Translations())
|
11405
11486
|
* </script>
|
11406
11487
|
* ```
|
@@ -11676,7 +11757,7 @@ var optionsSymbol = Symbol.for(_constants_js__WEBPACK_IMPORTED_MODULE_0__.PROPER
|
|
11676
11757
|
*
|
11677
11758
|
* ```
|
11678
11759
|
* <script type="module">
|
11679
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
11760
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/i18n/providers/fetch.js';
|
11680
11761
|
* console.log(new Monster.I18n.Providers.Fetch())
|
11681
11762
|
* </script>
|
11682
11763
|
* ```
|
@@ -11685,7 +11766,7 @@ var optionsSymbol = Symbol.for(_constants_js__WEBPACK_IMPORTED_MODULE_0__.PROPER
|
|
11685
11766
|
*
|
11686
11767
|
* ```
|
11687
11768
|
* <script type="module">
|
11688
|
-
* import {Fetch} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
11769
|
+
* import {Fetch} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/i18n/providers/fetch.js';
|
11689
11770
|
* console.log(new Fetch())
|
11690
11771
|
* </script>
|
11691
11772
|
* ```
|
@@ -11854,7 +11935,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
11854
11935
|
*
|
11855
11936
|
* ```
|
11856
11937
|
* <script type="module">
|
11857
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
11938
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/text/formatter.js';
|
11858
11939
|
* console.log(new Monster.Text.Formatter())
|
11859
11940
|
* </script>
|
11860
11941
|
* ```
|
@@ -11863,7 +11944,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
11863
11944
|
*
|
11864
11945
|
* ```
|
11865
11946
|
* <script type="module">
|
11866
|
-
* import {Formatter} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
11947
|
+
* import {Formatter} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/text/formatter.js';
|
11867
11948
|
* console.log(new Formatter())
|
11868
11949
|
* </script>
|
11869
11950
|
* ```
|
@@ -12046,7 +12127,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
12046
12127
|
*
|
12047
12128
|
* ```
|
12048
12129
|
* <script type="module">
|
12049
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
12130
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/logging/handler.js';
|
12050
12131
|
* console.log(new Monster.Logging.Handler())
|
12051
12132
|
* </script>
|
12052
12133
|
* ```
|
@@ -12055,7 +12136,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
12055
12136
|
*
|
12056
12137
|
* ```
|
12057
12138
|
* <script type="module">
|
12058
|
-
* import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
12139
|
+
* import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/logging/handler.js';
|
12059
12140
|
* console.log(new Handler())
|
12060
12141
|
* </script>
|
12061
12142
|
* ```
|
@@ -12293,7 +12374,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
12293
12374
|
*
|
12294
12375
|
* ```
|
12295
12376
|
* <script type="module">
|
12296
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
12377
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/logging/logentry.js';
|
12297
12378
|
* console.log(new Monster.Logging.LogEntry())
|
12298
12379
|
* </script>
|
12299
12380
|
* ```
|
@@ -12302,7 +12383,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
12302
12383
|
*
|
12303
12384
|
* ```
|
12304
12385
|
* <script type="module">
|
12305
|
-
* import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
12386
|
+
* import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/logging/logentry.js';
|
12306
12387
|
* console.log(new LogEntry())
|
12307
12388
|
* </script>
|
12308
12389
|
* ```
|
@@ -12488,7 +12569,7 @@ var OFF = 0;
|
|
12488
12569
|
*
|
12489
12570
|
* ```
|
12490
12571
|
* <script type="module">
|
12491
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
12572
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/logging/logger.js';
|
12492
12573
|
* console.log(new Monster.Logging.Logger())
|
12493
12574
|
* </script>
|
12494
12575
|
* ```
|
@@ -12497,7 +12578,7 @@ var OFF = 0;
|
|
12497
12578
|
*
|
12498
12579
|
* ```
|
12499
12580
|
* <script type="module">
|
12500
|
-
* import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
12581
|
+
* import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/logging/logger.js';
|
12501
12582
|
* console.log(new Logger())
|
12502
12583
|
* </script>
|
12503
12584
|
* ```
|
@@ -12797,7 +12878,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
12797
12878
|
*
|
12798
12879
|
* ```
|
12799
12880
|
* <script type="module">
|
12800
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
12881
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/logging/handler/console.js';
|
12801
12882
|
* console.log(new Monster.Logging.Handler.ConsoleHandler())
|
12802
12883
|
* </script>
|
12803
12884
|
* ```
|
@@ -12806,7 +12887,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
12806
12887
|
*
|
12807
12888
|
* ```
|
12808
12889
|
* <script type="module">
|
12809
|
-
* import {ConsoleHandler} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
12890
|
+
* import {ConsoleHandler} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/logging/handler/console.js';
|
12810
12891
|
* console.log(new ConsoleHandler())
|
12811
12892
|
* </script>
|
12812
12893
|
* ```
|
@@ -12882,7 +12963,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
12882
12963
|
*
|
12883
12964
|
* ```
|
12884
12965
|
* <script type="module">
|
12885
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
12966
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/math/random.js';
|
12886
12967
|
* console.log(Monster.Math.random(1,10)) // ↦ 5
|
12887
12968
|
* </script>
|
12888
12969
|
* ```
|
@@ -12891,7 +12972,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
12891
12972
|
*
|
12892
12973
|
* ```
|
12893
12974
|
* <script type="module">
|
12894
|
-
* import {random} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
12975
|
+
* import {random} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/math/random.js';
|
12895
12976
|
* console.log(random(1,10)) // ↦ 5
|
12896
12977
|
* </script>
|
12897
12978
|
* ```
|
@@ -13043,7 +13124,7 @@ var internalCounter = 0;
|
|
13043
13124
|
*
|
13044
13125
|
* ```
|
13045
13126
|
* <script type="module">
|
13046
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
13127
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/randomid.js';
|
13047
13128
|
* console.log(new Monster.Types.RandomID())
|
13048
13129
|
* </script>
|
13049
13130
|
* ```
|
@@ -13052,7 +13133,7 @@ var internalCounter = 0;
|
|
13052
13133
|
*
|
13053
13134
|
* ```
|
13054
13135
|
* <script type="module">
|
13055
|
-
* import {RandomID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
13136
|
+
* import {RandomID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/randomid.js';
|
13056
13137
|
* console.log(new RandomID())
|
13057
13138
|
* </script>
|
13058
13139
|
* ```
|
@@ -13135,7 +13216,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
13135
13216
|
*
|
13136
13217
|
* ```
|
13137
13218
|
* <script type="module">
|
13138
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
13219
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/version.js';
|
13139
13220
|
* console.log(new Monster.Types.Version('1.2.3')) // ↦ 1.2.3
|
13140
13221
|
* console.log(new Monster.Types.Version('1')) // ↦ 1.0.0
|
13141
13222
|
* </script>
|
@@ -13145,7 +13226,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
13145
13226
|
*
|
13146
13227
|
* ```
|
13147
13228
|
* <script type="module">
|
13148
|
-
* import {Version} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
13229
|
+
* import {Version} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/version.js';
|
13149
13230
|
* console.log(new Version('1.2.3')) // ↦ 1.2.3
|
13150
13231
|
* console.log(new Version('1')) // ↦ 1.0.0
|
13151
13232
|
* </script>
|
@@ -13153,7 +13234,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
13153
13234
|
*
|
13154
13235
|
* @example
|
13155
13236
|
*
|
13156
|
-
* import {Version} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
13237
|
+
* import {Version} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/version.js';
|
13157
13238
|
*
|
13158
13239
|
* new Version('1.0.0') // ↦ 1.0.0
|
13159
13240
|
* new Version(1) // ↦ 1.0.0
|
@@ -13287,7 +13368,7 @@ var monsterVersion;
|
|
13287
13368
|
*
|
13288
13369
|
* ```
|
13289
13370
|
* <script type="module">
|
13290
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
13371
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/version.js';
|
13291
13372
|
* console.log(Monster.getVersion())
|
13292
13373
|
* </script>
|
13293
13374
|
* ```
|
@@ -13296,7 +13377,7 @@ var monsterVersion;
|
|
13296
13377
|
*
|
13297
13378
|
* ```
|
13298
13379
|
* <script type="module">
|
13299
|
-
* import {getVersion} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
13380
|
+
* import {getVersion} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/version.js';
|
13300
13381
|
* console.log(getVersion())
|
13301
13382
|
* </script>
|
13302
13383
|
* ```
|
@@ -13315,7 +13396,7 @@ function getVersion() {
|
|
13315
13396
|
/**#@+ dont touch, replaced by make with package.json version */
|
13316
13397
|
|
13317
13398
|
|
13318
|
-
monsterVersion = new Version('1.
|
13399
|
+
monsterVersion = new Version('1.21.1');
|
13319
13400
|
/**#@-*/
|
13320
13401
|
|
13321
13402
|
return monsterVersion;
|
@@ -13371,7 +13452,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
13371
13452
|
*
|
13372
13453
|
* ```
|
13373
13454
|
* <script type="module">
|
13374
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
13455
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/util/comparator.js';
|
13375
13456
|
* console.log(new Monster.Util.Comparator())
|
13376
13457
|
* </script>
|
13377
13458
|
* ```
|
@@ -13380,7 +13461,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
13380
13461
|
*
|
13381
13462
|
* ```
|
13382
13463
|
* <script type="module">
|
13383
|
-
* import {Comparator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
13464
|
+
* import {Comparator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/util/comparator.js';
|
13384
13465
|
* console.log(new Comparator())
|
13385
13466
|
* </script>
|
13386
13467
|
* ```
|
@@ -13405,7 +13486,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
13405
13486
|
*
|
13406
13487
|
* @example
|
13407
13488
|
*
|
13408
|
-
* import {Comparator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
13489
|
+
* import {Comparator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/util/comparator.js';
|
13409
13490
|
*
|
13410
13491
|
* console.log(new Comparator().lessThanOrEqual(2, 5))
|
13411
13492
|
* // ↦ true
|
@@ -13618,7 +13699,7 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
|
|
13618
13699
|
*
|
13619
13700
|
* ```
|
13620
13701
|
* <script type="module">
|
13621
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
13702
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/util/freeze.js';
|
13622
13703
|
* console.log(Monster.Util.deepFreeze({}))
|
13623
13704
|
* </script>
|
13624
13705
|
* ```
|
@@ -13627,7 +13708,7 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
|
|
13627
13708
|
*
|
13628
13709
|
* ```
|
13629
13710
|
* <script type="module">
|
13630
|
-
* import {deepFreeze} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.
|
13711
|
+
* import {deepFreeze} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/util/freeze.js';
|
13631
13712
|
* console.log(deepFreeze({}))
|
13632
13713
|
* </script>
|
13633
13714
|
* ```
|
@@ -13740,9 +13821,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
13740
13821
|
/* harmony import */ var _constraints_oroperator_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(11);
|
13741
13822
|
/* harmony import */ var _constraints_valid_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(12);
|
13742
13823
|
/* harmony import */ var _data_buildmap_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(13);
|
13743
|
-
/* harmony import */ var _data_diff_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(
|
13824
|
+
/* harmony import */ var _data_diff_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(20);
|
13744
13825
|
/* harmony import */ var _data_extend_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(21);
|
13745
|
-
/* harmony import */ var _data_pathfinder_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(
|
13826
|
+
/* harmony import */ var _data_pathfinder_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(18);
|
13746
13827
|
/* harmony import */ var _data_pipe_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(22);
|
13747
13828
|
/* harmony import */ var _data_transformer_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(23);
|
13748
13829
|
/* harmony import */ var _dom_assembler_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(25);
|
@@ -13777,9 +13858,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
13777
13858
|
/* harmony import */ var _types_proxyobserver_js__WEBPACK_IMPORTED_MODULE_44__ = __webpack_require__(26);
|
13778
13859
|
/* harmony import */ var _types_queue_js__WEBPACK_IMPORTED_MODULE_45__ = __webpack_require__(30);
|
13779
13860
|
/* harmony import */ var _types_randomid_js__WEBPACK_IMPORTED_MODULE_46__ = __webpack_require__(55);
|
13780
|
-
/* harmony import */ var _types_stack_js__WEBPACK_IMPORTED_MODULE_47__ = __webpack_require__(
|
13861
|
+
/* harmony import */ var _types_stack_js__WEBPACK_IMPORTED_MODULE_47__ = __webpack_require__(19);
|
13781
13862
|
/* harmony import */ var _types_tokenlist_js__WEBPACK_IMPORTED_MODULE_48__ = __webpack_require__(28);
|
13782
|
-
/* harmony import */ var _types_typeof_js__WEBPACK_IMPORTED_MODULE_49__ = __webpack_require__(
|
13863
|
+
/* harmony import */ var _types_typeof_js__WEBPACK_IMPORTED_MODULE_49__ = __webpack_require__(17);
|
13783
13864
|
/* harmony import */ var _types_uniquequeue_js__WEBPACK_IMPORTED_MODULE_50__ = __webpack_require__(29);
|
13784
13865
|
/* harmony import */ var _types_validate_js__WEBPACK_IMPORTED_MODULE_51__ = __webpack_require__(14);
|
13785
13866
|
/* harmony import */ var _types_version_js__WEBPACK_IMPORTED_MODULE_52__ = __webpack_require__(56);
|