@almadar/ui 2.7.0 → 2.8.1
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/{chunk-VJP2HCLY.js → chunk-NES4SBB7.js} +6607 -3398
- package/dist/components/index.d.ts +3644 -3089
- package/dist/components/index.js +20 -1840
- package/dist/lib/index.js +1 -1
- package/dist/providers/index.js +2 -2
- package/package.json +1 -1
- package/dist/{chunk-RPYMP7ZC.js → chunk-A5J5CNCU.js} +26 -26
package/dist/lib/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { DEFAULT_CONFIG, extractOutputsFromTransitions, extractStateMachine, formatGuard, getEffectSummary, parseContentSegments, parseMarkdownWithCodeBlocks, renderStateMachineToDomData, renderStateMachineToSvg } from '../chunk-N6DJVKZ6.js';
|
|
2
2
|
export { ApiError, apiClient } from '../chunk-3HJHHULT.js';
|
|
3
|
-
export { bindCanvasCapture, bindEventBus, bindTraitStateGetter, clearVerification, cn, debug, debugCollision, debugError, debugGameState, debugGroup, debugGroupEnd, debugInput, debugPhysics, debugTable, debugTime, debugTimeEnd, debugWarn, formatNestedFieldLabel, getAllChecks, getBridgeHealth, getNestedValue, getSnapshot, getSummary, getTransitions, getTransitionsForTrait, isDebugEnabled, recordTransition, registerCheck, subscribeToVerification, updateAssetStatus, updateBridgeHealth, updateCheck, waitForTransition } from '../chunk-
|
|
3
|
+
export { bindCanvasCapture, bindEventBus, bindTraitStateGetter, clearVerification, cn, debug, debugCollision, debugError, debugGameState, debugGroup, debugGroupEnd, debugInput, debugPhysics, debugTable, debugTime, debugTimeEnd, debugWarn, formatNestedFieldLabel, getAllChecks, getBridgeHealth, getNestedValue, getSnapshot, getSummary, getTransitions, getTransitionsForTrait, isDebugEnabled, recordTransition, registerCheck, subscribeToVerification, updateAssetStatus, updateBridgeHealth, updateCheck, waitForTransition } from '../chunk-A5J5CNCU.js';
|
|
4
4
|
import '../chunk-PKBMQBKP.js';
|
|
5
5
|
|
|
6
6
|
// lib/debugUtils.ts
|
package/dist/providers/index.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { SuspenseConfigProvider } from '../chunk-
|
|
1
|
+
import { SuspenseConfigProvider } from '../chunk-NES4SBB7.js';
|
|
2
2
|
import { ThemeProvider } from '../chunk-DKQN5FVU.js';
|
|
3
3
|
import { SelectionProvider, EntityDataProvider } from '../chunk-WGJIL4YR.js';
|
|
4
4
|
export { SelectionContext, SelectionProvider, useSelection, useSelectionOptional } from '../chunk-WGJIL4YR.js';
|
|
5
5
|
import { useEventBus, EventBusProvider } from '../chunk-YXZM3WCF.js';
|
|
6
6
|
export { EventBusContext, EventBusProvider } from '../chunk-YXZM3WCF.js';
|
|
7
7
|
import '../chunk-3JGAROCW.js';
|
|
8
|
-
import { recordTransition, registerCheck, bindEventBus, bindTraitStateGetter } from '../chunk-
|
|
8
|
+
import { recordTransition, registerCheck, bindEventBus, bindTraitStateGetter } from '../chunk-A5J5CNCU.js';
|
|
9
9
|
import '../chunk-TSETXL2E.js';
|
|
10
10
|
import { useOfflineExecutor } from '../chunk-K2D5D3WK.js';
|
|
11
11
|
import '../chunk-PKBMQBKP.js';
|
package/package.json
CHANGED
|
@@ -75,32 +75,6 @@ function debugGameState(stateName, value) {
|
|
|
75
75
|
}
|
|
76
76
|
}
|
|
77
77
|
|
|
78
|
-
// lib/getNestedValue.ts
|
|
79
|
-
function getNestedValue(obj, path) {
|
|
80
|
-
if (obj === null || obj === void 0) {
|
|
81
|
-
return void 0;
|
|
82
|
-
}
|
|
83
|
-
if (!path.includes(".")) {
|
|
84
|
-
return obj[path];
|
|
85
|
-
}
|
|
86
|
-
const parts = path.split(".");
|
|
87
|
-
let value = obj;
|
|
88
|
-
for (const part of parts) {
|
|
89
|
-
if (value === null || value === void 0) {
|
|
90
|
-
return void 0;
|
|
91
|
-
}
|
|
92
|
-
if (typeof value !== "object") {
|
|
93
|
-
return void 0;
|
|
94
|
-
}
|
|
95
|
-
value = value[part];
|
|
96
|
-
}
|
|
97
|
-
return value;
|
|
98
|
-
}
|
|
99
|
-
function formatNestedFieldLabel(path) {
|
|
100
|
-
const lastPart = path.includes(".") ? path.split(".").pop() : path;
|
|
101
|
-
return lastPart.replace(/([A-Z])/g, " $1").replace(/^./, (str) => str.toUpperCase()).replace(/Id$/, "").trim();
|
|
102
|
-
}
|
|
103
|
-
|
|
104
78
|
// lib/verificationRegistry.ts
|
|
105
79
|
var checks = /* @__PURE__ */ new Map();
|
|
106
80
|
var transitions = [];
|
|
@@ -307,4 +281,30 @@ function clearVerification() {
|
|
|
307
281
|
}
|
|
308
282
|
exposeOnWindow();
|
|
309
283
|
|
|
284
|
+
// lib/getNestedValue.ts
|
|
285
|
+
function getNestedValue(obj, path) {
|
|
286
|
+
if (obj === null || obj === void 0) {
|
|
287
|
+
return void 0;
|
|
288
|
+
}
|
|
289
|
+
if (!path.includes(".")) {
|
|
290
|
+
return obj[path];
|
|
291
|
+
}
|
|
292
|
+
const parts = path.split(".");
|
|
293
|
+
let value = obj;
|
|
294
|
+
for (const part of parts) {
|
|
295
|
+
if (value === null || value === void 0) {
|
|
296
|
+
return void 0;
|
|
297
|
+
}
|
|
298
|
+
if (typeof value !== "object") {
|
|
299
|
+
return void 0;
|
|
300
|
+
}
|
|
301
|
+
value = value[part];
|
|
302
|
+
}
|
|
303
|
+
return value;
|
|
304
|
+
}
|
|
305
|
+
function formatNestedFieldLabel(path) {
|
|
306
|
+
const lastPart = path.includes(".") ? path.split(".").pop() : path;
|
|
307
|
+
return lastPart.replace(/([A-Z])/g, " $1").replace(/^./, (str) => str.toUpperCase()).replace(/Id$/, "").trim();
|
|
308
|
+
}
|
|
309
|
+
|
|
310
310
|
export { bindCanvasCapture, bindEventBus, bindTraitStateGetter, clearVerification, cn, debug, debugCollision, debugError, debugGameState, debugGroup, debugGroupEnd, debugInput, debugPhysics, debugTable, debugTime, debugTimeEnd, debugWarn, formatNestedFieldLabel, getAllChecks, getBridgeHealth, getNestedValue, getSnapshot, getSummary, getTransitions, getTransitionsForTrait, isDebugEnabled, recordTransition, registerCheck, subscribeToVerification, updateAssetStatus, updateBridgeHealth, updateCheck, waitForTransition };
|