xmlui 0.9.73 → 0.9.74

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.
@@ -1,6 +1,9 @@
1
+ import { DelayMode } from 'msw';
2
+
1
3
  declare type ApiInterceptorDefinition = {
2
4
  type?: string;
3
5
  config?: Record<string, any>;
6
+ artificialDelay?: number | DelayMode;
4
7
  schemaDescriptor?: SchemaDescriptor;
5
8
  apiUrl?: string;
6
9
  initialData?: Record<string, any[]> | (() => Promise<Record<string, any[]>>);
@@ -1,6 +1,7 @@
1
1
  import { CSSProperties } from 'react';
2
2
  import { default as default_2 } from 'react';
3
3
  import { DefaultToastOptions } from 'react-hot-toast';
4
+ import { DelayMode } from 'msw';
4
5
  import { ErrorInfo } from 'react';
5
6
  import { ForwardedRef } from 'react';
6
7
  import { ForwardRefExoticComponent } from 'react';
@@ -37,6 +38,7 @@ declare const alignmentOptionValues: readonly ["start", "center", "end"];
37
38
  export declare type ApiInterceptorDefinition = {
38
39
  type?: string;
39
40
  config?: Record<string, any>;
41
+ artificialDelay?: number | DelayMode;
40
42
  schemaDescriptor?: SchemaDescriptor;
41
43
  apiUrl?: string;
42
44
  initialData?: Record<string, any[]> | (() => Promise<Record<string, any[]>>);
@@ -139,7 +141,7 @@ declare type AppLayoutType = (typeof appLayoutNames)[number];
139
141
  * from either code-behind files or inlined markup expressions) and executes
140
142
  * the app accordingly.
141
143
  */
142
- export declare function AppRoot({ apiInterceptor, contributes, node, decorateComponentsWithTestId, debugEnabled, defaultTheme, defaultTone, resources, globalProps, standalone, trackContainerHeight, routerBaseName, previewMode, resourceMap, sources, extensionManager, children, projectCompilation, isNested, }: AppWrapperProps & {
144
+ export declare function AppRoot({ apiInterceptor, contributes, node, decorateComponentsWithTestId, debugEnabled, defaultTheme, defaultTone, resources, globalProps, standalone, trackContainerHeight, routerBaseName, previewMode, resourceMap, sources, extensionManager, children, projectCompilation, isNested, onInit, }: AppWrapperProps & {
143
145
  extensionManager?: StandaloneExtensionManager;
144
146
  isNested?: boolean;
145
147
  }): JSX_2.Element;
@@ -162,6 +164,7 @@ declare type AppWrapperProps = {
162
164
  sources?: Record<string, string>;
163
165
  projectCompilation?: ProjectCompilation;
164
166
  children?: ReactNode;
167
+ onInit?: () => void;
165
168
  };
166
169
 
167
170
  declare type ARRAY_DESTRUCTURE = typeof T_ARRAY_DESTRUCTURE;
@@ -916,7 +919,7 @@ declare type Message = ValueOrFunction<Renderable, Toast>;
916
919
  */
917
920
  declare type ModuleErrors = Record<string, ScriptParserErrorMessage[]>;
918
921
 
919
- export declare function NestedApp({ api, app, components, config, activeTheme, activeTone, height, style, refreshVersion }: NestedAppProps): JSX_2.Element;
922
+ export declare function NestedApp({ api, app, components, config, activeTheme, activeTone, height, style, refreshVersion, withSplashScreen, className, }: NestedAppProps): JSX_2.Element;
920
923
 
921
924
  declare type NestedAppProps = {
922
925
  api?: any;
@@ -928,6 +931,8 @@ declare type NestedAppProps = {
928
931
  height?: string | number;
929
932
  style?: CSSProperties;
930
933
  refreshVersion?: number;
934
+ withSplashScreen?: boolean;
935
+ className?: string;
931
936
  };
932
937
 
933
938
  declare type NO_ARG_EXPRESSION = typeof T_NO_ARG_EXPRESSION;
@@ -1,4 +1,4 @@
1
- import { y as e, A as t, B as o, E as r, I as n, L as p, H as u, N as i, z as l, i as C, h as d, S as m, b as x, k as T, l as c, D as S, F as A, G as g, V as h, C as v, c as B, e as I, f as L, w as b, j as k, p as y, s as E, t as M, K as V, n as f, q as H, M as N, v as R, J as D, u as U, x as X } from "./index-By3AkYm2.mjs";
1
+ import { y as e, A as t, B as o, E as r, I as n, L as p, H as u, N as i, z as l, i as C, h as d, S as m, b as x, k as T, l as c, D as S, F as A, G as g, V as h, C as v, c as B, e as I, f as L, w as b, j as k, p as y, s as E, t as M, K as V, n as f, q as H, M as N, v as R, J as D, u as U, x as X } from "./index-D1pmdW3I.mjs";
2
2
  import { X as q } from "./xmlui-serializer-jEIItW8v.mjs";
3
3
  export {
4
4
  e as ApiInterceptorProvider,