@baleada/logic 0.23.0 → 0.23.2
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/lib/index.cjs +22 -7
- package/lib/index.d.ts +9 -4
- package/lib/index.js +22 -8
- package/package.json +2 -2
package/lib/index.cjs
CHANGED
|
@@ -1259,6 +1259,10 @@ function createKeychord(keychord, options = {}) {
|
|
|
1259
1259
|
const unsupportedAliases = ["meta", "command", "cmd"];
|
|
1260
1260
|
const unsupportedKeys = ["Meta"];
|
|
1261
1261
|
|
|
1262
|
+
function createKonami(options = {}) {
|
|
1263
|
+
return createKeychord("up up down down left right left right b a enter", options);
|
|
1264
|
+
}
|
|
1265
|
+
|
|
1262
1266
|
const defaultOptions$f = {
|
|
1263
1267
|
minDuration: 0,
|
|
1264
1268
|
minDistance: 0,
|
|
@@ -1296,6 +1300,8 @@ function createMousepress(options = {}) {
|
|
|
1296
1300
|
onDown?.(toHookApi(api));
|
|
1297
1301
|
};
|
|
1298
1302
|
const mousemove = (event, api) => {
|
|
1303
|
+
const { pushSequence } = api;
|
|
1304
|
+
pushSequence(event);
|
|
1299
1305
|
storePointerMoveMetadata(event, api);
|
|
1300
1306
|
recognize(event, api);
|
|
1301
1307
|
onMove?.(toHookApi(api));
|
|
@@ -2066,7 +2072,7 @@ const initialMetadata = {
|
|
|
2066
2072
|
velocity: 0
|
|
2067
2073
|
};
|
|
2068
2074
|
function storePointerTimeMetadata(event, api, getShouldStore, setRequest, recognize) {
|
|
2069
|
-
const { getMetadata, getStatus, onRecognized } = api, metadata = getMetadata();
|
|
2075
|
+
const { getSequence, getMetadata, getStatus, onRecognized } = api, metadata = getMetadata();
|
|
2070
2076
|
if (!metadata.times) {
|
|
2071
2077
|
metadata.times = createClone()(initialMetadata.times);
|
|
2072
2078
|
}
|
|
@@ -2081,9 +2087,10 @@ function storePointerTimeMetadata(event, api, getShouldStore, setRequest, recogn
|
|
|
2081
2087
|
metadata.duration = Math.max(0, metadata.times.end - metadata.times.start);
|
|
2082
2088
|
const durationFromPrevious = Math.max(0, metadata.times.end - previousTime);
|
|
2083
2089
|
metadata.velocity = metadata.distance.straight.fromPrevious / durationFromPrevious;
|
|
2084
|
-
|
|
2090
|
+
const event2 = getSequence().at(-1);
|
|
2091
|
+
recognize?.(event2, api);
|
|
2085
2092
|
if (getStatus() === "recognized")
|
|
2086
|
-
onRecognized(
|
|
2093
|
+
onRecognized(event2);
|
|
2087
2094
|
storeDuration();
|
|
2088
2095
|
}
|
|
2089
2096
|
});
|
|
@@ -2261,11 +2268,18 @@ class Recognizeable {
|
|
|
2261
2268
|
}
|
|
2262
2269
|
recognize(sequenceItem, { onRecognized } = {}) {
|
|
2263
2270
|
this.recognizing();
|
|
2264
|
-
const type = this.toType(sequenceItem),
|
|
2265
|
-
|
|
2266
|
-
|
|
2267
|
-
|
|
2271
|
+
const type = this.toType(sequenceItem), pushSequence = (sequenceItem2) => {
|
|
2272
|
+
newSequence.push(sequenceItem2);
|
|
2273
|
+
if (this.maxSequenceLength !== true && newSequence.length > this.maxSequenceLength) {
|
|
2274
|
+
newSequence.shift();
|
|
2275
|
+
}
|
|
2276
|
+
}, newSequence = [];
|
|
2277
|
+
for (const sequenceItem2 of this.sequence) {
|
|
2278
|
+
pushSequence(sequenceItem2);
|
|
2279
|
+
}
|
|
2280
|
+
pushSequence(sequenceItem);
|
|
2268
2281
|
this.effectApi.getSequence = () => newSequence;
|
|
2282
|
+
this.effectApi.pushSequence = pushSequence;
|
|
2269
2283
|
this.effectApi.onRecognized = onRecognized || (() => {
|
|
2270
2284
|
});
|
|
2271
2285
|
this.effects[type]?.(sequenceItem, { ...this.effectApi });
|
|
@@ -5025,6 +5039,7 @@ exports.createKeychord = createKeychord;
|
|
|
5025
5039
|
exports.createKeypress = createKeypress;
|
|
5026
5040
|
exports.createKeyrelease = createKeyrelease;
|
|
5027
5041
|
exports.createKeys = createKeys;
|
|
5042
|
+
exports.createKonami = createKonami;
|
|
5028
5043
|
exports.createList = createList;
|
|
5029
5044
|
exports.createMap = createMap;
|
|
5030
5045
|
exports.createMapAsync = createMapAsync;
|
package/lib/index.d.ts
CHANGED
|
@@ -159,10 +159,8 @@ type RecognizeableEffectApi<Type extends ListenableSupportedType, Metadata exten
|
|
|
159
159
|
setMetadata: (metadata: Metadata) => void;
|
|
160
160
|
recognized: () => void;
|
|
161
161
|
denied: () => void;
|
|
162
|
-
enable: (type: Type) => void;
|
|
163
|
-
disable: (type: Type) => void;
|
|
164
|
-
getAbility: (type: Type) => 'enabled' | 'disabled';
|
|
165
162
|
getSequence: () => ListenEffectParam<Type>[];
|
|
163
|
+
pushSequence: (sequenceItem: ListenEffectParam<Type>) => void;
|
|
166
164
|
onRecognized: (sequenceItem: ListenEffectParam<Type>) => any;
|
|
167
165
|
};
|
|
168
166
|
type RecognizeableStatus = 'recognized' | 'recognizing' | 'denied' | 'ready';
|
|
@@ -934,6 +932,13 @@ declare function createKeychord(keychord: string, options?: KeychordOptions): {
|
|
|
934
932
|
visibilitychange: RecognizeableEffect<"visibilitychange", KeychordMetadata>;
|
|
935
933
|
};
|
|
936
934
|
|
|
935
|
+
type KonamiType = KeychordType;
|
|
936
|
+
type KonamiMetadata = KeychordMetadata;
|
|
937
|
+
type KonamiOptions = KeychordOptions;
|
|
938
|
+
type KonamiHook = KeychordHook;
|
|
939
|
+
type KonamiHookApi = KeychordHookApi;
|
|
940
|
+
declare function createKonami(options?: KonamiOptions): RecognizeableOptions<KonamiType, KonamiMetadata>['effects'];
|
|
941
|
+
|
|
937
942
|
type MousepressType = 'mousedown' | 'mouseleave' | 'mouseup';
|
|
938
943
|
type MousepressMetadata = PointerStartMetadata & PointerMoveMetadata & PointerTimeMetadata;
|
|
939
944
|
type MousepressOptions = {
|
|
@@ -1243,4 +1248,4 @@ type CreatePredicateKeycomboMatchOptions = {
|
|
|
1243
1248
|
};
|
|
1244
1249
|
declare const createPredicateKeycomboMatch: (keycombo: string, options?: CreatePredicateKeycomboMatchOptions) => KeyboardEventFn<boolean>;
|
|
1245
1250
|
|
|
1246
|
-
export { AnimateFrame, AnimateFrameEffect, AnimateOptions, Animateable, AnimateableKeyframe, AnimateableOptions, AnimateableStatus, AssociativeArray, AssociativeArrayEntries, AssociativeArrayOptions, AsyncGraph, AsyncGraphEdge, Broadcastable, BroadcastableOptions, BroadcastableStatus, Compareable, CompareableOptions, CompareableStatus, CompleteOptions, Completeable, CompleteableOptions, CompleteableStatus, Copyable, CopyableOptions, CopyableStatus, CreateToStepsOptions$1 as CreateAsyncDirectedAcyclicToStepsOptions, CreateToStepsOptions as CreateDecisionTreeToStepsOptions, CreateToStepsOptions$2 as CreateDirectedAcyclicToStepsOptions, CreatePredicateKeycomboMatchOptions, CreateFocusableOptions as CreateToFocusableOptions, CreateToGraphOptions, Delayable, DelayableEffect, DelayableOptions, DelayableStatus, Drawable, DrawableOptions, DrawableState, DrawableStatus, Fetchable, FetchableOptions, FetchableStatus, Fullscreenable, FullscreenableGetElement, FullscreenableOptions, FullscreenableStatus, Grantable, GrantableOptions, GrantableStatus, Graph, GraphCommonAncestor, GraphEdge, GraphNode, GraphState, GraphStep, GraphTreeNode, KeychordHook, KeychordHookApi, KeychordMetadata, KeychordOptions, KeychordType, KeypressHook, KeypressHookApi, KeypressMetadata, KeypressOptions, KeypressType, KeyreleaseHook, KeyreleaseHookApi, KeyreleaseMetadata, KeyreleaseOptions, KeyreleaseType, ListenEffect, ListenEffectParam, ListenOptions, Listenable, ListenableActive, ListenableKeycombo, ListenableMousecombo, ListenableOptions, ListenablePointercombo, ListenableStatus, ListenableSupportedEventType, ListenableSupportedType, MousepressHook, MousepressHookApi, MousepressMetadata, MousepressOptions, MousepressType, MousereleaseHook, MousereleaseHookApi, MousereleaseMetadata, MousereleaseOptions, MousereleaseType, Navigateable, NavigateableOptions, NavigateableStatus, Pickable, PickableOptions, PickableStatus, Potentiality, RecognizeOptions, Recognizeable, RecognizeableEffect, RecognizeableOptions, RecognizeableStatus, Resolveable, ResolveableGetPromise, ResolveableOptions, ResolveableStatus, Sanitizeable, SanitizeableOptions, SanitizeableStatus, Searchable, SearchableOptions, SearchableStatus, Shareable, ShareableOptions, ShareableStatus, Storeable, StoreableOptions, StoreableStatus, ToGraphYielded, TouchpressHook, TouchpressHookApi, TouchpressMetadata, TouchpressOptions, TouchpressType, TouchreleaseHook, TouchreleaseHookApi, TouchreleaseMetadata, TouchreleaseOptions, TouchreleaseType, createAssociativeArray, createPredicateAncestor$1 as createAsyncDirectedAcyclicPredicateAncestor, createToCommonAncestors$1 as createAsyncDirectedAcyclicToCommonAncestors, createToLayers as createAsyncDirectedAcyclicToLayers, createToNodeSteps$1 as createAsyncDirectedAcyclicToNodeSteps, createToPath$1 as createAsyncDirectedAcyclicToPath, createToSteps$1 as createAsyncDirectedAcyclicToSteps, createToTree$1 as createAsyncDirectedAcyclicToTree, createClamp, createClip, createClone, createConcat, createPredicateAncestor as createDecisionTreePredicateAncestor, createToCommonAncestors as createDecisionTreeToCommonAncestors, createToNodeSteps as createDecisionTreeToNodeSteps, createToPath as createDecisionTreeToPath, createToSteps as createDecisionTreeToSteps, createToTree as createDecisionTreeToTree, createDetermine, createPredicateAncestor$2 as createDirectedAcyclicPredicateAncestor, createToCommonAncestors$2 as createDirectedAcyclicToCommonAncestors, createToLayers$1 as createDirectedAcyclicToLayers, createToNodeSteps$2 as createDirectedAcyclicToNodeSteps, createToPath$2 as createDirectedAcyclicToPath, createToRoots as createDirectedAcyclicToRoots, createToSteps$2 as createDirectedAcyclicToSteps, createToTree$2 as createDirectedAcyclicToTree, createEntries, createEqual, createEvery, createFilter, createFilterAsync, createFindAsync, createFindIndexAsync, createFocusable, createForEachAsync, createInsert, createKeychord, createKeypress, createKeyrelease, createKeys, createList, createMap, createMapAsync, createMousepress, createMouserelease, createPredicateKeycomboMatch, createPredicateRoot, createReduce, createReduceAsync, createRemove, createRename, createReorder, createReplace, createReverse, createSlice, createSlug, createSome, createSort, createSwap, createToGraph, createToIncoming, createToIndegree, createToOutdegree, createToOutgoing, createTouchpress, createTouchrelease, createFind as createTreeFind, createUnique, defineAssociativeArrayEntries, defineAsyncGraph, defineAsyncGraphEdge, defineAsyncGraphEdges, defineGraph, defineGraphEdge, defineGraphEdges, defineGraphNode, defineGraphNodes, easingsNetInBack, easingsNetInCirc, easingsNetInCubic, easingsNetInExpo, easingsNetInOutBack, easingsNetInOutCirc, easingsNetInOutCubic, easingsNetInOutExpo, easingsNetInOutQuad, easingsNetInOutQuint, easingsNetInOutSine, easingsNetInQuad, easingsNetInQuart, easingsNetInQuint, easingsNetInSine, easingsNetOutBack, easingsNetOutCirc, easingsNetOutCubic, easingsNetOutExpo, easingsNetOutQuad, easingsNetOutQuint, easingsNetOutSine, linear, materialAccelerated, materialDecelerated, materialStandard, toD, toFlattenedD, toMessageListenParams, verouEase, verouEaseIn, verouEaseInOut, verouEaseOut };
|
|
1251
|
+
export { AnimateFrame, AnimateFrameEffect, AnimateOptions, Animateable, AnimateableKeyframe, AnimateableOptions, AnimateableStatus, AssociativeArray, AssociativeArrayEntries, AssociativeArrayOptions, AsyncGraph, AsyncGraphEdge, Broadcastable, BroadcastableOptions, BroadcastableStatus, Compareable, CompareableOptions, CompareableStatus, CompleteOptions, Completeable, CompleteableOptions, CompleteableStatus, Copyable, CopyableOptions, CopyableStatus, CreateToStepsOptions$1 as CreateAsyncDirectedAcyclicToStepsOptions, CreateToStepsOptions as CreateDecisionTreeToStepsOptions, CreateToStepsOptions$2 as CreateDirectedAcyclicToStepsOptions, CreatePredicateKeycomboMatchOptions, CreateFocusableOptions as CreateToFocusableOptions, CreateToGraphOptions, Delayable, DelayableEffect, DelayableOptions, DelayableStatus, Drawable, DrawableOptions, DrawableState, DrawableStatus, Fetchable, FetchableOptions, FetchableStatus, Fullscreenable, FullscreenableGetElement, FullscreenableOptions, FullscreenableStatus, Grantable, GrantableOptions, GrantableStatus, Graph, GraphCommonAncestor, GraphEdge, GraphNode, GraphState, GraphStep, GraphTreeNode, KeychordHook, KeychordHookApi, KeychordMetadata, KeychordOptions, KeychordType, KeypressHook, KeypressHookApi, KeypressMetadata, KeypressOptions, KeypressType, KeyreleaseHook, KeyreleaseHookApi, KeyreleaseMetadata, KeyreleaseOptions, KeyreleaseType, KonamiHook, KonamiHookApi, KonamiMetadata, KonamiOptions, KonamiType, ListenEffect, ListenEffectParam, ListenOptions, Listenable, ListenableActive, ListenableKeycombo, ListenableMousecombo, ListenableOptions, ListenablePointercombo, ListenableStatus, ListenableSupportedEventType, ListenableSupportedType, MousepressHook, MousepressHookApi, MousepressMetadata, MousepressOptions, MousepressType, MousereleaseHook, MousereleaseHookApi, MousereleaseMetadata, MousereleaseOptions, MousereleaseType, Navigateable, NavigateableOptions, NavigateableStatus, Pickable, PickableOptions, PickableStatus, Potentiality, RecognizeOptions, Recognizeable, RecognizeableEffect, RecognizeableOptions, RecognizeableStatus, Resolveable, ResolveableGetPromise, ResolveableOptions, ResolveableStatus, Sanitizeable, SanitizeableOptions, SanitizeableStatus, Searchable, SearchableOptions, SearchableStatus, Shareable, ShareableOptions, ShareableStatus, Storeable, StoreableOptions, StoreableStatus, ToGraphYielded, TouchpressHook, TouchpressHookApi, TouchpressMetadata, TouchpressOptions, TouchpressType, TouchreleaseHook, TouchreleaseHookApi, TouchreleaseMetadata, TouchreleaseOptions, TouchreleaseType, createAssociativeArray, createPredicateAncestor$1 as createAsyncDirectedAcyclicPredicateAncestor, createToCommonAncestors$1 as createAsyncDirectedAcyclicToCommonAncestors, createToLayers as createAsyncDirectedAcyclicToLayers, createToNodeSteps$1 as createAsyncDirectedAcyclicToNodeSteps, createToPath$1 as createAsyncDirectedAcyclicToPath, createToSteps$1 as createAsyncDirectedAcyclicToSteps, createToTree$1 as createAsyncDirectedAcyclicToTree, createClamp, createClip, createClone, createConcat, createPredicateAncestor as createDecisionTreePredicateAncestor, createToCommonAncestors as createDecisionTreeToCommonAncestors, createToNodeSteps as createDecisionTreeToNodeSteps, createToPath as createDecisionTreeToPath, createToSteps as createDecisionTreeToSteps, createToTree as createDecisionTreeToTree, createDetermine, createPredicateAncestor$2 as createDirectedAcyclicPredicateAncestor, createToCommonAncestors$2 as createDirectedAcyclicToCommonAncestors, createToLayers$1 as createDirectedAcyclicToLayers, createToNodeSteps$2 as createDirectedAcyclicToNodeSteps, createToPath$2 as createDirectedAcyclicToPath, createToRoots as createDirectedAcyclicToRoots, createToSteps$2 as createDirectedAcyclicToSteps, createToTree$2 as createDirectedAcyclicToTree, createEntries, createEqual, createEvery, createFilter, createFilterAsync, createFindAsync, createFindIndexAsync, createFocusable, createForEachAsync, createInsert, createKeychord, createKeypress, createKeyrelease, createKeys, createKonami, createList, createMap, createMapAsync, createMousepress, createMouserelease, createPredicateKeycomboMatch, createPredicateRoot, createReduce, createReduceAsync, createRemove, createRename, createReorder, createReplace, createReverse, createSlice, createSlug, createSome, createSort, createSwap, createToGraph, createToIncoming, createToIndegree, createToOutdegree, createToOutgoing, createTouchpress, createTouchrelease, createFind as createTreeFind, createUnique, defineAssociativeArrayEntries, defineAsyncGraph, defineAsyncGraphEdge, defineAsyncGraphEdges, defineGraph, defineGraphEdge, defineGraphEdges, defineGraphNode, defineGraphNodes, easingsNetInBack, easingsNetInCirc, easingsNetInCubic, easingsNetInExpo, easingsNetInOutBack, easingsNetInOutCirc, easingsNetInOutCubic, easingsNetInOutExpo, easingsNetInOutQuad, easingsNetInOutQuint, easingsNetInOutSine, easingsNetInQuad, easingsNetInQuart, easingsNetInQuint, easingsNetInSine, easingsNetOutBack, easingsNetOutCirc, easingsNetOutCubic, easingsNetOutExpo, easingsNetOutQuad, easingsNetOutQuint, easingsNetOutSine, linear, materialAccelerated, materialDecelerated, materialStandard, toD, toFlattenedD, toMessageListenParams, verouEase, verouEaseIn, verouEaseInOut, verouEaseOut };
|
package/lib/index.js
CHANGED
|
@@ -1257,6 +1257,10 @@ function createKeychord(keychord, options = {}) {
|
|
|
1257
1257
|
const unsupportedAliases = ["meta", "command", "cmd"];
|
|
1258
1258
|
const unsupportedKeys = ["Meta"];
|
|
1259
1259
|
|
|
1260
|
+
function createKonami(options = {}) {
|
|
1261
|
+
return createKeychord("up up down down left right left right b a enter", options);
|
|
1262
|
+
}
|
|
1263
|
+
|
|
1260
1264
|
const defaultOptions$f = {
|
|
1261
1265
|
minDuration: 0,
|
|
1262
1266
|
minDistance: 0,
|
|
@@ -1294,6 +1298,8 @@ function createMousepress(options = {}) {
|
|
|
1294
1298
|
onDown?.(toHookApi(api));
|
|
1295
1299
|
};
|
|
1296
1300
|
const mousemove = (event, api) => {
|
|
1301
|
+
const { pushSequence } = api;
|
|
1302
|
+
pushSequence(event);
|
|
1297
1303
|
storePointerMoveMetadata(event, api);
|
|
1298
1304
|
recognize(event, api);
|
|
1299
1305
|
onMove?.(toHookApi(api));
|
|
@@ -2064,7 +2070,7 @@ const initialMetadata = {
|
|
|
2064
2070
|
velocity: 0
|
|
2065
2071
|
};
|
|
2066
2072
|
function storePointerTimeMetadata(event, api, getShouldStore, setRequest, recognize) {
|
|
2067
|
-
const { getMetadata, getStatus, onRecognized } = api, metadata = getMetadata();
|
|
2073
|
+
const { getSequence, getMetadata, getStatus, onRecognized } = api, metadata = getMetadata();
|
|
2068
2074
|
if (!metadata.times) {
|
|
2069
2075
|
metadata.times = createClone()(initialMetadata.times);
|
|
2070
2076
|
}
|
|
@@ -2079,9 +2085,10 @@ function storePointerTimeMetadata(event, api, getShouldStore, setRequest, recogn
|
|
|
2079
2085
|
metadata.duration = Math.max(0, metadata.times.end - metadata.times.start);
|
|
2080
2086
|
const durationFromPrevious = Math.max(0, metadata.times.end - previousTime);
|
|
2081
2087
|
metadata.velocity = metadata.distance.straight.fromPrevious / durationFromPrevious;
|
|
2082
|
-
|
|
2088
|
+
const event2 = getSequence().at(-1);
|
|
2089
|
+
recognize?.(event2, api);
|
|
2083
2090
|
if (getStatus() === "recognized")
|
|
2084
|
-
onRecognized(
|
|
2091
|
+
onRecognized(event2);
|
|
2085
2092
|
storeDuration();
|
|
2086
2093
|
}
|
|
2087
2094
|
});
|
|
@@ -2259,11 +2266,18 @@ class Recognizeable {
|
|
|
2259
2266
|
}
|
|
2260
2267
|
recognize(sequenceItem, { onRecognized } = {}) {
|
|
2261
2268
|
this.recognizing();
|
|
2262
|
-
const type = this.toType(sequenceItem),
|
|
2263
|
-
|
|
2264
|
-
|
|
2265
|
-
|
|
2269
|
+
const type = this.toType(sequenceItem), pushSequence = (sequenceItem2) => {
|
|
2270
|
+
newSequence.push(sequenceItem2);
|
|
2271
|
+
if (this.maxSequenceLength !== true && newSequence.length > this.maxSequenceLength) {
|
|
2272
|
+
newSequence.shift();
|
|
2273
|
+
}
|
|
2274
|
+
}, newSequence = [];
|
|
2275
|
+
for (const sequenceItem2 of this.sequence) {
|
|
2276
|
+
pushSequence(sequenceItem2);
|
|
2277
|
+
}
|
|
2278
|
+
pushSequence(sequenceItem);
|
|
2266
2279
|
this.effectApi.getSequence = () => newSequence;
|
|
2280
|
+
this.effectApi.pushSequence = pushSequence;
|
|
2267
2281
|
this.effectApi.onRecognized = onRecognized || (() => {
|
|
2268
2282
|
});
|
|
2269
2283
|
this.effects[type]?.(sequenceItem, { ...this.effectApi });
|
|
@@ -4963,4 +4977,4 @@ class Storeable {
|
|
|
4963
4977
|
}
|
|
4964
4978
|
}
|
|
4965
4979
|
|
|
4966
|
-
export { Animateable, Broadcastable, Compareable, Completeable, Copyable, Delayable, Drawable, Fetchable, Fullscreenable, Grantable, Listenable, Navigateable, Pickable, Recognizeable, Resolveable, Sanitizeable, Searchable, Shareable, Storeable, createAssociativeArray, createPredicateAncestor$1 as createAsyncDirectedAcyclicPredicateAncestor, createToCommonAncestors$1 as createAsyncDirectedAcyclicToCommonAncestors, createToLayers as createAsyncDirectedAcyclicToLayers, createToNodeSteps$1 as createAsyncDirectedAcyclicToNodeSteps, createToPath$1 as createAsyncDirectedAcyclicToPath, createToSteps$1 as createAsyncDirectedAcyclicToSteps, createToTree$1 as createAsyncDirectedAcyclicToTree, createClamp, createClip, createClone, createConcat, createPredicateAncestor as createDecisionTreePredicateAncestor, createToCommonAncestors as createDecisionTreeToCommonAncestors, createToNodeSteps as createDecisionTreeToNodeSteps, createToPath as createDecisionTreeToPath, createToSteps as createDecisionTreeToSteps, createToTree as createDecisionTreeToTree, createDetermine, createPredicateAncestor$2 as createDirectedAcyclicPredicateAncestor, createToCommonAncestors$2 as createDirectedAcyclicToCommonAncestors, createToLayers$1 as createDirectedAcyclicToLayers, createToNodeSteps$2 as createDirectedAcyclicToNodeSteps, createToPath$2 as createDirectedAcyclicToPath, createToRoots as createDirectedAcyclicToRoots, createToSteps$2 as createDirectedAcyclicToSteps, createToTree$2 as createDirectedAcyclicToTree, createEntries, createEqual, createEvery, createFilter, createFilterAsync, createFindAsync, createFindIndexAsync, createFocusable, createForEachAsync, createInsert, createKeychord, createKeypress, createKeyrelease, createKeys, createList, createMap, createMapAsync, createMousepress, createMouserelease, createPredicateKeycomboMatch$1 as createPredicateKeycomboMatch, createPredicateRoot, createReduce, createReduceAsync, createRemove, createRename, createReorder, createReplace, createReverse, createSlice, createSlug, createSome, createSort, createSwap, createToGraph, createToIncoming, createToIndegree, createToOutdegree, createToOutgoing, createTouchpress, createTouchrelease, createFind as createTreeFind, createUnique, defineAssociativeArrayEntries, defineAsyncGraph, defineAsyncGraphEdge, defineAsyncGraphEdges, defineGraph, defineGraphEdge, defineGraphEdges, defineGraphNode, defineGraphNodes, easingsNetInBack, easingsNetInCirc, easingsNetInCubic, easingsNetInExpo, easingsNetInOutBack, easingsNetInOutCirc, easingsNetInOutCubic, easingsNetInOutExpo, easingsNetInOutQuad, easingsNetInOutQuint, easingsNetInOutSine, easingsNetInQuad, easingsNetInQuart, easingsNetInQuint, easingsNetInSine, easingsNetOutBack, easingsNetOutCirc, easingsNetOutCubic, easingsNetOutExpo, easingsNetOutQuad, easingsNetOutQuint, easingsNetOutSine, linear, materialAccelerated, materialDecelerated, materialStandard, toD, toFlattenedD, toMessageListenParams, verouEase, verouEaseIn, verouEaseInOut, verouEaseOut };
|
|
4980
|
+
export { Animateable, Broadcastable, Compareable, Completeable, Copyable, Delayable, Drawable, Fetchable, Fullscreenable, Grantable, Listenable, Navigateable, Pickable, Recognizeable, Resolveable, Sanitizeable, Searchable, Shareable, Storeable, createAssociativeArray, createPredicateAncestor$1 as createAsyncDirectedAcyclicPredicateAncestor, createToCommonAncestors$1 as createAsyncDirectedAcyclicToCommonAncestors, createToLayers as createAsyncDirectedAcyclicToLayers, createToNodeSteps$1 as createAsyncDirectedAcyclicToNodeSteps, createToPath$1 as createAsyncDirectedAcyclicToPath, createToSteps$1 as createAsyncDirectedAcyclicToSteps, createToTree$1 as createAsyncDirectedAcyclicToTree, createClamp, createClip, createClone, createConcat, createPredicateAncestor as createDecisionTreePredicateAncestor, createToCommonAncestors as createDecisionTreeToCommonAncestors, createToNodeSteps as createDecisionTreeToNodeSteps, createToPath as createDecisionTreeToPath, createToSteps as createDecisionTreeToSteps, createToTree as createDecisionTreeToTree, createDetermine, createPredicateAncestor$2 as createDirectedAcyclicPredicateAncestor, createToCommonAncestors$2 as createDirectedAcyclicToCommonAncestors, createToLayers$1 as createDirectedAcyclicToLayers, createToNodeSteps$2 as createDirectedAcyclicToNodeSteps, createToPath$2 as createDirectedAcyclicToPath, createToRoots as createDirectedAcyclicToRoots, createToSteps$2 as createDirectedAcyclicToSteps, createToTree$2 as createDirectedAcyclicToTree, createEntries, createEqual, createEvery, createFilter, createFilterAsync, createFindAsync, createFindIndexAsync, createFocusable, createForEachAsync, createInsert, createKeychord, createKeypress, createKeyrelease, createKeys, createKonami, createList, createMap, createMapAsync, createMousepress, createMouserelease, createPredicateKeycomboMatch$1 as createPredicateKeycomboMatch, createPredicateRoot, createReduce, createReduceAsync, createRemove, createRename, createReorder, createReplace, createReverse, createSlice, createSlug, createSome, createSort, createSwap, createToGraph, createToIncoming, createToIndegree, createToOutdegree, createToOutgoing, createTouchpress, createTouchrelease, createFind as createTreeFind, createUnique, defineAssociativeArrayEntries, defineAsyncGraph, defineAsyncGraphEdge, defineAsyncGraphEdges, defineGraph, defineGraphEdge, defineGraphEdges, defineGraphNode, defineGraphNodes, easingsNetInBack, easingsNetInCirc, easingsNetInCubic, easingsNetInExpo, easingsNetInOutBack, easingsNetInOutCirc, easingsNetInOutCubic, easingsNetInOutExpo, easingsNetInOutQuad, easingsNetInOutQuint, easingsNetInOutSine, easingsNetInQuad, easingsNetInQuart, easingsNetInQuint, easingsNetInSine, easingsNetOutBack, easingsNetOutCirc, easingsNetOutCubic, easingsNetOutExpo, easingsNetOutQuad, easingsNetOutQuint, easingsNetOutSine, linear, materialAccelerated, materialDecelerated, materialStandard, toD, toFlattenedD, toMessageListenParams, verouEase, verouEaseIn, verouEaseInOut, verouEaseOut };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@baleada/logic",
|
|
3
|
-
"version": "0.23.
|
|
3
|
+
"version": "0.23.2",
|
|
4
4
|
"description": "UI logic for the Baleada toolkit",
|
|
5
5
|
"main": "lib/index.cjs",
|
|
6
6
|
"module": "lib/index.js",
|
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
"fast-fuzzy": "^1.12.0",
|
|
79
79
|
"klona": "^2.0.6",
|
|
80
80
|
"ky": "^0.33.3",
|
|
81
|
-
"lazy-collections": "
|
|
81
|
+
"lazy-collections": "0.0.0-insiders.71ee200",
|
|
82
82
|
"perfect-freehand": "^1.2.0",
|
|
83
83
|
"polygon-clipping": "^0.15.3"
|
|
84
84
|
},
|