@motifx/core 1.2.0-rc.1 → 1.2.0-rc.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/dist/chunks/{core-vVL0WG0n.esm.js → core-C5z0P3iY.esm.js} +55 -20
- package/dist/chunks/core-C5z0P3iY.esm.js.map +1 -0
- package/dist/chunks/{core-SS-LXi1V.cjs → core-CX1Sz73P.cjs} +55 -20
- package/dist/chunks/core-CX1Sz73P.cjs.map +1 -0
- package/dist/devtools.cjs +1 -1
- package/dist/devtools.esm.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +8 -4
- package/dist/index.d.ts +8 -4
- package/dist/index.esm.js +2 -2
- package/dist/index.esm.min.js +1 -1
- package/dist/index.esm.min.js.map +1 -1
- package/dist/index.umd.js +54 -19
- package/dist/index.umd.js.map +1 -1
- package/dist/index.umd.min.js +1 -1
- package/dist/index.umd.min.js.map +1 -1
- package/package.json +1 -1
- package/dist/chunks/core-SS-LXi1V.cjs.map +0 -1
- package/dist/chunks/core-vVL0WG0n.esm.js.map +0 -1
package/dist/devtools.cjs
CHANGED
package/dist/devtools.esm.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { a3 as debugGetDepMap, a2 as debugGetDeps } from './chunks/core-
|
|
1
|
+
export { a3 as debugGetDepMap, a2 as debugGetDeps } from './chunks/core-C5z0P3iY.esm.js';
|
|
2
2
|
//# sourceMappingURL=devtools.esm.js.map
|
package/dist/index.cjs
CHANGED
package/dist/index.d.cts
CHANGED
|
@@ -1250,6 +1250,10 @@ interface ResolveResult {
|
|
|
1250
1250
|
meta?: Record<string, any>;
|
|
1251
1251
|
aliasOf?: string | null;
|
|
1252
1252
|
}
|
|
1253
|
+
type RouteResolution = {
|
|
1254
|
+
chain: string[];
|
|
1255
|
+
result: ResolveResult;
|
|
1256
|
+
};
|
|
1253
1257
|
type Router = {
|
|
1254
1258
|
readonly params: Record<string, any>;
|
|
1255
1259
|
readonly route: RouteItem | null;
|
|
@@ -1257,8 +1261,8 @@ type Router = {
|
|
|
1257
1261
|
readonly uri: string;
|
|
1258
1262
|
readonly fullPath: string | null;
|
|
1259
1263
|
readonly aliasOf: string | null;
|
|
1260
|
-
navigate: (uri: string, options?: NavigationOptions) => Promise<
|
|
1261
|
-
navigateByName: (name: string, params?: Record<string, any>, options?: NavigationOptions) => Promise<
|
|
1264
|
+
navigate: (uri: string, options?: NavigationOptions) => Promise<any>;
|
|
1265
|
+
navigateByName: (name: string, params?: Record<string, any>, options?: NavigationOptions) => Promise<any>;
|
|
1262
1266
|
evict: (route?: RouteItem | string | null) => Promise<void>;
|
|
1263
1267
|
readonly chain: string[];
|
|
1264
1268
|
readonly extend: Record<string, any>;
|
|
@@ -1266,7 +1270,7 @@ type Router = {
|
|
|
1266
1270
|
readonly direction?: NavigationDirection;
|
|
1267
1271
|
readonly state?: any;
|
|
1268
1272
|
readonly stack?: StackEntryInfo[];
|
|
1269
|
-
resolve: (uri: string) =>
|
|
1273
|
+
resolve: (uri: string) => RouteResolution;
|
|
1270
1274
|
href: (name: string, params?: Record<string, any>) => string;
|
|
1271
1275
|
readonly routes: RouteInfo[];
|
|
1272
1276
|
};
|
|
@@ -1508,4 +1512,4 @@ declare class Resilience implements ResiliencePolicy {
|
|
|
1508
1512
|
}
|
|
1509
1513
|
|
|
1510
1514
|
export { Application, ApplicationBuilder, Component, ComponentBase, ComponentMotif, Computed, ContentBlock, ContentBody, ControlCollection, Dictionary, Disposable, DisposableStore, Emitter, ErrorHandler, FNComponent, FragmentNode, Frame, FromService, Injectable, Lazy, LazyComputed, LinkedList, List, MotifError, NameValuePair, NodeTypes, Query, Resilience, RouterLink, RouterView, ServiceCollection, ServiceProvider, Signal, Transport, TransportTo, Transporter, Virtualization, asyncTracking, clearModel, configureReactivityLeakMonitor, createComputed, createLazyComputed, createSignal, decorate, deepClone, disposableCore, dom, effect, errorHandler, inject, motifCompiled, motifComponent, motifFragment, preProcessing, reactive, read, safeCall, safeCallAsync, safeCallSilent, setUnexpectedErrorHandler, toDisposable, toGetter, untracked, useApplication, useModel, useNavigation };
|
|
1511
|
-
export type { AnyEvents, AppLifecycleEventArgs, AppLifecycleState, ApplicationState, AsyncTrackingToken, Bind, BulkheadOptions, CSSTransitionInfo, CircuitBreakerOptions, CircuitState, ComponentBaseOptions, CustomParameters, EffectFn, ElementType, Event$1 as Event, EventArgs, FallbackOptions, Group, HtmlElementEvents, IAttribute, IBaseProp, IClass, IDisposable, IDisposableTracker, IDisposeOptions, IElement, IHtmlElement, IsOptional, LazyOptions, LazyRetryOptions, MotifErrorCode, NavigationDirection, NavigationGuard, NavigationGuardContext, NavigationOptions, OptionalParams, RateLimiterOptions, ReadonlySignal, RedirectTarget, ResilienceAction, ResilienceContext, ResiliencePolicy, ResolveResult, RetryOptions, RouteControl, RouteInfo, RouteItem, RouteItemBase, RouteRedirect, RouteResolveContext, Router, RouterClassingSettings, RouterEvents, RouterNavigatedEventArgs, RouterOptions, RouterValidateEventArgs, RouterViewProps, ScrollMemoryOptions, ServiceDescriptor, ServiceLifetime, StackEntryInfo, StackOptions, StackSwipeBackOptions, StackTransitionContext, TimeoutOptions, TransitionMode, TransitionProps, TransportOptions, VirtualizationDataRequest, VirtualizationDataResponse, VirtualizationProps, VirtualizationState };
|
|
1515
|
+
export type { AnyEvents, AppLifecycleEventArgs, AppLifecycleState, ApplicationState, AsyncTrackingToken, Bind, BulkheadOptions, CSSTransitionInfo, CircuitBreakerOptions, CircuitState, ComponentBaseOptions, CustomParameters, EffectFn, ElementType, Event$1 as Event, EventArgs, FallbackOptions, Group, HtmlElementEvents, IAttribute, IBaseProp, IClass, IDisposable, IDisposableTracker, IDisposeOptions, IElement, IHtmlElement, IsOptional, LazyOptions, LazyRetryOptions, MotifErrorCode, NavigationDirection, NavigationGuard, NavigationGuardContext, NavigationOptions, OptionalParams, RateLimiterOptions, ReadonlySignal, RedirectTarget, ResilienceAction, ResilienceContext, ResiliencePolicy, ResolveResult, RetryOptions, RouteControl, RouteInfo, RouteItem, RouteItemBase, RouteRedirect, RouteResolution, RouteResolveContext, Router, RouterClassingSettings, RouterEvents, RouterNavigatedEventArgs, RouterOptions, RouterValidateEventArgs, RouterViewProps, ScrollMemoryOptions, ServiceDescriptor, ServiceLifetime, StackEntryInfo, StackOptions, StackSwipeBackOptions, StackTransitionContext, TimeoutOptions, TransitionMode, TransitionProps, TransportOptions, VirtualizationDataRequest, VirtualizationDataResponse, VirtualizationProps, VirtualizationState };
|
package/dist/index.d.ts
CHANGED
|
@@ -1250,6 +1250,10 @@ interface ResolveResult {
|
|
|
1250
1250
|
meta?: Record<string, any>;
|
|
1251
1251
|
aliasOf?: string | null;
|
|
1252
1252
|
}
|
|
1253
|
+
type RouteResolution = {
|
|
1254
|
+
chain: string[];
|
|
1255
|
+
result: ResolveResult;
|
|
1256
|
+
};
|
|
1253
1257
|
type Router = {
|
|
1254
1258
|
readonly params: Record<string, any>;
|
|
1255
1259
|
readonly route: RouteItem | null;
|
|
@@ -1257,8 +1261,8 @@ type Router = {
|
|
|
1257
1261
|
readonly uri: string;
|
|
1258
1262
|
readonly fullPath: string | null;
|
|
1259
1263
|
readonly aliasOf: string | null;
|
|
1260
|
-
navigate: (uri: string, options?: NavigationOptions) => Promise<
|
|
1261
|
-
navigateByName: (name: string, params?: Record<string, any>, options?: NavigationOptions) => Promise<
|
|
1264
|
+
navigate: (uri: string, options?: NavigationOptions) => Promise<any>;
|
|
1265
|
+
navigateByName: (name: string, params?: Record<string, any>, options?: NavigationOptions) => Promise<any>;
|
|
1262
1266
|
evict: (route?: RouteItem | string | null) => Promise<void>;
|
|
1263
1267
|
readonly chain: string[];
|
|
1264
1268
|
readonly extend: Record<string, any>;
|
|
@@ -1266,7 +1270,7 @@ type Router = {
|
|
|
1266
1270
|
readonly direction?: NavigationDirection;
|
|
1267
1271
|
readonly state?: any;
|
|
1268
1272
|
readonly stack?: StackEntryInfo[];
|
|
1269
|
-
resolve: (uri: string) =>
|
|
1273
|
+
resolve: (uri: string) => RouteResolution;
|
|
1270
1274
|
href: (name: string, params?: Record<string, any>) => string;
|
|
1271
1275
|
readonly routes: RouteInfo[];
|
|
1272
1276
|
};
|
|
@@ -1508,4 +1512,4 @@ declare class Resilience implements ResiliencePolicy {
|
|
|
1508
1512
|
}
|
|
1509
1513
|
|
|
1510
1514
|
export { Application, ApplicationBuilder, Component, ComponentBase, ComponentMotif, Computed, ContentBlock, ContentBody, ControlCollection, Dictionary, Disposable, DisposableStore, Emitter, ErrorHandler, FNComponent, FragmentNode, Frame, FromService, Injectable, Lazy, LazyComputed, LinkedList, List, MotifError, NameValuePair, NodeTypes, Query, Resilience, RouterLink, RouterView, ServiceCollection, ServiceProvider, Signal, Transport, TransportTo, Transporter, Virtualization, asyncTracking, clearModel, configureReactivityLeakMonitor, createComputed, createLazyComputed, createSignal, decorate, deepClone, disposableCore, dom, effect, errorHandler, inject, motifCompiled, motifComponent, motifFragment, preProcessing, reactive, read, safeCall, safeCallAsync, safeCallSilent, setUnexpectedErrorHandler, toDisposable, toGetter, untracked, useApplication, useModel, useNavigation };
|
|
1511
|
-
export type { AnyEvents, AppLifecycleEventArgs, AppLifecycleState, ApplicationState, AsyncTrackingToken, Bind, BulkheadOptions, CSSTransitionInfo, CircuitBreakerOptions, CircuitState, ComponentBaseOptions, CustomParameters, EffectFn, ElementType, Event$1 as Event, EventArgs, FallbackOptions, Group, HtmlElementEvents, IAttribute, IBaseProp, IClass, IDisposable, IDisposableTracker, IDisposeOptions, IElement, IHtmlElement, IsOptional, LazyOptions, LazyRetryOptions, MotifErrorCode, NavigationDirection, NavigationGuard, NavigationGuardContext, NavigationOptions, OptionalParams, RateLimiterOptions, ReadonlySignal, RedirectTarget, ResilienceAction, ResilienceContext, ResiliencePolicy, ResolveResult, RetryOptions, RouteControl, RouteInfo, RouteItem, RouteItemBase, RouteRedirect, RouteResolveContext, Router, RouterClassingSettings, RouterEvents, RouterNavigatedEventArgs, RouterOptions, RouterValidateEventArgs, RouterViewProps, ScrollMemoryOptions, ServiceDescriptor, ServiceLifetime, StackEntryInfo, StackOptions, StackSwipeBackOptions, StackTransitionContext, TimeoutOptions, TransitionMode, TransitionProps, TransportOptions, VirtualizationDataRequest, VirtualizationDataResponse, VirtualizationProps, VirtualizationState };
|
|
1515
|
+
export type { AnyEvents, AppLifecycleEventArgs, AppLifecycleState, ApplicationState, AsyncTrackingToken, Bind, BulkheadOptions, CSSTransitionInfo, CircuitBreakerOptions, CircuitState, ComponentBaseOptions, CustomParameters, EffectFn, ElementType, Event$1 as Event, EventArgs, FallbackOptions, Group, HtmlElementEvents, IAttribute, IBaseProp, IClass, IDisposable, IDisposableTracker, IDisposeOptions, IElement, IHtmlElement, IsOptional, LazyOptions, LazyRetryOptions, MotifErrorCode, NavigationDirection, NavigationGuard, NavigationGuardContext, NavigationOptions, OptionalParams, RateLimiterOptions, ReadonlySignal, RedirectTarget, ResilienceAction, ResilienceContext, ResiliencePolicy, ResolveResult, RetryOptions, RouteControl, RouteInfo, RouteItem, RouteItemBase, RouteRedirect, RouteResolution, RouteResolveContext, Router, RouterClassingSettings, RouterEvents, RouterNavigatedEventArgs, RouterOptions, RouterValidateEventArgs, RouterViewProps, ScrollMemoryOptions, ServiceDescriptor, ServiceLifetime, StackEntryInfo, StackOptions, StackSwipeBackOptions, StackTransitionContext, TimeoutOptions, TransitionMode, TransitionProps, TransportOptions, VirtualizationDataRequest, VirtualizationDataResponse, VirtualizationProps, VirtualizationState };
|
package/dist/index.esm.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { m as motifError, C as Component, r as reportWarning, A as Application, c as contentBlocks, f as findAppendableComponent, u as untracked, e as effect, a as reportError, b as ComponentBase, n as notifyDeactivated, d as autoRegistry, M as MotifError, g as formatMotifMessage } from './chunks/core-
|
|
2
|
-
export { h as ApplicationBuilder, k as ComponentMotif, l as Computed, p as ControlCollection, D as Disposable, x as DisposableStore, E as Emitter, B as ErrorHandler, F as FNComponent, G as FragmentNode, H as Frame, L as Lazy, J as LazyComputed, K as LinkedList, Q as NodeTypes, S as RouterView, W as ServiceCollection, X as ServiceProvider, Z as Signal, i as asyncTracking, j as clearModel, o as configureReactivityLeakMonitor, q as createComputed, s as createLazyComputed, t as createSignal, v as deepClone, w as disposableCore, y as dom, z as errorHandler, I as inject, N as motifCompiled, O as motifComponent, P as motifFragment, R as reactive, T as safeCall, U as safeCallAsync, V as safeCallSilent, Y as setUnexpectedErrorHandler, _ as toDisposable, $ as useApplication, a0 as useModel, a1 as useNavigation } from './chunks/core-
|
|
1
|
+
import { m as motifError, C as Component, r as reportWarning, A as Application, c as contentBlocks, f as findAppendableComponent, u as untracked, e as effect, a as reportError, b as ComponentBase, n as notifyDeactivated, d as autoRegistry, M as MotifError, g as formatMotifMessage } from './chunks/core-C5z0P3iY.esm.js';
|
|
2
|
+
export { h as ApplicationBuilder, k as ComponentMotif, l as Computed, p as ControlCollection, D as Disposable, x as DisposableStore, E as Emitter, B as ErrorHandler, F as FNComponent, G as FragmentNode, H as Frame, L as Lazy, J as LazyComputed, K as LinkedList, Q as NodeTypes, S as RouterView, W as ServiceCollection, X as ServiceProvider, Z as Signal, i as asyncTracking, j as clearModel, o as configureReactivityLeakMonitor, q as createComputed, s as createLazyComputed, t as createSignal, v as deepClone, w as disposableCore, y as dom, z as errorHandler, I as inject, N as motifCompiled, O as motifComponent, P as motifFragment, R as reactive, T as safeCall, U as safeCallAsync, V as safeCallSilent, Y as setUnexpectedErrorHandler, _ as toDisposable, $ as useApplication, a0 as useModel, a1 as useNavigation } from './chunks/core-C5z0P3iY.esm.js';
|
|
3
3
|
|
|
4
4
|
class NameValuePair {
|
|
5
5
|
Key;
|