xmlui 0.11.17 → 0.11.19

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,6 @@
1
1
  import { delay as delay$1, HttpResponse, matchRequestUrl } from "msw";
2
2
  import { isArray, isObject, mapValues } from "lodash-es";
3
- import { r as runEventHandlerCode, g as getDate, d as delay, m as miscellaneousUtils, a as dateFunctions, o as orderBy, T as ThrowStatementError } from "./index-DDJqM9b9.js";
3
+ import { r as runEventHandlerCode, g as getDate, d as delay, m as miscellaneousUtils, a as dateFunctions, o as orderBy, T as ThrowStatementError } from "./index-CtiJg1j6.js";
4
4
  import Dexie from "dexie";
5
5
  var HttpStatusCode = /* @__PURE__ */ ((HttpStatusCode2) => {
6
6
  HttpStatusCode2[HttpStatusCode2["Continue"] = 100] = "Continue";
@@ -7,6 +7,7 @@ import { ErrorInfo } from 'react';
7
7
  import { ForwardedRef } from 'react';
8
8
  import { ForwardRefExoticComponent } from 'react';
9
9
  import { JSX as JSX_2 } from 'react/jsx-runtime';
10
+ import { MemoExoticComponent } from 'react';
10
11
  import { NavigateOptions } from 'react-router-dom';
11
12
  import { PathParams } from 'msw';
12
13
  import { QueryClient } from '@tanstack/react-query';
@@ -727,6 +728,7 @@ declare type DropdownMenuProps = {
727
728
  triggerButtonIcon?: string;
728
729
  triggerButtonIconPosition?: IconPosition;
729
730
  compact?: boolean;
731
+ modal?: boolean;
730
732
  };
731
733
 
732
734
  export declare function dSetValueApi(): ComponentPropertyMetadata;
@@ -1114,6 +1116,19 @@ declare interface MemberAccessExpression extends ExpressionBase {
1114
1116
  opt?: boolean;
1115
1117
  }
1116
1118
 
1119
+ export declare const MemoizedItem: MemoExoticComponent<({ node, item, context, renderChild, layoutContext, contextVars, itemKey, contextKey, }: MemoizedItemProps) => JSX_2.Element>;
1120
+
1121
+ declare type MemoizedItemProps = {
1122
+ node: ComponentDef | Array<ComponentDef>;
1123
+ item?: any;
1124
+ context?: any;
1125
+ renderChild: RenderChildFn;
1126
+ layoutContext?: LayoutContext;
1127
+ contextVars?: Record<string, any>;
1128
+ itemKey?: string;
1129
+ contextKey?: string;
1130
+ };
1131
+
1117
1132
  export declare const MenuItem: ForwardRefExoticComponent<MenuItemProps & RefAttributes<unknown>>;
1118
1133
 
1119
1134
  declare type MenuItemProps = {
package/dist/lib/xmlui.js CHANGED
@@ -1,4 +1,4 @@
1
- import { aa, Z, al, a1, ax, av, _, $, ai, ak, aw, ag, ab, a2, a0, S, ar, b, ao, ap, a4, a5, ae, af, as, aj, at, au, ah, ad, c, f, e, h, j, k, l, i, n, p, q, s, u, v, x, w, t, y, z, A, B, C, D, E, F, G, H, I, J, K, L, M, P, N, O, Q, R, U, V, a3, W, X, a7, an, a6, a8, aq, a9, am, Y, ac } from "./index-DDJqM9b9.js";
1
+ import { aa, Z, al, a1, ax, av, _, $, ai, ak, ay, aw, ag, ab, a2, a0, S, ar, b, ao, ap, a4, a5, ae, af, as, aj, at, au, ah, ad, c, f, e, h, j, k, l, i, n, p, q, s, u, v, x, w, t, y, z, A, B, C, D, E, F, G, H, I, J, K, L, M, P, N, O, Q, R, U, V, a3, W, X, a7, an, a6, a8, aq, a9, am, Y, ac } from "./index-CtiJg1j6.js";
2
2
  import { f as f2, x as x2 } from "./xmlui-parser-9Yk-asFP.js";
3
3
  import { X as X2 } from "./xmlui-serializer-CeCcgdVR.js";
4
4
  export {
@@ -12,6 +12,7 @@ export {
12
12
  $ as Icon,
13
13
  ai as LinkNative,
14
14
  ak as Logo,
15
+ ay as MemoizedItem,
15
16
  aw as MenuItem,
16
17
  ag as NestedApp,
17
18
  ab as Spinner,