xmlui 0.12.19 → 0.12.21
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/lib/{index-WVT6bIgM.js → index-CznbWBUF.js} +3224 -4066
- package/dist/lib/index.css +1 -1
- package/dist/lib/{initMock-r2IRBsLf.js → initMock-Dj__hABf.js} +2 -2
- package/dist/lib/{parser-DpwXEUNb.js → parser-zOoMLvLx.js} +120 -139
- package/dist/lib/testing.d.ts +18 -19
- package/dist/lib/testing.js +2 -2
- package/dist/lib/{xmlui-parser-Cs8kB0VK.js → xmlui-parser-CtU8O3Av.js} +43 -19
- package/dist/lib/xmlui-parser.d.ts +23 -19
- package/dist/lib/xmlui-parser.js +2 -2
- package/dist/lib/{xmlui-serializer-3MPLSsOp.js → xmlui-serializer-C-Iuczzr.js} +9 -8
- package/dist/lib/xmlui.d.ts +130 -125
- package/dist/lib/xmlui.js +38 -36
- package/dist/metadata/TextBox-B-GWiq0J.cjs +1 -0
- package/dist/metadata/{TextBox-CwicjBJI.js → TextBox-DHSTy0g0.js} +3407 -4256
- package/dist/metadata/behaviors.cjs +1 -1
- package/dist/metadata/behaviors.js +1 -1
- package/dist/metadata/{initMock-BMq6JN4I.js → initMock-SQIcDMzP.js} +1 -1
- package/dist/metadata/{initMock-BKBkbEgr.cjs → initMock-wSFvfKcr.cjs} +1 -1
- package/dist/metadata/metadata-utils.cjs +1 -1
- package/dist/metadata/metadata-utils.js +1 -1
- package/dist/metadata/transform-BOf-UbgP.cjs +1 -0
- package/dist/metadata/{transform-D0SWbm8g.js → transform-fGDqiHwH.js} +120 -139
- package/dist/metadata/xmlui-metadata.cjs +1 -1
- package/dist/metadata/xmlui-metadata.js +12 -8
- package/dist/metadata/xmlui.css +2 -2
- package/dist/nodejs/bin/index.mjs +63 -79
- package/dist/nodejs/index.cjs +63 -79
- package/dist/nodejs/index.mjs +63 -79
- package/dist/nodejs/server.cjs +1886 -1053
- package/dist/nodejs/server.mjs +1886 -1053
- package/dist/nodejs/vite-xmlui-plugin.cjs +63 -79
- package/dist/nodejs/vite-xmlui-plugin.mjs +63 -79
- package/dist/standalone/xmlui-standalone.es.d.ts +192 -179
- package/dist/standalone/xmlui-standalone.umd.js +11 -11
- package/package.json +1 -1
- package/dist/metadata/TextBox-C-4gnBpw.cjs +0 -1
- package/dist/metadata/transform-CkTQ-Bfe.cjs +0 -1
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { AlignmentOptions as AlignmentOptions_2 } from './components/abstractions';
|
|
2
|
+
import { AsyncFunction as AsyncFunction_2 } from './abstractions/FunctionDefs';
|
|
2
3
|
import { BreakMode as BreakMode_2 } from './components/abstractions';
|
|
3
4
|
import { ButtonThemeColor as ButtonThemeColor_2 } from './components/abstractions';
|
|
4
5
|
import { ButtonType as ButtonType_2 } from './components/abstractions';
|
|
@@ -15,12 +16,14 @@ import { Dispatch } from 'react';
|
|
|
15
16
|
import { ErrorInfo } from 'react';
|
|
16
17
|
import { ForwardedRef } from 'react';
|
|
17
18
|
import { ForwardRefExoticComponent } from 'react';
|
|
18
|
-
import { HeadingProps as HeadingProps_2 } from './components/Heading/
|
|
19
|
-
import {
|
|
19
|
+
import { HeadingProps as HeadingProps_2 } from './components/Heading/HeadingReact';
|
|
20
|
+
import { HTMLAttributes } from 'react';
|
|
21
|
+
import { IconBaseProps as IconBaseProps_2 } from './components/Icon/IconReact';
|
|
20
22
|
import { IconPosition as IconPosition_2 } from './components/abstractions';
|
|
21
23
|
import { JSX as JSX_2 } from 'react/jsx-runtime';
|
|
22
24
|
import { LayoutContext as LayoutContext_2 } from './abstractions/RendererDefs';
|
|
23
25
|
import { MemoExoticComponent } from 'react';
|
|
26
|
+
import { NamedExoticComponent } from 'react';
|
|
24
27
|
import { NavigateOptions } from 'react-router-dom';
|
|
25
28
|
import { OrientationOptions as OrientationOptions_2 } from './components/abstractions';
|
|
26
29
|
import { OverflowMode as OverflowMode_2 } from './components/abstractions';
|
|
@@ -43,8 +46,8 @@ import { TextVariant as TextVariant_2 } from './components/abstractions';
|
|
|
43
46
|
import { To } from 'react-router-dom';
|
|
44
47
|
import { Toast } from 'react-hot-toast';
|
|
45
48
|
import { ToastOptions } from 'react-hot-toast';
|
|
46
|
-
import { ToneSwitchProps as ToneSwitchProps_2 } from './components/ToneSwitch/
|
|
47
|
-
import { TooltipOptions as TooltipOptions_2 } from './components/Tooltip/
|
|
49
|
+
import { ToneSwitchProps as ToneSwitchProps_2 } from './components/ToneSwitch/ToneSwitchReact';
|
|
50
|
+
import { TooltipOptions as TooltipOptions_2 } from './components/Tooltip/TooltipReact';
|
|
48
51
|
import { UpdateStateFn as UpdateStateFn_2 } from './abstractions/RendererDefs';
|
|
49
52
|
import { UseEventOverload as UseEventOverload_2 } from './components-core/utils/misc';
|
|
50
53
|
import { ValidationStatus as ValidationStatus_2 } from './components/abstractions';
|
|
@@ -86,7 +89,7 @@ declare type ApiInterceptorDefinition = {
|
|
|
86
89
|
useWorker?: boolean;
|
|
87
90
|
};
|
|
88
91
|
|
|
89
|
-
declare function ApiInterceptorProvider({ interceptor, children, parentInterceptorContext, waitForApiInterceptor, }:
|
|
92
|
+
declare function ApiInterceptorProvider({ interceptor, children, parentInterceptorContext, waitForApiInterceptor, }: Props_2): JSX_2.Element;
|
|
90
93
|
|
|
91
94
|
declare type AppContextObject = {
|
|
92
95
|
[x: string]: unknown;
|
|
@@ -360,7 +363,7 @@ declare interface BinaryExpression extends ExpressionBase {
|
|
|
360
363
|
right: Expression;
|
|
361
364
|
}
|
|
362
365
|
|
|
363
|
-
declare type BinaryOpSymbols = "**" | "*" | "/" | "%" | "+" | "-" | "<<" | ">>" | ">>>" | "<" | "<=" | ">" | ">=" | "==" | "===" | "!=" | "!==" | "&" | "|" | "^" | "&&" | "||" | "??" | "in";
|
|
366
|
+
declare type BinaryOpSymbols = "**" | "*" | "/" | "%" | "+" | "-" | "<<" | ">>" | ">>>" | "<" | "<=" | ">" | ">=" | "==" | "===" | "!=" | "!==" | "&" | "|" | "^" | "&&" | "||" | "??" | "in" | "instanceof";
|
|
364
367
|
|
|
365
368
|
declare type BLOCK_STATEMENT = typeof T_BLOCK_STATEMENT;
|
|
366
369
|
|
|
@@ -381,24 +384,19 @@ declare interface BreakStatement extends ScripNodeBase {
|
|
|
381
384
|
|
|
382
385
|
declare const builtInThemes: Array<ThemeDefinition>;
|
|
383
386
|
|
|
384
|
-
declare const Button: default_2.MemoExoticComponent<default_2.ForwardRefExoticComponent<{
|
|
385
|
-
id?: string;
|
|
387
|
+
declare const Button: default_2.MemoExoticComponent<default_2.ForwardRefExoticComponent<Omit<default_2.ButtonHTMLAttributes<HTMLButtonElement>, "type" | "form"> & {
|
|
386
388
|
type?: ButtonType;
|
|
387
389
|
variant?: ButtonVariant;
|
|
388
390
|
themeColor?: ButtonThemeColor;
|
|
389
391
|
size?: SizeType;
|
|
390
|
-
disabled?: boolean;
|
|
391
|
-
children?: default_2.ReactNode;
|
|
392
392
|
icon?: default_2.ReactNode;
|
|
393
393
|
iconPosition?: IconPosition;
|
|
394
394
|
contentPosition?: AlignmentOptions;
|
|
395
395
|
orientation?: OrientationOptions;
|
|
396
396
|
formId?: string;
|
|
397
|
-
style?: CSSProperties;
|
|
398
|
-
autoFocus?: boolean;
|
|
399
397
|
contextualLabel?: string;
|
|
400
398
|
classes?: Record<string, string>;
|
|
401
|
-
} &
|
|
399
|
+
} & default_2.RefAttributes<HTMLButtonElement>>>;
|
|
402
400
|
|
|
403
401
|
declare type ButtonThemeColor = (typeof buttonThemeValues)[number];
|
|
404
402
|
|
|
@@ -687,6 +685,7 @@ declare type ConfirmOptions = {
|
|
|
687
685
|
actionLabel?: string;
|
|
688
686
|
cancelLabel?: string;
|
|
689
687
|
width?: string;
|
|
688
|
+
actionThemeColor?: ButtonThemeColor;
|
|
690
689
|
};
|
|
691
690
|
|
|
692
691
|
declare type CONST_STATEMENT = typeof T_CONST_STATEMENT;
|
|
@@ -698,7 +697,7 @@ declare interface ConstStatement extends ScripNodeBase {
|
|
|
698
697
|
|
|
699
698
|
declare type ContainerState = Record<string | symbol, any>;
|
|
700
699
|
|
|
701
|
-
declare const ContentSeparator: ForwardRefExoticComponent<ContentSeparatorProps & RefAttributes<HTMLDivElement
|
|
700
|
+
declare const ContentSeparator: MemoExoticComponent<ForwardRefExoticComponent<ContentSeparatorProps & RefAttributes<HTMLDivElement>>>;
|
|
702
701
|
|
|
703
702
|
declare type ContentSeparatorProps = {
|
|
704
703
|
thickness?: number | string;
|
|
@@ -856,7 +855,7 @@ declare function dReadonly(readOnly?: boolean): ComponentPropertyMetadata;
|
|
|
856
855
|
|
|
857
856
|
declare function dRequired(): ComponentPropertyMetadata;
|
|
858
857
|
|
|
859
|
-
declare const DropdownMenu: ForwardRefExoticComponent<DropdownMenuProps & RefAttributes<HTMLButtonElement
|
|
858
|
+
declare const DropdownMenu: MemoExoticComponent<ForwardRefExoticComponent<DropdownMenuProps & RefAttributes<HTMLButtonElement>>>;
|
|
860
859
|
|
|
861
860
|
declare type DropdownMenuProps = {
|
|
862
861
|
triggerTemplate?: ReactNode;
|
|
@@ -1216,7 +1215,7 @@ declare interface hasPropCondition extends ConditionBase {
|
|
|
1216
1215
|
propName: string;
|
|
1217
1216
|
}
|
|
1218
1217
|
|
|
1219
|
-
declare const Heading: default_2.ForwardRefExoticComponent<Omit<HeadingProps, "ref"> & default_2.RefAttributes<HTMLHeadingElement
|
|
1218
|
+
declare const Heading: default_2.MemoExoticComponent<default_2.ForwardRefExoticComponent<Omit<HeadingProps, "ref"> & default_2.RefAttributes<HTMLHeadingElement>>>;
|
|
1220
1219
|
|
|
1221
1220
|
declare type HeadingLevel = typeof headingLevels[number];
|
|
1222
1221
|
|
|
@@ -1290,6 +1289,7 @@ declare interface IconBaseProps extends default_2.SVGAttributes<SVGElement> {
|
|
|
1290
1289
|
style?: CSSProperties;
|
|
1291
1290
|
className?: string;
|
|
1292
1291
|
tabIndex?: number;
|
|
1292
|
+
onClick?: default_2.MouseEventHandler<any>;
|
|
1293
1293
|
onKeyDown?: default_2.KeyboardEventHandler<any>;
|
|
1294
1294
|
}
|
|
1295
1295
|
|
|
@@ -1302,7 +1302,6 @@ declare type IDENTIFIER = typeof T_IDENTIFIER;
|
|
|
1302
1302
|
declare interface Identifier extends ExpressionBase {
|
|
1303
1303
|
type: IDENTIFIER;
|
|
1304
1304
|
name: string;
|
|
1305
|
-
isGlobal?: boolean;
|
|
1306
1305
|
}
|
|
1307
1306
|
|
|
1308
1307
|
declare type IF_STATEMENT = typeof T_IF_STATEMENT;
|
|
@@ -1375,7 +1374,7 @@ declare interface LetStatement extends ScripNodeBase {
|
|
|
1375
1374
|
decls: VarDeclaration[];
|
|
1376
1375
|
}
|
|
1377
1376
|
|
|
1378
|
-
declare const LinkNative: ForwardRefExoticComponent< {
|
|
1377
|
+
declare const LinkNative: MemoExoticComponent<ForwardRefExoticComponent< {
|
|
1379
1378
|
to: string | {
|
|
1380
1379
|
pathname: string;
|
|
1381
1380
|
queryParams?: Record<string, any>;
|
|
@@ -1397,7 +1396,7 @@ preserveLinebreaks?: boolean;
|
|
|
1397
1396
|
ellipses?: boolean;
|
|
1398
1397
|
overflowMode?: OverflowMode;
|
|
1399
1398
|
breakMode?: BreakMode;
|
|
1400
|
-
} & Partial<Pick<HTMLAnchorElement, "type" | "
|
|
1399
|
+
} & Partial<Pick<HTMLAnchorElement, "type" | "rel" | "target" | "download" | "referrerPolicy" | "ping" | "hreflang">> & RefAttributes<HTMLDivElement>>>;
|
|
1401
1400
|
|
|
1402
1401
|
declare type LITERAL = typeof T_LITERAL;
|
|
1403
1402
|
|
|
@@ -1426,7 +1425,7 @@ declare type LoggedInUserDto = {
|
|
|
1426
1425
|
|
|
1427
1426
|
declare type LogInteractionFn = (interaction: string, detail?: InteractionDetail) => void;
|
|
1428
1427
|
|
|
1429
|
-
declare const Logo: ForwardRefExoticComponent<LogoProps & RefAttributes<HTMLImageElement
|
|
1428
|
+
declare const Logo: MemoExoticComponent<ForwardRefExoticComponent<LogoProps & RefAttributes<HTMLImageElement>>>;
|
|
1430
1429
|
|
|
1431
1430
|
declare type LogoProps = {
|
|
1432
1431
|
alt?: string;
|
|
@@ -1500,7 +1499,7 @@ declare type MemoizedItemProps = {
|
|
|
1500
1499
|
functions?: Record<string, any>;
|
|
1501
1500
|
};
|
|
1502
1501
|
|
|
1503
|
-
declare const MenuItem: ForwardRefExoticComponent<Omit<MenuItemProps, "ref"> & RefAttributes<unknown
|
|
1502
|
+
declare const MenuItem: MemoExoticComponent<ForwardRefExoticComponent<Omit<MenuItemProps, "ref"> & RefAttributes<unknown>>>;
|
|
1504
1503
|
|
|
1505
1504
|
declare type MenuItemProps = {
|
|
1506
1505
|
icon?: ReactNode;
|
|
@@ -1525,14 +1524,41 @@ declare type Message = ValueOrFunction<Renderable, Toast>;
|
|
|
1525
1524
|
*/
|
|
1526
1525
|
declare type ModuleErrors = Record<string, ScriptParserErrorMessage[]>;
|
|
1527
1526
|
|
|
1528
|
-
declare
|
|
1527
|
+
declare interface NavHierarchyNode {
|
|
1528
|
+
/** The type of navigation node - either a clickable link or a grouping container */
|
|
1529
|
+
type: "NavLink" | "NavGroup";
|
|
1530
|
+
/** The display label/text for this navigation item */
|
|
1531
|
+
label: string;
|
|
1532
|
+
/** The URL/route path for navigation (present for NavLink and optional for NavGroup) */
|
|
1533
|
+
to?: string;
|
|
1534
|
+
/** Child navigation nodes nested under this node (only present for NavGroup types) */
|
|
1535
|
+
children?: NavHierarchyNode[];
|
|
1536
|
+
/** Optional icon name associated with this navigation item */
|
|
1537
|
+
icon?: string;
|
|
1538
|
+
/** Reference to the immediate parent node in the hierarchy (undefined for root-level nodes) */
|
|
1539
|
+
parent?: NavHierarchyNode;
|
|
1540
|
+
/** Array of ancestor nodes from root to this node, excluding this node itself (empty for root-level nodes) */
|
|
1541
|
+
pathSegments?: NavHierarchyNode[];
|
|
1542
|
+
/** Reference to the previous NavLink in the flattened navigation order */
|
|
1543
|
+
prevLink?: NavHierarchyNode;
|
|
1544
|
+
/** Reference to the next NavLink in the flattened navigation order */
|
|
1545
|
+
nextLink?: NavHierarchyNode;
|
|
1546
|
+
/** True if this is the first NavLink within its immediate parent container */
|
|
1547
|
+
firstLink?: boolean;
|
|
1548
|
+
/** True if this is the last NavLink within its immediate parent container */
|
|
1549
|
+
lastLink?: boolean;
|
|
1550
|
+
}
|
|
1551
|
+
|
|
1552
|
+
declare const NavPanelCollapseButton: NamedExoticComponent<NavPanelCollapseButtonProps>;
|
|
1553
|
+
|
|
1554
|
+
declare type NavPanelCollapseButtonProps = {
|
|
1529
1555
|
icon?: string;
|
|
1530
1556
|
iconCollapsed?: string;
|
|
1531
1557
|
"aria-label"?: string;
|
|
1532
1558
|
"aria-labelCollapsed"?: string;
|
|
1533
|
-
}
|
|
1559
|
+
};
|
|
1534
1560
|
|
|
1535
|
-
declare
|
|
1561
|
+
declare const NestedApp: NamedExoticComponent<NestedAppProps>;
|
|
1536
1562
|
|
|
1537
1563
|
declare type NestedAppProps = {
|
|
1538
1564
|
api?: any;
|
|
@@ -1648,6 +1674,8 @@ declare type ParserResult = {
|
|
|
1648
1674
|
*/
|
|
1649
1675
|
declare function parseScssVar(scssStr: any): any;
|
|
1650
1676
|
|
|
1677
|
+
declare const Part: NamedExoticComponent<Props_4>;
|
|
1678
|
+
|
|
1651
1679
|
declare type POSTFIX_OP_EXPRESSION = typeof T_POSTFIX_OP_EXPRESSION;
|
|
1652
1680
|
|
|
1653
1681
|
declare interface PostfixOpExpression extends ExpressionBase {
|
|
@@ -1705,27 +1733,6 @@ declare interface Props {
|
|
|
1705
1733
|
}
|
|
1706
1734
|
|
|
1707
1735
|
declare type Props_2 = {
|
|
1708
|
-
children: ReactNode;
|
|
1709
|
-
orientation?: string;
|
|
1710
|
-
uid?: string;
|
|
1711
|
-
horizontalAlignment?: string;
|
|
1712
|
-
verticalAlignment?: string;
|
|
1713
|
-
style?: CSSProperties;
|
|
1714
|
-
className?: string;
|
|
1715
|
-
classes?: Record<string, string>;
|
|
1716
|
-
reverse?: boolean;
|
|
1717
|
-
hoverContainer?: boolean;
|
|
1718
|
-
visibleOnHover?: boolean;
|
|
1719
|
-
scrollStyle?: ScrollStyle;
|
|
1720
|
-
showScrollerFade?: boolean;
|
|
1721
|
-
onClick?: any;
|
|
1722
|
-
onContextMenu?: any;
|
|
1723
|
-
onMount?: any;
|
|
1724
|
-
desktopOnly?: boolean;
|
|
1725
|
-
registerComponentApi?: (api: any) => void;
|
|
1726
|
-
};
|
|
1727
|
-
|
|
1728
|
-
declare type Props_3 = {
|
|
1729
1736
|
interceptor?: ApiInterceptorDefinition;
|
|
1730
1737
|
children: ReactNode;
|
|
1731
1738
|
parentInterceptorContext?: IApiInterceptorContext;
|
|
@@ -1741,7 +1748,7 @@ declare type Props_3 = {
|
|
|
1741
1748
|
* - Start/end adornments (icons and text)
|
|
1742
1749
|
* - Password visibility toggle option
|
|
1743
1750
|
*/
|
|
1744
|
-
declare type
|
|
1751
|
+
declare type Props_3 = {
|
|
1745
1752
|
id?: string;
|
|
1746
1753
|
type?: "text" | "password" | "search";
|
|
1747
1754
|
value?: string;
|
|
@@ -1789,6 +1796,11 @@ declare type Props_4 = {
|
|
|
1789
1796
|
invalidMessages?: string[];
|
|
1790
1797
|
};
|
|
1791
1798
|
|
|
1799
|
+
declare type Props_4 = {
|
|
1800
|
+
children: ReactNode;
|
|
1801
|
+
partId?: string;
|
|
1802
|
+
};
|
|
1803
|
+
|
|
1792
1804
|
declare type Props_5 = {
|
|
1793
1805
|
id?: string;
|
|
1794
1806
|
isRoot?: boolean;
|
|
@@ -1955,22 +1967,14 @@ declare type SizeType = (typeof sizeValues)[number];
|
|
|
1955
1967
|
|
|
1956
1968
|
declare const sizeValues: readonly ["xs", "sm", "md", "lg", "xl"];
|
|
1957
1969
|
|
|
1958
|
-
declare const Spinner: ForwardRefExoticComponent<
|
|
1959
|
-
|
|
1960
|
-
|
|
1961
|
-
|
|
1962
|
-
|
|
1963
|
-
style?: CSSProperties;
|
|
1964
|
-
classes?: Record<string, string>;
|
|
1965
|
-
className?: string;
|
|
1966
|
-
};
|
|
1967
|
-
|
|
1968
|
-
declare const Splitter: ({ initialPrimarySize, minPrimarySize, maxPrimarySize, orientation, children, style, className, classes, swapped, floating, splitterTemplate, resize, visibleChildCount, ...rest }: SplitterProps) => JSX_2.Element;
|
|
1970
|
+
declare const Spinner: MemoExoticComponent<ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & {
|
|
1971
|
+
delay?: number;
|
|
1972
|
+
fullScreen?: boolean;
|
|
1973
|
+
classes?: Record<string, string>;
|
|
1974
|
+
} & RefAttributes<HTMLDivElement>>>;
|
|
1969
1975
|
|
|
1970
|
-
declare
|
|
1971
|
-
children
|
|
1972
|
-
style?: default_2.CSSProperties;
|
|
1973
|
-
className?: string;
|
|
1976
|
+
declare const Splitter: default_2.MemoExoticComponent<default_2.ForwardRefExoticComponent<Omit<default_2.HTMLAttributes<HTMLDivElement>, "children"> & {
|
|
1977
|
+
children?: default_2.ReactNode;
|
|
1974
1978
|
classes?: Record<string, string>;
|
|
1975
1979
|
splitterTemplate?: default_2.ReactNode;
|
|
1976
1980
|
orientation?: OrientationOptions;
|
|
@@ -1981,7 +1985,7 @@ declare type SplitterProps = {
|
|
|
1981
1985
|
minPrimarySize?: string;
|
|
1982
1986
|
maxPrimarySize?: string;
|
|
1983
1987
|
visibleChildCount?: number;
|
|
1984
|
-
}
|
|
1988
|
+
} & default_2.RefAttributes<HTMLDivElement>>>;
|
|
1985
1989
|
|
|
1986
1990
|
declare type SPREAD_EXPRESSION = typeof T_SPREAD_EXPRESSION;
|
|
1987
1991
|
|
|
@@ -1990,7 +1994,23 @@ declare interface SpreadExpression extends ExpressionBase {
|
|
|
1990
1994
|
expr: Expression;
|
|
1991
1995
|
}
|
|
1992
1996
|
|
|
1993
|
-
declare const Stack: ForwardRefExoticComponent<
|
|
1997
|
+
declare const Stack: default_2.MemoExoticComponent<default_2.ForwardRefExoticComponent<Omit<default_2.HTMLAttributes<HTMLDivElement>, "onClick" | "onContextMenu"> & {
|
|
1998
|
+
orientation?: string;
|
|
1999
|
+
uid?: string;
|
|
2000
|
+
horizontalAlignment?: string;
|
|
2001
|
+
verticalAlignment?: string;
|
|
2002
|
+
classes?: Record<string, string>;
|
|
2003
|
+
reverse?: boolean;
|
|
2004
|
+
hoverContainer?: boolean;
|
|
2005
|
+
visibleOnHover?: boolean;
|
|
2006
|
+
scrollStyle?: ScrollStyle;
|
|
2007
|
+
showScrollerFade?: boolean;
|
|
2008
|
+
onClick?: AsyncFunction;
|
|
2009
|
+
onContextMenu?: AsyncFunction;
|
|
2010
|
+
onMount?: AsyncFunction;
|
|
2011
|
+
desktopOnly?: boolean;
|
|
2012
|
+
registerComponentApi?: (api: any) => void;
|
|
2013
|
+
} & default_2.RefAttributes<HTMLDivElement>>>;
|
|
1994
2014
|
|
|
1995
2015
|
/**
|
|
1996
2016
|
* This React component represents a standalone app that implements a web
|
|
@@ -2088,52 +2108,42 @@ declare const standaloneExports: {
|
|
|
2088
2108
|
tooltip?: string;
|
|
2089
2109
|
onClick?: default_2.MouseEventHandler;
|
|
2090
2110
|
} & default_2.RefAttributes<HTMLElement>>;
|
|
2091
|
-
Stack: default_2.ForwardRefExoticComponent<Omit<{
|
|
2092
|
-
children: default_2.ReactNode;
|
|
2111
|
+
Stack: default_2.ForwardRefExoticComponent<Omit<Omit<default_2.HTMLAttributes<HTMLDivElement>, "onClick" | "onContextMenu"> & {
|
|
2093
2112
|
orientation?: string;
|
|
2094
2113
|
uid?: string;
|
|
2095
2114
|
horizontalAlignment?: string;
|
|
2096
2115
|
verticalAlignment?: string;
|
|
2097
|
-
style?: default_2.CSSProperties;
|
|
2098
|
-
className?: string;
|
|
2099
2116
|
classes?: Record<string, string>;
|
|
2100
2117
|
reverse?: boolean;
|
|
2101
2118
|
hoverContainer?: boolean;
|
|
2102
2119
|
visibleOnHover?: boolean;
|
|
2103
2120
|
scrollStyle?: ScrollStyle_3;
|
|
2104
2121
|
showScrollerFade?: boolean;
|
|
2105
|
-
onClick?:
|
|
2106
|
-
onContextMenu?:
|
|
2107
|
-
onMount?:
|
|
2122
|
+
onClick?: AsyncFunction_2;
|
|
2123
|
+
onContextMenu?: AsyncFunction_2;
|
|
2124
|
+
onMount?: AsyncFunction_2;
|
|
2108
2125
|
desktopOnly?: boolean;
|
|
2109
2126
|
registerComponentApi?: (api: any) => void;
|
|
2110
|
-
} & default_2.RefAttributes<
|
|
2127
|
+
} & default_2.RefAttributes<HTMLDivElement> & {
|
|
2111
2128
|
className?: string;
|
|
2112
2129
|
}, "ref"> & default_2.RefAttributes<HTMLDivElement>>;
|
|
2113
|
-
Button: default_2.ForwardRefExoticComponent<Omit<{
|
|
2114
|
-
id?: string;
|
|
2130
|
+
Button: default_2.ForwardRefExoticComponent<Omit<Omit<default_2.ButtonHTMLAttributes<HTMLButtonElement>, "type" | "form"> & {
|
|
2115
2131
|
type?: ButtonType_2;
|
|
2116
2132
|
variant?: ButtonVariant_2;
|
|
2117
2133
|
themeColor?: ButtonThemeColor_2;
|
|
2118
2134
|
size?: SizeType_2;
|
|
2119
|
-
disabled?: boolean;
|
|
2120
|
-
children?: default_2.ReactNode;
|
|
2121
2135
|
icon?: default_2.ReactNode;
|
|
2122
2136
|
iconPosition?: IconPosition_2;
|
|
2123
2137
|
contentPosition?: AlignmentOptions_2;
|
|
2124
2138
|
orientation?: OrientationOptions_2;
|
|
2125
2139
|
formId?: string;
|
|
2126
|
-
style?: default_2.CSSProperties;
|
|
2127
|
-
autoFocus?: boolean;
|
|
2128
2140
|
contextualLabel?: string;
|
|
2129
2141
|
classes?: Record<string, string>;
|
|
2130
|
-
} &
|
|
2142
|
+
} & default_2.RefAttributes<HTMLButtonElement> & {
|
|
2131
2143
|
className?: string;
|
|
2132
2144
|
}, "ref"> & default_2.RefAttributes<HTMLButtonElement>>;
|
|
2133
|
-
Splitter:
|
|
2134
|
-
children
|
|
2135
|
-
style?: default_2.CSSProperties;
|
|
2136
|
-
className?: string;
|
|
2145
|
+
Splitter: default_2.MemoExoticComponent<default_2.ForwardRefExoticComponent<Omit<default_2.HTMLAttributes<HTMLDivElement>, "children"> & {
|
|
2146
|
+
children?: default_2.ReactNode;
|
|
2137
2147
|
classes?: Record<string, string>;
|
|
2138
2148
|
splitterTemplate?: default_2.ReactNode;
|
|
2139
2149
|
orientation?: OrientationOptions_2;
|
|
@@ -2144,10 +2154,10 @@ declare const standaloneExports: {
|
|
|
2144
2154
|
minPrimarySize?: string;
|
|
2145
2155
|
maxPrimarySize?: string;
|
|
2146
2156
|
visibleChildCount?: number;
|
|
2147
|
-
}
|
|
2157
|
+
} & default_2.RefAttributes<HTMLDivElement>>>;
|
|
2148
2158
|
getColor: typeof xmluiExports.getColor;
|
|
2149
2159
|
TabItem: default_2.ForwardRefExoticComponent<Omit<Tab_2 & default_2.RefAttributes<HTMLDivElement>, "ref"> & default_2.RefAttributes<HTMLDivElement>>;
|
|
2150
|
-
Tabs: default_2.ForwardRefExoticComponent<Omit<{
|
|
2160
|
+
Tabs: default_2.ForwardRefExoticComponent<Omit<Omit<default_2.HTMLAttributes<HTMLDivElement>, "onContextMenu"> & {
|
|
2151
2161
|
id?: string;
|
|
2152
2162
|
activeTab?: number;
|
|
2153
2163
|
orientation?: "horizontal" | "vertical";
|
|
@@ -2159,10 +2169,7 @@ declare const standaloneExports: {
|
|
|
2159
2169
|
label: string;
|
|
2160
2170
|
isActive: boolean;
|
|
2161
2171
|
}) => default_2.ReactNode;
|
|
2162
|
-
style?: default_2.CSSProperties;
|
|
2163
|
-
children?: default_2.ReactNode;
|
|
2164
2172
|
registerComponentApi?: xmluiExports.RegisterComponentApiFn;
|
|
2165
|
-
className?: string;
|
|
2166
2173
|
classes?: Record<string, string>;
|
|
2167
2174
|
distributeEvenly?: boolean;
|
|
2168
2175
|
onDidChange?: (index: number, id: string, label: string) => void;
|
|
@@ -2183,34 +2190,29 @@ declare const standaloneExports: {
|
|
|
2183
2190
|
errReportComponent: typeof xmluiExports.errReportComponent;
|
|
2184
2191
|
xmlUiMarkupToComponent: typeof xmluiExports.xmlUiMarkupToComponent;
|
|
2185
2192
|
ApiInterceptorProvider: typeof xmluiExports.ApiInterceptorProvider;
|
|
2186
|
-
Spinner: default_2.ForwardRefExoticComponent<Omit<Omit<{
|
|
2193
|
+
Spinner: default_2.ForwardRefExoticComponent<Omit<Omit<default_2.HTMLAttributes<HTMLDivElement> & {
|
|
2187
2194
|
delay?: number;
|
|
2188
2195
|
fullScreen?: boolean;
|
|
2189
|
-
style?: default_2.CSSProperties;
|
|
2190
2196
|
classes?: Record<string, string>;
|
|
2191
|
-
className?: string;
|
|
2192
2197
|
} & default_2.RefAttributes<HTMLDivElement>, "classes"> & {
|
|
2193
2198
|
className?: string;
|
|
2194
2199
|
}, "ref"> & default_2.RefAttributes<HTMLDivElement>>;
|
|
2195
2200
|
useThemes: typeof xmluiExports.useThemes;
|
|
2196
2201
|
builtInThemes: xmluiExports.ThemeDefinition[];
|
|
2197
2202
|
XmlUiHelper: typeof xmluiExports.XmlUiHelper;
|
|
2198
|
-
Text: default_2.ForwardRefExoticComponent<Omit<Omit<{
|
|
2203
|
+
Text: default_2.ForwardRefExoticComponent<Omit<Omit<Omit<default_2.HTMLAttributes<HTMLElement>, "onContextMenu"> & {
|
|
2199
2204
|
[variantSpecificProps: string]: any;
|
|
2200
2205
|
uid?: string;
|
|
2201
|
-
children?: default_2.ReactNode;
|
|
2202
2206
|
variant?: TextVariant_2;
|
|
2203
2207
|
maxLines?: number;
|
|
2204
2208
|
preserveLinebreaks?: boolean;
|
|
2205
2209
|
ellipses?: boolean;
|
|
2206
2210
|
overflowMode?: OverflowMode_2;
|
|
2207
2211
|
breakMode?: BreakMode_2;
|
|
2208
|
-
style?: default_2.CSSProperties;
|
|
2209
|
-
className?: string;
|
|
2210
2212
|
classes?: Record<string, string>;
|
|
2211
2213
|
onContextMenu?: any;
|
|
2212
2214
|
registerComponentApi?: xmluiExports.RegisterComponentApiFn;
|
|
2213
|
-
}, "ref"> & default_2.RefAttributes<
|
|
2215
|
+
}, "ref"> & default_2.RefAttributes<HTMLElement> & {
|
|
2214
2216
|
className?: string;
|
|
2215
2217
|
}, "ref"> & default_2.RefAttributes<HTMLElement>>;
|
|
2216
2218
|
TextBox: default_2.ForwardRefExoticComponent<Omit<{
|
|
@@ -2250,7 +2252,19 @@ declare const standaloneExports: {
|
|
|
2250
2252
|
} & default_2.RefAttributes<HTMLDivElement> & {
|
|
2251
2253
|
className?: string;
|
|
2252
2254
|
}, "ref"> & default_2.RefAttributes<HTMLDivElement>>;
|
|
2253
|
-
NestedApp:
|
|
2255
|
+
NestedApp: default_2.NamedExoticComponent<{
|
|
2256
|
+
api?: any;
|
|
2257
|
+
app: string;
|
|
2258
|
+
components?: any[];
|
|
2259
|
+
config?: any;
|
|
2260
|
+
activeTone?: xmluiExports.ThemeTone;
|
|
2261
|
+
activeTheme?: string;
|
|
2262
|
+
height?: string | number;
|
|
2263
|
+
style?: default_2.CSSProperties;
|
|
2264
|
+
refreshVersion?: number;
|
|
2265
|
+
withSplashScreen?: boolean;
|
|
2266
|
+
className?: string;
|
|
2267
|
+
}>;
|
|
2254
2268
|
VisuallyHidden: ({ children, ...props }: {
|
|
2255
2269
|
children: default_2.ReactNode;
|
|
2256
2270
|
}) => default_3.JSX.Element;
|
|
@@ -2276,9 +2290,10 @@ declare const standaloneExports: {
|
|
|
2276
2290
|
ellipses?: boolean;
|
|
2277
2291
|
overflowMode?: OverflowMode_2;
|
|
2278
2292
|
breakMode?: BreakMode_2;
|
|
2279
|
-
} & Partial<Pick<HTMLAnchorElement, "type" | "
|
|
2293
|
+
} & Partial<Pick<HTMLAnchorElement, "type" | "rel" | "target" | "download" | "referrerPolicy" | "ping" | "hreflang">> & default_2.RefAttributes<HTMLDivElement> & {
|
|
2280
2294
|
className?: string;
|
|
2281
2295
|
}, "ref"> & default_2.RefAttributes<HTMLDivElement>>;
|
|
2296
|
+
useLinkInfo: typeof xmluiExports.useLinkInfo;
|
|
2282
2297
|
Heading: default_2.ForwardRefExoticComponent<Omit<Omit<HeadingProps_2, "ref"> & default_2.RefAttributes<HTMLHeadingElement> & {
|
|
2283
2298
|
className?: string;
|
|
2284
2299
|
}, "ref"> & default_2.RefAttributes<HTMLHeadingElement>>;
|
|
@@ -2294,9 +2309,9 @@ declare const standaloneExports: {
|
|
|
2294
2309
|
animation?: object;
|
|
2295
2310
|
inline?: boolean;
|
|
2296
2311
|
grayscale?: boolean;
|
|
2297
|
-
} & Pick<default_2.HTMLAttributes<HTMLImageElement>, "onClick"> & default_2.RefAttributes<
|
|
2312
|
+
} & Pick<default_2.HTMLAttributes<HTMLImageElement>, "onClick"> & default_2.RefAttributes<HTMLImageElement>, "ref"> & {
|
|
2298
2313
|
classes?: Record<string, string>;
|
|
2299
|
-
} & default_2.RefAttributes<
|
|
2314
|
+
} & default_2.RefAttributes<HTMLImageElement>>;
|
|
2300
2315
|
Markdown: default_2.ForwardRefExoticComponent<Omit<{
|
|
2301
2316
|
removeIndents?: boolean;
|
|
2302
2317
|
removeBr?: boolean;
|
|
@@ -2313,9 +2328,7 @@ declare const standaloneExports: {
|
|
|
2313
2328
|
breakMode?: BreakMode_2;
|
|
2314
2329
|
anchorRenderer?: (anchorId: string, anchorHref: string) => default_2.ReactNode;
|
|
2315
2330
|
} & default_2.RefAttributes<HTMLDivElement>, "ref"> & default_2.RefAttributes<HTMLDivElement>>;
|
|
2316
|
-
TableOfContents: default_2.ForwardRefExoticComponent<Omit<{
|
|
2317
|
-
style?: default_2.CSSProperties;
|
|
2318
|
-
className?: string;
|
|
2331
|
+
TableOfContents: default_2.ForwardRefExoticComponent<Omit<Omit<default_2.HTMLAttributes<HTMLElement>, "onContextMenu"> & {
|
|
2319
2332
|
smoothScrolling?: boolean;
|
|
2320
2333
|
maxHeadingLevel?: number;
|
|
2321
2334
|
omitH1?: boolean;
|
|
@@ -2348,16 +2361,29 @@ declare const standaloneExports: {
|
|
|
2348
2361
|
forceBreak?: boolean;
|
|
2349
2362
|
} & default_2.RefAttributes<unknown>>;
|
|
2350
2363
|
COMPONENT_PART_KEY: "-component";
|
|
2364
|
+
Part: default_2.NamedExoticComponent<{
|
|
2365
|
+
children: default_2.ReactNode;
|
|
2366
|
+
partId?: string;
|
|
2367
|
+
}>;
|
|
2351
2368
|
useAppContext: typeof xmluiExports.useAppContext;
|
|
2352
|
-
ToneChangerButton:
|
|
2353
|
-
|
|
2354
|
-
|
|
2369
|
+
ToneChangerButton: default_2.NamedExoticComponent<{
|
|
2370
|
+
lightToDarkIcon?: string;
|
|
2371
|
+
darkToLightIcon?: string;
|
|
2372
|
+
onClick?: (tone: string) => void;
|
|
2373
|
+
}>;
|
|
2374
|
+
NavPanelCollapseButton: default_2.NamedExoticComponent<{
|
|
2375
|
+
icon?: string;
|
|
2376
|
+
iconCollapsed?: string;
|
|
2377
|
+
"aria-label"?: string;
|
|
2378
|
+
"aria-labelCollapsed"?: string;
|
|
2379
|
+
}>;
|
|
2380
|
+
Logo: default_2.MemoExoticComponent<default_2.ForwardRefExoticComponent<{
|
|
2355
2381
|
alt?: string;
|
|
2356
2382
|
style?: default_2.CSSProperties;
|
|
2357
2383
|
className?: string;
|
|
2358
2384
|
classes?: Record<string, string>;
|
|
2359
2385
|
inline?: boolean;
|
|
2360
|
-
} & default_2.RefAttributes<HTMLImageElement
|
|
2386
|
+
} & default_2.RefAttributes<HTMLImageElement>>>;
|
|
2361
2387
|
useSearchContextContent: () => Record<string, xmluiExports.SearchItemData>;
|
|
2362
2388
|
useAppLayoutContext: typeof xmluiExports.useAppLayoutContext;
|
|
2363
2389
|
useComponentThemeClass: typeof xmluiExports.useComponentThemeClass;
|
|
@@ -2366,16 +2392,14 @@ declare const standaloneExports: {
|
|
|
2366
2392
|
useEvent: UseEventOverload_2;
|
|
2367
2393
|
StandaloneComponent: typeof xmluiExports.StandaloneComponent;
|
|
2368
2394
|
Theme: typeof xmluiExports.Theme;
|
|
2369
|
-
ToneSwitch: default_2.ForwardRefExoticComponent<ToneSwitchProps_2 & default_2.RefAttributes<HTMLDivElement
|
|
2370
|
-
Tooltip: default_2.ForwardRefExoticComponent<TooltipOptions_2 & {
|
|
2395
|
+
ToneSwitch: default_2.MemoExoticComponent<default_2.ForwardRefExoticComponent<ToneSwitchProps_2 & default_2.RefAttributes<HTMLDivElement>>>;
|
|
2396
|
+
Tooltip: default_2.MemoExoticComponent<default_2.ForwardRefExoticComponent<TooltipOptions_2 & default_2.HTMLAttributes<HTMLDivElement> & {
|
|
2371
2397
|
open?: boolean;
|
|
2372
2398
|
text: string;
|
|
2373
2399
|
markdown?: string;
|
|
2374
2400
|
tooltipTemplate?: default_2.ReactNode;
|
|
2375
|
-
children?: default_2.ReactNode;
|
|
2376
|
-
className?: string;
|
|
2377
2401
|
classes?: Record<string, string>;
|
|
2378
|
-
} & default_2.RefAttributes<HTMLDivElement
|
|
2402
|
+
} & default_2.RefAttributes<HTMLDivElement>>>;
|
|
2379
2403
|
DropdownMenu: default_2.ForwardRefExoticComponent<Omit<{
|
|
2380
2404
|
triggerTemplate?: default_2.ReactNode;
|
|
2381
2405
|
children?: default_2.ReactNode;
|
|
@@ -2414,7 +2438,7 @@ declare const standaloneExports: {
|
|
|
2414
2438
|
}, "ref"> & default_2.RefAttributes<unknown> & {
|
|
2415
2439
|
className?: string;
|
|
2416
2440
|
}, "ref"> & default_2.RefAttributes<HTMLDivElement>>;
|
|
2417
|
-
ContentSeparator: default_2.ForwardRefExoticComponent<{
|
|
2441
|
+
ContentSeparator: default_2.MemoExoticComponent<default_2.ForwardRefExoticComponent<{
|
|
2418
2442
|
thickness?: number | string;
|
|
2419
2443
|
length?: number | string;
|
|
2420
2444
|
orientation?: string;
|
|
@@ -2422,7 +2446,7 @@ declare const standaloneExports: {
|
|
|
2422
2446
|
style?: default_2.CSSProperties;
|
|
2423
2447
|
classes?: Record<string, string>;
|
|
2424
2448
|
className?: string;
|
|
2425
|
-
} & default_2.RefAttributes<HTMLDivElement
|
|
2449
|
+
} & default_2.RefAttributes<HTMLDivElement>>>;
|
|
2426
2450
|
MemoizedItem: default_2.MemoExoticComponent<({ node, renderChild, layoutContext, contextVars, vars, functions, }: {
|
|
2427
2451
|
node: xmluiExports.ComponentDef | Array<xmluiExports.ComponentDef>;
|
|
2428
2452
|
renderChild: RenderChildFn_2;
|
|
@@ -2691,21 +2715,18 @@ declare interface TemplateLiteralExpression extends ExpressionBase {
|
|
|
2691
2715
|
segments: (Literal | Expression)[];
|
|
2692
2716
|
}
|
|
2693
2717
|
|
|
2694
|
-
declare const Text_2: default_2.ForwardRefExoticComponent<Omit<TextProps, "ref"> & default_2.RefAttributes<
|
|
2718
|
+
declare const Text_2: default_2.MemoExoticComponent<default_2.ForwardRefExoticComponent<Omit<TextProps, "ref"> & default_2.RefAttributes<HTMLElement>>>;
|
|
2695
2719
|
|
|
2696
|
-
declare const TextBox: default_2.ForwardRefExoticComponent<
|
|
2720
|
+
declare const TextBox: default_2.MemoExoticComponent<default_2.ForwardRefExoticComponent<Props_3 & default_2.RefAttributes<HTMLDivElement>>>;
|
|
2697
2721
|
|
|
2698
|
-
declare type TextProps = {
|
|
2722
|
+
declare type TextProps = Omit<default_2.HTMLAttributes<HTMLElement>, "onContextMenu"> & {
|
|
2699
2723
|
uid?: string;
|
|
2700
|
-
children?: default_2.ReactNode;
|
|
2701
2724
|
variant?: TextVariant;
|
|
2702
2725
|
maxLines?: number;
|
|
2703
2726
|
preserveLinebreaks?: boolean;
|
|
2704
2727
|
ellipses?: boolean;
|
|
2705
2728
|
overflowMode?: OverflowMode;
|
|
2706
2729
|
breakMode?: BreakMode;
|
|
2707
|
-
style?: CSSProperties;
|
|
2708
|
-
className?: string;
|
|
2709
2730
|
classes?: Record<string, string>;
|
|
2710
2731
|
onContextMenu?: any;
|
|
2711
2732
|
registerComponentApi?: RegisterComponentApiFn;
|
|
@@ -2785,9 +2806,9 @@ declare const ThemedImage: default_2.ForwardRefExoticComponent<Omit<{
|
|
|
2785
2806
|
animation?: object;
|
|
2786
2807
|
inline?: boolean;
|
|
2787
2808
|
grayscale?: boolean;
|
|
2788
|
-
} & Pick<default_2.HTMLAttributes<HTMLImageElement>, "onClick"> & default_2.RefAttributes<
|
|
2809
|
+
} & Pick<default_2.HTMLAttributes<HTMLImageElement>, "onClick"> & default_2.RefAttributes<HTMLImageElement>, "ref"> & {
|
|
2789
2810
|
classes?: Record<string, string>;
|
|
2790
|
-
} & default_2.RefAttributes<
|
|
2811
|
+
} & default_2.RefAttributes<HTMLImageElement>>;
|
|
2791
2812
|
|
|
2792
2813
|
declare const ThemedLinkNative: default_2.ForwardRefExoticComponent<Omit<ThemedLinkNativeProps, "ref"> & default_2.RefAttributes<HTMLDivElement>>;
|
|
2793
2814
|
|
|
@@ -2835,9 +2856,7 @@ declare type ThemedStackProps = default_2.ComponentProps<typeof Stack> & {
|
|
|
2835
2856
|
|
|
2836
2857
|
declare const ThemedTabItem: default_2.ForwardRefExoticComponent<Omit<Tab & default_2.RefAttributes<HTMLDivElement>, "ref"> & default_2.RefAttributes<HTMLDivElement>>;
|
|
2837
2858
|
|
|
2838
|
-
declare const ThemedTableOfContents: default_2.ForwardRefExoticComponent<Omit<{
|
|
2839
|
-
style?: default_2.CSSProperties;
|
|
2840
|
-
className?: string;
|
|
2859
|
+
declare const ThemedTableOfContents: default_2.ForwardRefExoticComponent<Omit<Omit<default_2.HTMLAttributes<HTMLElement>, "onContextMenu"> & {
|
|
2841
2860
|
smoothScrolling?: boolean;
|
|
2842
2861
|
maxHeadingLevel?: number;
|
|
2843
2862
|
omitH1?: boolean;
|
|
@@ -2846,7 +2865,7 @@ declare const ThemedTableOfContents: default_2.ForwardRefExoticComponent<Omit<{
|
|
|
2846
2865
|
showScrollerFade?: boolean;
|
|
2847
2866
|
} & default_2.RefAttributes<HTMLDivElement>, "ref"> & default_2.RefAttributes<HTMLDivElement>>;
|
|
2848
2867
|
|
|
2849
|
-
declare const ThemedTabs: default_2.ForwardRefExoticComponent<Omit<{
|
|
2868
|
+
declare const ThemedTabs: default_2.ForwardRefExoticComponent<Omit<Omit<default_2.HTMLAttributes<HTMLDivElement>, "onContextMenu"> & {
|
|
2850
2869
|
id?: string;
|
|
2851
2870
|
activeTab?: number;
|
|
2852
2871
|
orientation?: "horizontal" | "vertical";
|
|
@@ -2858,10 +2877,7 @@ declare const ThemedTabs: default_2.ForwardRefExoticComponent<Omit<{
|
|
|
2858
2877
|
label: string;
|
|
2859
2878
|
isActive: boolean;
|
|
2860
2879
|
}) => default_2.ReactNode;
|
|
2861
|
-
style?: default_2.CSSProperties;
|
|
2862
|
-
children?: default_2.ReactNode;
|
|
2863
2880
|
registerComponentApi?: RegisterComponentApiFn_2;
|
|
2864
|
-
className?: string;
|
|
2865
2881
|
classes?: Record<string, string>;
|
|
2866
2882
|
distributeEvenly?: boolean;
|
|
2867
2883
|
onDidChange?: (index: number, id: string, label: string) => void;
|
|
@@ -2980,23 +2996,23 @@ declare enum TokenType {
|
|
|
2980
2996
|
SignedShiftRight = 55,
|
|
2981
2997
|
Dot = 56,
|
|
2982
2998
|
Spread = 57,
|
|
2983
|
-
|
|
2984
|
-
|
|
2985
|
-
|
|
2986
|
-
|
|
2987
|
-
|
|
2988
|
-
|
|
2989
|
-
|
|
2990
|
-
|
|
2991
|
-
|
|
2992
|
-
|
|
2993
|
-
|
|
2994
|
-
|
|
2995
|
-
|
|
2996
|
-
|
|
2997
|
-
|
|
2998
|
-
|
|
2999
|
-
|
|
2999
|
+
Backtick = 58,
|
|
3000
|
+
DollarLBrace = 59,
|
|
3001
|
+
Arrow = 60,
|
|
3002
|
+
DecimalLiteral = 61,
|
|
3003
|
+
HexadecimalLiteral = 62,
|
|
3004
|
+
BinaryLiteral = 63,
|
|
3005
|
+
RealLiteral = 64,
|
|
3006
|
+
StringLiteral = 65,
|
|
3007
|
+
Infinity = 66,
|
|
3008
|
+
NaN = 67,
|
|
3009
|
+
True = 68,
|
|
3010
|
+
False = 69,
|
|
3011
|
+
Typeof = 70,
|
|
3012
|
+
Null = 71,
|
|
3013
|
+
Undefined = 72,
|
|
3014
|
+
In = 73,
|
|
3015
|
+
Instanceof = 74,
|
|
3000
3016
|
Let = 75,
|
|
3001
3017
|
Const = 76,
|
|
3002
3018
|
Var = 77,
|
|
@@ -3024,49 +3040,41 @@ declare enum TokenType {
|
|
|
3024
3040
|
From = 99
|
|
3025
3041
|
}
|
|
3026
3042
|
|
|
3027
|
-
declare
|
|
3028
|
-
|
|
3029
|
-
|
|
3030
|
-
|
|
3031
|
-
}
|
|
3043
|
+
declare const ToneChangerButton: NamedExoticComponent< {
|
|
3044
|
+
lightToDarkIcon?: string;
|
|
3045
|
+
darkToLightIcon?: string;
|
|
3046
|
+
onClick?: (tone: string) => void;
|
|
3047
|
+
}>;
|
|
3032
3048
|
|
|
3033
|
-
declare const ToneSwitch: ForwardRefExoticComponent<ToneSwitchProps & RefAttributes<HTMLDivElement
|
|
3049
|
+
declare const ToneSwitch: MemoExoticComponent<ForwardRefExoticComponent<ToneSwitchProps & RefAttributes<HTMLDivElement>>>;
|
|
3034
3050
|
|
|
3035
3051
|
declare type ToneSwitchProps = {
|
|
3036
3052
|
iconLight?: string;
|
|
3037
3053
|
iconDark?: string;
|
|
3038
3054
|
className?: string;
|
|
3039
3055
|
classes?: Record<string, string>;
|
|
3040
|
-
|
|
3056
|
+
onDidChange?: (tone: "light" | "dark") => void;
|
|
3041
3057
|
};
|
|
3042
3058
|
|
|
3043
|
-
declare const Tooltip: ForwardRefExoticComponent<TooltipOptions & {
|
|
3044
|
-
/**
|
|
3045
|
-
* The open state of the tooltip externally controlled
|
|
3046
|
-
*/
|
|
3047
|
-
open?: boolean;
|
|
3048
|
-
/**
|
|
3049
|
-
* The text content to display in the tooltip
|
|
3050
|
-
*/
|
|
3051
|
-
text: string;
|
|
3052
|
-
/**
|
|
3053
|
-
* The markdown content to display in the tooltip
|
|
3054
|
-
*/
|
|
3055
|
-
markdown?: string;
|
|
3056
|
-
/**
|
|
3057
|
-
* The template for the tooltip content
|
|
3058
|
-
*/
|
|
3059
|
-
tooltipTemplate?: ReactNode;
|
|
3060
|
-
|
|
3061
|
-
|
|
3062
|
-
*/
|
|
3063
|
-
children?: ReactNode;
|
|
3064
|
-
/**
|
|
3065
|
-
* Optional extra CSS class names to apply to the tooltip content element
|
|
3066
|
-
*/
|
|
3067
|
-
className?: string;
|
|
3068
|
-
classes?: Record<string, string>;
|
|
3069
|
-
} & RefAttributes<HTMLDivElement>>;
|
|
3059
|
+
declare const Tooltip: default_2.MemoExoticComponent<default_2.ForwardRefExoticComponent<TooltipOptions & default_2.HTMLAttributes<HTMLDivElement> & {
|
|
3060
|
+
/**
|
|
3061
|
+
* The open state of the tooltip externally controlled
|
|
3062
|
+
*/
|
|
3063
|
+
open?: boolean;
|
|
3064
|
+
/**
|
|
3065
|
+
* The text content to display in the tooltip
|
|
3066
|
+
*/
|
|
3067
|
+
text: string;
|
|
3068
|
+
/**
|
|
3069
|
+
* The markdown content to display in the tooltip
|
|
3070
|
+
*/
|
|
3071
|
+
markdown?: string;
|
|
3072
|
+
/**
|
|
3073
|
+
* The template for the tooltip content
|
|
3074
|
+
*/
|
|
3075
|
+
tooltipTemplate?: default_2.ReactNode;
|
|
3076
|
+
classes?: Record<string, string>;
|
|
3077
|
+
} & default_2.RefAttributes<HTMLDivElement>>>;
|
|
3070
3078
|
|
|
3071
3079
|
declare type TooltipOptions = {
|
|
3072
3080
|
/**
|
|
@@ -3183,6 +3191,8 @@ declare interface UseEventOverload {
|
|
|
3183
3191
|
<TF extends callbackType>(callback: TF): any;
|
|
3184
3192
|
}
|
|
3185
3193
|
|
|
3194
|
+
declare function useLinkInfo(): NavHierarchyNode | undefined;
|
|
3195
|
+
|
|
3186
3196
|
declare const useLogger: () => LogContextType;
|
|
3187
3197
|
|
|
3188
3198
|
declare function useOption(): OptionContextValue;
|
|
@@ -3451,6 +3461,7 @@ declare namespace xmluiExports {
|
|
|
3451
3461
|
ThemeTone,
|
|
3452
3462
|
XmlUiNode,
|
|
3453
3463
|
SearchItemData,
|
|
3464
|
+
NavHierarchyNode,
|
|
3454
3465
|
StandaloneApp,
|
|
3455
3466
|
StandaloneExtensionManager,
|
|
3456
3467
|
createComponentRenderer,
|
|
@@ -3521,6 +3532,7 @@ declare namespace xmluiExports {
|
|
|
3521
3532
|
NestedApp,
|
|
3522
3533
|
VisuallyHidden,
|
|
3523
3534
|
ThemedLinkNative as LinkNative,
|
|
3535
|
+
useLinkInfo,
|
|
3524
3536
|
ThemedHeading as Heading,
|
|
3525
3537
|
ThemedImage as Image,
|
|
3526
3538
|
ThemedMarkdown as Markdown,
|
|
@@ -3528,6 +3540,7 @@ declare namespace xmluiExports {
|
|
|
3528
3540
|
ThemedFlowLayout as FlowLayout,
|
|
3529
3541
|
FlowItemWrapper,
|
|
3530
3542
|
COMPONENT_PART_KEY,
|
|
3543
|
+
Part,
|
|
3531
3544
|
useAppContext,
|
|
3532
3545
|
ToneChangerButton,
|
|
3533
3546
|
NavPanelCollapseButton,
|