@almadar/shell-web 0.1.0 → 1.1.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/dist/{ArbitraryClassCompiler-Mzabq-UB.d.ts → ArbitraryClassCompiler-CO_iASBn.d.ts} +99 -4
- package/dist/AvlGlyph-PIXU6QH5.js +5 -0
- package/dist/AvlStateMachine-CKGMECMG.js +8 -0
- package/dist/AvlTransitionDetail-QZX6G5KJ.js +10 -0
- package/dist/AvlTransitionExplainer-26WLEIC6.js +11 -0
- package/dist/BehaviorView-JLZ4PKWY.js +10 -0
- package/dist/{EventBusProvider-CVwjkV_2.d.ts → EventBusProvider-BFFHfN4O.d.ts} +12 -0
- package/dist/{FileTree-BCFnBEuQ.d.ts → FileTree-B3GDAjaQ.d.ts} +131 -4
- package/dist/FlowCanvas-RPII4V24.js +23 -0
- package/dist/{BehaviorValueFrame-SSEMEBTG.css → FlowCanvas-VWUPMBKB.css} +189 -191
- package/dist/{GameAudioProvider-Cm9BnvmP.d.ts → GameAudioProvider-D7wo5ryN.d.ts} +5 -8
- package/dist/KernelEngineContext-CPeWQMAz.d.ts +46 -0
- package/dist/LayersPanel-M2LHWUFF.js +6 -0
- package/dist/ModuleCard-NJD6JQGD.js +6 -0
- package/dist/OrbInspector-OWWKPOBF.js +23 -0
- package/dist/{TraitValueFrame-4G3KOUBR.css → OrbInspector-VMTMZHNQ.css} +189 -191
- package/dist/{Select-mDZIwNqN.d.ts → Select-C2Uq6t86.d.ts} +17 -31
- package/dist/ServerBridge-Bqsj-lOU.d.ts +124 -0
- package/dist/{FlowCanvas-3JRMNJLV.css → UISlotRenderer-BIS6KT7T.css} +189 -191
- package/dist/UISlotRenderer-PY7FIJXN.js +23 -0
- package/dist/auth/browser/index.js +1 -0
- package/dist/auth/react/index.d.ts +8 -1
- package/dist/auth/react/index.js +40 -2
- package/dist/avl/index.css +189 -191
- package/dist/avl/index.d.ts +107 -85
- package/dist/avl/index.js +170 -39
- package/dist/{chunk-P4LNHAFI.js → chunk-2WGR4TDJ.js} +465 -36
- package/dist/{chunk-GKIFONTE.js → chunk-3S54FWRC.js} +2 -2
- package/dist/{chunk-KVQS4GXU.js → chunk-4YJ53G7S.js} +18 -8
- package/dist/{chunk-MBQAMMSE.js → chunk-4YXBKHHM.js} +269 -658
- package/dist/{chunk-YDNJLLG6.js → chunk-57DC34LY.js} +19 -10
- package/dist/{chunk-FP3WIKTC.js → chunk-7N6ZPHQ5.js} +9 -1
- package/dist/{chunk-AILY3XPS.js → chunk-AE7VCQB6.js} +5 -6
- package/dist/{chunk-L677XGY3.js → chunk-AGVSO4WY.js} +4 -5
- package/dist/{chunk-FAJDTHWC.js → chunk-AGXD77SL.js} +2 -2
- package/dist/chunk-AU7O65OX.js +66 -0
- package/dist/{chunk-DFNZUYX4.js → chunk-FAKU5F62.js} +273 -29
- package/dist/{chunk-U6QRZASX.js → chunk-ILQXJ2AR.js} +1 -1
- package/dist/chunk-M74BCDBQ.js +490 -0
- package/dist/{chunk-GYTPOFVC.js → chunk-MS4K3K2R.js} +12095 -13329
- package/dist/{chunk-SGM3FASH.js → chunk-OWNG4JZI.js} +13 -12
- package/dist/{chunk-VFF5OO47.js → chunk-PCR37T3U.js} +15 -38
- package/dist/{chunk-SJGJJKBY.js → chunk-PRLHKBXG.js} +5 -3
- package/dist/{chunk-R5O5AUPI.js → chunk-PRXQGGCO.js} +93 -86
- package/dist/{chunk-42FY4RYA.js → chunk-REXYVBUO.js} +2 -2
- package/dist/{chunk-EQAMU2ZC.js → chunk-UTDC2NEA.js} +1 -1
- package/dist/{chunk-73SRAB4P.js → chunk-UU57VNS2.js} +2 -2
- package/dist/{chunk-TESBIVUA.js → chunk-VHC2M26B.js} +2 -2
- package/dist/{chunk-L2DEKY4J.js → chunk-VO2TTLS5.js} +3 -6
- package/dist/{chunk-2PY54Z44.js → chunk-VUIACGDU.js} +4 -5
- package/dist/{chunk-DLZF4PVE.js → chunk-YYIHRIDH.js} +3 -3
- package/dist/{chunk-DYEKAA4L.js → chunk-ZDRDJKYB.js} +243 -252
- package/dist/components/index.css +189 -191
- package/dist/components/index.d.ts +739 -289
- package/dist/components/index.js +25 -28
- package/dist/context/index.d.ts +2 -3
- package/dist/context/index.js +4 -3
- package/dist/core.d.ts +95 -19
- package/dist/core.js +2 -1
- package/dist/design-classes/index.cjs +3 -1
- package/dist/design-classes/index.js +3 -1
- package/dist/{fx-CmQjnHmT.d.ts → fx-Br8zjvu9.d.ts} +6 -6
- package/dist/hooks/index.d.ts +40 -5
- package/dist/hooks/index.js +5 -4
- package/dist/index.d.ts +40 -114
- package/dist/index.js +174 -34
- package/dist/kernel-client-JW6OH5FX.js +537 -0
- package/dist/kernel-wire-DGAySGhX.d.ts +95 -0
- package/dist/lib/index.d.ts +3 -4
- package/dist/lib/index.js +4 -4
- package/dist/{prism-AIWGN2X5.js → prism-X5YWKXO5.js} +5 -3
- package/dist/providers/index.css +189 -191
- package/dist/providers/index.d.ts +41 -28
- package/dist/providers/index.js +19 -24
- package/dist/renderer/index.d.ts +0 -2
- package/dist/renderer/index.js +1 -0
- package/dist/runtime/index.css +189 -191
- package/dist/runtime/index.d.ts +57 -253
- package/dist/runtime/index.js +18 -24
- package/dist/ssr/index.cjs +2643 -535
- package/dist/ssr/index.d.cts +0 -23
- package/dist/ssr/index.d.ts +0 -23
- package/dist/ssr/index.js +2639 -535
- package/dist/storage/browser/index.js +1 -0
- package/dist/test-support.d.ts +15 -8
- package/dist/test-support.js +91 -24
- package/dist/{paintDispatch-ChW5mVuK.d.ts → verificationRegistry-oopV1J1n.d.ts} +132 -30
- package/package.json +14 -38
- package/src/core/lib/band-shapes.json +7 -0
- package/src/core/locales/ar.json +18 -5
- package/src/core/locales/en.json +18 -5
- package/src/core/locales/sl.json +18 -5
- package/tailwind-preset.cjs +30 -1
- package/dist/AvlGlyph-JKJOAH23.js +0 -6
- package/dist/AvlStateMachine-PI4YGREK.js +0 -8
- package/dist/AvlTransitionDetail-ZH7V24UG.js +0 -12
- package/dist/AvlTransitionExplainer-ZSRT7L6Y.js +0 -13
- package/dist/BehaviorValueFrame-6RUJXT4A.js +0 -29
- package/dist/BehaviorView-RFEE5J6E.js +0 -10
- package/dist/Canvas3DHost-_Y-5uLM_.d.ts +0 -552
- package/dist/FlowCanvas-STDC4OWK.js +0 -27
- package/dist/KernelEngineContext-BOCQoFwk.d.ts +0 -43
- package/dist/LayersPanel-BBQ54IVG.js +0 -7
- package/dist/ModuleCard-3TT2X7IW.js +0 -7
- package/dist/OrbInspector-K6T6O7GI.js +0 -27
- package/dist/OrbInspector-MHLJ6OEE.css +0 -1756
- package/dist/ServerBridge-Cm1On51b.d.ts +0 -233
- package/dist/TraitValueFrame-2PJGLLVI.js +0 -28
- package/dist/UISlotRenderer-JKFSX24W.js +0 -27
- package/dist/UISlotRenderer-KVFO6J7R.css +0 -1756
- package/dist/UserContext-DqWeZkUZ.d.ts +0 -100
- package/dist/avl-3d-context-BIRKWpaL.d.ts +0 -204
- package/dist/avl-schema-parser-CtJxJ9KU.d.ts +0 -132
- package/dist/avl-zoom-state-CKMVuBFg.d.ts +0 -17
- package/dist/chunk-2QOH2HWM.js +0 -95
- package/dist/chunk-6P3MWXYE.js +0 -440
- package/dist/chunk-B4BU77LT.js +0 -432
- package/dist/chunk-DJ433ET5.js +0 -1327
- package/dist/chunk-DZ42OJQC.js +0 -176
- package/dist/chunk-EOWMARUB.js +0 -16
- package/dist/chunk-FIW6WN23.js +0 -508
- package/dist/chunk-GAR5TQ5B.js +0 -199
- package/dist/chunk-PC7K4SK7.js +0 -1384
- package/dist/chunk-ZO6MXAS3.js +0 -69
- package/dist/kernel-client-ZH4PSMCN.js +0 -367
- package/dist/kernel-wire-B4S8pnP3.d.ts +0 -65
- package/dist/three/index.css +0 -503
- package/dist/three/index.d.ts +0 -1185
- package/dist/three/index.js +0 -3896
- package/dist/useKeyboardRouter-Dsq553Ur.d.ts +0 -42
- package/dist/verificationRegistry-CabxhfTv.d.ts +0 -122
package/dist/avl/index.js
CHANGED
|
@@ -1,44 +1,38 @@
|
|
|
1
|
-
|
|
2
|
-
export { LayersPanel, parseLayerId, schemaToLayerItems } from '../chunk-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
export { BehaviorView } from '../chunk-
|
|
7
|
-
export { MiniStateMachine, ModuleCard } from '../chunk-
|
|
8
|
-
import '../chunk-
|
|
9
|
-
import '../chunk-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
import '../chunk-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
export {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
1
|
+
"use client";
|
|
2
|
+
export { LayersPanel, parseLayerId, schemaToLayerItems } from '../chunk-3S54FWRC.js';
|
|
3
|
+
export { AvlTransitionExplainer } from '../chunk-VHC2M26B.js';
|
|
4
|
+
import { AvlTransitionDetail } from '../chunk-OWNG4JZI.js';
|
|
5
|
+
export { AvlCircuit, AvlTransitionDetail } from '../chunk-OWNG4JZI.js';
|
|
6
|
+
export { BehaviorView } from '../chunk-YYIHRIDH.js';
|
|
7
|
+
export { MiniStateMachine, ModuleCard } from '../chunk-VUIACGDU.js';
|
|
8
|
+
import '../chunk-ILQXJ2AR.js';
|
|
9
|
+
import { FlowCanvas, layeredGraph } from '../chunk-MS4K3K2R.js';
|
|
10
|
+
export { AVL_GRAPH_NODE_TYPES, AvlGraphCanvas, CANVAS_TOOLS, CanvasDndProvider, CanvasVerifyContext, DependencyColumnNode, DependencyNode, EDITABLE, ElementEditAccessContext, EventFlowEdge, FlowCanvas, KnobField, KnobSettingRow, LIVE_STATE, OrbInspector, OrbPreviewNode, SystemBandNode, SystemMapContext, SystemNode, canvasViewGraph, dependencyReach, deriveEditFocusFromElement, dropBusEvent, flowNeighbors, hasCanvasTool, initialStateOf, layeredGraph, optionForPlayedStep, propAccessAt, schemaToDependencyGraph, schemaToOverviewGraph, stateOptionsOf, traitFlowGraph, useCanvasDraggable, useCanvasDroppable, useInlineTextEdit } from '../chunk-MS4K3K2R.js';
|
|
11
|
+
import '../chunk-57DC34LY.js';
|
|
12
|
+
export { AvlStateMachine } from '../chunk-4YJ53G7S.js';
|
|
13
|
+
import { AvlOrbital, AvlTrait, AvlEvent, AvlGuard } from '../chunk-AGVSO4WY.js';
|
|
14
|
+
export { AVL_GLYPH_KINDS, AvlApplication, AvlBinding, AvlBindingRef, AvlEvent, AvlField, AvlGlyph, AvlGuard, AvlLiteral, AvlOperator, AvlOrbital, AvlPersistence, AvlSExpr, AvlTrait, AvlTransition } from '../chunk-AGVSO4WY.js';
|
|
15
|
+
import { AvlEntity, AvlPage, AvlState } from '../chunk-7N6ZPHQ5.js';
|
|
16
|
+
export { AvlEntity, AvlFieldType, AvlPage, AvlState, FIELD_TYPE_SHAPES } from '../chunk-7N6ZPHQ5.js';
|
|
17
|
+
import { transitionPlayback } from '../chunk-REXYVBUO.js';
|
|
18
|
+
export { armPosition, armsOf, firedTransition, stateMachinePlayback, transitionPlayback } from '../chunk-REXYVBUO.js';
|
|
19
|
+
import '../chunk-AGXD77SL.js';
|
|
20
|
+
import { computeTraitLayout, edgePath } from '../chunk-M74BCDBQ.js';
|
|
21
|
+
export { computeTraitLayout, edgePath } from '../chunk-M74BCDBQ.js';
|
|
22
|
+
import { parseApplicationLevel, parseOrbitalLevel, parseTraitLevel } from '../chunk-PCR37T3U.js';
|
|
23
|
+
export { parseApplicationLevel, parseOrbitalLevel, parseTraitLevel, parseTransitionLevel, traitLevelFromTrait } from '../chunk-PCR37T3U.js';
|
|
24
|
+
export { AvlEffectChip } from '../chunk-PRLHKBXG.js';
|
|
25
|
+
import { avlSeries, AvlEffect, CONNECTION_COLORS, getStateRole, avlTint, STATE_COLORS, effectCategoryOf, EFFECT_CATEGORY_COLORS } from '../chunk-FAKU5F62.js';
|
|
26
|
+
export { AvlEffect, CONNECTION_COLORS, EFFECT_CATEGORY_COLORS, OPERATOR_CATEGORY_COLORS, STATE_COLORS, effectCategoryOf, getStateRole } from '../chunk-FAKU5F62.js';
|
|
27
|
+
import '../chunk-2WGR4TDJ.js';
|
|
27
28
|
import '../chunk-TZZBINQY.js';
|
|
28
|
-
import '../chunk-
|
|
29
|
-
import
|
|
30
|
-
|
|
31
|
-
import
|
|
32
|
-
export { CONNECTION_COLORS, EFFECT_CATEGORY_COLORS, OPERATOR_CATEGORY_COLORS, STATE_COLORS, effectCategoryOf, getStateRole } from '../chunk-DFNZUYX4.js';
|
|
33
|
-
import '../chunk-B4BU77LT.js';
|
|
34
|
-
import '../chunk-6P3MWXYE.js';
|
|
35
|
-
import '../chunk-DYEKAA4L.js';
|
|
36
|
-
import '../chunk-R5O5AUPI.js';
|
|
37
|
-
import '../chunk-L2DEKY4J.js';
|
|
38
|
-
import '../chunk-AILY3XPS.js';
|
|
29
|
+
import '../chunk-ZDRDJKYB.js';
|
|
30
|
+
import '../chunk-PRXQGGCO.js';
|
|
31
|
+
import '../chunk-VO2TTLS5.js';
|
|
32
|
+
import '../chunk-AE7VCQB6.js';
|
|
39
33
|
import '../chunk-3BBUBJFF.js';
|
|
40
34
|
import '../chunk-YHMRX6YA.js';
|
|
41
|
-
import { useTranslate, cn, Box, HStack, Typography, pressableProps, Button, RangeSlider } from '../chunk-
|
|
35
|
+
import { useTranslate, cn, Box, HStack, Typography, pressableProps, Button, RangeSlider } from '../chunk-4YXBKHHM.js';
|
|
42
36
|
import '../chunk-A2LR6VQQ.js';
|
|
43
37
|
import '../chunk-P4ZFUQFF.js';
|
|
44
38
|
import '../chunk-G7DCAZ22.js';
|
|
@@ -1875,6 +1869,143 @@ var AvlCosmicZoom = (props) => {
|
|
|
1875
1869
|
);
|
|
1876
1870
|
};
|
|
1877
1871
|
AvlCosmicZoom.displayName = "AvlCosmicZoom";
|
|
1872
|
+
|
|
1873
|
+
// src/lib/avl-zoom-state.ts
|
|
1874
|
+
var initialZoomState = {
|
|
1875
|
+
level: "application",
|
|
1876
|
+
selectedOrbital: null,
|
|
1877
|
+
selectedTrait: null,
|
|
1878
|
+
selectedTransition: null,
|
|
1879
|
+
animating: false,
|
|
1880
|
+
animationDirection: "in",
|
|
1881
|
+
animationTarget: null
|
|
1882
|
+
};
|
|
1883
|
+
function zoomReducer(state, action) {
|
|
1884
|
+
switch (action.type) {
|
|
1885
|
+
case "ZOOM_INTO_ORBITAL": {
|
|
1886
|
+
if (state.level !== "application" || state.animating) return state;
|
|
1887
|
+
return {
|
|
1888
|
+
...state,
|
|
1889
|
+
animating: true,
|
|
1890
|
+
animationDirection: "in",
|
|
1891
|
+
animationTarget: { x: action.targetPosition.x, y: action.targetPosition.y, scale: 3 },
|
|
1892
|
+
selectedOrbital: action.orbital
|
|
1893
|
+
};
|
|
1894
|
+
}
|
|
1895
|
+
case "ZOOM_INTO_TRAIT": {
|
|
1896
|
+
if (state.level !== "orbital" || state.animating) return state;
|
|
1897
|
+
return {
|
|
1898
|
+
...state,
|
|
1899
|
+
animating: true,
|
|
1900
|
+
animationDirection: "in",
|
|
1901
|
+
animationTarget: { x: action.targetPosition.x, y: action.targetPosition.y, scale: 3 },
|
|
1902
|
+
selectedTrait: action.trait
|
|
1903
|
+
};
|
|
1904
|
+
}
|
|
1905
|
+
case "ZOOM_INTO_TRANSITION": {
|
|
1906
|
+
if (state.level !== "trait" || state.animating) return state;
|
|
1907
|
+
return {
|
|
1908
|
+
...state,
|
|
1909
|
+
animating: true,
|
|
1910
|
+
animationDirection: "in",
|
|
1911
|
+
animationTarget: { x: action.targetPosition.x, y: action.targetPosition.y, scale: 3 },
|
|
1912
|
+
selectedTransition: action.transitionIndex
|
|
1913
|
+
};
|
|
1914
|
+
}
|
|
1915
|
+
case "JUMP_TO_TRAIT_CIRCUIT": {
|
|
1916
|
+
if (state.level !== "application" || state.animating) return state;
|
|
1917
|
+
return {
|
|
1918
|
+
...state,
|
|
1919
|
+
level: "trait",
|
|
1920
|
+
selectedOrbital: action.orbital,
|
|
1921
|
+
selectedTrait: null,
|
|
1922
|
+
selectedTransition: null,
|
|
1923
|
+
animating: false,
|
|
1924
|
+
animationDirection: "in",
|
|
1925
|
+
animationTarget: null
|
|
1926
|
+
};
|
|
1927
|
+
}
|
|
1928
|
+
case "SELECT_TRAIT": {
|
|
1929
|
+
return { ...state, selectedTrait: action.trait };
|
|
1930
|
+
}
|
|
1931
|
+
case "ZOOM_OUT": {
|
|
1932
|
+
if (state.level === "application" || state.animating) return state;
|
|
1933
|
+
return {
|
|
1934
|
+
...state,
|
|
1935
|
+
animating: true,
|
|
1936
|
+
animationDirection: "out",
|
|
1937
|
+
animationTarget: { x: 300, y: 200, scale: 0.3 }
|
|
1938
|
+
};
|
|
1939
|
+
}
|
|
1940
|
+
case "ANIMATION_COMPLETE": {
|
|
1941
|
+
if (!state.animating) return state;
|
|
1942
|
+
if (state.animationDirection === "in") {
|
|
1943
|
+
const nextLevel = state.level === "application" ? "orbital" : state.level === "orbital" ? "trait" : "transition";
|
|
1944
|
+
return {
|
|
1945
|
+
...state,
|
|
1946
|
+
level: nextLevel,
|
|
1947
|
+
animating: false,
|
|
1948
|
+
animationTarget: null
|
|
1949
|
+
};
|
|
1950
|
+
}
|
|
1951
|
+
if (state.level === "transition") {
|
|
1952
|
+
return {
|
|
1953
|
+
...state,
|
|
1954
|
+
level: "trait",
|
|
1955
|
+
selectedTransition: null,
|
|
1956
|
+
animating: false,
|
|
1957
|
+
animationTarget: null
|
|
1958
|
+
};
|
|
1959
|
+
}
|
|
1960
|
+
if (state.level === "trait") {
|
|
1961
|
+
return {
|
|
1962
|
+
...state,
|
|
1963
|
+
level: "application",
|
|
1964
|
+
selectedOrbital: null,
|
|
1965
|
+
selectedTrait: null,
|
|
1966
|
+
animating: false,
|
|
1967
|
+
animationTarget: null
|
|
1968
|
+
};
|
|
1969
|
+
}
|
|
1970
|
+
if (state.level === "orbital") {
|
|
1971
|
+
return {
|
|
1972
|
+
...state,
|
|
1973
|
+
level: "application",
|
|
1974
|
+
selectedOrbital: null,
|
|
1975
|
+
animating: false,
|
|
1976
|
+
animationTarget: null
|
|
1977
|
+
};
|
|
1978
|
+
}
|
|
1979
|
+
return state;
|
|
1980
|
+
}
|
|
1981
|
+
case "SWITCH_TRAIT": {
|
|
1982
|
+
if (state.level !== "trait" || state.animating) return state;
|
|
1983
|
+
return {
|
|
1984
|
+
...state,
|
|
1985
|
+
selectedTrait: action.trait,
|
|
1986
|
+
selectedTransition: null
|
|
1987
|
+
};
|
|
1988
|
+
}
|
|
1989
|
+
case "RESET": {
|
|
1990
|
+
return initialZoomState;
|
|
1991
|
+
}
|
|
1992
|
+
default:
|
|
1993
|
+
return state;
|
|
1994
|
+
}
|
|
1995
|
+
}
|
|
1996
|
+
function getBreadcrumbs(state) {
|
|
1997
|
+
const crumbs = [{ labelKey: "avl.glyph.application", level: "application" }];
|
|
1998
|
+
if (state.selectedOrbital) {
|
|
1999
|
+
crumbs.push({ label: state.selectedOrbital, level: "orbital" });
|
|
2000
|
+
}
|
|
2001
|
+
if (state.selectedTrait) {
|
|
2002
|
+
crumbs.push({ label: state.selectedTrait, level: "trait" });
|
|
2003
|
+
}
|
|
2004
|
+
if (state.selectedTransition !== null) {
|
|
2005
|
+
crumbs.push({ labelKey: "avl.breadcrumb.transitionNumber", labelParams: { n: state.selectedTransition }, level: "transition" });
|
|
2006
|
+
}
|
|
2007
|
+
return crumbs;
|
|
2008
|
+
}
|
|
1878
2009
|
var LEVEL_BOX = { inset: 0, paddingTop: 56, paddingBottom: 24, paddingLeft: 24, paddingRight: 24 };
|
|
1879
2010
|
var AvlOrbitalsCosmicZoom = ({
|
|
1880
2011
|
schema: schemaProp,
|
|
@@ -2537,7 +2668,7 @@ function isList(value) {
|
|
|
2537
2668
|
return Array.isArray(value);
|
|
2538
2669
|
}
|
|
2539
2670
|
function record(value, what) {
|
|
2540
|
-
if (value === null || value === void 0 || typeof value !== "object" ||
|
|
2671
|
+
if (value === null || value === void 0 || typeof value !== "object" || isList(value)) {
|
|
2541
2672
|
fail(`${what} must be an object`);
|
|
2542
2673
|
}
|
|
2543
2674
|
return value;
|