@design-edito/tools 0.1.38 → 0.1.40
Sign up to get free protection for your applications and to get access to all the features.
- package/agnostic/css/bem/index.js +2 -2
- package/agnostic/css/index.js +11 -11
- package/agnostic/html/hyper-json/cast/index.d.ts +8 -14
- package/agnostic/html/hyper-json/cast/index.js +14 -9
- package/agnostic/html/hyper-json/index.d.ts +8 -4
- package/agnostic/html/hyper-json/index.js +15 -10
- package/agnostic/html/hyper-json/method/index.d.ts +7 -0
- package/agnostic/html/hyper-json/method/index.js +6 -0
- package/agnostic/html/hyper-json/serialize/index.d.ts +2 -2
- package/agnostic/html/hyper-json/serialize/index.js +4 -1
- package/agnostic/html/hyper-json/smart-tags/coalesced/add/index.d.ts +4 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/add/index.js +21 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/addclass/index.d.ts +3 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/addclass/index.js +21 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/and/index.d.ts +2 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/and/index.js +21 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/append/index.d.ts +6 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/append/index.js +21 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/at/index.d.ts +5 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/at/index.js +21 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/call/index.d.ts +4 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/call/index.js +21 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/clone/index.d.ts +2 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/clone/index.js +21 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/deleteproperties/index.d.ts +4 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/deleteproperties/index.js +21 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/equals/index.d.ts +2 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/equals/index.js +21 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/getattribute/index.d.ts +4 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/getattribute/index.js +21 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/getproperties/index.d.ts +4 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/getproperties/index.js +21 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/getproperty/index.d.ts +5 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/getproperty/index.js +23 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/if/index.d.ts +8 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/if/index.js +21 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/initialize/index.d.ts +4 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/initialize/index.js +21 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/join/index.d.ts +5 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/join/index.js +21 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/length/index.d.ts +4 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/length/index.js +21 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/map/index.d.ts +4 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/map/index.js +21 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/negate/index.d.ts +1 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/negate/index.js +21 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/notrailing/index.d.ts +5 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/notrailing/index.js +21 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/or/index.d.ts +2 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/or/index.js +21 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/pickrandom/index.d.ts +2 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/pickrandom/index.js +21 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/populate/index.d.ts +6 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/populate/index.js +21 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/print/index.d.ts +2 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/print/index.js +21 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/push/index.d.ts +2 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/push/index.js +21 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/pusheach/index.d.ts +4 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/pusheach/index.js +21 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/recordtoarray/index.d.ts +2 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/recordtoarray/index.js +21 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/removeattribute/index.d.ts +5 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/removeattribute/index.js +21 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/removeclass/index.d.ts +3 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/removeclass/index.js +21 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/renameproperty/index.d.ts +4 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/renameproperty/index.js +21 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/replace/index.d.ts +6 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/replace/index.js +21 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/select/index.d.ts +5 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/select/index.js +21 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/set/index.d.ts +4 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/set/index.js +21 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/setattribute/index.d.ts +5 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/setattribute/index.js +21 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/setproperties/index.d.ts +4 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/setproperties/index.js +21 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/setproperty/index.d.ts +4 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/setproperty/index.js +21 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/sorton/index.d.ts +5 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/sorton/index.js +21 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/split/index.d.ts +5 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/split/index.js +21 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/toarray/index.d.ts +2 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/toarray/index.js +21 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/toboolean/index.d.ts +2 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/toboolean/index.js +21 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/toelement/index.d.ts +2 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/toelement/index.js +21 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/toggleclass/index.d.ts +3 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/toggleclass/index.js +21 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/tonodelist/index.d.ts +4 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/tonodelist/index.js +21 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/tonull/index.d.ts +2 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/tonull/index.js +21 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/tonumber/index.d.ts +2 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/tonumber/index.js +21 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/torecord/index.d.ts +2 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/torecord/index.js +21 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/toref/index.d.ts +2 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/toref/index.js +21 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/tostring/index.d.ts +2 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/tostring/index.js +21 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/totext/index.d.ts +2 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/totext/index.js +21 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/transformselected/index.d.ts +9 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/transformselected/index.js +21 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/trim/index.d.ts +4 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/trim/index.js +21 -0
- package/agnostic/html/hyper-json/smart-tags/index.d.ts +4 -0
- package/agnostic/html/hyper-json/smart-tags/index.js +9 -0
- package/agnostic/html/hyper-json/smart-tags/isolated/any/index.d.ts +2 -0
- package/agnostic/html/hyper-json/smart-tags/isolated/any/index.js +10 -0
- package/agnostic/html/hyper-json/smart-tags/isolated/array/index.d.ts +2 -0
- package/agnostic/html/hyper-json/smart-tags/isolated/array/index.js +10 -0
- package/agnostic/html/hyper-json/smart-tags/isolated/boolean/index.d.ts +4 -0
- package/agnostic/html/hyper-json/smart-tags/isolated/boolean/index.js +21 -0
- package/agnostic/html/hyper-json/smart-tags/isolated/element/index.d.ts +4 -0
- package/agnostic/html/hyper-json/smart-tags/isolated/element/index.js +21 -0
- package/agnostic/html/hyper-json/smart-tags/isolated/get/index.d.ts +4 -0
- package/agnostic/html/hyper-json/smart-tags/isolated/get/index.js +21 -0
- package/agnostic/html/hyper-json/smart-tags/isolated/global/index.d.ts +2 -0
- package/agnostic/html/hyper-json/smart-tags/isolated/global/index.js +21 -0
- package/agnostic/html/hyper-json/smart-tags/isolated/guess/index.d.ts +2 -0
- package/agnostic/html/hyper-json/smart-tags/isolated/guess/index.js +21 -0
- package/agnostic/html/hyper-json/smart-tags/isolated/nodelist/index.d.ts +4 -0
- package/agnostic/html/hyper-json/smart-tags/isolated/nodelist/index.js +21 -0
- package/agnostic/html/hyper-json/smart-tags/isolated/null/index.d.ts +2 -0
- package/agnostic/html/hyper-json/smart-tags/isolated/null/index.js +10 -0
- package/agnostic/html/hyper-json/smart-tags/isolated/number/index.d.ts +4 -0
- package/agnostic/html/hyper-json/smart-tags/isolated/number/index.js +21 -0
- package/agnostic/html/hyper-json/smart-tags/isolated/record/index.d.ts +4 -0
- package/agnostic/html/hyper-json/smart-tags/isolated/record/index.js +21 -0
- package/agnostic/html/hyper-json/smart-tags/isolated/ref/index.d.ts +7 -0
- package/agnostic/html/hyper-json/smart-tags/isolated/ref/index.js +23 -0
- package/agnostic/html/hyper-json/smart-tags/isolated/string/index.d.ts +4 -0
- package/agnostic/html/hyper-json/smart-tags/isolated/string/index.js +21 -0
- package/agnostic/html/hyper-json/smart-tags/isolated/text/index.d.ts +4 -0
- package/agnostic/html/hyper-json/smart-tags/isolated/text/index.js +21 -0
- package/agnostic/html/hyper-json/transformer/index.d.ts +33 -0
- package/agnostic/html/hyper-json/transformer/index.js +8 -0
- package/agnostic/html/hyper-json/transformers/append/index.js +2 -2
- package/agnostic/html/hyper-json/transformers/classList/index.js +2 -2
- package/agnostic/html/hyper-json/transformers/index.js +2 -2
- package/agnostic/html/hyper-json/transformers/join/index.js +2 -2
- package/agnostic/html/hyper-json/transformers/length/index.js +2 -2
- package/agnostic/html/hyper-json/transformers/print/index.js +2 -2
- package/agnostic/html/hyper-json/transformers/push/index.js +2 -2
- package/agnostic/html/hyper-json/transformers/querySelector/index.js +2 -2
- package/agnostic/html/hyper-json/transformers/ref/index.js +2 -2
- package/agnostic/html/hyper-json/transformers/replace/index.js +2 -2
- package/agnostic/html/hyper-json/transformers/split/index.js +2 -2
- package/agnostic/html/hyper-json/transformers/toArray/index.js +2 -2
- package/agnostic/html/hyper-json/transformers/toBoolean/index.js +2 -2
- package/agnostic/html/hyper-json/transformers/toElement/index.js +2 -2
- package/agnostic/html/hyper-json/transformers/toNodeList/index.js +2 -2
- package/agnostic/html/hyper-json/transformers/toNull/index.js +2 -2
- package/agnostic/html/hyper-json/transformers/toNumber/index.js +2 -2
- package/agnostic/html/hyper-json/transformers/toRecord/index.js +2 -2
- package/agnostic/html/hyper-json/transformers/toRef/index.js +2 -2
- package/agnostic/html/hyper-json/transformers/toString/index.js +2 -2
- package/agnostic/html/hyper-json/transformers/toText/index.js +2 -2
- package/agnostic/html/hyper-json/transformers/toTransformer/index.js +2 -2
- package/agnostic/html/hyper-json/transformers/transformSelected/index.js +2 -2
- package/agnostic/html/hyper-json/transformers/trim/index.js +2 -2
- package/agnostic/html/hyper-json/tree/index.d.ts +50 -41
- package/agnostic/html/hyper-json/tree/index.js +16 -9
- package/agnostic/html/hyper-json/types/index.d.ts +138 -84
- package/agnostic/html/hyper-json/types/index.js +1 -1
- package/agnostic/html/hyper-json/utils/index.d.ts +49 -8
- package/agnostic/html/hyper-json/utils/index.js +14 -9
- package/agnostic/html/index.js +25 -20
- package/agnostic/html/replace-in-element/index.js +20 -3
- package/agnostic/html/sanitize/index.js +4 -4
- package/agnostic/html/selector-to-element/index.js +4 -4
- package/agnostic/html/string-to-nodes/index.js +5 -5
- package/agnostic/misc/crossenv/index.js +2 -2
- package/agnostic/misc/index.js +12 -12
- package/agnostic/misc/lorem-ipsum/index.js +7 -7
- package/agnostic/misc/outcome/index.js +3 -16
- package/agnostic/numbers/index.js +6 -6
- package/agnostic/objects/deep-get-property/index.d.ts +1 -0
- package/agnostic/objects/deep-get-property/index.js +7 -0
- package/agnostic/objects/index.d.ts +2 -0
- package/agnostic/objects/index.js +13 -9
- package/agnostic/optim/index.js +3 -3
- package/agnostic/random/index.js +2 -2
- package/agnostic/strings/index.js +9 -9
- package/agnostic/strings/replace-all/index.d.ts +1 -1
- package/agnostic/strings/replace-all/index.js +1 -1
- package/agnostic/time/index.js +3 -3
- package/chunks/chunk-2G5MFJ66.js +2420 -0
- package/chunks/chunk-7VL2O6SQ.js +211 -0
- package/chunks/chunk-BKO7GLC2.js +133 -0
- package/chunks/chunk-EJEG2LDE.js +2427 -0
- package/chunks/chunk-FHLCPVND.js +23 -0
- package/chunks/chunk-FOLCH72D.js +211 -0
- package/chunks/chunk-GB4UQS6V.js +35 -0
- package/chunks/chunk-GPWFYPER.js +211 -0
- package/chunks/chunk-JMU5PDBD.js +20 -0
- package/chunks/chunk-LOFELEU3.js +1108 -0
- package/chunks/chunk-LVXK54LL.js +27 -0
- package/chunks/chunk-MAP7OSVR.js +37 -0
- package/chunks/chunk-PMYUC6VD.js +37 -0
- package/chunks/chunk-PPHUIOHO.js +28 -0
- package/chunks/chunk-QAVYONH6.js +20 -0
- package/chunks/chunk-QHGZBCFZ.js +1108 -0
- package/chunks/chunk-QN3UAKIU.js +21 -0
- package/chunks/chunk-RHV7UOXD.js +211 -0
- package/chunks/chunk-RW7VAKJW.js +15 -0
- package/chunks/chunk-S7MJLTCR.js +211 -0
- package/chunks/chunk-SKMCIFS3.js +27 -0
- package/chunks/chunk-SXRWMH3U.js +78 -0
- package/chunks/chunk-U6YRINXJ.js +22 -0
- package/chunks/chunk-UT2J62LH.js +37 -0
- package/chunks/chunk-VDNIN3V5.js +23 -0
- package/chunks/chunk-XEQ2PBT2.js +20 -0
- package/chunks/chunk-XPRBKRSB.js +37 -0
- package/chunks/chunk-YGJHHWBJ.js +37 -0
- package/chunks/chunk-YMNBUQVR.js +2420 -0
- package/chunks/chunk-YO5KOEJF.js +27 -0
- package/chunks/chunk-YYE7TVB6.js +2420 -0
- package/chunks/chunk-Z352MSRL.js +127 -0
- package/chunks/chunk-ZTDVUXPR.js +16 -0
- package/node/files/index.js +3 -3
- package/package.json +1 -1
@@ -1,7 +1,24 @@
|
|
1
1
|
import {
|
2
|
-
|
3
|
-
} from "../../../chunks/chunk-
|
4
|
-
|
2
|
+
getNodeAncestors
|
3
|
+
} from "../../../chunks/chunk-LUPVHC73.js";
|
4
|
+
|
5
|
+
// src/agnostic/html/replace-in-element/index.ts
|
6
|
+
function replaceInElement(inputElement, replaceMap) {
|
7
|
+
const actualReplaceMap = new Map(Array.from(replaceMap).filter(([toReplace]) => {
|
8
|
+
const toReplaceAncestors = getNodeAncestors(toReplace);
|
9
|
+
return toReplaceAncestors.includes(inputElement);
|
10
|
+
}));
|
11
|
+
actualReplaceMap.forEach((replacer, toReplace) => {
|
12
|
+
if ("nodeType" in replacer) {
|
13
|
+
toReplace.parentNode?.insertBefore(replacer, toReplace);
|
14
|
+
} else {
|
15
|
+
const replacerNodes = Array.from(replacer);
|
16
|
+
replacerNodes.forEach((rpl) => toReplace.parentNode?.insertBefore(rpl, toReplace));
|
17
|
+
}
|
18
|
+
toReplace.parentNode?.removeChild(toReplace);
|
19
|
+
});
|
20
|
+
return inputElement;
|
21
|
+
}
|
5
22
|
export {
|
6
23
|
replaceInElement
|
7
24
|
};
|
@@ -1,11 +1,11 @@
|
|
1
1
|
import {
|
2
2
|
Sanitize
|
3
|
-
} from "../../../chunks/chunk-
|
4
|
-
import "../../../chunks/chunk-
|
5
|
-
import "../../../chunks/chunk-
|
3
|
+
} from "../../../chunks/chunk-Z352MSRL.js";
|
4
|
+
import "../../../chunks/chunk-U6YRINXJ.js";
|
5
|
+
import "../../../chunks/chunk-UFKH5WD2.js";
|
6
|
+
import "../../../chunks/chunk-RLJOYG64.js";
|
6
7
|
import "../../../chunks/chunk-S2NMAH7K.js";
|
7
8
|
import "../../../chunks/chunk-LV2VMOWR.js";
|
8
|
-
import "../../../chunks/chunk-RLJOYG64.js";
|
9
9
|
import "../../../chunks/chunk-WH6BPDAC.js";
|
10
10
|
import "../../../chunks/chunk-QHLQVR3E.js";
|
11
11
|
import "../../../chunks/chunk-FENXVJYO.js";
|
@@ -1,11 +1,11 @@
|
|
1
1
|
import {
|
2
2
|
selectorToElement
|
3
|
-
} from "../../../chunks/chunk-
|
4
|
-
import "../../../chunks/chunk-
|
5
|
-
import "../../../chunks/chunk-
|
3
|
+
} from "../../../chunks/chunk-GB4UQS6V.js";
|
4
|
+
import "../../../chunks/chunk-U6YRINXJ.js";
|
5
|
+
import "../../../chunks/chunk-UFKH5WD2.js";
|
6
|
+
import "../../../chunks/chunk-RLJOYG64.js";
|
6
7
|
import "../../../chunks/chunk-S2NMAH7K.js";
|
7
8
|
import "../../../chunks/chunk-LV2VMOWR.js";
|
8
|
-
import "../../../chunks/chunk-RLJOYG64.js";
|
9
9
|
import "../../../chunks/chunk-WH6BPDAC.js";
|
10
10
|
import "../../../chunks/chunk-QHLQVR3E.js";
|
11
11
|
import "../../../chunks/chunk-FENXVJYO.js";
|
@@ -1,12 +1,12 @@
|
|
1
1
|
import {
|
2
2
|
stringToNodes
|
3
|
-
} from "../../../chunks/chunk-
|
4
|
-
import "../../../chunks/chunk-
|
5
|
-
import "../../../chunks/chunk-
|
6
|
-
import "../../../chunks/chunk-
|
3
|
+
} from "../../../chunks/chunk-PPHUIOHO.js";
|
4
|
+
import "../../../chunks/chunk-Z352MSRL.js";
|
5
|
+
import "../../../chunks/chunk-U6YRINXJ.js";
|
6
|
+
import "../../../chunks/chunk-UFKH5WD2.js";
|
7
|
+
import "../../../chunks/chunk-RLJOYG64.js";
|
7
8
|
import "../../../chunks/chunk-S2NMAH7K.js";
|
8
9
|
import "../../../chunks/chunk-LV2VMOWR.js";
|
9
|
-
import "../../../chunks/chunk-RLJOYG64.js";
|
10
10
|
import "../../../chunks/chunk-WH6BPDAC.js";
|
11
11
|
import "../../../chunks/chunk-QHLQVR3E.js";
|
12
12
|
import "../../../chunks/chunk-FENXVJYO.js";
|
@@ -1,9 +1,9 @@
|
|
1
1
|
import {
|
2
2
|
Crossenv
|
3
|
-
} from "../../../chunks/chunk-
|
3
|
+
} from "../../../chunks/chunk-UFKH5WD2.js";
|
4
|
+
import "../../../chunks/chunk-RLJOYG64.js";
|
4
5
|
import "../../../chunks/chunk-S2NMAH7K.js";
|
5
6
|
import "../../../chunks/chunk-LV2VMOWR.js";
|
6
|
-
import "../../../chunks/chunk-RLJOYG64.js";
|
7
7
|
export {
|
8
8
|
Crossenv
|
9
9
|
};
|
package/agnostic/misc/index.js
CHANGED
@@ -15,29 +15,23 @@ import {
|
|
15
15
|
} from "../../chunks/chunk-7AWTHZLY.js";
|
16
16
|
import {
|
17
17
|
LoremIpsum
|
18
|
-
} from "../../chunks/chunk-
|
19
|
-
import "../../chunks/chunk-4CIS3R7T.js";
|
18
|
+
} from "../../chunks/chunk-7VL2O6SQ.js";
|
20
19
|
import {
|
21
20
|
Cast
|
22
21
|
} from "../../chunks/chunk-SNJJII7A.js";
|
23
|
-
import "../../chunks/chunk-
|
24
|
-
import {
|
25
|
-
isConstructorFunction
|
26
|
-
} from "../../chunks/chunk-RCO57B6F.js";
|
22
|
+
import "../../chunks/chunk-4CIS3R7T.js";
|
27
23
|
import "../../chunks/chunk-FCU6IHKD.js";
|
28
|
-
import "../../chunks/chunk-RLAZR3NL.js";
|
29
|
-
import "../../chunks/chunk-YS6WMSWC.js";
|
30
24
|
import {
|
31
25
|
Crossenv
|
32
|
-
} from "../../chunks/chunk-
|
26
|
+
} from "../../chunks/chunk-UFKH5WD2.js";
|
27
|
+
import "../../chunks/chunk-RLJOYG64.js";
|
33
28
|
import "../../chunks/chunk-S2NMAH7K.js";
|
34
29
|
import "../../chunks/chunk-LV2VMOWR.js";
|
35
|
-
import "../../chunks/chunk-RLJOYG64.js";
|
36
30
|
import {
|
37
31
|
Random
|
38
|
-
} from "../../chunks/chunk-
|
39
|
-
import "../../chunks/chunk-75BICI4L.js";
|
32
|
+
} from "../../chunks/chunk-S32K7POB.js";
|
40
33
|
import "../../chunks/chunk-D3ERTRDW.js";
|
34
|
+
import "../../chunks/chunk-75BICI4L.js";
|
41
35
|
import "../../chunks/chunk-OGBUSUE6.js";
|
42
36
|
import "../../chunks/chunk-QXAJXTXV.js";
|
43
37
|
import {
|
@@ -45,6 +39,12 @@ import {
|
|
45
39
|
isNullish,
|
46
40
|
nullishValues
|
47
41
|
} from "../../chunks/chunk-HC6ZOHCS.js";
|
42
|
+
import "../../chunks/chunk-RLAZR3NL.js";
|
43
|
+
import "../../chunks/chunk-YS6WMSWC.js";
|
44
|
+
import "../../chunks/chunk-6RGDWX4A.js";
|
45
|
+
import {
|
46
|
+
isConstructorFunction
|
47
|
+
} from "../../chunks/chunk-RCO57B6F.js";
|
48
48
|
|
49
49
|
// src/agnostic/misc/index.ts
|
50
50
|
var Misc;
|
@@ -1,15 +1,15 @@
|
|
1
1
|
import {
|
2
2
|
LoremIpsum
|
3
|
-
} from "../../../chunks/chunk-
|
4
|
-
import "../../../chunks/chunk-6RGDWX4A.js";
|
5
|
-
import "../../../chunks/chunk-RCO57B6F.js";
|
3
|
+
} from "../../../chunks/chunk-7VL2O6SQ.js";
|
6
4
|
import "../../../chunks/chunk-FCU6IHKD.js";
|
7
|
-
import "../../../chunks/chunk-
|
8
|
-
import "../../../chunks/chunk-YS6WMSWC.js";
|
9
|
-
import "../../../chunks/chunk-DCKTGQOX.js";
|
10
|
-
import "../../../chunks/chunk-75BICI4L.js";
|
5
|
+
import "../../../chunks/chunk-S32K7POB.js";
|
11
6
|
import "../../../chunks/chunk-D3ERTRDW.js";
|
7
|
+
import "../../../chunks/chunk-75BICI4L.js";
|
12
8
|
import "../../../chunks/chunk-OGBUSUE6.js";
|
9
|
+
import "../../../chunks/chunk-RLAZR3NL.js";
|
10
|
+
import "../../../chunks/chunk-YS6WMSWC.js";
|
11
|
+
import "../../../chunks/chunk-6RGDWX4A.js";
|
12
|
+
import "../../../chunks/chunk-RCO57B6F.js";
|
13
13
|
export {
|
14
14
|
LoremIpsum
|
15
15
|
};
|
@@ -1,19 +1,6 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
function makeSuccess(payload) {
|
5
|
-
return { success: true, payload };
|
6
|
-
}
|
7
|
-
Outcome2.makeSuccess = makeSuccess;
|
8
|
-
function makeFailure(error) {
|
9
|
-
return { success: false, error };
|
10
|
-
}
|
11
|
-
Outcome2.makeFailure = makeFailure;
|
12
|
-
function make(success, payloadOrError) {
|
13
|
-
return success ? makeSuccess(payloadOrError) : makeFailure(payloadOrError);
|
14
|
-
}
|
15
|
-
Outcome2.make = make;
|
16
|
-
})(Outcome || (Outcome = {}));
|
1
|
+
import {
|
2
|
+
Outcome
|
3
|
+
} from "../../../chunks/chunk-JMU5PDBD.js";
|
17
4
|
export {
|
18
5
|
Outcome
|
19
6
|
};
|
@@ -1,3 +1,9 @@
|
|
1
|
+
import {
|
2
|
+
clamp
|
3
|
+
} from "../../chunks/chunk-OSAXBA7G.js";
|
4
|
+
import {
|
5
|
+
absoluteModulo
|
6
|
+
} from "../../chunks/chunk-DNIOWD7K.js";
|
1
7
|
import {
|
2
8
|
interpolate
|
3
9
|
} from "../../chunks/chunk-BJAYUP7M.js";
|
@@ -5,15 +11,9 @@ import {
|
|
5
11
|
createScale,
|
6
12
|
getHarmonic
|
7
13
|
} from "../../chunks/chunk-UYTXXUU7.js";
|
8
|
-
import {
|
9
|
-
absoluteModulo
|
10
|
-
} from "../../chunks/chunk-DNIOWD7K.js";
|
11
14
|
import {
|
12
15
|
round
|
13
16
|
} from "../../chunks/chunk-32IRF4OP.js";
|
14
|
-
import {
|
15
|
-
clamp
|
16
|
-
} from "../../chunks/chunk-OSAXBA7G.js";
|
17
17
|
|
18
18
|
// src/agnostic/numbers/index.ts
|
19
19
|
var Numbers;
|
@@ -0,0 +1 @@
|
|
1
|
+
export declare function deepGetProperty(anythingThatHasProperties: unknown, pathString: string): any;
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import { deepGetProperty as deepGetPropertyFunc } from './deep-get-property';
|
1
2
|
import { Enums as EnumsNamespace } from './enums';
|
2
3
|
import { flattenGetters as flattenGettersFunc } from './flatten-getters';
|
3
4
|
import { isObject as isObjectFunc, isNonNullObject as isNonNullObjectFunc } from './is-object';
|
@@ -6,6 +7,7 @@ import { recordFormat as recordFormatFunc } from './record-format';
|
|
6
7
|
import { recordMap as recordMapFunc } from './record-map';
|
7
8
|
import { Validation as ValidationNamespace } from './validation';
|
8
9
|
export declare namespace Objects {
|
10
|
+
const deepGetProperty: typeof deepGetPropertyFunc;
|
9
11
|
export import Enums = EnumsNamespace;
|
10
12
|
const flattenGetters: typeof flattenGettersFunc;
|
11
13
|
const isObject: typeof isObjectFunc;
|
@@ -1,3 +1,10 @@
|
|
1
|
+
import {
|
2
|
+
Enums
|
3
|
+
} from "../../chunks/chunk-WOAYU6LB.js";
|
4
|
+
import "../../chunks/chunk-E6MSDKON.js";
|
5
|
+
import {
|
6
|
+
deepGetProperty
|
7
|
+
} from "../../chunks/chunk-SKMCIFS3.js";
|
1
8
|
import {
|
2
9
|
flattenGetters
|
3
10
|
} from "../../chunks/chunk-VFJYLXCI.js";
|
@@ -5,12 +12,6 @@ import {
|
|
5
12
|
isNonNullObject,
|
6
13
|
isObject
|
7
14
|
} from "../../chunks/chunk-HQLRJ7XW.js";
|
8
|
-
import {
|
9
|
-
recordFormat
|
10
|
-
} from "../../chunks/chunk-YP64J65L.js";
|
11
|
-
import {
|
12
|
-
isRecord
|
13
|
-
} from "../../chunks/chunk-YDIBNEGA.js";
|
14
15
|
import {
|
15
16
|
recordMap
|
16
17
|
} from "../../chunks/chunk-XNF5MLCQ.js";
|
@@ -18,9 +19,11 @@ import {
|
|
18
19
|
Validation
|
19
20
|
} from "../../chunks/chunk-FPEW3A27.js";
|
20
21
|
import {
|
21
|
-
|
22
|
-
} from "../../chunks/chunk-
|
23
|
-
import
|
22
|
+
recordFormat
|
23
|
+
} from "../../chunks/chunk-YP64J65L.js";
|
24
|
+
import {
|
25
|
+
isRecord
|
26
|
+
} from "../../chunks/chunk-YDIBNEGA.js";
|
24
27
|
import "../../chunks/chunk-SNJJII7A.js";
|
25
28
|
import "../../chunks/chunk-QXAJXTXV.js";
|
26
29
|
import "../../chunks/chunk-HC6ZOHCS.js";
|
@@ -28,6 +31,7 @@ import "../../chunks/chunk-HC6ZOHCS.js";
|
|
28
31
|
// src/agnostic/objects/index.ts
|
29
32
|
var Objects;
|
30
33
|
((Objects2) => {
|
34
|
+
Objects2.deepGetProperty = deepGetProperty;
|
31
35
|
Objects2.Enums = Enums;
|
32
36
|
Objects2.flattenGetters = flattenGetters;
|
33
37
|
Objects2.isObject = isObject;
|
package/agnostic/optim/index.js
CHANGED
package/agnostic/random/index.js
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
import {
|
2
2
|
Random
|
3
|
-
} from "../../chunks/chunk-
|
4
|
-
import "../../chunks/chunk-75BICI4L.js";
|
3
|
+
} from "../../chunks/chunk-S32K7POB.js";
|
5
4
|
import "../../chunks/chunk-D3ERTRDW.js";
|
5
|
+
import "../../chunks/chunk-75BICI4L.js";
|
6
6
|
import "../../chunks/chunk-OGBUSUE6.js";
|
7
7
|
export {
|
8
8
|
Random
|
@@ -1,20 +1,20 @@
|
|
1
1
|
import {
|
2
|
-
|
3
|
-
|
2
|
+
matches,
|
3
|
+
matchesEvery,
|
4
|
+
matchesSome
|
5
|
+
} from "../../chunks/chunk-LQFKUNVQ.js";
|
4
6
|
import {
|
5
7
|
CharCodes
|
6
8
|
} from "../../chunks/chunk-34U4HX4V.js";
|
7
|
-
import {
|
8
|
-
toAlphanum
|
9
|
-
} from "../../chunks/chunk-COVPTTAD.js";
|
10
9
|
import {
|
11
10
|
normalizeIndent
|
12
11
|
} from "../../chunks/chunk-JQXNEJAP.js";
|
13
12
|
import {
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
13
|
+
replaceAll
|
14
|
+
} from "../../chunks/chunk-ZTDVUXPR.js";
|
15
|
+
import {
|
16
|
+
toAlphanum
|
17
|
+
} from "../../chunks/chunk-COVPTTAD.js";
|
18
18
|
|
19
19
|
// src/agnostic/strings/index.ts
|
20
20
|
var Strings;
|
@@ -1 +1 @@
|
|
1
|
-
export declare function replaceAll(input: string, pattern: string | RegExp, replacer: string | ((substring: string, ...args: any[]) => string)
|
1
|
+
export declare function replaceAll(input: string, pattern: string | RegExp, replacer: string | ((substring: string, ...args: any[]) => string)): string;
|
package/agnostic/time/index.js
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
import {
|
2
2
|
timeout
|
3
3
|
} from "../../chunks/chunk-Z7ZDDBV5.js";
|
4
|
-
import {
|
5
|
-
Transitions
|
6
|
-
} from "../../chunks/chunk-ENMBK6H7.js";
|
7
4
|
import {
|
8
5
|
Duration
|
9
6
|
} from "../../chunks/chunk-6NYUQXJT.js";
|
7
|
+
import {
|
8
|
+
Transitions
|
9
|
+
} from "../../chunks/chunk-ENMBK6H7.js";
|
10
10
|
import {
|
11
11
|
wait
|
12
12
|
} from "../../chunks/chunk-4CIS3R7T.js";
|