@sheetxl/utils-mui 0.1.94 → 0.1.96
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/build/browser/cjs/C4VeeJRcC5Iq6Zor.cjs +6 -0
- package/build/browser/cjs/DXIbjwvWA0L77BaT.cjs +46 -0
- package/build/browser/cjs/index.cjs +7 -0
- package/build/browser/esm/BuqGETn2tFbFBd7e.mjs +5381 -0
- package/build/browser/esm/index.mjs +249 -0
- package/build/browser/esm/nyNkTlM00EPN8cx7.mjs +43 -0
- package/build/licenses/dependencies.txt +594 -0
- package/build/node/assets/style.css +1 -0
- package/build/node/esm/DRNPAmvHJDNvm0zs.mjs +44 -0
- package/build/node/esm/index.mjs +2528 -0
- package/build/package.json +60 -0
- package/build/types/index.d.ts +1340 -0
- package/package.json +5 -5
|
@@ -0,0 +1,1340 @@
|
|
|
1
|
+
import { BoxProps } from '@mui/material';
|
|
2
|
+
import { CommandButtonType } from '@sheetxl/utils-react';
|
|
3
|
+
import { Components } from '@mui/material/styles';
|
|
4
|
+
import { ComponentsOverrides } from '@mui/material/styles';
|
|
5
|
+
import { ComponentsProps } from '@mui/material/styles';
|
|
6
|
+
import { ComponentsPropsList } from '@mui/material/styles';
|
|
7
|
+
import { ComponentsVariants } from '@mui/material/styles';
|
|
8
|
+
import { default as default_2 } from 'react';
|
|
9
|
+
import { DialogProps } from '@mui/material';
|
|
10
|
+
import { Dimensions } from '@sheetxl/utils';
|
|
11
|
+
import { DividerProps } from '@mui/material';
|
|
12
|
+
import { DraggableEventHandler } from 'react-draggable';
|
|
13
|
+
import { ICommand } from '@sheetxl/utils-react';
|
|
14
|
+
import { ICommandHook } from '@sheetxl/utils-react';
|
|
15
|
+
import { ICommands } from '@sheetxl/utils-react';
|
|
16
|
+
import { IconButtonProps } from '@mui/material';
|
|
17
|
+
import { IKeyStroke } from '@sheetxl/utils-react';
|
|
18
|
+
import { InputOptionsNotificationOptions } from '@sheetxl/utils-react';
|
|
19
|
+
import { Instance } from '@popperjs/core';
|
|
20
|
+
import { Interpolation } from '@mui/material/styles';
|
|
21
|
+
import { JSX } from 'react/jsx-runtime';
|
|
22
|
+
import { MenuItemProps } from '@mui/material';
|
|
23
|
+
import { ModalProps } from '@mui/material';
|
|
24
|
+
import { default as ModalProvider } from 'mui-modal-provider';
|
|
25
|
+
import { OptionsNotificationOptions } from '@sheetxl/utils-react';
|
|
26
|
+
import { PaperProps } from '@mui/material';
|
|
27
|
+
import { Point } from '@sheetxl/utils';
|
|
28
|
+
import { PopperProps } from '@mui/material';
|
|
29
|
+
import { ScrollButtonProps } from '@sheetxl/utils-react';
|
|
30
|
+
import { SvgIconProps } from '@mui/material';
|
|
31
|
+
import { SxProps } from '@mui/system';
|
|
32
|
+
import { Theme } from '@mui/material/styles';
|
|
33
|
+
import { Theme as Theme_2 } from '@mui/system';
|
|
34
|
+
import { ThemeOptions } from '@mui/material/styles';
|
|
35
|
+
import { ToolbarProps } from '@mui/material';
|
|
36
|
+
import { TooltipProps } from '@mui/material';
|
|
37
|
+
import { TransitionProps } from '@mui/material/transitions';
|
|
38
|
+
import { TypographyProps } from '@mui/material';
|
|
39
|
+
import { UseModalOptions } from 'mui-modal-provider';
|
|
40
|
+
|
|
41
|
+
export declare const AnimatedBouncingEllipsisIcon: default_2.FC<AnimatedIconProps>;
|
|
42
|
+
|
|
43
|
+
export declare const AnimatedCircleIcon: default_2.FC<AnimatedIconProps>;
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* These super animated icons are from https://codepen.io/nikhil8krishnan. MIT attribution. Thank you Nikhil Krishnan
|
|
47
|
+
*
|
|
48
|
+
* Note - Currently svg animations do not animate if the main thread is blocked.
|
|
49
|
+
* https://codepen.io/mtf2000/pen/oNPwzap
|
|
50
|
+
*/
|
|
51
|
+
export declare const AnimatedClockIcon: default_2.FC<AnimatedIconProps>;
|
|
52
|
+
|
|
53
|
+
export declare const AnimatedFadingEllipsisIcon: default_2.FC<AnimatedIconProps>;
|
|
54
|
+
|
|
55
|
+
export declare interface AnimatedIconProps extends BoxProps {
|
|
56
|
+
speed?: number;
|
|
57
|
+
size?: number;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export declare const AnimatedOrbitIcon: default_2.FC<AnimatedIconProps>;
|
|
61
|
+
|
|
62
|
+
/**
|
|
63
|
+
* This is the only AnimatedIcon that works with a blocking ui.
|
|
64
|
+
* Note - currently this has a hardcoded bounds of 61x13
|
|
65
|
+
*/
|
|
66
|
+
export declare const AnimatedTraversingEllipsisIcon: default_2.FC<AnimatedTraversingEllipsisIconProps>;
|
|
67
|
+
|
|
68
|
+
export declare interface AnimatedTraversingEllipsisIconProps extends BoxProps {
|
|
69
|
+
speed?: number;
|
|
70
|
+
size?: number;
|
|
71
|
+
width?: number;
|
|
72
|
+
height?: number;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
export declare const BLANK_ICON: JSX.Element;
|
|
76
|
+
|
|
77
|
+
export declare const BlankIcon: (props: SvgIconProps) => JSX.Element;
|
|
78
|
+
|
|
79
|
+
export declare const BorderAllIcon: (props: SvgIconProps) => JSX.Element;
|
|
80
|
+
|
|
81
|
+
export declare const BorderBottomIcon: (props: SvgIconProps) => JSX.Element;
|
|
82
|
+
|
|
83
|
+
export declare const BorderHorizontalIcon: (props: SvgIconProps) => JSX.Element;
|
|
84
|
+
|
|
85
|
+
export declare const BorderInnerIcon: (props: SvgIconProps) => JSX.Element;
|
|
86
|
+
|
|
87
|
+
export declare const BorderLeftIcon: (props: SvgIconProps) => JSX.Element;
|
|
88
|
+
|
|
89
|
+
export declare const BorderNoneIcon: (props: SvgIconProps) => JSX.Element;
|
|
90
|
+
|
|
91
|
+
export declare const BorderOuterIcon: (props: SvgIconProps) => JSX.Element;
|
|
92
|
+
|
|
93
|
+
export declare const BorderRightIcon: (props: SvgIconProps) => JSX.Element;
|
|
94
|
+
|
|
95
|
+
export declare const BorderTopIcon: (props: SvgIconProps) => JSX.Element;
|
|
96
|
+
|
|
97
|
+
export declare const BorderVerticalIcon: (props: SvgIconProps) => JSX.Element;
|
|
98
|
+
|
|
99
|
+
export declare const CalculateIcon: (props: SvgIconProps) => JSX.Element;
|
|
100
|
+
|
|
101
|
+
export declare const CellSelectionEditIcon: (props: SvgIconProps) => JSX.Element;
|
|
102
|
+
|
|
103
|
+
export declare const CellSelectionIcon: (props: SvgIconProps) => JSX.Element;
|
|
104
|
+
|
|
105
|
+
export declare const CellSelectionInsertIcon: (props: SvgIconProps) => JSX.Element;
|
|
106
|
+
|
|
107
|
+
export declare const CellSelectionRemoveIcon: (props: SvgIconProps) => JSX.Element;
|
|
108
|
+
|
|
109
|
+
export declare const CheckIcon: (props: SvgIconProps) => JSX.Element;
|
|
110
|
+
|
|
111
|
+
export declare const CheckSuccessIcon: (props: SvgIconProps) => JSX.Element;
|
|
112
|
+
|
|
113
|
+
export declare const ChipStrip: default_2.FC<ChipStripProps>;
|
|
114
|
+
|
|
115
|
+
export declare interface ChipStripProps extends BoxProps {
|
|
116
|
+
chips: string | string[] | default_2.ReactNode | default_2.ReactNode[];
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
export declare const ClearAllIcon: (props: SvgIconProps) => JSX.Element;
|
|
120
|
+
|
|
121
|
+
export declare const ClearContentsIcon: (props: SvgIconProps) => JSX.Element;
|
|
122
|
+
|
|
123
|
+
export declare const ClearFormatsIcon: (props: SvgIconProps) => JSX.Element;
|
|
124
|
+
|
|
125
|
+
export declare const CloseErrorIcon: (props: SvgIconProps) => JSX.Element;
|
|
126
|
+
|
|
127
|
+
export declare const ClosingReason: {
|
|
128
|
+
readonly ByPopup: "popupDone";
|
|
129
|
+
readonly Cancel: "popupCancel";
|
|
130
|
+
readonly ClickAway: "clickAway";
|
|
131
|
+
};
|
|
132
|
+
|
|
133
|
+
export declare type ClosingReason = typeof ClosingReason[keyof typeof ClosingReason];
|
|
134
|
+
|
|
135
|
+
export declare const CodeIcon: (props: SvgIconProps) => JSX.Element;
|
|
136
|
+
|
|
137
|
+
export declare const ColorizedCircleIcon: (props: SvgIconProps) => JSX.Element;
|
|
138
|
+
|
|
139
|
+
export declare const ColorizedFillIcon: (props: SvgIconProps) => JSX.Element;
|
|
140
|
+
|
|
141
|
+
export declare const ColorizedStrokeIcon: (props: SvgIconProps) => JSX.Element;
|
|
142
|
+
|
|
143
|
+
export declare const ColorizedTextIcon: (props: SvgIconProps) => JSX.Element;
|
|
144
|
+
|
|
145
|
+
export declare const ColumnsResizeAutoIcon: (props: SvgIconProps) => JSX.Element;
|
|
146
|
+
|
|
147
|
+
export declare const ColumnsResizeIcon: (props: SvgIconProps) => JSX.Element;
|
|
148
|
+
|
|
149
|
+
export declare const CommaIcon: (props: SvgIconProps) => JSX.Element;
|
|
150
|
+
|
|
151
|
+
export declare const CommandButton: default_2.FC<CommandButtonProps & CommandButtonRefAttribute>;
|
|
152
|
+
|
|
153
|
+
export declare interface CommandButtonOptions<STATE = any, CONTEXT = any> extends Omit<default_2.HTMLAttributes<HTMLElement>, "color"> {
|
|
154
|
+
/**
|
|
155
|
+
* Allow for listeners against a specific buttons execute rather then the command.
|
|
156
|
+
* Useful when knowing the specific button that executed a command is required.
|
|
157
|
+
* (For example when closing menus or restoring focus)
|
|
158
|
+
*/
|
|
159
|
+
commandHook?: ICommandHook<STATE, CONTEXT>;
|
|
160
|
+
/**
|
|
161
|
+
* Optional string to enable the command label to be configured based on the scope of how it is being used.
|
|
162
|
+
*/
|
|
163
|
+
scope?: string;
|
|
164
|
+
icon?: default_2.ReactNode | ((command: ICommand) => default_2.ReactNode);
|
|
165
|
+
/**
|
|
166
|
+
* The shortcut to display.
|
|
167
|
+
* @remarks
|
|
168
|
+
* This is display only and doesn't actually track the shortcut.
|
|
169
|
+
* Override the display for the shortcut on the command (if available).
|
|
170
|
+
*/
|
|
171
|
+
shortcut?: IKeyStroke | IKeyStroke[];
|
|
172
|
+
labelOverride?: string | default_2.ReactNode;
|
|
173
|
+
selected?: boolean;
|
|
174
|
+
disabled?: boolean;
|
|
175
|
+
disableHover?: boolean;
|
|
176
|
+
/**
|
|
177
|
+
* Tooltip properties. If this is specified then the tooltips are used.
|
|
178
|
+
* Do not provide a child as this component will be the child.
|
|
179
|
+
*/
|
|
180
|
+
tooltipProps?: Omit<ExhibitTooltipProps, 'children'>;
|
|
181
|
+
/**
|
|
182
|
+
* How the button will be styles.
|
|
183
|
+
* @defaultValue CommandButtonType.Toolbar
|
|
184
|
+
*/
|
|
185
|
+
variant?: CommandButtonType;
|
|
186
|
+
/**
|
|
187
|
+
* MUI SX props {@link https://mui.com/system/getting-started/the-sx-prop/}
|
|
188
|
+
*/
|
|
189
|
+
sx?: SxProps<Theme>;
|
|
190
|
+
/**
|
|
191
|
+
* Optional state for this specific command button.
|
|
192
|
+
* @defaultValue to undefined
|
|
193
|
+
*/
|
|
194
|
+
commandState?: STATE;
|
|
195
|
+
context?: CONTEXT;
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
export declare interface CommandButtonProps<STATE = any, CONTEXT = any> extends CommandButtonOptions {
|
|
199
|
+
command: ICommand<STATE, CONTEXT>;
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
export declare type CommandButtonRefAttribute = {
|
|
203
|
+
ref?: default_2.Ref<HTMLDivElement>;
|
|
204
|
+
};
|
|
205
|
+
|
|
206
|
+
export declare const CommandPopupButton: default_2.FC<CommandPopupButtonProps>;
|
|
207
|
+
|
|
208
|
+
/**
|
|
209
|
+
* Attach a command to a popup.
|
|
210
|
+
* Note
|
|
211
|
+
*/
|
|
212
|
+
export declare interface CommandPopupButtonProps<STATE = any, CONTEXT = any> extends Omit<ExhibitPopupIconButtonProps, "color" | "icon" | "label" | "createPopupPanel"> {
|
|
213
|
+
quickCommand?: string;
|
|
214
|
+
commands: ICommands.IGroup;
|
|
215
|
+
icon?: default_2.ReactNode | ((command: ICommand) => default_2.ReactNode);
|
|
216
|
+
label?: default_2.ReactNode | ((command: ICommand) => default_2.ReactNode);
|
|
217
|
+
/**
|
|
218
|
+
* Allow for listeners against a specific buttons execute rather than the command.
|
|
219
|
+
* Useful when knowing the specific button that executed a command is required.
|
|
220
|
+
* (For example when closing menus or restoring focus)
|
|
221
|
+
*/
|
|
222
|
+
commandHook?: ICommandHook<any, any>;
|
|
223
|
+
disableHover?: boolean;
|
|
224
|
+
createPopupPanel?: (props: ExhibitPopupPanelProps, commands: ICommands.IGroup) => default_2.ReactNode;
|
|
225
|
+
/**
|
|
226
|
+
* Styling
|
|
227
|
+
* @defaultValue CommandButtonType.Toolbar
|
|
228
|
+
*/
|
|
229
|
+
variant?: CommandButtonType;
|
|
230
|
+
/**
|
|
231
|
+
* Optional state for this specific command button.
|
|
232
|
+
* @defaultValue to undefined
|
|
233
|
+
*/
|
|
234
|
+
commandState?: STATE;
|
|
235
|
+
context?: CONTEXT;
|
|
236
|
+
scope?: string;
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
export declare type CommandPopupButtonRefAttribute = {
|
|
240
|
+
ref?: default_2.Ref<HTMLDivElement>;
|
|
241
|
+
};
|
|
242
|
+
|
|
243
|
+
export declare const CommandToolbar: default_2.FC<CommandToolbarProps & CommandToolbarRefAttribute>;
|
|
244
|
+
|
|
245
|
+
export declare interface CommandToolbarAttributes {
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
export declare interface CommandToolbarButtonProps {
|
|
249
|
+
commands: ICommands.IGroup;
|
|
250
|
+
commandButtonProps: CommandButtonOptions;
|
|
251
|
+
commandPopupProps: CommandToolbarPopupButtonProps;
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
export declare interface CommandToolbarPopupButtonProps extends CommandButtonOptions {
|
|
255
|
+
parentFloat: FloatReference;
|
|
256
|
+
commands: ICommands.IGroup;
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
export declare interface CommandToolbarProps extends ToolbarProps {
|
|
260
|
+
commands: ICommands.IGroup;
|
|
261
|
+
commandButtonProps?: CommandButtonOptions;
|
|
262
|
+
parentFloat?: FloatReference;
|
|
263
|
+
createToolbarPalette?: (props: CommandToolbarButtonProps) => default_2.ReactNode;
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
export declare interface CommandToolbarRefAttribute {
|
|
267
|
+
ref?: default_2.Ref<HTMLDivElement>;
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
export declare const CommandTooltip: default_2.FC<CommandTooltipProps>;
|
|
271
|
+
|
|
272
|
+
export declare interface CommandTooltipProps extends Omit<TooltipProps, "title"> {
|
|
273
|
+
command: ICommand<any, any>;
|
|
274
|
+
/**
|
|
275
|
+
* The shortcut to display.
|
|
276
|
+
* @remarks
|
|
277
|
+
* This is display only and doesn't actually track the shortcut.
|
|
278
|
+
* Override the display for the shortcut on the command (if available).
|
|
279
|
+
*/
|
|
280
|
+
shortcut?: IKeyStroke | IKeyStroke[];
|
|
281
|
+
/**
|
|
282
|
+
* Prevent tooltip from showing
|
|
283
|
+
*/
|
|
284
|
+
disabled?: boolean;
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
/**
|
|
288
|
+
* Wraps a component to give it a context menu.
|
|
289
|
+
*/
|
|
290
|
+
export declare const ContextMenu: default_2.FC<ScrollbarRefProps>;
|
|
291
|
+
|
|
292
|
+
export declare interface ContextMenuAttributes {
|
|
293
|
+
isContextMenu: () => true;
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
export declare interface ContextMenuElement extends HTMLDivElement, ContextMenuAttributes {
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
export declare interface ContextMenuProps extends default_2.HTMLAttributes<HTMLElement> {
|
|
300
|
+
/**
|
|
301
|
+
* MUI SX props {@link https://mui.com/system/getting-started/the-sx-prop/}
|
|
302
|
+
*/
|
|
303
|
+
sx?: SxProps<Theme_2>;
|
|
304
|
+
children: default_2.ReactElement<any, string | default_2.JSXElementConstructor<any>>;
|
|
305
|
+
parentFloat?: FloatReference;
|
|
306
|
+
createPopupPanel?: (props: ExhibitPopupPanelProps) => default_2.ReactElement<any>;
|
|
307
|
+
/**
|
|
308
|
+
* Passed to the underlying popup panel
|
|
309
|
+
*/
|
|
310
|
+
popperProps?: Partial<ExhibitPopperProps>;
|
|
311
|
+
/**
|
|
312
|
+
* Use for float reference
|
|
313
|
+
*/
|
|
314
|
+
label?: string;
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
/**
|
|
318
|
+
* TODO - allow this to take additional color option and and animation option (to enabled when copy/cut mode is active)
|
|
319
|
+
*/
|
|
320
|
+
export declare const CopyIcon: (props: SvgIconProps) => JSX.Element;
|
|
321
|
+
|
|
322
|
+
export declare const createDownArrow: (isSplit: boolean, dense: boolean, rotate: boolean) => JSX.Element;
|
|
323
|
+
|
|
324
|
+
/**
|
|
325
|
+
*
|
|
326
|
+
* This creates a Theme that has Exhibit Widget extensions.
|
|
327
|
+
* It is based on the MUI createTheme() function.
|
|
328
|
+
*
|
|
329
|
+
* @see
|
|
330
|
+
* https://mui.com/customization/how-to-customize/#state-classes
|
|
331
|
+
*/
|
|
332
|
+
export declare const createExhibitTheme: (isDark: boolean, customizations?: ExhibitThemeOptions) => Theme;
|
|
333
|
+
|
|
334
|
+
export declare const createScrollButton: (props: ScrollButtonProps, icon: default_2.ReactElement, title: string, description: string) => JSX.Element;
|
|
335
|
+
|
|
336
|
+
export declare const createScrollEdgeButton: (props: ScrollButtonProps) => default_2.ReactElement<unknown, string | default_2.JSXElementConstructor<any>>;
|
|
337
|
+
|
|
338
|
+
export declare const createScrollEndButton: (props: ScrollButtonProps) => JSX.Element;
|
|
339
|
+
|
|
340
|
+
export declare const createScrollStartButton: (props: ScrollButtonProps) => JSX.Element;
|
|
341
|
+
|
|
342
|
+
export declare const createStrokeShadowFilter: (shadowRadius?: number) => (theme: Theme) => string;
|
|
343
|
+
|
|
344
|
+
export declare const CurrencyDollarIcon: (props: SvgIconProps) => JSX.Element;
|
|
345
|
+
|
|
346
|
+
export declare const CutIcon: (props: SvgIconProps) => JSX.Element;
|
|
347
|
+
|
|
348
|
+
export declare const DecreaseDecimalIcon: (props: SvgIconProps) => JSX.Element;
|
|
349
|
+
|
|
350
|
+
export declare const DecreaseDecimalIcon2: (props: SvgIconProps) => JSX.Element;
|
|
351
|
+
|
|
352
|
+
export declare const defaultCreatePopupPanel: (props: ExhibitPopupPanelProps) => default_2.ReactElement<any>;
|
|
353
|
+
|
|
354
|
+
export declare const DiscordIcon: (props: SvgIconProps) => JSX.Element;
|
|
355
|
+
|
|
356
|
+
export declare const DocumentationIcon: (props: SvgIconProps) => JSX.Element;
|
|
357
|
+
|
|
358
|
+
export declare interface DraggablePaperProps extends PaperProps {
|
|
359
|
+
onDragStop?: DraggableEventHandler;
|
|
360
|
+
PaperComponent?: default_2.JSXElementConstructor<PaperProps>;
|
|
361
|
+
titleSize?: Dimensions;
|
|
362
|
+
rootSize?: Dimensions;
|
|
363
|
+
handleSel?: string;
|
|
364
|
+
rootSel?: string;
|
|
365
|
+
defaultPosition?: Point;
|
|
366
|
+
}
|
|
367
|
+
|
|
368
|
+
export declare const DrawAlignBottomIcon: (props: SvgIconProps) => JSX.Element;
|
|
369
|
+
|
|
370
|
+
export declare const DrawAlignCenterIcon: (props: SvgIconProps) => JSX.Element;
|
|
371
|
+
|
|
372
|
+
export declare const DrawAlignDistributeHorzIcon: (props: SvgIconProps) => JSX.Element;
|
|
373
|
+
|
|
374
|
+
export declare const DrawAlignDistributeVertIcon: (props: SvgIconProps) => JSX.Element;
|
|
375
|
+
|
|
376
|
+
export declare const DrawAlignLeftIcon: (props: SvgIconProps) => JSX.Element;
|
|
377
|
+
|
|
378
|
+
export declare const DrawAlignMiddleIcon: (props: SvgIconProps) => JSX.Element;
|
|
379
|
+
|
|
380
|
+
export declare const DrawAlignRightIcon: (props: SvgIconProps) => JSX.Element;
|
|
381
|
+
|
|
382
|
+
export declare const DrawAlignTopIcon: (props: SvgIconProps) => JSX.Element;
|
|
383
|
+
|
|
384
|
+
export declare const DrawAspectIcon: (props: SvgIconProps) => JSX.Element;
|
|
385
|
+
|
|
386
|
+
export declare const DrawFlipHorzIcon: (props: SvgIconProps) => JSX.Element;
|
|
387
|
+
|
|
388
|
+
export declare const DrawFlipVertIcon: (props: SvgIconProps) => JSX.Element;
|
|
389
|
+
|
|
390
|
+
export declare const DrawGroupIcon: (props: SvgIconProps) => JSX.Element;
|
|
391
|
+
|
|
392
|
+
export declare const DrawMoveBackwardIcon: (props: SvgIconProps) => JSX.Element;
|
|
393
|
+
|
|
394
|
+
export declare const DrawMoveForwardIcon: (props: SvgIconProps) => JSX.Element;
|
|
395
|
+
|
|
396
|
+
export declare const DrawResizeIcon: (props: SvgIconProps) => JSX.Element;
|
|
397
|
+
|
|
398
|
+
export declare const DrawSwapHorzIcon: (props: SvgIconProps) => JSX.Element;
|
|
399
|
+
|
|
400
|
+
export declare const DrawSwapVertIcon: (props: SvgIconProps) => JSX.Element;
|
|
401
|
+
|
|
402
|
+
export declare const DrawToBackIcon: (props: SvgIconProps) => JSX.Element;
|
|
403
|
+
|
|
404
|
+
export declare const DrawToFrontIcon: (props: SvgIconProps) => JSX.Element;
|
|
405
|
+
|
|
406
|
+
export declare const DrawUngroupIcon: (props: SvgIconProps) => JSX.Element;
|
|
407
|
+
|
|
408
|
+
export declare const elevateColor: (color: string, coefficient?: number, mode?: "light" | "dark") => string;
|
|
409
|
+
|
|
410
|
+
export declare const ErrorAlertIcon: (props: SvgIconProps) => JSX.Element;
|
|
411
|
+
|
|
412
|
+
/**
|
|
413
|
+
* Simple panel to show error.
|
|
414
|
+
* Todo - allow for action flag
|
|
415
|
+
*/
|
|
416
|
+
export declare const ErrorPanel: default_2.FC<ErrorPanelProps>;
|
|
417
|
+
|
|
418
|
+
export declare interface ErrorPanelProps extends BoxProps {
|
|
419
|
+
icon?: default_2.ReactNode;
|
|
420
|
+
error?: any;
|
|
421
|
+
/**
|
|
422
|
+
* Whether to hide the stack trace.
|
|
423
|
+
*
|
|
424
|
+
* @defaultValue false
|
|
425
|
+
*/
|
|
426
|
+
hideStackTrace?: boolean;
|
|
427
|
+
/**
|
|
428
|
+
* Whether the stack trace should be expanded by default
|
|
429
|
+
*
|
|
430
|
+
* @defaultValue false
|
|
431
|
+
*/
|
|
432
|
+
stackTraceExpanded?: boolean;
|
|
433
|
+
}
|
|
434
|
+
|
|
435
|
+
export declare interface ExhibitComponentProps extends ComponentsProps {
|
|
436
|
+
SmartInputField: SmartInputFieldProps;
|
|
437
|
+
}
|
|
438
|
+
|
|
439
|
+
export declare interface ExhibitComponentPropsList extends ComponentsPropsList {
|
|
440
|
+
SmartInputField?: SmartInputFieldProps;
|
|
441
|
+
}
|
|
442
|
+
|
|
443
|
+
export declare interface ExhibitComponents extends Components<Omit<Theme, 'components'>> {
|
|
444
|
+
SmartInputField?: {
|
|
445
|
+
defaultProps?: ExhibitComponentProps['SmartInputField'];
|
|
446
|
+
styleOverrides?: ExhibitComponentsOverrides<Theme>['SmartInputField'];
|
|
447
|
+
variants?: ExhibitComponentsVariants['SmartInputField'];
|
|
448
|
+
};
|
|
449
|
+
}
|
|
450
|
+
|
|
451
|
+
export declare interface ExhibitComponentsOverrides<Theme = unknown> extends ComponentsOverrides<Theme> {
|
|
452
|
+
SmartInputField?: any;
|
|
453
|
+
}
|
|
454
|
+
|
|
455
|
+
export declare interface ExhibitComponentsVariants extends ComponentsVariants {
|
|
456
|
+
SmartInputField?: Array<{
|
|
457
|
+
props: Partial<ExhibitComponentPropsList['SmartInputField']>;
|
|
458
|
+
style: Interpolation<{
|
|
459
|
+
theme: Theme;
|
|
460
|
+
}>;
|
|
461
|
+
}>;
|
|
462
|
+
}
|
|
463
|
+
|
|
464
|
+
export declare const ExhibitDivider: default_2.FC<ExhibitDividerProps>;
|
|
465
|
+
|
|
466
|
+
export declare interface ExhibitDividerProps extends DividerProps {
|
|
467
|
+
}
|
|
468
|
+
|
|
469
|
+
export declare const ExhibitFloatPanel: default_2.FC<ExhibitFloatPanelProps>;
|
|
470
|
+
|
|
471
|
+
/**
|
|
472
|
+
* TODO - review the usefulness of this class
|
|
473
|
+
* Wraps a popper and a theme paper
|
|
474
|
+
*
|
|
475
|
+
* Features.
|
|
476
|
+
* Callback to popupPanel closing
|
|
477
|
+
*
|
|
478
|
+
*/
|
|
479
|
+
export declare interface ExhibitFloatPanelProps extends BoxProps {
|
|
480
|
+
open: boolean;
|
|
481
|
+
floatReference?: FloatReference;
|
|
482
|
+
anchorEl?: any;
|
|
483
|
+
anchorPosition?: ExhibitPopperPosition;
|
|
484
|
+
label: string;
|
|
485
|
+
/**
|
|
486
|
+
* Popper render function or node.
|
|
487
|
+
*/
|
|
488
|
+
createPopupPanel?: (props: ExhibitPopupPanelProps) => default_2.ReactElement<any>;
|
|
489
|
+
popperProps?: Partial<ExhibitPopperProps>;
|
|
490
|
+
onClosing?: () => void;
|
|
491
|
+
onClose?: () => void;
|
|
492
|
+
onMount?: (element: HTMLDivElement, instance: any) => void;
|
|
493
|
+
onOpening?: () => void;
|
|
494
|
+
onOpen?: () => void;
|
|
495
|
+
}
|
|
496
|
+
|
|
497
|
+
/**
|
|
498
|
+
* This is a simple styled icon button.
|
|
499
|
+
*/
|
|
500
|
+
export declare const ExhibitIconButton: default_2.FC<ExhibitIconButtonProps>;
|
|
501
|
+
|
|
502
|
+
export declare interface ExhibitIconButtonProps extends IconButtonProps {
|
|
503
|
+
dense?: boolean;
|
|
504
|
+
outlined?: boolean;
|
|
505
|
+
icon?: default_2.ReactNode | (() => default_2.ReactNode);
|
|
506
|
+
disableHover?: boolean;
|
|
507
|
+
/**
|
|
508
|
+
* If the icon button is a primary icon button.
|
|
509
|
+
* This may change the color of the text and icon.
|
|
510
|
+
* @defaultValue false
|
|
511
|
+
*/
|
|
512
|
+
primary?: boolean;
|
|
513
|
+
/**
|
|
514
|
+
* If set to a `boolean` the button will act like a toggle.
|
|
515
|
+
*/
|
|
516
|
+
selected?: boolean | null;
|
|
517
|
+
/**
|
|
518
|
+
* Tooltip properties. If this is specified then the tooltips are used.
|
|
519
|
+
* Do not provide a child as this component will be the child.
|
|
520
|
+
*/
|
|
521
|
+
tooltipProps?: Omit<ExhibitTooltipProps, 'children'>;
|
|
522
|
+
parentFloat?: FloatReference;
|
|
523
|
+
}
|
|
524
|
+
|
|
525
|
+
export declare const ExhibitMenuHeader: default_2.FC<ExhibitMenuHeaderProps>;
|
|
526
|
+
|
|
527
|
+
export declare interface ExhibitMenuHeaderProps extends TypographyProps {
|
|
528
|
+
/**
|
|
529
|
+
* If the icon button is a secondary text button.
|
|
530
|
+
* Changes the color of the text and icon.
|
|
531
|
+
* @defaultValue false
|
|
532
|
+
*/
|
|
533
|
+
primary?: boolean;
|
|
534
|
+
variant?: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'subtitle1' | 'subtitle2' | 'body1' | 'body2' | 'caption' | 'overline';
|
|
535
|
+
}
|
|
536
|
+
|
|
537
|
+
export declare const ExhibitMenuItem: default_2.FC<ExhibitMenuItemProps>;
|
|
538
|
+
|
|
539
|
+
export declare interface ExhibitMenuItemProps extends MenuItemProps {
|
|
540
|
+
icon?: default_2.ReactNode | (() => default_2.ReactNode);
|
|
541
|
+
renderIcon?: (props: ExhibitIconButtonProps) => default_2.ReactElement;
|
|
542
|
+
/**
|
|
543
|
+
* If the icon button is a secondary text button.
|
|
544
|
+
* Change the color of the text and icon.
|
|
545
|
+
* @defaultValue false
|
|
546
|
+
*/
|
|
547
|
+
primary?: boolean;
|
|
548
|
+
/**
|
|
549
|
+
* Tooltip properties. If this is specified then the tooltips are used.
|
|
550
|
+
* Do not provide a child as this component will be the child.
|
|
551
|
+
*/
|
|
552
|
+
tooltipProps?: Omit<ExhibitTooltipProps, 'children'>;
|
|
553
|
+
parentFloat?: FloatReference;
|
|
554
|
+
chips?: string | string[] | default_2.ReactNode | default_2.ReactNode[];
|
|
555
|
+
}
|
|
556
|
+
|
|
557
|
+
export declare const ExhibitOptionButton: default_2.FC<ExhibitOptionButtonProps>;
|
|
558
|
+
|
|
559
|
+
declare interface ExhibitOptionButtonProps extends ExhibitIconButtonProps {
|
|
560
|
+
onSelectToggle?: (value: boolean) => void;
|
|
561
|
+
selected?: boolean;
|
|
562
|
+
label: NonNullable<default_2.ReactNode>;
|
|
563
|
+
shortcut?: IKeyStroke;
|
|
564
|
+
preventFocus?: boolean;
|
|
565
|
+
tabIndex?: number;
|
|
566
|
+
}
|
|
567
|
+
|
|
568
|
+
export declare const ExhibitPopper: default_2.FC<ExhibitPopperProps>;
|
|
569
|
+
|
|
570
|
+
export declare interface ExhibitPopperPosition {
|
|
571
|
+
top: number;
|
|
572
|
+
left: number;
|
|
573
|
+
}
|
|
574
|
+
|
|
575
|
+
/**
|
|
576
|
+
* Wraps the Popper with standardized behavior.
|
|
577
|
+
* A popper has 3 lifecycle states: mounted, visible, open.
|
|
578
|
+
*
|
|
579
|
+
*
|
|
580
|
+
*
|
|
581
|
+
* 1. Animation
|
|
582
|
+
* 2. Resizing (see popper-max-size-modifier)
|
|
583
|
+
* // TODO - fix arrow option
|
|
584
|
+
*
|
|
585
|
+
* // TODO - replace with useFloat and remove 'passthrough' dependency on mui
|
|
586
|
+
*/
|
|
587
|
+
export declare interface ExhibitPopperProps extends PopperProps {
|
|
588
|
+
onClosing?: () => void;
|
|
589
|
+
onClose?: () => void;
|
|
590
|
+
onMount?: (element: HTMLDivElement, instance: Instance) => void;
|
|
591
|
+
onOpening?: () => void;
|
|
592
|
+
onOpen?: () => void;
|
|
593
|
+
/**
|
|
594
|
+
* If panel can resize on overflow. Otherwise will try to fit
|
|
595
|
+
*/
|
|
596
|
+
resizeOnOverflow?: boolean;
|
|
597
|
+
/**
|
|
598
|
+
* major minor offset
|
|
599
|
+
* @defaultValue 0, 2
|
|
600
|
+
*/
|
|
601
|
+
offsets?: number[];
|
|
602
|
+
anchorPosition?: ExhibitPopperPosition;
|
|
603
|
+
label?: string;
|
|
604
|
+
}
|
|
605
|
+
|
|
606
|
+
export declare interface ExhibitPopperRef {
|
|
607
|
+
instance: () => Instance;
|
|
608
|
+
element: () => HTMLElement;
|
|
609
|
+
}
|
|
610
|
+
|
|
611
|
+
/**
|
|
612
|
+
* TODO - allow popper and popup customizations similar to @mui/tooltip
|
|
613
|
+
*/
|
|
614
|
+
export declare interface ExhibitPopupButtonProps extends BoxProps {
|
|
615
|
+
icon?: default_2.ReactNode | (() => default_2.ReactNode);
|
|
616
|
+
label?: default_2.ReactNode;
|
|
617
|
+
/**
|
|
618
|
+
* Render as selected,
|
|
619
|
+
*/
|
|
620
|
+
selected?: boolean;
|
|
621
|
+
parentFloat?: FloatReference;
|
|
622
|
+
createPopupPanel?: (props: ExhibitPopupPanelProps) => default_2.ReactElement<any>;
|
|
623
|
+
onPopupOpen?: () => void;
|
|
624
|
+
onPopupClose?: () => void;
|
|
625
|
+
popupProps?: Partial<ExhibitFloatPanelProps>;
|
|
626
|
+
/**
|
|
627
|
+
* Tooltip title. Zero-length titles string are never displayed.
|
|
628
|
+
*/
|
|
629
|
+
tooltip?: NonNullable<default_2.ReactNode>;
|
|
630
|
+
/**
|
|
631
|
+
* Allows for custom tooltip creation
|
|
632
|
+
*/
|
|
633
|
+
createTooltip?: (props: TooltipProps, disabled: boolean) => default_2.JSX.Element;
|
|
634
|
+
/**
|
|
635
|
+
* If this set then the popup becomes a split button.
|
|
636
|
+
*/
|
|
637
|
+
onQuickClick?: (e: default_2.MouseEvent<Element>) => void;
|
|
638
|
+
quickButtonProps?: ExhibitQuickButtonProps;
|
|
639
|
+
createQuickButton?: (props: ExhibitQuickButtonProps) => default_2.ReactNode;
|
|
640
|
+
disabled?: boolean;
|
|
641
|
+
/**
|
|
642
|
+
* If the icon button is a primary icon button.
|
|
643
|
+
* This may change the color of the text and icon.
|
|
644
|
+
* @defaultValue false
|
|
645
|
+
*/
|
|
646
|
+
primary?: boolean;
|
|
647
|
+
/**
|
|
648
|
+
* Props applied to the `TouchRipple` element.
|
|
649
|
+
*/
|
|
650
|
+
TouchRippleProps?: Partial<any>;
|
|
651
|
+
/**
|
|
652
|
+
* A ref that points to the `TouchRipple` element.
|
|
653
|
+
*/
|
|
654
|
+
touchRippleRef?: default_2.Ref<any>;
|
|
655
|
+
}
|
|
656
|
+
|
|
657
|
+
export declare const ExhibitPopupIconButton: default_2.FC<ExhibitPopupIconButtonProps>;
|
|
658
|
+
|
|
659
|
+
export declare interface ExhibitPopupIconButtonProps extends ExhibitPopupButtonProps {
|
|
660
|
+
dense?: boolean;
|
|
661
|
+
outlined?: boolean | OutlineBorder;
|
|
662
|
+
disableHover?: boolean;
|
|
663
|
+
buttonProps?: BoxProps;
|
|
664
|
+
}
|
|
665
|
+
|
|
666
|
+
export declare const ExhibitPopupMenuItem: default_2.FC<ExhibitPopupMenuItemProps>;
|
|
667
|
+
|
|
668
|
+
export declare interface ExhibitPopupMenuItemProps extends ExhibitPopupButtonProps {
|
|
669
|
+
}
|
|
670
|
+
|
|
671
|
+
export declare interface ExhibitPopupPanelProps extends BoxProps {
|
|
672
|
+
popupContainer: HTMLElement;
|
|
673
|
+
floatReference?: FloatReference;
|
|
674
|
+
/**
|
|
675
|
+
* When the popup panel initiates a close
|
|
676
|
+
*/
|
|
677
|
+
closeFloat?: () => void;
|
|
678
|
+
closeFloatAll?: () => void;
|
|
679
|
+
}
|
|
680
|
+
|
|
681
|
+
export declare interface ExhibitQuickButtonProps extends IconButtonProps {
|
|
682
|
+
/**
|
|
683
|
+
* Tooltip title. Zero-length titles string are never displayed.
|
|
684
|
+
*/
|
|
685
|
+
tooltip?: NonNullable<default_2.ReactNode>;
|
|
686
|
+
/**
|
|
687
|
+
* Allows for custom tooltip creation
|
|
688
|
+
*/
|
|
689
|
+
createTooltip?: (props: TooltipProps, disabled: boolean) => default_2.JSX.Element;
|
|
690
|
+
}
|
|
691
|
+
|
|
692
|
+
export declare interface ExhibitThemeOptions extends ThemeOptions {
|
|
693
|
+
components?: ExhibitComponents;
|
|
694
|
+
}
|
|
695
|
+
|
|
696
|
+
export declare const ExhibitTooltip: default_2.FC<ExhibitTooltipProps>;
|
|
697
|
+
|
|
698
|
+
export declare interface ExhibitTooltipProps extends Omit<TooltipProps, "title"> {
|
|
699
|
+
title?: string | default_2.ReactNode;
|
|
700
|
+
/** Prevent tooltip from show */
|
|
701
|
+
disabled?: boolean;
|
|
702
|
+
label?: NonNullable<default_2.ReactNode>;
|
|
703
|
+
description?: NonNullable<default_2.ReactNode>;
|
|
704
|
+
/**
|
|
705
|
+
* If true returns a very simple text tooltip.
|
|
706
|
+
* @remarks
|
|
707
|
+
* All Exhibit tooltip props are ignored.
|
|
708
|
+
*/
|
|
709
|
+
simple?: boolean;
|
|
710
|
+
maxWidth?: number;
|
|
711
|
+
shortcut?: IKeyStroke;
|
|
712
|
+
useModifierSymbols?: boolean;
|
|
713
|
+
componentDisabled?: boolean;
|
|
714
|
+
chips?: string | string[] | default_2.ReactNode | default_2.ReactNode[];
|
|
715
|
+
}
|
|
716
|
+
|
|
717
|
+
export declare const FileDownloadAsCSVIcon: (props: SvgIconProps) => JSX.Element;
|
|
718
|
+
|
|
719
|
+
export declare const FileDownloadAsExcelIcon: (props: SvgIconProps) => JSX.Element;
|
|
720
|
+
|
|
721
|
+
export declare const FileDownloadAsSheetIcon: (props: SvgIconProps) => JSX.Element;
|
|
722
|
+
|
|
723
|
+
export declare const FileNewIcon: (props: SvgIconProps) => JSX.Element;
|
|
724
|
+
|
|
725
|
+
export declare const FileOpenIcon: (props: SvgIconProps) => JSX.Element;
|
|
726
|
+
|
|
727
|
+
export declare const FillDownIcon: (props: SvgIconProps) => JSX.Element;
|
|
728
|
+
|
|
729
|
+
export declare const FilterClearIcon: (props: SvgIconProps) => JSX.Element;
|
|
730
|
+
|
|
731
|
+
export declare const FilterReapplyIcon: (props: SvgIconProps) => JSX.Element;
|
|
732
|
+
|
|
733
|
+
export declare const FilterToggleIcon: (props: SvgIconProps) => JSX.Element;
|
|
734
|
+
|
|
735
|
+
export declare const FindCaseSensitiveIcon: (props: SvgIconProps) => JSX.Element;
|
|
736
|
+
|
|
737
|
+
export declare const FindIcon: (props: SvgIconProps) => JSX.Element;
|
|
738
|
+
|
|
739
|
+
export declare const FindOptionsIcon: (props: SvgIconProps) => JSX.Element;
|
|
740
|
+
|
|
741
|
+
export declare const FindRegExIcon: (props: SvgIconProps) => JSX.Element;
|
|
742
|
+
|
|
743
|
+
export declare const FindReplaceAllIcon: (props: SvgIconProps) => JSX.Element;
|
|
744
|
+
|
|
745
|
+
export declare const FindReplaceIcon: (props: SvgIconProps) => JSX.Element;
|
|
746
|
+
|
|
747
|
+
export declare const FindReplaceToggleIcon: (props: SvgIconProps) => JSX.Element;
|
|
748
|
+
|
|
749
|
+
export declare const FindWholeWordIcon: (props: SvgIconProps) => JSX.Element;
|
|
750
|
+
|
|
751
|
+
export declare interface FloatReference {
|
|
752
|
+
key: FloatReferenceKey;
|
|
753
|
+
isRoot: boolean;
|
|
754
|
+
parent: FloatReference;
|
|
755
|
+
open(delay?: number): void;
|
|
756
|
+
close: (delay?: number) => Promise<void>;
|
|
757
|
+
closeChild: (delay?: number) => Promise<void>;
|
|
758
|
+
onChildVisible: () => void;
|
|
759
|
+
onChildHidden: () => void;
|
|
760
|
+
closeAll: () => Promise<void>;
|
|
761
|
+
floatElement: () => HTMLElement;
|
|
762
|
+
anchorElement: () => HTMLElement | any;
|
|
763
|
+
}
|
|
764
|
+
|
|
765
|
+
export declare interface FloatReferenceKey {
|
|
766
|
+
label: string;
|
|
767
|
+
}
|
|
768
|
+
|
|
769
|
+
export declare interface FloatStack {
|
|
770
|
+
/**
|
|
771
|
+
* Float component to be injected
|
|
772
|
+
*/
|
|
773
|
+
component: default_2.ReactNode;
|
|
774
|
+
reference: FloatReference;
|
|
775
|
+
}
|
|
776
|
+
|
|
777
|
+
export declare interface FloatStackOptions {
|
|
778
|
+
anchor?: default_2.ReactElement | any;
|
|
779
|
+
label?: string;
|
|
780
|
+
/**
|
|
781
|
+
* If nesting float stacks are being used pass this from parent
|
|
782
|
+
*/
|
|
783
|
+
parentFloat?: FloatReference;
|
|
784
|
+
onOpen?: () => void;
|
|
785
|
+
onClose?: () => void;
|
|
786
|
+
/**
|
|
787
|
+
* If this returns `null` then will create a registered movable stacking.
|
|
788
|
+
* This is done for toolbars and other permanent visible components that are integrated into the movable stack.
|
|
789
|
+
*/
|
|
790
|
+
createPopupPanel?: (props: ExhibitPopupPanelProps) => any;
|
|
791
|
+
/**
|
|
792
|
+
* Passed to the underlying popup panel
|
|
793
|
+
*/
|
|
794
|
+
popperProps?: Partial<ExhibitPopperProps>;
|
|
795
|
+
}
|
|
796
|
+
|
|
797
|
+
export declare const FormatIndentDecreaseIcon: (props: SvgIconProps) => JSX.Element;
|
|
798
|
+
|
|
799
|
+
export declare const FormatIndentIncreaseIcon: (props: SvgIconProps) => JSX.Element;
|
|
800
|
+
|
|
801
|
+
export declare const FormatPaintIcon: (props: SvgIconProps) => JSX.Element;
|
|
802
|
+
|
|
803
|
+
export declare const FormulaGroupIcon: (props: SvgIconProps) => JSX.Element;
|
|
804
|
+
|
|
805
|
+
export declare const FreezeBothIcon: (props: SvgIconProps) => JSX.Element;
|
|
806
|
+
|
|
807
|
+
export declare const FreezeColumnsIcon: (props: SvgIconProps) => JSX.Element;
|
|
808
|
+
|
|
809
|
+
export declare const FreezeIcon: (props: SvgIconProps) => JSX.Element;
|
|
810
|
+
|
|
811
|
+
export declare const FreezeRowsIcon: (props: SvgIconProps) => JSX.Element;
|
|
812
|
+
|
|
813
|
+
export declare const FullScreenIcon: (props: SvgIconProps) => JSX.Element;
|
|
814
|
+
|
|
815
|
+
export declare const FullScreenOffIcon: (props: SvgIconProps) => JSX.Element;
|
|
816
|
+
|
|
817
|
+
export declare const FunctionIcon: (props: SvgIconProps) => JSX.Element;
|
|
818
|
+
|
|
819
|
+
export declare const FunctionSumIcon: (props: SvgIconProps) => JSX.Element;
|
|
820
|
+
|
|
821
|
+
export declare const FunctionThinIcon: (props: SvgIconProps) => JSX.Element;
|
|
822
|
+
|
|
823
|
+
export declare const GithubIcon: (props: SvgIconProps) => JSX.Element;
|
|
824
|
+
|
|
825
|
+
export declare const GotoIcon: (props: SvgIconProps) => JSX.Element;
|
|
826
|
+
|
|
827
|
+
export declare const HelpIcon: (props: SvgIconProps) => JSX.Element;
|
|
828
|
+
|
|
829
|
+
export declare const hexToRGB: (hex: string, alpha?: number) => string;
|
|
830
|
+
|
|
831
|
+
export declare const HideColumnIcon: (props: SvgIconProps) => JSX.Element;
|
|
832
|
+
|
|
833
|
+
export declare const HideRowIcon: (props: SvgIconProps) => JSX.Element;
|
|
834
|
+
|
|
835
|
+
export declare interface ICommandToolbarElement extends HTMLDivElement, CommandToolbarAttributes {
|
|
836
|
+
}
|
|
837
|
+
|
|
838
|
+
/**
|
|
839
|
+
* Type returned via ref property
|
|
840
|
+
*/
|
|
841
|
+
export declare interface IInternalWindowElement extends InternalWindowAttributes, HTMLElement {
|
|
842
|
+
}
|
|
843
|
+
|
|
844
|
+
export declare const IncreaseDecimalIcon: (props: SvgIconProps) => JSX.Element;
|
|
845
|
+
|
|
846
|
+
export declare const IncreaseDecimalIcon2: (props: SvgIconProps) => JSX.Element;
|
|
847
|
+
|
|
848
|
+
/**
|
|
849
|
+
* Binds an input control to a command.
|
|
850
|
+
* @remarks
|
|
851
|
+
*
|
|
852
|
+
* Currently only supports numbers.
|
|
853
|
+
*/
|
|
854
|
+
export declare const InputCommandButton: default_2.FC<InputCommandButtonProps>;
|
|
855
|
+
|
|
856
|
+
export declare interface InputCommandButtonProps<STATE = any, CONTEXT = any> extends CommandButtonProps<STATE, CONTEXT> {
|
|
857
|
+
label?: default_2.ReactNode | string | (() => default_2.ReactNode | string);
|
|
858
|
+
}
|
|
859
|
+
|
|
860
|
+
export declare interface InputDialogProps extends InputOptionsNotificationOptions, OptionsDialogProps {
|
|
861
|
+
}
|
|
862
|
+
|
|
863
|
+
export declare const InsertCells: (props: SvgIconProps) => JSX.Element;
|
|
864
|
+
|
|
865
|
+
export declare const InsertColumn2Icon: (props: SvgIconProps) => JSX.Element;
|
|
866
|
+
|
|
867
|
+
export declare const InsertColumnIcon: (props: SvgIconProps) => JSX.Element;
|
|
868
|
+
|
|
869
|
+
export declare const InsertCommentIcon: (props: SvgIconProps) => JSX.Element;
|
|
870
|
+
|
|
871
|
+
export declare const InsertHyperlinkIcon: (props: SvgIconProps) => JSX.Element;
|
|
872
|
+
|
|
873
|
+
export declare const InsertImageIcon: (props: SvgIconProps) => JSX.Element;
|
|
874
|
+
|
|
875
|
+
export declare const InsertRowIcon: (props: SvgIconProps) => JSX.Element;
|
|
876
|
+
|
|
877
|
+
export declare const InsertTableIcon: (props: SvgIconProps) => JSX.Element;
|
|
878
|
+
|
|
879
|
+
export declare const InternalWindow: default_2.FC<InternalWindowProps>;
|
|
880
|
+
|
|
881
|
+
export declare interface InternalWindowAttributes {
|
|
882
|
+
focus: (options?: FocusOptions) => void;
|
|
883
|
+
}
|
|
884
|
+
|
|
885
|
+
export declare interface InternalWindowProps extends Omit<DialogProps, 'open'> {
|
|
886
|
+
open?: ModalProps['open'];
|
|
887
|
+
/**
|
|
888
|
+
* The dialog title
|
|
889
|
+
*/
|
|
890
|
+
title?: string;
|
|
891
|
+
/**
|
|
892
|
+
* Query selector for the element to focus on show.
|
|
893
|
+
*
|
|
894
|
+
* @remarks
|
|
895
|
+
* It would be better to honor autoFocus attribute but React is 'hiding' it
|
|
896
|
+
*/
|
|
897
|
+
autoFocusSel?: string;
|
|
898
|
+
onCancel?: () => void;
|
|
899
|
+
onDone?: (results?: any) => void;
|
|
900
|
+
onShow?: () => void;
|
|
901
|
+
onShown?: (internalWindow: IInternalWindowElement) => void;
|
|
902
|
+
onHide?: () => void;
|
|
903
|
+
/**
|
|
904
|
+
* We couldn't use the forwardRef? Revisit this.
|
|
905
|
+
* It seemed to be due to the createPortal returns a ReactPortal not an HTMLElement
|
|
906
|
+
*
|
|
907
|
+
*/
|
|
908
|
+
refWindow?: default_2.Ref<IInternalWindowElement>;
|
|
909
|
+
/**
|
|
910
|
+
* If true show a backdrop.
|
|
911
|
+
* @remarks
|
|
912
|
+
* Our movable menu achieve modality without a background by listens to global clicks (and focus)
|
|
913
|
+
* @defaultValue false
|
|
914
|
+
*/
|
|
915
|
+
isModal?: boolean;
|
|
916
|
+
/**
|
|
917
|
+
* A default position for the window. The default is center at %50, %50.
|
|
918
|
+
*/
|
|
919
|
+
initialPosition?: RelativePoint;
|
|
920
|
+
TransitionComponent?: default_2.ComponentType<TransitionProps>;
|
|
921
|
+
PaperComponent?: default_2.ComponentType<TransitionProps>;
|
|
922
|
+
}
|
|
923
|
+
|
|
924
|
+
export declare const LabelIcon: (props: LabelIconProps) => JSX.Element;
|
|
925
|
+
|
|
926
|
+
export declare interface LabelIconProps extends BoxProps {
|
|
927
|
+
scope?: string;
|
|
928
|
+
command?: ICommand<any, any>;
|
|
929
|
+
label?: default_2.ReactElement<any> | string;
|
|
930
|
+
icon?: default_2.ReactElement<any>;
|
|
931
|
+
}
|
|
932
|
+
|
|
933
|
+
export declare interface LazyWindowOptions extends UseModalOptions {
|
|
934
|
+
disableAutoDestroy?: boolean;
|
|
935
|
+
}
|
|
936
|
+
|
|
937
|
+
export declare const LoadingPanel: default_2.FC<LoadingPanelProps>;
|
|
938
|
+
|
|
939
|
+
export declare interface LoadingPanelProps extends BoxProps {
|
|
940
|
+
icon?: default_2.ReactNode;
|
|
941
|
+
label?: string | default_2.ReactNode;
|
|
942
|
+
/**
|
|
943
|
+
* Wrap the icon and label in a paper panel.
|
|
944
|
+
*/
|
|
945
|
+
panel?: boolean;
|
|
946
|
+
transitionDelay?: string;
|
|
947
|
+
transparentBackground?: boolean;
|
|
948
|
+
onMount?: () => void;
|
|
949
|
+
onUnmount?: () => void;
|
|
950
|
+
}
|
|
951
|
+
|
|
952
|
+
export declare const MergeAllIcon: (props: SvgIconProps) => JSX.Element;
|
|
953
|
+
|
|
954
|
+
export declare const MergeHIcon: (props: SvgIconProps) => JSX.Element;
|
|
955
|
+
|
|
956
|
+
export declare const MergeHorizontalIcon: (props: SvgIconProps) => JSX.Element;
|
|
957
|
+
|
|
958
|
+
export declare const MergeUnMergeIcon: (props: SvgIconProps) => JSX.Element;
|
|
959
|
+
|
|
960
|
+
export declare const MergeVerticalIcon: (props: SvgIconProps) => JSX.Element;
|
|
961
|
+
|
|
962
|
+
export { ModalProvider }
|
|
963
|
+
|
|
964
|
+
export declare const NestingPopupButton: default_2.FC<NestingPopupButtonProps>;
|
|
965
|
+
|
|
966
|
+
export declare interface NestingPopupButtonProps extends ExhibitPopupButtonProps {
|
|
967
|
+
nestedChildren?: NestingPopupButtonProps[];
|
|
968
|
+
/**
|
|
969
|
+
* Rendering styles
|
|
970
|
+
* @defaultValue to Toolbar
|
|
971
|
+
*/
|
|
972
|
+
variant?: PopupButtonType;
|
|
973
|
+
}
|
|
974
|
+
|
|
975
|
+
export declare const NewPresetStylesIcon: (props: SvgIconProps) => JSX.Element;
|
|
976
|
+
|
|
977
|
+
export declare const OptionsDialog: default_2.FC<OptionsDialogProps>;
|
|
978
|
+
|
|
979
|
+
export declare interface OptionsDialogProps extends OptionsNotificationOptions, InternalWindowProps {
|
|
980
|
+
}
|
|
981
|
+
|
|
982
|
+
export declare interface OutlineBorder {
|
|
983
|
+
color?: string | ((theme: Theme) => string);
|
|
984
|
+
hoverColor?: string | ((theme: Theme) => string);
|
|
985
|
+
focusColor?: string | ((theme: Theme) => string);
|
|
986
|
+
}
|
|
987
|
+
|
|
988
|
+
export declare const overlayAlpha: (elevation: number) => string;
|
|
989
|
+
|
|
990
|
+
export declare const PasteFormatsIcon: (props: SvgIconProps) => JSX.Element;
|
|
991
|
+
|
|
992
|
+
export declare const PasteFormulasIcon: (props: SvgIconProps) => JSX.Element;
|
|
993
|
+
|
|
994
|
+
export declare const PasteIcon: (props: SvgIconProps) => JSX.Element;
|
|
995
|
+
|
|
996
|
+
export declare const PasteLinksIcon: (props: SvgIconProps) => JSX.Element;
|
|
997
|
+
|
|
998
|
+
export declare const PasteTransposeIcon: (props: SvgIconProps) => JSX.Element;
|
|
999
|
+
|
|
1000
|
+
export declare const PasteValuesIcon: (props: SvgIconProps) => JSX.Element;
|
|
1001
|
+
|
|
1002
|
+
export declare const PercentIcon: (props: SvgIconProps) => JSX.Element;
|
|
1003
|
+
|
|
1004
|
+
export declare const PopupAutoFocus: {
|
|
1005
|
+
readonly Popup: "popup";
|
|
1006
|
+
readonly Anchor: "anchor";
|
|
1007
|
+
};
|
|
1008
|
+
|
|
1009
|
+
export declare type PopupAutoFocus = typeof PopupAutoFocus[keyof typeof PopupAutoFocus];
|
|
1010
|
+
|
|
1011
|
+
export declare const PopupButtonType: {
|
|
1012
|
+
/**
|
|
1013
|
+
* Suitable for toolbars. Click to open, click to close, generally disabled as icon
|
|
1014
|
+
*/
|
|
1015
|
+
readonly Toolbar: "toolbar";
|
|
1016
|
+
/**
|
|
1017
|
+
* Suitable for menus. HoverIn to open, hover leave to close, generally disabled as icon and text
|
|
1018
|
+
*/
|
|
1019
|
+
readonly Menuitem: "menuitem";
|
|
1020
|
+
};
|
|
1021
|
+
|
|
1022
|
+
export declare type PopupButtonType = typeof PopupButtonType[keyof typeof PopupButtonType];
|
|
1023
|
+
|
|
1024
|
+
export declare const PresetStylesIcon: (props: SvgIconProps) => JSX.Element;
|
|
1025
|
+
|
|
1026
|
+
export declare const RedoIcon: (props: SvgIconProps) => JSX.Element;
|
|
1027
|
+
|
|
1028
|
+
/**
|
|
1029
|
+
* If the x or y is a string it is assumed to be a percentage of available space before.
|
|
1030
|
+
*/
|
|
1031
|
+
export declare interface RelativePoint {
|
|
1032
|
+
x?: number | string;
|
|
1033
|
+
y?: number | string;
|
|
1034
|
+
}
|
|
1035
|
+
|
|
1036
|
+
export declare const RemoveCellsIcon: (props: SvgIconProps) => JSX.Element;
|
|
1037
|
+
|
|
1038
|
+
export declare const RemoveColumn2Icon: (props: SvgIconProps) => JSX.Element;
|
|
1039
|
+
|
|
1040
|
+
export declare const RemoveColumnIcon: (props: SvgIconProps) => JSX.Element;
|
|
1041
|
+
|
|
1042
|
+
export declare const RemoveRowIcon: (props: SvgIconProps) => JSX.Element;
|
|
1043
|
+
|
|
1044
|
+
export declare const RowResizeIcon: (props: SvgIconProps) => JSX.Element;
|
|
1045
|
+
|
|
1046
|
+
export declare const RowsResizeAutoIcon: (props: SvgIconProps) => JSX.Element;
|
|
1047
|
+
|
|
1048
|
+
export declare const ScriptFormulaIcon: (props: SvgIconProps) => JSX.Element;
|
|
1049
|
+
|
|
1050
|
+
export declare const ScriptMacroIcon: (props: SvgIconProps) => JSX.Element;
|
|
1051
|
+
|
|
1052
|
+
export declare const ScriptNewIcon: (props: SvgIconProps) => JSX.Element;
|
|
1053
|
+
|
|
1054
|
+
export declare const ScriptRunIcon: (props: SvgIconProps) => JSX.Element;
|
|
1055
|
+
|
|
1056
|
+
export declare const ScriptSaveIcon: (props: SvgIconProps) => JSX.Element;
|
|
1057
|
+
|
|
1058
|
+
export declare interface ScrollbarRefProps extends ContextMenuProps {
|
|
1059
|
+
ref?: default_2.Ref<HTMLDivElement>;
|
|
1060
|
+
}
|
|
1061
|
+
|
|
1062
|
+
export declare function scrollbarTheming(theme: Theme, options?: ScrollbarThemingOptions): {
|
|
1063
|
+
"&::-webkit-scrollbar, & *::-webkit-scrollbar": {
|
|
1064
|
+
backgroundColor: string;
|
|
1065
|
+
width: string;
|
|
1066
|
+
height: string;
|
|
1067
|
+
};
|
|
1068
|
+
"&::-webkit-scrollbar-button": {
|
|
1069
|
+
display: string;
|
|
1070
|
+
};
|
|
1071
|
+
"& .scrollbar-button": {
|
|
1072
|
+
fill: string;
|
|
1073
|
+
backgroundColor: string;
|
|
1074
|
+
transition: string;
|
|
1075
|
+
width: string;
|
|
1076
|
+
height: string;
|
|
1077
|
+
};
|
|
1078
|
+
"& .scrollbar-button:hover:not([disabled])": {
|
|
1079
|
+
fill: string;
|
|
1080
|
+
};
|
|
1081
|
+
"& .scrollbar-button:disabled": {
|
|
1082
|
+
opacity: number;
|
|
1083
|
+
};
|
|
1084
|
+
"&::-webkit-scrollbar-track, & *::-webkit-scrollbar-track": {};
|
|
1085
|
+
"&::-webkit-scrollbar-track-piece, & *::-webkit-scrollbar-track-piece": {};
|
|
1086
|
+
"&::-webkit-scrollbar-thumb, & *::-webkit-scrollbar-thumb": {
|
|
1087
|
+
borderRadius: number;
|
|
1088
|
+
backgroundColor: string;
|
|
1089
|
+
minHeight: string;
|
|
1090
|
+
minWidth: string;
|
|
1091
|
+
border: string;
|
|
1092
|
+
};
|
|
1093
|
+
"&::-webkit-scrollbar-thumb:focus, & *::-webkit-scrollbar-thumb:focus": {
|
|
1094
|
+
backgroundColor: string;
|
|
1095
|
+
border: true;
|
|
1096
|
+
};
|
|
1097
|
+
"&::-webkit-scrollbar-thumb:active, & *::-webkit-scrollbar-thumb:active": {
|
|
1098
|
+
backgroundColor: string;
|
|
1099
|
+
border: true;
|
|
1100
|
+
};
|
|
1101
|
+
"&::-webkit-scrollbar-thumb:hover, & *::-webkit-scrollbar-thumb:hover": {
|
|
1102
|
+
backgroundColor: string;
|
|
1103
|
+
border: true;
|
|
1104
|
+
};
|
|
1105
|
+
"&::-webkit-scrollbar-corner, & *::-webkit-scrollbar-corner": {
|
|
1106
|
+
backgroundColor: string;
|
|
1107
|
+
};
|
|
1108
|
+
};
|
|
1109
|
+
|
|
1110
|
+
export declare interface ScrollbarThemingOptions {
|
|
1111
|
+
track?: string;
|
|
1112
|
+
thumb?: string;
|
|
1113
|
+
active?: string;
|
|
1114
|
+
corner?: string;
|
|
1115
|
+
outline?: boolean;
|
|
1116
|
+
}
|
|
1117
|
+
|
|
1118
|
+
export declare const SelectAreaModeIcon: (props: SvgIconProps) => JSX.Element;
|
|
1119
|
+
|
|
1120
|
+
export declare const SelectedIcon: default_2.NamedExoticComponent<SelectedIconProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
1121
|
+
|
|
1122
|
+
export declare interface SelectedIconProps extends default_2.HTMLAttributes<HTMLElement> {
|
|
1123
|
+
/**
|
|
1124
|
+
* If this is set to false then will just render as a regular icon.
|
|
1125
|
+
* @defaultValue true
|
|
1126
|
+
*
|
|
1127
|
+
*/
|
|
1128
|
+
selected?: boolean;
|
|
1129
|
+
/**
|
|
1130
|
+
* MUI SX props {@link https://mui.com/system/getting-started/the-sx-prop/}
|
|
1131
|
+
*/
|
|
1132
|
+
sx?: SxProps<Theme>;
|
|
1133
|
+
outlined?: boolean;
|
|
1134
|
+
}
|
|
1135
|
+
|
|
1136
|
+
export declare const SelectRangeModeIcon: (props: SvgIconProps) => JSX.Element;
|
|
1137
|
+
|
|
1138
|
+
export declare const ShowColumnIcon: (props: SvgIconProps) => JSX.Element;
|
|
1139
|
+
|
|
1140
|
+
export declare const ShowRowIcon: (props: SvgIconProps) => JSX.Element;
|
|
1141
|
+
|
|
1142
|
+
/**
|
|
1143
|
+
* Simple Popup that takes a list of commands for a popup
|
|
1144
|
+
*/
|
|
1145
|
+
export declare const SimpleCommandPopupButton: default_2.FC<SimpleCommandPopupButtonProps>;
|
|
1146
|
+
|
|
1147
|
+
export declare interface SimpleCommandPopupButtonProps extends CommandPopupButtonProps {
|
|
1148
|
+
/**
|
|
1149
|
+
* A list of command keys to show in the popup
|
|
1150
|
+
*/
|
|
1151
|
+
popupCommandKeys: string[];
|
|
1152
|
+
/**
|
|
1153
|
+
* Scope for the popup
|
|
1154
|
+
*
|
|
1155
|
+
* @defaultValue The 'quickCommandKey'.
|
|
1156
|
+
*/
|
|
1157
|
+
popupScope?: string;
|
|
1158
|
+
renderCommandButton?: (props: CommandButtonProps) => default_2.ReactNode;
|
|
1159
|
+
}
|
|
1160
|
+
|
|
1161
|
+
/**
|
|
1162
|
+
* SimpleTooltip wraps that use the useFullscreenPortal hook
|
|
1163
|
+
* to wrap MUI Tooltip and set the Popper container to support
|
|
1164
|
+
* fullscreen/portal scenarios. Behaves exactly like Tooltip.
|
|
1165
|
+
*/
|
|
1166
|
+
export declare const SimpleTooltip: default_2.ForwardRefExoticComponent<Omit<TooltipProps, "ref"> & default_2.RefAttributes<any>>;
|
|
1167
|
+
|
|
1168
|
+
export declare interface SmartInputFieldProps {
|
|
1169
|
+
automatic?: any;
|
|
1170
|
+
}
|
|
1171
|
+
|
|
1172
|
+
export declare const SortAlphaCustomIcon: (props: SvgIconProps) => JSX.Element;
|
|
1173
|
+
|
|
1174
|
+
export declare const SortAlphaDecreaseIcon: (props: SvgIconProps) => JSX.Element;
|
|
1175
|
+
|
|
1176
|
+
export declare const SortAlphaIncreaseIcon: (props: SvgIconProps) => JSX.Element;
|
|
1177
|
+
|
|
1178
|
+
export declare const SortCustomIcon: (props: SvgIconProps) => JSX.Element;
|
|
1179
|
+
|
|
1180
|
+
export declare const SortDecreaseIcon: (props: SvgIconProps) => JSX.Element;
|
|
1181
|
+
|
|
1182
|
+
export declare const SortIncreaseIcon: (props: SvgIconProps) => JSX.Element;
|
|
1183
|
+
|
|
1184
|
+
export declare const StackTrace: default_2.FC<StackTraceProps>;
|
|
1185
|
+
|
|
1186
|
+
export declare interface StackTraceProps {
|
|
1187
|
+
/**
|
|
1188
|
+
* The error object containing the stack trace.
|
|
1189
|
+
*/
|
|
1190
|
+
error: Error;
|
|
1191
|
+
/**
|
|
1192
|
+
* Maximum number of stack trace lines to show.
|
|
1193
|
+
*
|
|
1194
|
+
* If not provided, all lines will be shown.
|
|
1195
|
+
*/
|
|
1196
|
+
maxLines?: number;
|
|
1197
|
+
/**
|
|
1198
|
+
* Whether to show line numbers
|
|
1199
|
+
*/
|
|
1200
|
+
hideLineNumbers?: boolean;
|
|
1201
|
+
}
|
|
1202
|
+
|
|
1203
|
+
/**
|
|
1204
|
+
* Useful for contrasting colors
|
|
1205
|
+
* @param theme - The theme
|
|
1206
|
+
*/
|
|
1207
|
+
export declare const strokeShadowFilter: (theme: Theme) => string;
|
|
1208
|
+
|
|
1209
|
+
export declare const SystemDefaultDarkMode: (props: SvgIconProps) => JSX.Element;
|
|
1210
|
+
|
|
1211
|
+
export declare const SystemDefaultLightMode: (props: SvgIconProps) => JSX.Element;
|
|
1212
|
+
|
|
1213
|
+
export declare const TableIcon: (props: SvgIconProps) => JSX.Element;
|
|
1214
|
+
|
|
1215
|
+
export declare const TableInsertIcon: (props: SvgIconProps) => JSX.Element;
|
|
1216
|
+
|
|
1217
|
+
export declare const TableRemoveIcon: (props: SvgIconProps) => JSX.Element;
|
|
1218
|
+
|
|
1219
|
+
export declare const TerminalIcon: (props: SvgIconProps) => JSX.Element;
|
|
1220
|
+
|
|
1221
|
+
export declare const TextBoldIcon: (props: SvgIconProps) => JSX.Element;
|
|
1222
|
+
|
|
1223
|
+
export declare const TextHorizontalClipIcon: (props: SvgIconProps) => JSX.Element;
|
|
1224
|
+
|
|
1225
|
+
export declare const TextHorizontalOverflowIcon: (props: SvgIconProps) => JSX.Element;
|
|
1226
|
+
|
|
1227
|
+
export declare const TextHorizontalShrinkIcon: (props: SvgIconProps) => JSX.Element;
|
|
1228
|
+
|
|
1229
|
+
export declare const TextHorizontalWrapIcon: (props: SvgIconProps) => JSX.Element;
|
|
1230
|
+
|
|
1231
|
+
export declare const TextItalicIcon: (props: SvgIconProps) => JSX.Element;
|
|
1232
|
+
|
|
1233
|
+
export declare const TextRotation0Icon: (props: SvgIconProps) => JSX.Element;
|
|
1234
|
+
|
|
1235
|
+
export declare const TextRotation2702Icon: (props: SvgIconProps) => JSX.Element;
|
|
1236
|
+
|
|
1237
|
+
export declare const TextRotation270Icon: (props: SvgIconProps) => JSX.Element;
|
|
1238
|
+
|
|
1239
|
+
export declare const TextRotation315Icon: (props: SvgIconProps) => JSX.Element;
|
|
1240
|
+
|
|
1241
|
+
export declare const TextRotation45Icon: (props: SvgIconProps) => JSX.Element;
|
|
1242
|
+
|
|
1243
|
+
export declare const TextRotation90Icon: (props: SvgIconProps) => JSX.Element;
|
|
1244
|
+
|
|
1245
|
+
export declare const TextRotationCustomIcon: (props: SvgIconProps) => JSX.Element;
|
|
1246
|
+
|
|
1247
|
+
export declare const TextRotationVerticalIcon: (props: SvgIconProps) => JSX.Element;
|
|
1248
|
+
|
|
1249
|
+
export declare const TextSizeDecreaseIcon: (props: SvgIconProps) => JSX.Element;
|
|
1250
|
+
|
|
1251
|
+
export declare const TextSizeIncreaseIcon: (props: SvgIconProps) => JSX.Element;
|
|
1252
|
+
|
|
1253
|
+
export declare const TextStrikeIcon: (props: SvgIconProps) => JSX.Element;
|
|
1254
|
+
|
|
1255
|
+
export declare const TextSubscriptIcon: (props: SvgIconProps) => JSX.Element;
|
|
1256
|
+
|
|
1257
|
+
export declare const TextSuperscriptIcon: (props: SvgIconProps) => JSX.Element;
|
|
1258
|
+
|
|
1259
|
+
export declare const TextUnderlineAccountingDoubleIcon: (props: SvgIconProps) => JSX.Element;
|
|
1260
|
+
|
|
1261
|
+
export declare const TextUnderlineAccountingIcon: (props: SvgIconProps) => JSX.Element;
|
|
1262
|
+
|
|
1263
|
+
export declare const TextUnderlineDoubleIcon: (props: SvgIconProps) => JSX.Element;
|
|
1264
|
+
|
|
1265
|
+
export declare const TextUnderlineIcon: (props: SvgIconProps) => JSX.Element;
|
|
1266
|
+
|
|
1267
|
+
export declare const TextVerticalBottomIcon: (props: SvgIconProps) => JSX.Element;
|
|
1268
|
+
|
|
1269
|
+
export declare const TextVerticalCenterIcon: (props: SvgIconProps) => JSX.Element;
|
|
1270
|
+
|
|
1271
|
+
export declare const TextVerticalTopIcon: (props: SvgIconProps) => JSX.Element;
|
|
1272
|
+
|
|
1273
|
+
export declare const Theme1Icon: (props: SvgIconProps) => JSX.Element;
|
|
1274
|
+
|
|
1275
|
+
export declare const Theme2Icon: (props: SvgIconProps) => JSX.Element;
|
|
1276
|
+
|
|
1277
|
+
export declare const ThemedIcon: any;
|
|
1278
|
+
|
|
1279
|
+
export declare interface ThemedIconProps extends BoxProps {
|
|
1280
|
+
size?: 'small' | 'medium' | 'large';
|
|
1281
|
+
activeColor?: string;
|
|
1282
|
+
}
|
|
1283
|
+
|
|
1284
|
+
export declare const themeIcon: (element: default_2.ReactElement<any>) => JSX.Element;
|
|
1285
|
+
|
|
1286
|
+
export declare const TicketIcon: (props: SvgIconProps) => JSX.Element;
|
|
1287
|
+
|
|
1288
|
+
export declare const toShortcutElements: (keyStroke: IKeyStroke | IKeyStroke[], modifierSymbol?: boolean, key?: string) => default_2.ReactElement;
|
|
1289
|
+
|
|
1290
|
+
export declare const UndoIcon: (props: SvgIconProps) => JSX.Element;
|
|
1291
|
+
|
|
1292
|
+
/**
|
|
1293
|
+
* useFloatStack
|
|
1294
|
+
*
|
|
1295
|
+
* Keeps a list of stacked movable components. This acts like within but outside of the containment
|
|
1296
|
+
* hierarchy.
|
|
1297
|
+
*
|
|
1298
|
+
* TODO - abstract out clickAway perhaps with a useFloatStack context
|
|
1299
|
+
* TODO - abstract out ExhibitFloatPanel factory into the same provider
|
|
1300
|
+
*
|
|
1301
|
+
*/
|
|
1302
|
+
export declare const useFloatStack: (props?: FloatStackOptions) => FloatStack;
|
|
1303
|
+
|
|
1304
|
+
export declare const useInputDialog: () => (props: InputDialogProps) => Promise<{
|
|
1305
|
+
input: string;
|
|
1306
|
+
option: string;
|
|
1307
|
+
}>;
|
|
1308
|
+
|
|
1309
|
+
/**
|
|
1310
|
+
* Creates a single instance given the type and import function
|
|
1311
|
+
* @remarks
|
|
1312
|
+
* This relays on the onHide prop working
|
|
1313
|
+
*/
|
|
1314
|
+
export declare function useLazyWindow<P extends InternalWindowProps>(): (type: string, importFunc: () => Promise<{
|
|
1315
|
+
default: any;
|
|
1316
|
+
}>, props?: P, options?: LazyWindowOptions) => Promise<HTMLElement>;
|
|
1317
|
+
|
|
1318
|
+
export declare const useOptionsDialog: () => (options: OptionsDialogProps) => Promise<string>;
|
|
1319
|
+
|
|
1320
|
+
export declare const VisibilityOffIcon: (props: SvgIconProps) => JSX.Element;
|
|
1321
|
+
|
|
1322
|
+
export declare const WalkingCopyIcon: (props: WalkingCopyIconProps) => JSX.Element;
|
|
1323
|
+
|
|
1324
|
+
export declare interface WalkingCopyIconProps extends SvgIconProps {
|
|
1325
|
+
/**
|
|
1326
|
+
* @defaultValue false
|
|
1327
|
+
*/
|
|
1328
|
+
isWalking?: boolean;
|
|
1329
|
+
/**
|
|
1330
|
+
* @defaultValue "info"
|
|
1331
|
+
*/
|
|
1332
|
+
themedType?: string;
|
|
1333
|
+
}
|
|
1334
|
+
|
|
1335
|
+
export declare const wrapErrorAsComponent: (error: any, hideStackTrace?: boolean, stackTraceExpanded?: boolean) => default_2.ReactNode;
|
|
1336
|
+
|
|
1337
|
+
|
|
1338
|
+
export * from "mui-modal-provider";
|
|
1339
|
+
|
|
1340
|
+
export { }
|