@react-hive/honey-utils 3.25.0 → 3.27.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -0
- package/dist/README.md +6 -0
- package/dist/dom/data-transfer.d.ts +18 -0
- package/dist/dom/index.d.ts +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.dev.cjs +262 -201
- package/dist/index.dev.cjs.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +20 -13
package/dist/index.dev.cjs
CHANGED
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
/******/ "use strict";
|
|
3
3
|
/******/ var __webpack_modules__ = ({
|
|
4
4
|
|
|
5
|
-
/***/ "./src/a11y/focus/get-focusable-html-elements.ts"
|
|
5
|
+
/***/ "./src/a11y/focus/get-focusable-html-elements.ts"
|
|
6
6
|
/*!*******************************************************!*\
|
|
7
7
|
!*** ./src/a11y/focus/get-focusable-html-elements.ts ***!
|
|
8
8
|
\*******************************************************/
|
|
9
|
-
|
|
9
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
10
10
|
|
|
11
11
|
__webpack_require__.r(__webpack_exports__);
|
|
12
12
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
@@ -28,13 +28,13 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
28
28
|
const getFocusableHtmlElements = (container) => Array.from(container.querySelectorAll('*')).filter(_a11y__WEBPACK_IMPORTED_MODULE_0__.isHtmlElementFocusable);
|
|
29
29
|
|
|
30
30
|
|
|
31
|
-
/***/ }
|
|
31
|
+
/***/ },
|
|
32
32
|
|
|
33
|
-
/***/ "./src/a11y/focus/index.ts"
|
|
33
|
+
/***/ "./src/a11y/focus/index.ts"
|
|
34
34
|
/*!*********************************!*\
|
|
35
35
|
!*** ./src/a11y/focus/index.ts ***!
|
|
36
36
|
\*********************************/
|
|
37
|
-
|
|
37
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
38
38
|
|
|
39
39
|
__webpack_require__.r(__webpack_exports__);
|
|
40
40
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
@@ -51,13 +51,13 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
51
51
|
|
|
52
52
|
|
|
53
53
|
|
|
54
|
-
/***/ }
|
|
54
|
+
/***/ },
|
|
55
55
|
|
|
56
|
-
/***/ "./src/a11y/focus/is-html-element-focusable.ts"
|
|
56
|
+
/***/ "./src/a11y/focus/is-html-element-focusable.ts"
|
|
57
57
|
/*!*****************************************************!*\
|
|
58
58
|
!*** ./src/a11y/focus/is-html-element-focusable.ts ***!
|
|
59
59
|
\*****************************************************/
|
|
60
|
-
|
|
60
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
61
61
|
|
|
62
62
|
__webpack_require__.r(__webpack_exports__);
|
|
63
63
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
@@ -114,13 +114,13 @@ const isHtmlElementFocusable = (element) => {
|
|
|
114
114
|
};
|
|
115
115
|
|
|
116
116
|
|
|
117
|
-
/***/ }
|
|
117
|
+
/***/ },
|
|
118
118
|
|
|
119
|
-
/***/ "./src/a11y/focus/move-focus-within-container.ts"
|
|
119
|
+
/***/ "./src/a11y/focus/move-focus-within-container.ts"
|
|
120
120
|
/*!*******************************************************!*\
|
|
121
121
|
!*** ./src/a11y/focus/move-focus-within-container.ts ***!
|
|
122
122
|
\*******************************************************/
|
|
123
|
-
|
|
123
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
124
124
|
|
|
125
125
|
__webpack_require__.r(__webpack_exports__);
|
|
126
126
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
@@ -191,13 +191,13 @@ const moveFocusWithinContainer = (direction, container = null, { wrap = true, ge
|
|
|
191
191
|
};
|
|
192
192
|
|
|
193
193
|
|
|
194
|
-
/***/ }
|
|
194
|
+
/***/ },
|
|
195
195
|
|
|
196
|
-
/***/ "./src/a11y/index.ts"
|
|
196
|
+
/***/ "./src/a11y/index.ts"
|
|
197
197
|
/*!***************************!*\
|
|
198
198
|
!*** ./src/a11y/index.ts ***!
|
|
199
199
|
\***************************/
|
|
200
|
-
|
|
200
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
201
201
|
|
|
202
202
|
__webpack_require__.r(__webpack_exports__);
|
|
203
203
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
@@ -210,13 +210,13 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
210
210
|
|
|
211
211
|
|
|
212
212
|
|
|
213
|
-
/***/ }
|
|
213
|
+
/***/ },
|
|
214
214
|
|
|
215
|
-
/***/ "./src/array.ts"
|
|
215
|
+
/***/ "./src/array.ts"
|
|
216
216
|
/*!**********************!*\
|
|
217
217
|
!*** ./src/array.ts ***!
|
|
218
218
|
\**********************/
|
|
219
|
-
|
|
219
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
220
220
|
|
|
221
221
|
__webpack_require__.r(__webpack_exports__);
|
|
222
222
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
@@ -396,13 +396,13 @@ const pipe = (...fns) => (arg) => fns.reduce((prev, fn) => fn(prev), arg);
|
|
|
396
396
|
const compose = (...fns) => (arg) => fns.reduceRight((prev, fn) => fn(prev), arg);
|
|
397
397
|
|
|
398
398
|
|
|
399
|
-
/***/ }
|
|
399
|
+
/***/ },
|
|
400
400
|
|
|
401
|
-
/***/ "./src/async/async.ts"
|
|
401
|
+
/***/ "./src/async/async.ts"
|
|
402
402
|
/*!****************************!*\
|
|
403
403
|
!*** ./src/async/async.ts ***!
|
|
404
404
|
\****************************/
|
|
405
|
-
|
|
405
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
406
406
|
|
|
407
407
|
__webpack_require__.r(__webpack_exports__);
|
|
408
408
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
@@ -614,13 +614,13 @@ const findAsync = async (array, predicate) => {
|
|
|
614
614
|
};
|
|
615
615
|
|
|
616
616
|
|
|
617
|
-
/***/ }
|
|
617
|
+
/***/ },
|
|
618
618
|
|
|
619
|
-
/***/ "./src/async/delay.ts"
|
|
619
|
+
/***/ "./src/async/delay.ts"
|
|
620
620
|
/*!****************************!*\
|
|
621
621
|
!*** ./src/async/delay.ts ***!
|
|
622
622
|
\****************************/
|
|
623
|
-
|
|
623
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
624
624
|
|
|
625
625
|
__webpack_require__.r(__webpack_exports__);
|
|
626
626
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
@@ -654,13 +654,13 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
654
654
|
const delay = (delayMs) => new Promise(resolve => setTimeout(resolve, delayMs));
|
|
655
655
|
|
|
656
656
|
|
|
657
|
-
/***/ }
|
|
657
|
+
/***/ },
|
|
658
658
|
|
|
659
|
-
/***/ "./src/async/index.ts"
|
|
659
|
+
/***/ "./src/async/index.ts"
|
|
660
660
|
/*!****************************!*\
|
|
661
661
|
!*** ./src/async/index.ts ***!
|
|
662
662
|
\****************************/
|
|
663
|
-
|
|
663
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
664
664
|
|
|
665
665
|
__webpack_require__.r(__webpack_exports__);
|
|
666
666
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
@@ -687,13 +687,13 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
687
687
|
|
|
688
688
|
|
|
689
689
|
|
|
690
|
-
/***/ }
|
|
690
|
+
/***/ },
|
|
691
691
|
|
|
692
|
-
/***/ "./src/async/retry.ts"
|
|
692
|
+
/***/ "./src/async/retry.ts"
|
|
693
693
|
/*!****************************!*\
|
|
694
694
|
!*** ./src/async/retry.ts ***!
|
|
695
695
|
\****************************/
|
|
696
|
-
|
|
696
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
697
697
|
|
|
698
698
|
__webpack_require__.r(__webpack_exports__);
|
|
699
699
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
@@ -763,13 +763,13 @@ const retry = (task, { maxAttempts = 3, delayMs = 300, backoff = true, onRetry }
|
|
|
763
763
|
};
|
|
764
764
|
|
|
765
765
|
|
|
766
|
-
/***/ }
|
|
766
|
+
/***/ },
|
|
767
767
|
|
|
768
|
-
/***/ "./src/async/timeout.ts"
|
|
768
|
+
/***/ "./src/async/timeout.ts"
|
|
769
769
|
/*!******************************!*\
|
|
770
770
|
!*** ./src/async/timeout.ts ***!
|
|
771
771
|
\******************************/
|
|
772
|
-
|
|
772
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
773
773
|
|
|
774
774
|
__webpack_require__.r(__webpack_exports__);
|
|
775
775
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
@@ -815,13 +815,13 @@ const timeout = async (promise, timeoutMs, errorMessage = 'Operation timed out')
|
|
|
815
815
|
};
|
|
816
816
|
|
|
817
817
|
|
|
818
|
-
/***/ }
|
|
818
|
+
/***/ },
|
|
819
819
|
|
|
820
|
-
/***/ "./src/color/hex-with-alpha.ts"
|
|
820
|
+
/***/ "./src/color/hex-with-alpha.ts"
|
|
821
821
|
/*!*************************************!*\
|
|
822
822
|
!*** ./src/color/hex-with-alpha.ts ***!
|
|
823
823
|
\*************************************/
|
|
824
|
-
|
|
824
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
825
825
|
|
|
826
826
|
__webpack_require__.r(__webpack_exports__);
|
|
827
827
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
@@ -872,13 +872,13 @@ const hexWithAlpha = (input, alpha) => {
|
|
|
872
872
|
};
|
|
873
873
|
|
|
874
874
|
|
|
875
|
-
/***/ }
|
|
875
|
+
/***/ },
|
|
876
876
|
|
|
877
|
-
/***/ "./src/color/index.ts"
|
|
877
|
+
/***/ "./src/color/index.ts"
|
|
878
878
|
/*!****************************!*\
|
|
879
879
|
!*** ./src/color/index.ts ***!
|
|
880
880
|
\****************************/
|
|
881
|
-
|
|
881
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
882
882
|
|
|
883
883
|
__webpack_require__.r(__webpack_exports__);
|
|
884
884
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
@@ -888,13 +888,60 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
888
888
|
|
|
889
889
|
|
|
890
890
|
|
|
891
|
-
/***/ }
|
|
891
|
+
/***/ },
|
|
892
892
|
|
|
893
|
-
/***/ "./src/dom/
|
|
893
|
+
/***/ "./src/dom/data-transfer.ts"
|
|
894
|
+
/*!**********************************!*\
|
|
895
|
+
!*** ./src/dom/data-transfer.ts ***!
|
|
896
|
+
\**********************************/
|
|
897
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
898
|
+
|
|
899
|
+
__webpack_require__.r(__webpack_exports__);
|
|
900
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
901
|
+
/* harmony export */ DATA_TRANSFER_JSON_MIME: () => (/* binding */ DATA_TRANSFER_JSON_MIME),
|
|
902
|
+
/* harmony export */ getDataTransferJson: () => (/* binding */ getDataTransferJson),
|
|
903
|
+
/* harmony export */ setDataTransferJson: () => (/* binding */ setDataTransferJson)
|
|
904
|
+
/* harmony export */ });
|
|
905
|
+
const DATA_TRANSFER_JSON_MIME = 'application/json';
|
|
906
|
+
/**
|
|
907
|
+
* Serializes and stores JSON data in a DataTransfer object.
|
|
908
|
+
*
|
|
909
|
+
* Useful for drag-and-drop communication between elements.
|
|
910
|
+
*
|
|
911
|
+
* @param dataTransfer DataTransfer instance from a drag event.
|
|
912
|
+
* @param data Data to serialize.
|
|
913
|
+
*/
|
|
914
|
+
const setDataTransferJson = (dataTransfer, data) => {
|
|
915
|
+
dataTransfer.setData(DATA_TRANSFER_JSON_MIME, JSON.stringify(data));
|
|
916
|
+
};
|
|
917
|
+
/**
|
|
918
|
+
* Retrieves and parses JSON data from a DataTransfer object.
|
|
919
|
+
*
|
|
920
|
+
* @param dataTransfer DataTransfer instance from a drop event.
|
|
921
|
+
*
|
|
922
|
+
* @returns Parsed JSON value or undefined if not present or invalid.
|
|
923
|
+
*/
|
|
924
|
+
const getDataTransferJson = (dataTransfer) => {
|
|
925
|
+
const rawData = dataTransfer.getData(DATA_TRANSFER_JSON_MIME);
|
|
926
|
+
if (!rawData) {
|
|
927
|
+
return undefined;
|
|
928
|
+
}
|
|
929
|
+
try {
|
|
930
|
+
return JSON.parse(rawData);
|
|
931
|
+
}
|
|
932
|
+
catch {
|
|
933
|
+
return undefined;
|
|
934
|
+
}
|
|
935
|
+
};
|
|
936
|
+
|
|
937
|
+
|
|
938
|
+
/***/ },
|
|
939
|
+
|
|
940
|
+
/***/ "./src/dom/dom.ts"
|
|
894
941
|
/*!************************!*\
|
|
895
942
|
!*** ./src/dom/dom.ts ***!
|
|
896
943
|
\************************/
|
|
897
|
-
|
|
944
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
898
945
|
|
|
899
946
|
__webpack_require__.r(__webpack_exports__);
|
|
900
947
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
@@ -947,13 +994,13 @@ const isAnchorHtmlElement = (element) => element.tagName === 'A';
|
|
|
947
994
|
const isContentEditableHtmlElement = (element) => element.getAttribute('contenteditable') === 'true';
|
|
948
995
|
|
|
949
996
|
|
|
950
|
-
/***/ }
|
|
997
|
+
/***/ },
|
|
951
998
|
|
|
952
|
-
/***/ "./src/dom/file/download-file.ts"
|
|
999
|
+
/***/ "./src/dom/file/download-file.ts"
|
|
953
1000
|
/*!***************************************!*\
|
|
954
1001
|
!*** ./src/dom/file/download-file.ts ***!
|
|
955
1002
|
\***************************************/
|
|
956
|
-
|
|
1003
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
957
1004
|
|
|
958
1005
|
__webpack_require__.r(__webpack_exports__);
|
|
959
1006
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
@@ -1015,13 +1062,13 @@ const downloadFile = (file, { fileName, target } = {}) => {
|
|
|
1015
1062
|
};
|
|
1016
1063
|
|
|
1017
1064
|
|
|
1018
|
-
/***/ }
|
|
1065
|
+
/***/ },
|
|
1019
1066
|
|
|
1020
|
-
/***/ "./src/dom/file/index.ts"
|
|
1067
|
+
/***/ "./src/dom/file/index.ts"
|
|
1021
1068
|
/*!*******************************!*\
|
|
1022
1069
|
!*** ./src/dom/file/index.ts ***!
|
|
1023
1070
|
\*******************************/
|
|
1024
|
-
|
|
1071
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
1025
1072
|
|
|
1026
1073
|
__webpack_require__.r(__webpack_exports__);
|
|
1027
1074
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
@@ -1031,45 +1078,50 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1031
1078
|
|
|
1032
1079
|
|
|
1033
1080
|
|
|
1034
|
-
/***/ }
|
|
1081
|
+
/***/ },
|
|
1035
1082
|
|
|
1036
|
-
/***/ "./src/dom/index.ts"
|
|
1083
|
+
/***/ "./src/dom/index.ts"
|
|
1037
1084
|
/*!**************************!*\
|
|
1038
1085
|
!*** ./src/dom/index.ts ***!
|
|
1039
1086
|
\**************************/
|
|
1040
|
-
|
|
1087
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
1041
1088
|
|
|
1042
1089
|
__webpack_require__.r(__webpack_exports__);
|
|
1043
1090
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
1044
|
-
/* harmony export */
|
|
1045
|
-
/* harmony export */
|
|
1046
|
-
/* harmony export */
|
|
1047
|
-
/* harmony export */
|
|
1048
|
-
/* harmony export */
|
|
1049
|
-
/* harmony export */
|
|
1050
|
-
/* harmony export */
|
|
1051
|
-
/* harmony export */
|
|
1052
|
-
/* harmony export */
|
|
1053
|
-
/* harmony export */
|
|
1054
|
-
/* harmony export */
|
|
1091
|
+
/* harmony export */ DATA_TRANSFER_JSON_MIME: () => (/* reexport safe */ _data_transfer__WEBPACK_IMPORTED_MODULE_0__.DATA_TRANSFER_JSON_MIME),
|
|
1092
|
+
/* harmony export */ centerElementInContainer: () => (/* reexport safe */ _layout__WEBPACK_IMPORTED_MODULE_3__.centerElementInContainer),
|
|
1093
|
+
/* harmony export */ cloneBlob: () => (/* reexport safe */ _dom__WEBPACK_IMPORTED_MODULE_1__.cloneBlob),
|
|
1094
|
+
/* harmony export */ downloadFile: () => (/* reexport safe */ _file__WEBPACK_IMPORTED_MODULE_2__.downloadFile),
|
|
1095
|
+
/* harmony export */ getDataTransferJson: () => (/* reexport safe */ _data_transfer__WEBPACK_IMPORTED_MODULE_0__.getDataTransferJson),
|
|
1096
|
+
/* harmony export */ getElementOffsetRect: () => (/* reexport safe */ _dom__WEBPACK_IMPORTED_MODULE_1__.getElementOffsetRect),
|
|
1097
|
+
/* harmony export */ getXOverflowWidth: () => (/* reexport safe */ _layout__WEBPACK_IMPORTED_MODULE_3__.getXOverflowWidth),
|
|
1098
|
+
/* harmony export */ getYOverflowHeight: () => (/* reexport safe */ _layout__WEBPACK_IMPORTED_MODULE_3__.getYOverflowHeight),
|
|
1099
|
+
/* harmony export */ hasXOverflow: () => (/* reexport safe */ _layout__WEBPACK_IMPORTED_MODULE_3__.hasXOverflow),
|
|
1100
|
+
/* harmony export */ hasYOverflow: () => (/* reexport safe */ _layout__WEBPACK_IMPORTED_MODULE_3__.hasYOverflow),
|
|
1101
|
+
/* harmony export */ isAnchorHtmlElement: () => (/* reexport safe */ _dom__WEBPACK_IMPORTED_MODULE_1__.isAnchorHtmlElement),
|
|
1102
|
+
/* harmony export */ isContentEditableHtmlElement: () => (/* reexport safe */ _dom__WEBPACK_IMPORTED_MODULE_1__.isContentEditableHtmlElement),
|
|
1103
|
+
/* harmony export */ parse2DMatrix: () => (/* reexport safe */ _transform__WEBPACK_IMPORTED_MODULE_4__.parse2DMatrix),
|
|
1104
|
+
/* harmony export */ setDataTransferJson: () => (/* reexport safe */ _data_transfer__WEBPACK_IMPORTED_MODULE_0__.setDataTransferJson)
|
|
1055
1105
|
/* harmony export */ });
|
|
1056
|
-
/* harmony import */ var
|
|
1057
|
-
/* harmony import */ var
|
|
1058
|
-
/* harmony import */ var
|
|
1059
|
-
/* harmony import */ var
|
|
1106
|
+
/* harmony import */ var _data_transfer__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./data-transfer */ "./src/dom/data-transfer.ts");
|
|
1107
|
+
/* harmony import */ var _dom__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./dom */ "./src/dom/dom.ts");
|
|
1108
|
+
/* harmony import */ var _file__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./file */ "./src/dom/file/index.ts");
|
|
1109
|
+
/* harmony import */ var _layout__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./layout */ "./src/dom/layout/index.ts");
|
|
1110
|
+
/* harmony import */ var _transform__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./transform */ "./src/dom/transform/index.ts");
|
|
1111
|
+
|
|
1060
1112
|
|
|
1061
1113
|
|
|
1062
1114
|
|
|
1063
1115
|
|
|
1064
1116
|
|
|
1065
1117
|
|
|
1066
|
-
/***/ }
|
|
1118
|
+
/***/ },
|
|
1067
1119
|
|
|
1068
|
-
/***/ "./src/dom/layout/center-element-in-container.ts"
|
|
1120
|
+
/***/ "./src/dom/layout/center-element-in-container.ts"
|
|
1069
1121
|
/*!*******************************************************!*\
|
|
1070
1122
|
!*** ./src/dom/layout/center-element-in-container.ts ***!
|
|
1071
1123
|
\*******************************************************/
|
|
1072
|
-
|
|
1124
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
1073
1125
|
|
|
1074
1126
|
__webpack_require__.r(__webpack_exports__);
|
|
1075
1127
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
@@ -1121,13 +1173,13 @@ const centerElementInContainer = (containerElement, elementToCenter, { axis = 'b
|
|
|
1121
1173
|
};
|
|
1122
1174
|
|
|
1123
1175
|
|
|
1124
|
-
/***/ }
|
|
1176
|
+
/***/ },
|
|
1125
1177
|
|
|
1126
|
-
/***/ "./src/dom/layout/index.ts"
|
|
1178
|
+
/***/ "./src/dom/layout/index.ts"
|
|
1127
1179
|
/*!*********************************!*\
|
|
1128
1180
|
!*** ./src/dom/layout/index.ts ***!
|
|
1129
1181
|
\*********************************/
|
|
1130
|
-
|
|
1182
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
1131
1183
|
|
|
1132
1184
|
__webpack_require__.r(__webpack_exports__);
|
|
1133
1185
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
@@ -1143,13 +1195,13 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1143
1195
|
|
|
1144
1196
|
|
|
1145
1197
|
|
|
1146
|
-
/***/ }
|
|
1198
|
+
/***/ },
|
|
1147
1199
|
|
|
1148
|
-
/***/ "./src/dom/layout/overflow.ts"
|
|
1200
|
+
/***/ "./src/dom/layout/overflow.ts"
|
|
1149
1201
|
/*!************************************!*\
|
|
1150
1202
|
!*** ./src/dom/layout/overflow.ts ***!
|
|
1151
1203
|
\************************************/
|
|
1152
|
-
|
|
1204
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
1153
1205
|
|
|
1154
1206
|
__webpack_require__.r(__webpack_exports__);
|
|
1155
1207
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
@@ -1198,13 +1250,13 @@ const hasYOverflow = (element) => element.scrollHeight > element.clientHeight;
|
|
|
1198
1250
|
const getYOverflowHeight = (element) => Math.max(0, element.scrollHeight - element.clientHeight);
|
|
1199
1251
|
|
|
1200
1252
|
|
|
1201
|
-
/***/ }
|
|
1253
|
+
/***/ },
|
|
1202
1254
|
|
|
1203
|
-
/***/ "./src/dom/transform/index.ts"
|
|
1255
|
+
/***/ "./src/dom/transform/index.ts"
|
|
1204
1256
|
/*!************************************!*\
|
|
1205
1257
|
!*** ./src/dom/transform/index.ts ***!
|
|
1206
1258
|
\************************************/
|
|
1207
|
-
|
|
1259
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
1208
1260
|
|
|
1209
1261
|
__webpack_require__.r(__webpack_exports__);
|
|
1210
1262
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
@@ -1214,13 +1266,13 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1214
1266
|
|
|
1215
1267
|
|
|
1216
1268
|
|
|
1217
|
-
/***/ }
|
|
1269
|
+
/***/ },
|
|
1218
1270
|
|
|
1219
|
-
/***/ "./src/dom/transform/parse-2d-matrix.ts"
|
|
1271
|
+
/***/ "./src/dom/transform/parse-2d-matrix.ts"
|
|
1220
1272
|
/*!**********************************************!*\
|
|
1221
1273
|
!*** ./src/dom/transform/parse-2d-matrix.ts ***!
|
|
1222
1274
|
\**********************************************/
|
|
1223
|
-
|
|
1275
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
1224
1276
|
|
|
1225
1277
|
__webpack_require__.r(__webpack_exports__);
|
|
1226
1278
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
@@ -1269,13 +1321,13 @@ const parse2DMatrix = (element) => {
|
|
|
1269
1321
|
};
|
|
1270
1322
|
|
|
1271
1323
|
|
|
1272
|
-
/***/ }
|
|
1324
|
+
/***/ },
|
|
1273
1325
|
|
|
1274
|
-
/***/ "./src/env/index.ts"
|
|
1326
|
+
/***/ "./src/env/index.ts"
|
|
1275
1327
|
/*!**************************!*\
|
|
1276
1328
|
!*** ./src/env/index.ts ***!
|
|
1277
1329
|
\**************************/
|
|
1278
|
-
|
|
1330
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
1279
1331
|
|
|
1280
1332
|
__webpack_require__.r(__webpack_exports__);
|
|
1281
1333
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
@@ -1286,13 +1338,13 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1286
1338
|
|
|
1287
1339
|
|
|
1288
1340
|
|
|
1289
|
-
/***/ }
|
|
1341
|
+
/***/ },
|
|
1290
1342
|
|
|
1291
|
-
/***/ "./src/env/storage/index.ts"
|
|
1343
|
+
/***/ "./src/env/storage/index.ts"
|
|
1292
1344
|
/*!**********************************!*\
|
|
1293
1345
|
!*** ./src/env/storage/index.ts ***!
|
|
1294
1346
|
\**********************************/
|
|
1295
|
-
|
|
1347
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
1296
1348
|
|
|
1297
1349
|
__webpack_require__.r(__webpack_exports__);
|
|
1298
1350
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
@@ -1303,13 +1355,13 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1303
1355
|
|
|
1304
1356
|
|
|
1305
1357
|
|
|
1306
|
-
/***/ }
|
|
1358
|
+
/***/ },
|
|
1307
1359
|
|
|
1308
|
-
/***/ "./src/env/storage/local-storage.ts"
|
|
1360
|
+
/***/ "./src/env/storage/local-storage.ts"
|
|
1309
1361
|
/*!******************************************!*\
|
|
1310
1362
|
!*** ./src/env/storage/local-storage.ts ***!
|
|
1311
1363
|
\******************************************/
|
|
1312
|
-
|
|
1364
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
1313
1365
|
|
|
1314
1366
|
__webpack_require__.r(__webpack_exports__);
|
|
1315
1367
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
@@ -1384,13 +1436,13 @@ const getLocalStorageCapabilities = () => {
|
|
|
1384
1436
|
};
|
|
1385
1437
|
|
|
1386
1438
|
|
|
1387
|
-
/***/ }
|
|
1439
|
+
/***/ },
|
|
1388
1440
|
|
|
1389
|
-
/***/ "./src/file.ts"
|
|
1441
|
+
/***/ "./src/file.ts"
|
|
1390
1442
|
/*!*********************!*\
|
|
1391
1443
|
!*** ./src/file.ts ***!
|
|
1392
1444
|
\*********************/
|
|
1393
|
-
|
|
1445
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
1394
1446
|
|
|
1395
1447
|
__webpack_require__.r(__webpack_exports__);
|
|
1396
1448
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
@@ -1566,13 +1618,13 @@ const readFilesFromDataTransfer = async (dataTransfer, traverseOptions = {}) =>
|
|
|
1566
1618
|
};
|
|
1567
1619
|
|
|
1568
1620
|
|
|
1569
|
-
/***/ }
|
|
1621
|
+
/***/ },
|
|
1570
1622
|
|
|
1571
|
-
/***/ "./src/function/function.ts"
|
|
1623
|
+
/***/ "./src/function/function.ts"
|
|
1572
1624
|
/*!**********************************!*\
|
|
1573
1625
|
!*** ./src/function/function.ts ***!
|
|
1574
1626
|
\**********************************/
|
|
1575
|
-
|
|
1627
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
1576
1628
|
|
|
1577
1629
|
__webpack_require__.r(__webpack_exports__);
|
|
1578
1630
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
@@ -1640,13 +1692,13 @@ const once = (fn) => {
|
|
|
1640
1692
|
};
|
|
1641
1693
|
|
|
1642
1694
|
|
|
1643
|
-
/***/ }
|
|
1695
|
+
/***/ },
|
|
1644
1696
|
|
|
1645
|
-
/***/ "./src/function/index.ts"
|
|
1697
|
+
/***/ "./src/function/index.ts"
|
|
1646
1698
|
/*!*******************************!*\
|
|
1647
1699
|
!*** ./src/function/index.ts ***!
|
|
1648
1700
|
\*******************************/
|
|
1649
|
-
|
|
1701
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
1650
1702
|
|
|
1651
1703
|
__webpack_require__.r(__webpack_exports__);
|
|
1652
1704
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
@@ -1662,13 +1714,13 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1662
1714
|
|
|
1663
1715
|
|
|
1664
1716
|
|
|
1665
|
-
/***/ }
|
|
1717
|
+
/***/ },
|
|
1666
1718
|
|
|
1667
|
-
/***/ "./src/function/invoke-if-function.ts"
|
|
1719
|
+
/***/ "./src/function/invoke-if-function.ts"
|
|
1668
1720
|
/*!********************************************!*\
|
|
1669
1721
|
!*** ./src/function/invoke-if-function.ts ***!
|
|
1670
1722
|
\********************************************/
|
|
1671
|
-
|
|
1723
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
1672
1724
|
|
|
1673
1725
|
__webpack_require__.r(__webpack_exports__);
|
|
1674
1726
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
@@ -1689,13 +1741,13 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1689
1741
|
const invokeIfFunction = (input, ...args) => (typeof input === 'function' ? input(...args) : input);
|
|
1690
1742
|
|
|
1691
1743
|
|
|
1692
|
-
/***/ }
|
|
1744
|
+
/***/ },
|
|
1693
1745
|
|
|
1694
|
-
/***/ "./src/geometry/apply-inertia-step.ts"
|
|
1746
|
+
/***/ "./src/geometry/apply-inertia-step.ts"
|
|
1695
1747
|
/*!********************************************!*\
|
|
1696
1748
|
!*** ./src/geometry/apply-inertia-step.ts ***!
|
|
1697
1749
|
\********************************************/
|
|
1698
|
-
|
|
1750
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
1699
1751
|
|
|
1700
1752
|
__webpack_require__.r(__webpack_exports__);
|
|
1701
1753
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
@@ -1773,13 +1825,13 @@ const applyInertiaStep = ({ value, min, max, velocityPxMs, deltaTimeMs, friction
|
|
|
1773
1825
|
};
|
|
1774
1826
|
|
|
1775
1827
|
|
|
1776
|
-
/***/ }
|
|
1828
|
+
/***/ },
|
|
1777
1829
|
|
|
1778
|
-
/***/ "./src/geometry/index.ts"
|
|
1830
|
+
/***/ "./src/geometry/index.ts"
|
|
1779
1831
|
/*!*******************************!*\
|
|
1780
1832
|
!*** ./src/geometry/index.ts ***!
|
|
1781
1833
|
\*******************************/
|
|
1782
|
-
|
|
1834
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
1783
1835
|
|
|
1784
1836
|
__webpack_require__.r(__webpack_exports__);
|
|
1785
1837
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
@@ -1795,13 +1847,13 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1795
1847
|
|
|
1796
1848
|
|
|
1797
1849
|
|
|
1798
|
-
/***/ }
|
|
1850
|
+
/***/ },
|
|
1799
1851
|
|
|
1800
|
-
/***/ "./src/geometry/layout/calculate-center-offset.ts"
|
|
1852
|
+
/***/ "./src/geometry/layout/calculate-center-offset.ts"
|
|
1801
1853
|
/*!********************************************************!*\
|
|
1802
1854
|
!*** ./src/geometry/layout/calculate-center-offset.ts ***!
|
|
1803
1855
|
\********************************************************/
|
|
1804
|
-
|
|
1856
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
1805
1857
|
|
|
1806
1858
|
__webpack_require__.r(__webpack_exports__);
|
|
1807
1859
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
@@ -1829,13 +1881,13 @@ const calculateCenterOffset = ({ overflowSize, containerSize, elementOffset, ele
|
|
|
1829
1881
|
};
|
|
1830
1882
|
|
|
1831
1883
|
|
|
1832
|
-
/***/ }
|
|
1884
|
+
/***/ },
|
|
1833
1885
|
|
|
1834
|
-
/***/ "./src/geometry/layout/index.ts"
|
|
1886
|
+
/***/ "./src/geometry/layout/index.ts"
|
|
1835
1887
|
/*!**************************************!*\
|
|
1836
1888
|
!*** ./src/geometry/layout/index.ts ***!
|
|
1837
1889
|
\**************************************/
|
|
1838
|
-
|
|
1890
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
1839
1891
|
|
|
1840
1892
|
__webpack_require__.r(__webpack_exports__);
|
|
1841
1893
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
@@ -1845,13 +1897,13 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1845
1897
|
|
|
1846
1898
|
|
|
1847
1899
|
|
|
1848
|
-
/***/ }
|
|
1900
|
+
/***/ },
|
|
1849
1901
|
|
|
1850
|
-
/***/ "./src/geometry/resolve-bounded-delta.ts"
|
|
1902
|
+
/***/ "./src/geometry/resolve-bounded-delta.ts"
|
|
1851
1903
|
/*!***********************************************!*\
|
|
1852
1904
|
!*** ./src/geometry/resolve-bounded-delta.ts ***!
|
|
1853
1905
|
\***********************************************/
|
|
1854
|
-
|
|
1906
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
1855
1907
|
|
|
1856
1908
|
__webpack_require__.r(__webpack_exports__);
|
|
1857
1909
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
@@ -1922,13 +1974,13 @@ const resolveBoundedDelta = ({ delta, value, min, max, }) => {
|
|
|
1922
1974
|
};
|
|
1923
1975
|
|
|
1924
1976
|
|
|
1925
|
-
/***/ }
|
|
1977
|
+
/***/ },
|
|
1926
1978
|
|
|
1927
|
-
/***/ "./src/guards.ts"
|
|
1979
|
+
/***/ "./src/guards.ts"
|
|
1928
1980
|
/*!***********************!*\
|
|
1929
1981
|
!*** ./src/guards.ts ***!
|
|
1930
1982
|
\***********************/
|
|
1931
|
-
|
|
1983
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
1932
1984
|
|
|
1933
1985
|
__webpack_require__.r(__webpack_exports__);
|
|
1934
1986
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
@@ -2164,13 +2216,13 @@ const isInteger = (value) => isNumber(value) && Number.isInteger(value);
|
|
|
2164
2216
|
const isDecimal = (value) => isFiniteNumber(value) && !Number.isInteger(value);
|
|
2165
2217
|
|
|
2166
2218
|
|
|
2167
|
-
/***/ }
|
|
2219
|
+
/***/ },
|
|
2168
2220
|
|
|
2169
|
-
/***/ "./src/id/generate-ephemeral-id.ts"
|
|
2221
|
+
/***/ "./src/id/generate-ephemeral-id.ts"
|
|
2170
2222
|
/*!*****************************************!*\
|
|
2171
2223
|
!*** ./src/id/generate-ephemeral-id.ts ***!
|
|
2172
2224
|
\*****************************************/
|
|
2173
|
-
|
|
2225
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
2174
2226
|
|
|
2175
2227
|
__webpack_require__.r(__webpack_exports__);
|
|
2176
2228
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
@@ -2200,13 +2252,13 @@ const generateEphemeralId = () => {
|
|
|
2200
2252
|
};
|
|
2201
2253
|
|
|
2202
2254
|
|
|
2203
|
-
/***/ }
|
|
2255
|
+
/***/ },
|
|
2204
2256
|
|
|
2205
|
-
/***/ "./src/id/index.ts"
|
|
2257
|
+
/***/ "./src/id/index.ts"
|
|
2206
2258
|
/*!*************************!*\
|
|
2207
2259
|
!*** ./src/id/index.ts ***!
|
|
2208
2260
|
\*************************/
|
|
2209
|
-
|
|
2261
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
2210
2262
|
|
|
2211
2263
|
__webpack_require__.r(__webpack_exports__);
|
|
2212
2264
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
@@ -2216,13 +2268,13 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
2216
2268
|
|
|
2217
2269
|
|
|
2218
2270
|
|
|
2219
|
-
/***/ }
|
|
2271
|
+
/***/ },
|
|
2220
2272
|
|
|
2221
|
-
/***/ "./src/intersection/get-dom-rect-intersection-ratio.ts"
|
|
2273
|
+
/***/ "./src/intersection/get-dom-rect-intersection-ratio.ts"
|
|
2222
2274
|
/*!*************************************************************!*\
|
|
2223
2275
|
!*** ./src/intersection/get-dom-rect-intersection-ratio.ts ***!
|
|
2224
2276
|
\*************************************************************/
|
|
2225
|
-
|
|
2277
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
2226
2278
|
|
|
2227
2279
|
__webpack_require__.r(__webpack_exports__);
|
|
2228
2280
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
@@ -2248,13 +2300,13 @@ const getDOMRectIntersectionRatio = (sourceRect, targetRect) => {
|
|
|
2248
2300
|
};
|
|
2249
2301
|
|
|
2250
2302
|
|
|
2251
|
-
/***/ }
|
|
2303
|
+
/***/ },
|
|
2252
2304
|
|
|
2253
|
-
/***/ "./src/intersection/index.ts"
|
|
2305
|
+
/***/ "./src/intersection/index.ts"
|
|
2254
2306
|
/*!***********************************!*\
|
|
2255
2307
|
!*** ./src/intersection/index.ts ***!
|
|
2256
2308
|
\***********************************/
|
|
2257
|
-
|
|
2309
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
2258
2310
|
|
|
2259
2311
|
__webpack_require__.r(__webpack_exports__);
|
|
2260
2312
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
@@ -2267,13 +2319,13 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
2267
2319
|
|
|
2268
2320
|
|
|
2269
2321
|
|
|
2270
|
-
/***/ }
|
|
2322
|
+
/***/ },
|
|
2271
2323
|
|
|
2272
|
-
/***/ "./src/intersection/resolve-axis-delta.ts"
|
|
2324
|
+
/***/ "./src/intersection/resolve-axis-delta.ts"
|
|
2273
2325
|
/*!************************************************!*\
|
|
2274
2326
|
!*** ./src/intersection/resolve-axis-delta.ts ***!
|
|
2275
2327
|
\************************************************/
|
|
2276
|
-
|
|
2328
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
2277
2329
|
|
|
2278
2330
|
__webpack_require__.r(__webpack_exports__);
|
|
2279
2331
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
@@ -2330,13 +2382,13 @@ const resolveAxisDelta = (delta, axis, { allowFallback = true, invert = true } =
|
|
|
2330
2382
|
};
|
|
2331
2383
|
|
|
2332
2384
|
|
|
2333
|
-
/***/ }
|
|
2385
|
+
/***/ },
|
|
2334
2386
|
|
|
2335
|
-
/***/ "./src/math/hash-string.ts"
|
|
2387
|
+
/***/ "./src/math/hash-string.ts"
|
|
2336
2388
|
/*!*********************************!*\
|
|
2337
2389
|
!*** ./src/math/hash-string.ts ***!
|
|
2338
2390
|
\*********************************/
|
|
2339
|
-
|
|
2391
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
2340
2392
|
|
|
2341
2393
|
__webpack_require__.r(__webpack_exports__);
|
|
2342
2394
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
@@ -2375,13 +2427,13 @@ const hashString = (input) => {
|
|
|
2375
2427
|
};
|
|
2376
2428
|
|
|
2377
2429
|
|
|
2378
|
-
/***/ }
|
|
2430
|
+
/***/ },
|
|
2379
2431
|
|
|
2380
|
-
/***/ "./src/math/index.ts"
|
|
2432
|
+
/***/ "./src/math/index.ts"
|
|
2381
2433
|
/*!***************************!*\
|
|
2382
2434
|
!*** ./src/math/index.ts ***!
|
|
2383
2435
|
\***************************/
|
|
2384
|
-
|
|
2436
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
2385
2437
|
|
|
2386
2438
|
__webpack_require__.r(__webpack_exports__);
|
|
2387
2439
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
@@ -2396,13 +2448,13 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
2396
2448
|
|
|
2397
2449
|
|
|
2398
2450
|
|
|
2399
|
-
/***/ }
|
|
2451
|
+
/***/ },
|
|
2400
2452
|
|
|
2401
|
-
/***/ "./src/math/math.ts"
|
|
2453
|
+
/***/ "./src/math/math.ts"
|
|
2402
2454
|
/*!**************************!*\
|
|
2403
2455
|
!*** ./src/math/math.ts ***!
|
|
2404
2456
|
\**************************/
|
|
2405
|
-
|
|
2457
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
2406
2458
|
|
|
2407
2459
|
__webpack_require__.r(__webpack_exports__);
|
|
2408
2460
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
@@ -2445,13 +2497,13 @@ const calculateMovingSpeed = (distance, elapsedTime) => Math.abs(distance / elap
|
|
|
2445
2497
|
const calculatePercentage = (value, percentage) => (value * percentage) / 100;
|
|
2446
2498
|
|
|
2447
2499
|
|
|
2448
|
-
/***/ }
|
|
2500
|
+
/***/ },
|
|
2449
2501
|
|
|
2450
|
-
/***/ "./src/object.ts"
|
|
2502
|
+
/***/ "./src/object.ts"
|
|
2451
2503
|
/*!***********************!*\
|
|
2452
2504
|
!*** ./src/object.ts ***!
|
|
2453
2505
|
\***********************/
|
|
2454
|
-
|
|
2506
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
2455
2507
|
|
|
2456
2508
|
__webpack_require__.r(__webpack_exports__);
|
|
2457
2509
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
@@ -2480,13 +2532,13 @@ const definedProps = (obj) => Object.entries(obj).reduce((result, [key, value])
|
|
|
2480
2532
|
}, {});
|
|
2481
2533
|
|
|
2482
2534
|
|
|
2483
|
-
/***/ }
|
|
2535
|
+
/***/ },
|
|
2484
2536
|
|
|
2485
|
-
/***/ "./src/string/camel-to-dash-case.ts"
|
|
2537
|
+
/***/ "./src/string/camel-to-dash-case.ts"
|
|
2486
2538
|
/*!******************************************!*\
|
|
2487
2539
|
!*** ./src/string/camel-to-dash-case.ts ***!
|
|
2488
2540
|
\******************************************/
|
|
2489
|
-
|
|
2541
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
2490
2542
|
|
|
2491
2543
|
__webpack_require__.r(__webpack_exports__);
|
|
2492
2544
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
@@ -2523,13 +2575,13 @@ const camelToDashCase = (input) => {
|
|
|
2523
2575
|
};
|
|
2524
2576
|
|
|
2525
2577
|
|
|
2526
|
-
/***/ }
|
|
2578
|
+
/***/ },
|
|
2527
2579
|
|
|
2528
|
-
/***/ "./src/string/camel-to-words.ts"
|
|
2580
|
+
/***/ "./src/string/camel-to-words.ts"
|
|
2529
2581
|
/*!**************************************!*\
|
|
2530
2582
|
!*** ./src/string/camel-to-words.ts ***!
|
|
2531
2583
|
\**************************************/
|
|
2532
|
-
|
|
2584
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
2533
2585
|
|
|
2534
2586
|
__webpack_require__.r(__webpack_exports__);
|
|
2535
2587
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
@@ -2556,13 +2608,13 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
2556
2608
|
const camelToWords = (input) => input.replace(/([a-z0-9])([A-Z])/g, '$1 $2');
|
|
2557
2609
|
|
|
2558
2610
|
|
|
2559
|
-
/***/ }
|
|
2611
|
+
/***/ },
|
|
2560
2612
|
|
|
2561
|
-
/***/ "./src/string/find-char-indices.ts"
|
|
2613
|
+
/***/ "./src/string/find-char-indices.ts"
|
|
2562
2614
|
/*!*****************************************!*\
|
|
2563
2615
|
!*** ./src/string/find-char-indices.ts ***!
|
|
2564
2616
|
\*****************************************/
|
|
2565
|
-
|
|
2617
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
2566
2618
|
|
|
2567
2619
|
__webpack_require__.r(__webpack_exports__);
|
|
2568
2620
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
@@ -2597,13 +2649,13 @@ const findCharIndices = (input, targetChar) => {
|
|
|
2597
2649
|
};
|
|
2598
2650
|
|
|
2599
2651
|
|
|
2600
|
-
/***/ }
|
|
2652
|
+
/***/ },
|
|
2601
2653
|
|
|
2602
|
-
/***/ "./src/string/for-each-char.ts"
|
|
2654
|
+
/***/ "./src/string/for-each-char.ts"
|
|
2603
2655
|
/*!*************************************!*\
|
|
2604
2656
|
!*** ./src/string/for-each-char.ts ***!
|
|
2605
2657
|
\*************************************/
|
|
2606
|
-
|
|
2658
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
2607
2659
|
|
|
2608
2660
|
__webpack_require__.r(__webpack_exports__);
|
|
2609
2661
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
@@ -2639,13 +2691,13 @@ const forEachChar = (input, onChar, shouldSkipChar) => {
|
|
|
2639
2691
|
};
|
|
2640
2692
|
|
|
2641
2693
|
|
|
2642
|
-
/***/ }
|
|
2694
|
+
/***/ },
|
|
2643
2695
|
|
|
2644
|
-
/***/ "./src/string/get-words-initials.ts"
|
|
2696
|
+
/***/ "./src/string/get-words-initials.ts"
|
|
2645
2697
|
/*!******************************************!*\
|
|
2646
2698
|
!*** ./src/string/get-words-initials.ts ***!
|
|
2647
2699
|
\******************************************/
|
|
2648
|
-
|
|
2700
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
2649
2701
|
|
|
2650
2702
|
__webpack_require__.r(__webpack_exports__);
|
|
2651
2703
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
@@ -2676,13 +2728,13 @@ const getWordsInitials = (input, maxWords = Infinity) => {
|
|
|
2676
2728
|
};
|
|
2677
2729
|
|
|
2678
2730
|
|
|
2679
|
-
/***/ }
|
|
2731
|
+
/***/ },
|
|
2680
2732
|
|
|
2681
|
-
/***/ "./src/string/index.ts"
|
|
2733
|
+
/***/ "./src/string/index.ts"
|
|
2682
2734
|
/*!*****************************!*\
|
|
2683
2735
|
!*** ./src/string/index.ts ***!
|
|
2684
2736
|
\*****************************/
|
|
2685
|
-
|
|
2737
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
2686
2738
|
|
|
2687
2739
|
__webpack_require__.r(__webpack_exports__);
|
|
2688
2740
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
@@ -2722,13 +2774,13 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
2722
2774
|
|
|
2723
2775
|
|
|
2724
2776
|
|
|
2725
|
-
/***/ }
|
|
2777
|
+
/***/ },
|
|
2726
2778
|
|
|
2727
|
-
/***/ "./src/string/is-nil-or-empty-string.ts"
|
|
2779
|
+
/***/ "./src/string/is-nil-or-empty-string.ts"
|
|
2728
2780
|
/*!**********************************************!*\
|
|
2729
2781
|
!*** ./src/string/is-nil-or-empty-string.ts ***!
|
|
2730
2782
|
\**********************************************/
|
|
2731
|
-
|
|
2783
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
2732
2784
|
|
|
2733
2785
|
__webpack_require__.r(__webpack_exports__);
|
|
2734
2786
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
@@ -2751,13 +2803,13 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
2751
2803
|
const isNilOrEmptyString = (value) => value === '' || (0,_guards__WEBPACK_IMPORTED_MODULE_0__.isNil)(value);
|
|
2752
2804
|
|
|
2753
2805
|
|
|
2754
|
-
/***/ }
|
|
2806
|
+
/***/ },
|
|
2755
2807
|
|
|
2756
|
-
/***/ "./src/string/is-string.ts"
|
|
2808
|
+
/***/ "./src/string/is-string.ts"
|
|
2757
2809
|
/*!*********************************!*\
|
|
2758
2810
|
!*** ./src/string/is-string.ts ***!
|
|
2759
2811
|
\*********************************/
|
|
2760
|
-
|
|
2812
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
2761
2813
|
|
|
2762
2814
|
__webpack_require__.r(__webpack_exports__);
|
|
2763
2815
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
@@ -2773,13 +2825,13 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
2773
2825
|
const isString = (value) => typeof value === 'string';
|
|
2774
2826
|
|
|
2775
2827
|
|
|
2776
|
-
/***/ }
|
|
2828
|
+
/***/ },
|
|
2777
2829
|
|
|
2778
|
-
/***/ "./src/string/parse-file-name.ts"
|
|
2830
|
+
/***/ "./src/string/parse-file-name.ts"
|
|
2779
2831
|
/*!***************************************!*\
|
|
2780
2832
|
!*** ./src/string/parse-file-name.ts ***!
|
|
2781
2833
|
\***************************************/
|
|
2782
|
-
|
|
2834
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
2783
2835
|
|
|
2784
2836
|
__webpack_require__.r(__webpack_exports__);
|
|
2785
2837
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
@@ -2810,13 +2862,13 @@ const parseFileName = (fileName) => {
|
|
|
2810
2862
|
};
|
|
2811
2863
|
|
|
2812
2864
|
|
|
2813
|
-
/***/ }
|
|
2865
|
+
/***/ },
|
|
2814
2866
|
|
|
2815
|
-
/***/ "./src/string/split-map-join.ts"
|
|
2867
|
+
/***/ "./src/string/split-map-join.ts"
|
|
2816
2868
|
/*!**************************************!*\
|
|
2817
2869
|
!*** ./src/string/split-map-join.ts ***!
|
|
2818
2870
|
\**************************************/
|
|
2819
|
-
|
|
2871
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
2820
2872
|
|
|
2821
2873
|
__webpack_require__.r(__webpack_exports__);
|
|
2822
2874
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
@@ -2861,13 +2913,13 @@ const splitMapJoin = (input, separator, mapFn, joinWith = separator) => input
|
|
|
2861
2913
|
.join(joinWith);
|
|
2862
2914
|
|
|
2863
2915
|
|
|
2864
|
-
/***/ }
|
|
2916
|
+
/***/ },
|
|
2865
2917
|
|
|
2866
|
-
/***/ "./src/string/split-string-into-words.ts"
|
|
2918
|
+
/***/ "./src/string/split-string-into-words.ts"
|
|
2867
2919
|
/*!***********************************************!*\
|
|
2868
2920
|
!*** ./src/string/split-string-into-words.ts ***!
|
|
2869
2921
|
\***********************************************/
|
|
2870
|
-
|
|
2922
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
2871
2923
|
|
|
2872
2924
|
__webpack_require__.r(__webpack_exports__);
|
|
2873
2925
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
@@ -2888,13 +2940,13 @@ const splitStringIntoWords = (input) => {
|
|
|
2888
2940
|
};
|
|
2889
2941
|
|
|
2890
2942
|
|
|
2891
|
-
/***/ }
|
|
2943
|
+
/***/ },
|
|
2892
2944
|
|
|
2893
|
-
/***/ "./src/string/to-kebab-case.ts"
|
|
2945
|
+
/***/ "./src/string/to-kebab-case.ts"
|
|
2894
2946
|
/*!*************************************!*\
|
|
2895
2947
|
!*** ./src/string/to-kebab-case.ts ***!
|
|
2896
2948
|
\*************************************/
|
|
2897
|
-
|
|
2949
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
2898
2950
|
|
|
2899
2951
|
__webpack_require__.r(__webpack_exports__);
|
|
2900
2952
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
@@ -2920,13 +2972,13 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
2920
2972
|
const toKebabCase = (input) => input.replace(/([a-z0-9])([A-Z])/g, '$1-$2').toLowerCase();
|
|
2921
2973
|
|
|
2922
2974
|
|
|
2923
|
-
/***/ }
|
|
2975
|
+
/***/ },
|
|
2924
2976
|
|
|
2925
|
-
/***/ "./src/tree/flatten-tree.ts"
|
|
2977
|
+
/***/ "./src/tree/flatten-tree.ts"
|
|
2926
2978
|
/*!**********************************!*\
|
|
2927
2979
|
!*** ./src/tree/flatten-tree.ts ***!
|
|
2928
2980
|
\**********************************/
|
|
2929
|
-
|
|
2981
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
2930
2982
|
|
|
2931
2983
|
__webpack_require__.r(__webpack_exports__);
|
|
2932
2984
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
@@ -2999,13 +3051,13 @@ flatTree = [], parentId = undefined, depthLevel = 0) => {
|
|
|
2999
3051
|
};
|
|
3000
3052
|
|
|
3001
3053
|
|
|
3002
|
-
/***/ }
|
|
3054
|
+
/***/ },
|
|
3003
3055
|
|
|
3004
|
-
/***/ "./src/tree/get-tree-children.ts"
|
|
3056
|
+
/***/ "./src/tree/get-tree-children.ts"
|
|
3005
3057
|
/*!***************************************!*\
|
|
3006
3058
|
!*** ./src/tree/get-tree-children.ts ***!
|
|
3007
3059
|
\***************************************/
|
|
3008
|
-
|
|
3060
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
3009
3061
|
|
|
3010
3062
|
__webpack_require__.r(__webpack_exports__);
|
|
3011
3063
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
@@ -3052,13 +3104,13 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
3052
3104
|
const getTreeChildren = (flatTree, parentId, predicate) => flatTree.filter(node => node.parentId === parentId && (!predicate || predicate(node)));
|
|
3053
3105
|
|
|
3054
3106
|
|
|
3055
|
-
/***/ }
|
|
3107
|
+
/***/ },
|
|
3056
3108
|
|
|
3057
|
-
/***/ "./src/tree/index.ts"
|
|
3109
|
+
/***/ "./src/tree/index.ts"
|
|
3058
3110
|
/*!***************************!*\
|
|
3059
3111
|
!*** ./src/tree/index.ts ***!
|
|
3060
3112
|
\***************************/
|
|
3061
|
-
|
|
3113
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
3062
3114
|
|
|
3063
3115
|
__webpack_require__.r(__webpack_exports__);
|
|
3064
3116
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
@@ -3076,13 +3128,13 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
3076
3128
|
|
|
3077
3129
|
|
|
3078
3130
|
|
|
3079
|
-
/***/ }
|
|
3131
|
+
/***/ },
|
|
3080
3132
|
|
|
3081
|
-
/***/ "./src/tree/search-tree.ts"
|
|
3133
|
+
/***/ "./src/tree/search-tree.ts"
|
|
3082
3134
|
/*!*********************************!*\
|
|
3083
3135
|
!*** ./src/tree/search-tree.ts ***!
|
|
3084
3136
|
\*********************************/
|
|
3085
|
-
|
|
3137
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
3086
3138
|
|
|
3087
3139
|
__webpack_require__.r(__webpack_exports__);
|
|
3088
3140
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
@@ -3205,31 +3257,31 @@ const searchTree = (flatTree, nodeIdKey, nodeValueKey, searchQuery) => {
|
|
|
3205
3257
|
};
|
|
3206
3258
|
|
|
3207
3259
|
|
|
3208
|
-
/***/ }
|
|
3260
|
+
/***/ },
|
|
3209
3261
|
|
|
3210
|
-
/***/ "./src/tree/tree.types.ts"
|
|
3262
|
+
/***/ "./src/tree/tree.types.ts"
|
|
3211
3263
|
/*!********************************!*\
|
|
3212
3264
|
!*** ./src/tree/tree.types.ts ***!
|
|
3213
3265
|
\********************************/
|
|
3214
|
-
|
|
3266
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
3215
3267
|
|
|
3216
3268
|
__webpack_require__.r(__webpack_exports__);
|
|
3217
3269
|
|
|
3218
3270
|
|
|
3219
3271
|
|
|
3220
|
-
/***/ }
|
|
3272
|
+
/***/ },
|
|
3221
3273
|
|
|
3222
|
-
/***/ "./src/types.ts"
|
|
3274
|
+
/***/ "./src/types.ts"
|
|
3223
3275
|
/*!**********************!*\
|
|
3224
3276
|
!*** ./src/types.ts ***!
|
|
3225
3277
|
\**********************/
|
|
3226
|
-
|
|
3278
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
3227
3279
|
|
|
3228
3280
|
__webpack_require__.r(__webpack_exports__);
|
|
3229
3281
|
|
|
3230
3282
|
|
|
3231
3283
|
|
|
3232
|
-
/***/ }
|
|
3284
|
+
/***/ }
|
|
3233
3285
|
|
|
3234
3286
|
/******/ });
|
|
3235
3287
|
/************************************************************************/
|
|
@@ -3251,6 +3303,12 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
3251
3303
|
/******/ };
|
|
3252
3304
|
/******/
|
|
3253
3305
|
/******/ // Execute the module function
|
|
3306
|
+
/******/ if (!(moduleId in __webpack_modules__)) {
|
|
3307
|
+
/******/ delete __webpack_module_cache__[moduleId];
|
|
3308
|
+
/******/ var e = new Error("Cannot find module '" + moduleId + "'");
|
|
3309
|
+
/******/ e.code = 'MODULE_NOT_FOUND';
|
|
3310
|
+
/******/ throw e;
|
|
3311
|
+
/******/ }
|
|
3254
3312
|
/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
|
|
3255
3313
|
/******/
|
|
3256
3314
|
/******/ // Return the exports of the module
|
|
@@ -3295,6 +3353,7 @@ var __webpack_exports__ = {};
|
|
|
3295
3353
|
\**********************/
|
|
3296
3354
|
__webpack_require__.r(__webpack_exports__);
|
|
3297
3355
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
3356
|
+
/* harmony export */ DATA_TRANSFER_JSON_MIME: () => (/* reexport safe */ _dom__WEBPACK_IMPORTED_MODULE_3__.DATA_TRANSFER_JSON_MIME),
|
|
3298
3357
|
/* harmony export */ FOCUSABLE_HTML_TAGS: () => (/* reexport safe */ _a11y__WEBPACK_IMPORTED_MODULE_0__.FOCUSABLE_HTML_TAGS),
|
|
3299
3358
|
/* harmony export */ applyInertiaStep: () => (/* reexport safe */ _geometry__WEBPACK_IMPORTED_MODULE_7__.applyInertiaStep),
|
|
3300
3359
|
/* harmony export */ assert: () => (/* reexport safe */ _guards__WEBPACK_IMPORTED_MODULE_8__.assert),
|
|
@@ -3324,6 +3383,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
3324
3383
|
/* harmony export */ forEachChar: () => (/* reexport safe */ _string__WEBPACK_IMPORTED_MODULE_13__.forEachChar),
|
|
3325
3384
|
/* harmony export */ generateEphemeralId: () => (/* reexport safe */ _id__WEBPACK_IMPORTED_MODULE_9__.generateEphemeralId),
|
|
3326
3385
|
/* harmony export */ getDOMRectIntersectionRatio: () => (/* reexport safe */ _intersection__WEBPACK_IMPORTED_MODULE_10__.getDOMRectIntersectionRatio),
|
|
3386
|
+
/* harmony export */ getDataTransferJson: () => (/* reexport safe */ _dom__WEBPACK_IMPORTED_MODULE_3__.getDataTransferJson),
|
|
3327
3387
|
/* harmony export */ getElementOffsetRect: () => (/* reexport safe */ _dom__WEBPACK_IMPORTED_MODULE_3__.getElementOffsetRect),
|
|
3328
3388
|
/* harmony export */ getFocusableHtmlElements: () => (/* reexport safe */ _a11y__WEBPACK_IMPORTED_MODULE_0__.getFocusableHtmlElements),
|
|
3329
3389
|
/* harmony export */ getLocalStorageCapabilities: () => (/* reexport safe */ _env__WEBPACK_IMPORTED_MODULE_4__.getLocalStorageCapabilities),
|
|
@@ -3382,6 +3442,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
3382
3442
|
/* harmony export */ runParallel: () => (/* reexport safe */ _async__WEBPACK_IMPORTED_MODULE_2__.runParallel),
|
|
3383
3443
|
/* harmony export */ runSequential: () => (/* reexport safe */ _async__WEBPACK_IMPORTED_MODULE_2__.runSequential),
|
|
3384
3444
|
/* harmony export */ searchTree: () => (/* reexport safe */ _tree__WEBPACK_IMPORTED_MODULE_14__.searchTree),
|
|
3445
|
+
/* harmony export */ setDataTransferJson: () => (/* reexport safe */ _dom__WEBPACK_IMPORTED_MODULE_3__.setDataTransferJson),
|
|
3385
3446
|
/* harmony export */ someAsync: () => (/* reexport safe */ _async__WEBPACK_IMPORTED_MODULE_2__.someAsync),
|
|
3386
3447
|
/* harmony export */ splitMapJoin: () => (/* reexport safe */ _string__WEBPACK_IMPORTED_MODULE_13__.splitMapJoin),
|
|
3387
3448
|
/* harmony export */ splitStringIntoWords: () => (/* reexport safe */ _string__WEBPACK_IMPORTED_MODULE_13__.splitStringIntoWords),
|