@almadar/ui 5.152.0 → 5.154.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/{EntityBindingContext-CD9ZoXb4.d.cts → EntityBindingContext-BfZGeDfX.d.cts} +4 -2
- package/dist/{EntityBindingContext-CD9ZoXb4.d.ts → EntityBindingContext-BfZGeDfX.d.ts} +4 -2
- package/dist/NavStackContext-BoVV9nWb.d.cts +83 -0
- package/dist/NavStackContext-BoVV9nWb.d.ts +83 -0
- package/dist/avl/index.cjs +571 -76
- package/dist/avl/index.js +572 -77
- package/dist/{avl-schema-parser-Cx_4SVg9.d.ts → avl-schema-parser-CLIm28Wa.d.ts} +1 -1
- package/dist/{avl-schema-parser-CVzkNzg7.d.cts → avl-schema-parser-Do_LPV1o.d.cts} +1 -1
- package/dist/{cn-DJTUjk1M.d.ts → cn-CFurBb2q.d.ts} +1 -1
- package/dist/{cn-BnAJZcNb.d.cts → cn-TH-RHihd.d.cts} +1 -1
- package/dist/components/index.cjs +502 -52
- package/dist/components/index.d.cts +58 -9
- package/dist/components/index.d.ts +58 -9
- package/dist/components/index.js +501 -55
- package/dist/hooks/index.cjs +4 -0
- package/dist/hooks/index.d.cts +1 -0
- package/dist/hooks/index.d.ts +1 -0
- package/dist/hooks/index.js +1 -0
- package/dist/lib/drawable/three/index.cjs +212 -0
- package/dist/lib/drawable/three/index.d.cts +3 -3
- package/dist/lib/drawable/three/index.d.ts +3 -3
- package/dist/lib/drawable/three/index.js +212 -0
- package/dist/lib/index.d.cts +2 -2
- package/dist/lib/index.d.ts +2 -2
- package/dist/{paintDispatch-CxdLjHQq.d.ts → paintDispatch-B5n2DTB-.d.ts} +178 -2
- package/dist/{paintDispatch-BjZjUbcb.d.cts → paintDispatch-DgBctxIq.d.cts} +178 -2
- package/dist/providers/index.cjs +677 -59
- package/dist/providers/index.d.cts +2 -1
- package/dist/providers/index.d.ts +2 -1
- package/dist/providers/index.js +677 -62
- package/dist/runtime/index.cjs +570 -75
- package/dist/runtime/index.d.cts +12 -5
- package/dist/runtime/index.d.ts +12 -5
- package/dist/runtime/index.js +571 -76
- package/package.json +4 -4
package/dist/runtime/index.d.cts
CHANGED
|
@@ -5,8 +5,8 @@ import * as _almadar_runtime from '@almadar/runtime';
|
|
|
5
5
|
import { TraitState, EffectHandlers } from '@almadar/runtime';
|
|
6
6
|
import '../useEventBus-Ckr4wqW3.cjs';
|
|
7
7
|
import { c as useUISlots } from '../UISlotContext-BlRDbHDy.cjs';
|
|
8
|
-
import { a as EntityBindingSource, h as ServerBridgeTransport } from '../EntityBindingContext-
|
|
9
|
-
export { b as EntitySchemaContextValue, c as EntitySchemaProvider, d as EntitySchemaProviderProps, e as ServerBridgeContextValue, f as ServerBridgeProvider, i as ServerClientEffect, T as TraitContext, k as TraitContextValue, l as TraitInstance, m as TraitProvider, n as TraitProviderProps, o as useEntitySchema, p as useEntitySchemaOptional, q as useServerBridge, r as useTrait, s as useTraitContext } from '../EntityBindingContext-
|
|
8
|
+
import { a as EntityBindingSource, h as ServerBridgeTransport } from '../EntityBindingContext-BfZGeDfX.cjs';
|
|
9
|
+
export { b as EntitySchemaContextValue, c as EntitySchemaProvider, d as EntitySchemaProviderProps, e as ServerBridgeContextValue, f as ServerBridgeProvider, i as ServerClientEffect, T as TraitContext, k as TraitContextValue, l as TraitInstance, m as TraitProvider, n as TraitProviderProps, o as useEntitySchema, p as useEntitySchemaOptional, q as useServerBridge, r as useTrait, s as useTraitContext } from '../EntityBindingContext-BfZGeDfX.cjs';
|
|
10
10
|
import { PerfEntry } from '@almadar/runtime/ui';
|
|
11
11
|
export { PERF_NAMESPACE, PerfEntry, PreparedPreviewSchema, adjustSchemaForMockData, buildMockData, clearPerf, perfEnd, perfStart, perfTime, prepareSchemaForPreview, wrapCallbackForEvent } from '@almadar/runtime/ui';
|
|
12
12
|
import React__default, { ProfilerOnRenderCallback } from 'react';
|
|
@@ -40,8 +40,11 @@ interface UseTraitStateMachineOptions {
|
|
|
40
40
|
* the consumer.
|
|
41
41
|
*/
|
|
42
42
|
onEventProcessed?: (eventKey: string, payload?: EventPayload, dispatchedOrbitals?: Set<string>) => void | Promise<void>;
|
|
43
|
-
/** Router navigate function for navigate effects
|
|
44
|
-
|
|
43
|
+
/** Router navigate function for navigate effects. `crumb` labels the
|
|
44
|
+
* target page's navigation-stack entry (from the effect's options). */
|
|
45
|
+
navigate?: (path: string, params?: Record<string, string>, crumb?: string) => void;
|
|
46
|
+
/** Pop the orbital-scoped navigation stack (navigate-back effect). */
|
|
47
|
+
navigateBack?: () => void;
|
|
45
48
|
/** Payload merged into the mount-time lifecycle INIT (route params from a parameterized page path). */
|
|
46
49
|
initPayload?: EventPayload;
|
|
47
50
|
/** Notification function for notify effects */
|
|
@@ -170,7 +173,11 @@ interface SlotSetter {
|
|
|
170
173
|
interface CreateClientEffectHandlersOptions {
|
|
171
174
|
eventBus: ClientEventBus;
|
|
172
175
|
slotSetter: SlotSetter;
|
|
173
|
-
|
|
176
|
+
/** Navigate handler. `crumb` labels the target page's navigation-stack
|
|
177
|
+
* entry (from the navigate effect's `{ crumb: … }` options). */
|
|
178
|
+
navigate?: (path: string, params?: Record<string, string>, crumb?: string) => void;
|
|
179
|
+
/** Pop the orbital-scoped navigation stack (navigate-back effect). */
|
|
180
|
+
navigateBack?: () => void;
|
|
174
181
|
notify?: (message: string, type: 'success' | 'error' | 'warning' | 'info') => void;
|
|
175
182
|
/**
|
|
176
183
|
* Live client-entity write target for `[runtime]` entities. `(set
|
package/dist/runtime/index.d.ts
CHANGED
|
@@ -5,8 +5,8 @@ import * as _almadar_runtime from '@almadar/runtime';
|
|
|
5
5
|
import { TraitState, EffectHandlers } from '@almadar/runtime';
|
|
6
6
|
import '../useEventBus-CQWyAWpK.js';
|
|
7
7
|
import { c as useUISlots } from '../UISlotContext-CB89mv7N.js';
|
|
8
|
-
import { a as EntityBindingSource, h as ServerBridgeTransport } from '../EntityBindingContext-
|
|
9
|
-
export { b as EntitySchemaContextValue, c as EntitySchemaProvider, d as EntitySchemaProviderProps, e as ServerBridgeContextValue, f as ServerBridgeProvider, i as ServerClientEffect, T as TraitContext, k as TraitContextValue, l as TraitInstance, m as TraitProvider, n as TraitProviderProps, o as useEntitySchema, p as useEntitySchemaOptional, q as useServerBridge, r as useTrait, s as useTraitContext } from '../EntityBindingContext-
|
|
8
|
+
import { a as EntityBindingSource, h as ServerBridgeTransport } from '../EntityBindingContext-BfZGeDfX.js';
|
|
9
|
+
export { b as EntitySchemaContextValue, c as EntitySchemaProvider, d as EntitySchemaProviderProps, e as ServerBridgeContextValue, f as ServerBridgeProvider, i as ServerClientEffect, T as TraitContext, k as TraitContextValue, l as TraitInstance, m as TraitProvider, n as TraitProviderProps, o as useEntitySchema, p as useEntitySchemaOptional, q as useServerBridge, r as useTrait, s as useTraitContext } from '../EntityBindingContext-BfZGeDfX.js';
|
|
10
10
|
import { PerfEntry } from '@almadar/runtime/ui';
|
|
11
11
|
export { PERF_NAMESPACE, PerfEntry, PreparedPreviewSchema, adjustSchemaForMockData, buildMockData, clearPerf, perfEnd, perfStart, perfTime, prepareSchemaForPreview, wrapCallbackForEvent } from '@almadar/runtime/ui';
|
|
12
12
|
import React__default, { ProfilerOnRenderCallback } from 'react';
|
|
@@ -40,8 +40,11 @@ interface UseTraitStateMachineOptions {
|
|
|
40
40
|
* the consumer.
|
|
41
41
|
*/
|
|
42
42
|
onEventProcessed?: (eventKey: string, payload?: EventPayload, dispatchedOrbitals?: Set<string>) => void | Promise<void>;
|
|
43
|
-
/** Router navigate function for navigate effects
|
|
44
|
-
|
|
43
|
+
/** Router navigate function for navigate effects. `crumb` labels the
|
|
44
|
+
* target page's navigation-stack entry (from the effect's options). */
|
|
45
|
+
navigate?: (path: string, params?: Record<string, string>, crumb?: string) => void;
|
|
46
|
+
/** Pop the orbital-scoped navigation stack (navigate-back effect). */
|
|
47
|
+
navigateBack?: () => void;
|
|
45
48
|
/** Payload merged into the mount-time lifecycle INIT (route params from a parameterized page path). */
|
|
46
49
|
initPayload?: EventPayload;
|
|
47
50
|
/** Notification function for notify effects */
|
|
@@ -170,7 +173,11 @@ interface SlotSetter {
|
|
|
170
173
|
interface CreateClientEffectHandlersOptions {
|
|
171
174
|
eventBus: ClientEventBus;
|
|
172
175
|
slotSetter: SlotSetter;
|
|
173
|
-
|
|
176
|
+
/** Navigate handler. `crumb` labels the target page's navigation-stack
|
|
177
|
+
* entry (from the navigate effect's `{ crumb: … }` options). */
|
|
178
|
+
navigate?: (path: string, params?: Record<string, string>, crumb?: string) => void;
|
|
179
|
+
/** Pop the orbital-scoped navigation stack (navigate-back effect). */
|
|
180
|
+
navigateBack?: () => void;
|
|
174
181
|
notify?: (message: string, type: 'success' | 'error' | 'warning' | 'info') => void;
|
|
175
182
|
/**
|
|
176
183
|
* Live client-entity write target for `[runtime]` entities. `(set
|