clientnode 4.0.1477 → 4.0.1479

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,220 +0,0 @@
1
- if(typeof window==='undefined'||window===null)var window=(typeof globalThis==='undefined'||globalThis===null)?{}:globalThis;import * as __WEBPACK_EXTERNAL_MODULE_core_js_modules_es_array_includes_js_66c3fd7d__ from "core-js/modules/es.array.includes.js";
2
- /******/ var __webpack_modules__ = ([
3
- /* 0 */
4
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
5
-
6
- var x = function(y) {
7
- var x = {}; __webpack_require__.d(x, y); return x
8
- }
9
- var y = function(x) { return function() { return x; }; }
10
- module.exports = x({ });
11
-
12
- /***/ }),
13
- /* 1 */
14
- /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
15
-
16
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
17
- /* harmony export */ jE: function() { return /* binding */ PLAIN_OBJECT_PROTOTYPES; }
18
- /* harmony export */ });
19
- /* unused harmony exports DEFAULT_ENCODING, CLOSE_EVENT_NAMES, CONSOLE_METHODS, VALUE_COPY_SYMBOL, IGNORE_NULL_AND_UNDEFINED_SYMBOL, ABBREVIATIONS, ANIMATION_END_EVENT_NAMES, CLASS_TO_TYPE_MAPPING, KEY_CODES, KEYBOARD_CODES, LOCALES, SPECIAL_REGEX_SEQUENCES, TRANSITION_END_EVENT_NAMES */
20
- // #!/usr/bin/env babel-node
21
- // -*- coding: utf-8 -*-
22
- /** @module constants *//* !
23
- region header
24
- [Project page](https://torben.website/clientnode)
25
-
26
- Copyright Torben Sickert (info["~at~"]torben.website) 16.12.2012
27
-
28
- License
29
- -------
30
-
31
- This library written by Torben Sickert stands under a creative commons
32
- naming 3.0 unported license.
33
- See https://creativecommons.org/licenses/by/3.0/deed.de
34
- endregion
35
- */var DEFAULT_ENCODING="utf8";var CLOSE_EVENT_NAMES=(/* unused pure expression or super */ null && (["close","exit","SIGINT","SIGTERM","SIGQUIT","uncaughtException"]));var CONSOLE_METHODS=(/* unused pure expression or super */ null && (["debug","error","info","log","warn"]));var VALUE_COPY_SYMBOL=Symbol.for("clientnodeValue");var IGNORE_NULL_AND_UNDEFINED_SYMBOL=Symbol.for("clientnodeIgnoreNullAndUndefined");// Lists all known abbreviation for proper camel case to delimited and back
36
- // conversion.
37
- var ABBREVIATIONS=(/* unused pure expression or super */ null && (["html","id","url","us","de","api","href"]));// Saves a string with all css3 browser specific animation end event names.
38
- var ANIMATION_END_EVENT_NAMES="animationend webkitAnimationEnd oAnimationEnd MSAnimationEnd";// String representation to object type name mapping.
39
- var CLASS_TO_TYPE_MAPPING=(/* unused pure expression or super */ null && ({"[object Array]":"array","[object Boolean]":"boolean","[object Date]":"date","[object Error]":"error","[object Function]":"function","[object Map]":"map","[object Number]":"number","[object Object]":"object","[object RegExp]":"regexp","[object Set]":"set","[object String]":"string"}));// Saves a mapping from key codes to their corresponding name.
40
- var KEY_CODES=(/* unused pure expression or super */ null && ({BACKSPACE:8,SPACE:32,TAB:9,DELETE:46,ENTER:13,COMMA:188,PERIOD:190,END:35,ESCAPE:27,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,HOME:36,NUMPAD_ADD:107,NUMPAD_SUBTRACT:109,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,PAGE_UP:33,PAGE_DOWN:34,UP:38,DOWN:40,LEFT:37,RIGHT:39}));var KEYBOARD_CODES=(/* unused pure expression or super */ null && ({BACKSPACE:"Backspace",SPACE:"Space",TAB:"Tab",DELETE:"Delete",ENTER:"Enter",COMMA:"Comma",PERIOD:"Period",END:"End",ESCAPE:"Escape",F1:"F1",F2:"F2",F3:"F3",F4:"F4",F5:"F5",F6:"F6",F7:"F7",F8:"F8",F9:"F9",F10:"F10",F11:"F111",F12:"F12",HOME:"Home",NUMPAD_ADD:"NumpadAdd",NUMPAD_SUBTRACT:"NumpadSubtract",NUMPAD_DECIMAL:"NumpadDecimal",NUMPAD_DIVIDE:"NumpadDivide",NUMPAD_ENTER:"NumpadEnter",NUMPAD_MULTIPLY:"NumpadMultiply",PAGE_UP:"PageUp",PAGE_DOWN:"PageUp",UP:"ArrowUp",DOWN:"ArrowDown",LEFT:"ArrowLeft",RIGHT:"ArrowUp"}));var LOCALES=(/* unused pure expression or super */ null && ([]));var PLAIN_OBJECT_PROTOTYPES=[Object.prototype];// A list of special regular expression symbols.
41
- var SPECIAL_REGEX_SEQUENCES=(/* unused pure expression or super */ null && (["-","[","]","(",")","^","$","*","+",".","{","}"]));// Saves a string with all css3 browser specific transition end event names.
42
- var TRANSITION_END_EVENT_NAMES="transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd";
43
-
44
- /***/ }),
45
- /* 2 */,
46
- /* 3 */,
47
- /* 4 */
48
- /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
49
-
50
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
51
- /* harmony export */ Qd: function() { return /* binding */ isPlainObject; }
52
- /* harmony export */ });
53
- /* unused harmony exports isNumeric, isWindow, isArrayLike, isAnyMatching, isObject, isSet, isMap, isProxy, isFunction */
54
- /* unused harmony import specifier */ var determineType;
55
- /* harmony import */ var core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
56
- /* harmony import */ var _constants_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(1);
57
- // #!/usr/bin/env babel-node
58
- // -*- coding: utf-8 -*-
59
- /** @module indicators *//* !
60
- region header
61
- [Project page](https://torben.website/clientnode)
62
-
63
- Copyright Torben Sickert (info["~at~"]torben.website) 16.12.2012
64
-
65
- License
66
- -------
67
-
68
- This library written by Torben Sickert stands under a creative commons
69
- naming 3.0 unported license.
70
- See https://creativecommons.org/licenses/by/3.0/deed.de
71
- endregion
72
- */function _createForOfIteratorHelper(r,e){var t="undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(!t){if(Array.isArray(r)||(t=_unsupportedIterableToArray(r))||e&&r&&"number"==typeof r.length){t&&(r=t);var _n=0,F=function F(){};return{s:F,n:function n(){return _n>=r.length?{done:!0}:{done:!1,value:r[_n++]}},e:function e(r){throw r},f:F}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,u=!1;return{s:function s(){t=t.call(r)},n:function n(){var r=t.next();return a=r.done,r},e:function e(r){u=!0,o=r},f:function f(){try{a||null==t.return||t.return()}finally{if(u)throw o}}}}function _unsupportedIterableToArray(r,a){if(r){if("string"==typeof r)return _arrayLikeToArray(r,a);var t={}.toString.call(r).slice(8,-1);return"Object"===t&&r.constructor&&(t=r.constructor.name),"Map"===t||"Set"===t?Array.from(r):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?_arrayLikeToArray(r,a):void 0}}function _arrayLikeToArray(r,a){(null==a||a>r.length)&&(a=r.length);for(var e=0,n=Array(a);e<a;e++)n[e]=r[e];return n}function _typeof(o){"@babel/helpers - typeof";return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},_typeof(o)};/**
73
- * Determines whether its argument represents a JavaScript number.
74
- * @param value - Value to analyze.
75
- * @returns A boolean value indicating whether given object is numeric
76
- * like.
77
- */var isNumeric=function isNumeric(value){var type=determineType(value);/*
78
- NOTE: "parseFloat" "NaNs" numeric-cast false positives ("") but
79
- misinterprets leading-number strings, particularly hex literals
80
- ("0x...") subtraction forces infinities to NaN.
81
- */return["number","string"].includes(type)&&!isNaN(value-parseFloat(value))};/**
82
- * Determine whether the argument is a window.
83
- * @param value - Value to check for.
84
- * @returns Boolean value indicating the result.
85
- */var isWindow=function isWindow(value){return![null,undefined].includes(value)&&_typeof(value)==="object"&&value===(value===null||value===void 0?void 0:value.window)};/**
86
- * Checks if given object is similar to an array and can be handled like an
87
- * array.
88
- * @param object - Object to check behavior for.
89
- * @returns A boolean value indicating whether given object is array like.
90
- */var isArrayLike=function isArrayLike(object){var length;try{length=Boolean(object)&&object.length}catch(_unused){return false}var type=determineType(object);if(type==="function"||isWindow(object))return false;if(type==="array"||length===0)return true;if(typeof length==="number"&&length>0)try{var _dump=object[length-1];return true}catch(_unused2){// Continue regardless of an error.
91
- }return false};/**
92
- * Checks whether one of the given pattern matches given string.
93
- * @param target - Target to check in pattern for.
94
- * @param pattern - List of pattern to check for.
95
- * @returns Value "true" if given object is matches by at leas one of the
96
- * given pattern and "false" otherwise.
97
- */var isAnyMatching=function isAnyMatching(target,pattern){var _iterator=_createForOfIteratorHelper(pattern),_step;try{for(_iterator.s();!(_step=_iterator.n()).done;){var currentPattern=_step.value;if(typeof currentPattern==="string"){if(currentPattern===target)return true}else if(currentPattern.test(target))return true}}catch(err){_iterator.e(err)}finally{_iterator.f()}return false};/**
98
- * Checks whether given object is a native object but not null.
99
- * @param value - Value to check.
100
- * @returns Value "true" if given object is a plain javaScript object and
101
- * "false" otherwise.
102
- */var isObject=function isObject(value){return value!==null&&_typeof(value)==="object"};/**
103
- * Checks whether given object is a plain native object.
104
- * @param value - Value to check.
105
- * @returns Value "true" if given object is a plain javaScript object and
106
- * "false" otherwise.
107
- */var isPlainObject=function isPlainObject(value){return isObject(value)&&_constants_js__WEBPACK_IMPORTED_MODULE_1__/* .PLAIN_OBJECT_PROTOTYPES */ .jE.includes(Object.getPrototypeOf(value))};/**
108
- * Checks whether given object is a set.
109
- * @param value - Value to check.
110
- * @returns Value "true" if given object is a set and "false" otherwise.
111
- */var isSet=function isSet(value){return determineType(value)==="set"};/**
112
- * Checks whether given object is a map.
113
- * @param value - Value to check.
114
- * @returns Value "true" if given object is a map and "false" otherwise.
115
- */var isMap=function isMap(value){return determineType(value)==="map"};/**
116
- * Checks whether given object is a proxy.
117
- * @param value - Value to check.
118
- * @returns Value "true" if given object is a proxy and "false" otherwise.
119
- */var isProxy=function isProxy(value){return Boolean(value.__target__)};/**
120
- * Checks whether given object is a function.
121
- * @param value - Value to check.
122
- * @returns Value "true" if given object is a function and "false"
123
- * otherwise.
124
- */var isFunction=function isFunction(value){return Boolean(value)&&["[object AsyncFunction]","[object Function]"].includes({}.toString.call(value))};
125
-
126
- /***/ })
127
- /******/ ]);
128
- /************************************************************************/
129
- /******/ // The module cache
130
- /******/ var __webpack_module_cache__ = {};
131
- /******/
132
- /******/ // The require function
133
- /******/ function __webpack_require__(moduleId) {
134
- /******/ // Check if module is in cache
135
- /******/ var cachedModule = __webpack_module_cache__[moduleId];
136
- /******/ if (cachedModule !== undefined) {
137
- /******/ return cachedModule.exports;
138
- /******/ }
139
- /******/ // Create a new module (and put it into the cache)
140
- /******/ var module = __webpack_module_cache__[moduleId] = {
141
- /******/ // no module.id needed
142
- /******/ // no module.loaded needed
143
- /******/ exports: {}
144
- /******/ };
145
- /******/
146
- /******/ // Execute the module function
147
- /******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
148
- /******/
149
- /******/ // Return the exports of the module
150
- /******/ return module.exports;
151
- /******/ }
152
- /******/
153
- /************************************************************************/
154
- /******/ /* webpack/runtime/define property getters */
155
- /******/ !function() {
156
- /******/ // define getter/value functions for harmony exports
157
- /******/ __webpack_require__.d = function(exports, definition) {
158
- /******/ if(Array.isArray(definition)) {
159
- /******/ var i = 0;
160
- /******/ while(i < definition.length) {
161
- /******/ var key = definition[i++];
162
- /******/ var binding = definition[i++];
163
- /******/ if(!__webpack_require__.o(exports, key)) {
164
- /******/ if(binding === 0) {
165
- /******/ Object.defineProperty(exports, key, { enumerable: true, value: definition[i++] });
166
- /******/ } else {
167
- /******/ Object.defineProperty(exports, key, { enumerable: true, get: binding });
168
- /******/ }
169
- /******/ } else if(binding === 0) { i++; }
170
- /******/ }
171
- /******/ } else {
172
- /******/ for(var key in definition) {
173
- /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
174
- /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
175
- /******/ }
176
- /******/ }
177
- /******/ }
178
- /******/ };
179
- /******/ }();
180
- /******/
181
- /******/ /* webpack/runtime/hasOwnProperty shorthand */
182
- /******/ !function() {
183
- /******/ __webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
184
- /******/ }();
185
- /******/
186
- /************************************************************************/
187
- var __webpack_exports__ = {};
188
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
189
- /* harmony export */ $y: function() { return /* binding */ isSwitchExpression; },
190
- /* harmony export */ G3: function() { return /* binding */ isCondition; },
191
- /* harmony export */ Gc: function() { return /* binding */ isAndExpression; },
192
- /* harmony export */ HK: function() { return /* binding */ isConcatExpression; },
193
- /* harmony export */ MP: function() { return /* binding */ isIfExpression; },
194
- /* harmony export */ YG: function() { return /* binding */ isOperation; },
195
- /* harmony export */ Z9: function() { return /* binding */ isMappingExpression; },
196
- /* harmony export */ ZI: function() { return /* binding */ isArrayContainsExpression; },
197
- /* harmony export */ bF: function() { return /* binding */ isUnaryOperation; },
198
- /* harmony export */ bQ: function() { return /* binding */ isSpecificExpression; },
199
- /* harmony export */ cB: function() { return /* binding */ isSelector; },
200
- /* harmony export */ g6: function() { return /* binding */ isOrExpression; },
201
- /* harmony export */ ml: function() { return /* binding */ isValue; }
202
- /* harmony export */ });
203
- /* harmony import */ var _indicators_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(4);
204
- // #!/usr/bin/env babel-node
205
- // -*- coding: utf-8 -*-
206
- /* !
207
- region header
208
- [Project page](https://torben.website/clientnode)
209
-
210
- Copyright Torben Sickert (info["~at~"]torben.website) 16.12.2012
211
-
212
- License
213
- -------
214
-
215
- This library written by Torben Sickert stands under a creative commons
216
- naming 3.0 unported license.
217
- See https://creativecommons.org/licenses/by/3.0/deed.de
218
- endregion
219
- */function _createForOfIteratorHelper(r,e){var t="undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(!t){if(Array.isArray(r)||(t=_unsupportedIterableToArray(r))||e&&r&&"number"==typeof r.length){t&&(r=t);var _n=0,F=function F(){};return{s:F,n:function n(){return _n>=r.length?{done:!0}:{done:!1,value:r[_n++]}},e:function e(r){throw r},f:F}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,u=!1;return{s:function s(){t=t.call(r)},n:function n(){var r=t.next();return a=r.done,r},e:function e(r){u=!0,o=r},f:function f(){try{a||null==t.return||t.return()}finally{if(u)throw o}}}}function _unsupportedIterableToArray(r,a){if(r){if("string"==typeof r)return _arrayLikeToArray(r,a);var t={}.toString.call(r).slice(8,-1);return"Object"===t&&r.constructor&&(t=r.constructor.name),"Map"===t||"Set"===t?Array.from(r):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?_arrayLikeToArray(r,a):void 0}}function _arrayLikeToArray(r,a){(null==a||a>r.length)&&(a=r.length);for(var e=0,n=Array(a);e<a;e++)n[e]=r[e];return n};var isSpecificExpression=function isSpecificExpression(expression,indicatorKey,properties){if(properties===void 0){properties=[]}if(!((0,_indicators_js__WEBPACK_IMPORTED_MODULE_0__/* .isPlainObject */ .Qd)(expression)&&Object.prototype.hasOwnProperty.call(expression,indicatorKey)))return false;var _iterator=_createForOfIteratorHelper(properties),_step;try{for(_iterator.s();!(_step=_iterator.n()).done;){var name=_step.value;if(!Object.prototype.hasOwnProperty.call(expression,name))return false}}catch(err){_iterator.e(err)}finally{_iterator.f()}return true};var isCondition=function isCondition(expression){return isSpecificExpression(expression,"$comparator",["value1","value2"])};var isAndExpression=function isAndExpression(expression){return isSpecificExpression(expression,"$and")};var isOrExpression=function isOrExpression(expression){return isSpecificExpression(expression,"$or")};var isConcatExpression=function isConcatExpression(expression){return isSpecificExpression(expression,"$concat")};var isMappingExpression=function isMappingExpression(expression){return isSpecificExpression(expression,"$mapping",["data"])};var isOperation=function isOperation(expression){return isSpecificExpression(expression,"$operator",["operand1","operand2"])};var isUnaryOperation=function isUnaryOperation(expression){return isSpecificExpression(expression,"$operator",["operand"])};var isIfExpression=function isIfExpression(expression){return isSpecificExpression(expression,"$if")};var isSwitchExpression=function isSwitchExpression(expression){return isSpecificExpression(expression,"$switch")};var isSelector=function isSelector(expression){return isSpecificExpression(expression,"$select")};var isArrayContainsExpression=function isArrayContainsExpression(expression){return isSpecificExpression(expression,"$arrayContains")};var isValue=function isValue(expression){return!(isSelector(expression)||isCondition(expression)||isUnaryOperation(expression)||isOperation(expression)||isAndExpression(expression)||isOrExpression(expression)||isConcatExpression(expression)||isMappingExpression(expression)||isIfExpression(expression)||isSwitchExpression(expression)||isArrayContainsExpression(expression))};
220
- export { isAndExpression, isArrayContainsExpression, isConcatExpression, isCondition, isIfExpression, isMappingExpression, isOperation, isOrExpression, isSelector, isSpecificExpression, isSwitchExpression, isUnaryOperation, isValue };
@@ -1,16 +0,0 @@
1
- if(typeof window==='undefined'||window===null)var window=(typeof globalThis==='undefined'||globalThis===null)?{}:globalThis;// #!/usr/bin/env babel-node
2
- // -*- coding: utf-8 -*-
3
- /* !
4
- region header
5
- [Project page](https://torben.website/clientnode)
6
-
7
- Copyright Torben Sickert (info["~at~"]torben.website) 16.12.2012
8
-
9
- License
10
- -------
11
-
12
- This library written by Torben Sickert stands under a creative commons
13
- naming 3.0 unported license.
14
- See https://creativecommons.org/licenses/by/3.0/deed.de
15
- endregion
16
- */