@wavelengthusaf/components 4.2.0 → 4.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/index.cjs +316 -79
- package/dist/cjs/index.d.cts +129 -57
- package/dist/esm/index.d.ts +129 -57
- package/dist/esm/index.js +623 -386
- package/package.json +6 -2
package/dist/esm/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React$1 from 'react';
|
|
2
2
|
import React__default, { ReactNode, ChangeEvent, ReactElement, CSSProperties as CSSProperties$1 } from 'react';
|
|
3
|
-
export { SampleComponent as SampleComponentElement, WavelengthBanner as WavelengthBannerElement, WavelengthButton as WavelengthButtonElement, WavelengthDatePicker as WavelengthDatePickerElement, WavelengthForm as WavelengthFormElement, WavelengthInput as WavelengthInputElement, WavelengthMultiSelectAutocomplete as WavelengthMultiSelectAutocompleteElement, WavelengthProgressBar as WavelengthProgressBarElement, WavelengthTitleBar as WavelengthTitleBarElement } from '@wavelengthusaf/web-components';
|
|
3
|
+
export { ChildDataTable as ChildDataTableElement, SampleComponent as SampleComponentElement, WavelengthBanner as WavelengthBannerElement, WavelengthButton as WavelengthButtonElement, WavelengthDatePicker as WavelengthDatePickerElement, WavelengthForm as WavelengthFormElement, WavelengthInput as WavelengthInputElement, WavelengthMultiSelectAutocomplete as WavelengthMultiSelectAutocompleteElement, WavelengthProgressBar as WavelengthProgressBarElement, WavelengthTitleBar as WavelengthTitleBarElement } from '@wavelengthusaf/web-components';
|
|
4
4
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
5
5
|
import { TextFieldVariants, SxProps, Theme } from '@mui/material';
|
|
6
6
|
import { z } from 'zod';
|
|
@@ -42,12 +42,16 @@ interface WavelengthButtonProps extends React__default.HTMLAttributes<HTMLElemen
|
|
|
42
42
|
boxShadow?: string;
|
|
43
43
|
className?: string;
|
|
44
44
|
style?: React__default.CSSProperties;
|
|
45
|
+
id?: string;
|
|
46
|
+
name?: string;
|
|
45
47
|
}
|
|
46
48
|
declare const WavelengthButton: React__default.FC<WavelengthButtonProps>;
|
|
47
49
|
|
|
48
50
|
interface ButtonProps {
|
|
49
51
|
onClick?: any;
|
|
50
52
|
children?: ReactNode;
|
|
53
|
+
id?: string;
|
|
54
|
+
name?: string;
|
|
51
55
|
}
|
|
52
56
|
interface IconProps {
|
|
53
57
|
text: string;
|
|
@@ -57,8 +61,10 @@ interface IconProps {
|
|
|
57
61
|
width: string;
|
|
58
62
|
height: number;
|
|
59
63
|
fontsize: number;
|
|
64
|
+
id?: string;
|
|
65
|
+
name?: string;
|
|
60
66
|
}
|
|
61
|
-
declare function ButtonIcon({ text, numIcon, children, active, width, height, fontsize }: IconProps): react_jsx_runtime.JSX.Element;
|
|
67
|
+
declare function ButtonIcon({ text, numIcon, children, active, width, height, fontsize, id, name }: IconProps): react_jsx_runtime.JSX.Element;
|
|
62
68
|
interface ButtonMenuProps {
|
|
63
69
|
children: ReactNode;
|
|
64
70
|
}
|
|
@@ -78,6 +84,7 @@ interface WavelengthAutocompleteProps {
|
|
|
78
84
|
hoverColor?: string;
|
|
79
85
|
textColor?: string;
|
|
80
86
|
onChange?: (selectedValue: string) => void;
|
|
87
|
+
name?: string;
|
|
81
88
|
}
|
|
82
89
|
/**
|
|
83
90
|
* Returns the Best Matching String from a List; Defaults to the first item if no good match is found
|
|
@@ -86,7 +93,7 @@ interface WavelengthAutocompleteProps {
|
|
|
86
93
|
* @returns - a string with the "best" match, or "" if no match is found
|
|
87
94
|
*/
|
|
88
95
|
declare function findBestStringMatch(searchString: string, choices: string[]): string;
|
|
89
|
-
declare function WavelengthAutocomplete({ label, width, variant, items, onChange, borderColor, textColor, hoverColor, id }: WavelengthAutocompleteProps): react_jsx_runtime.JSX.Element;
|
|
96
|
+
declare function WavelengthAutocomplete({ label, width, variant, items, onChange, borderColor, textColor, hoverColor, id, name }: WavelengthAutocompleteProps): react_jsx_runtime.JSX.Element;
|
|
90
97
|
declare namespace WavelengthAutocomplete {
|
|
91
98
|
var displayName: string;
|
|
92
99
|
}
|
|
@@ -97,8 +104,9 @@ interface DownloadProps {
|
|
|
97
104
|
fileName: string;
|
|
98
105
|
button?: ReactNode | React__default.JSX.Element;
|
|
99
106
|
id?: string;
|
|
107
|
+
name?: string;
|
|
100
108
|
}
|
|
101
|
-
declare function WavelengthFileDownloader({ fileLoc, fileURL, fileName, button, id }: DownloadProps): react_jsx_runtime.JSX.Element | undefined;
|
|
109
|
+
declare function WavelengthFileDownloader({ fileLoc, fileURL, fileName, button, id, name }: DownloadProps): react_jsx_runtime.JSX.Element | undefined;
|
|
102
110
|
declare namespace WavelengthFileDownloader {
|
|
103
111
|
var displayName: string;
|
|
104
112
|
}
|
|
@@ -113,8 +121,10 @@ interface StyledButtonPropsTwo {
|
|
|
113
121
|
disabled?: boolean;
|
|
114
122
|
children: React__default.ReactNode;
|
|
115
123
|
onClick?: React__default.MouseEventHandler<HTMLButtonElement>;
|
|
124
|
+
id?: string;
|
|
125
|
+
name?: string;
|
|
116
126
|
}
|
|
117
|
-
declare function WavelengthStyledButton({ type, styles, children, disabled, hoverstyles, icon, onClick, disabledstyles, activestyles }: StyledButtonPropsTwo): react_jsx_runtime.JSX.Element;
|
|
127
|
+
declare function WavelengthStyledButton({ type, styles, children, disabled, hoverstyles, icon, onClick, disabledstyles, activestyles, id, name }: StyledButtonPropsTwo): react_jsx_runtime.JSX.Element;
|
|
118
128
|
declare namespace WavelengthStyledButton {
|
|
119
129
|
var displayName: string;
|
|
120
130
|
}
|
|
@@ -126,8 +136,9 @@ interface WavelengthBoxProps {
|
|
|
126
136
|
borderTopRadius?: string;
|
|
127
137
|
borderBottomRadius?: string;
|
|
128
138
|
id?: string;
|
|
139
|
+
name?: string;
|
|
129
140
|
}
|
|
130
|
-
declare function WavelengthBox({ width, height, children, borderBottomRadius, borderTopRadius, id }: WavelengthBoxProps): react_jsx_runtime.JSX.Element;
|
|
141
|
+
declare function WavelengthBox({ width, height, children, borderBottomRadius, borderTopRadius, id, name }: WavelengthBoxProps): react_jsx_runtime.JSX.Element;
|
|
131
142
|
declare namespace WavelengthBox {
|
|
132
143
|
var displayName: string;
|
|
133
144
|
}
|
|
@@ -140,8 +151,9 @@ interface WavelengthContentPlaceholderProps {
|
|
|
140
151
|
bgcolor?: string;
|
|
141
152
|
children: ReactNode;
|
|
142
153
|
id?: string;
|
|
154
|
+
name?: string;
|
|
143
155
|
}
|
|
144
|
-
declare function WavelengthContentPlaceholder({ type, width, height, txtcolor, bgcolor, children, id }: WavelengthContentPlaceholderProps): react_jsx_runtime.JSX.Element;
|
|
156
|
+
declare function WavelengthContentPlaceholder({ type, width, height, txtcolor, bgcolor, children, id, name }: WavelengthContentPlaceholderProps): react_jsx_runtime.JSX.Element;
|
|
145
157
|
declare namespace WavelengthContentPlaceholder {
|
|
146
158
|
var displayName: string;
|
|
147
159
|
}
|
|
@@ -149,8 +161,9 @@ declare namespace WavelengthContentPlaceholder {
|
|
|
149
161
|
interface WavelengthExampleComponentProps {
|
|
150
162
|
width?: number;
|
|
151
163
|
height?: number;
|
|
164
|
+
id?: string;
|
|
152
165
|
}
|
|
153
|
-
declare function WavelengthExampleComponent({ width, height }: WavelengthExampleComponentProps): react_jsx_runtime.JSX.Element;
|
|
166
|
+
declare function WavelengthExampleComponent({ width, height, id }: WavelengthExampleComponentProps): react_jsx_runtime.JSX.Element;
|
|
154
167
|
declare namespace WavelengthExampleComponent {
|
|
155
168
|
var displayName: string;
|
|
156
169
|
}
|
|
@@ -255,6 +268,54 @@ interface WavelengthNavBarProps extends React__default.HTMLAttributes<HTMLElemen
|
|
|
255
268
|
}
|
|
256
269
|
declare const WavelengthNavBar: React__default.FC<WavelengthNavBarProps>;
|
|
257
270
|
|
|
271
|
+
interface IFileSelectedEventDetail {
|
|
272
|
+
files: File | File[];
|
|
273
|
+
}
|
|
274
|
+
interface WavelengthFileDropZoneProps extends React__default.HTMLAttributes<HTMLElement> {
|
|
275
|
+
acceptedTypes?: string;
|
|
276
|
+
maxSize?: number;
|
|
277
|
+
multiple?: boolean;
|
|
278
|
+
dragText?: string;
|
|
279
|
+
iconSrc?: string;
|
|
280
|
+
onFilesSelected?: (files: File | File[]) => void;
|
|
281
|
+
hostDisplay?: string;
|
|
282
|
+
hostWidth?: string;
|
|
283
|
+
inputDisplay?: string;
|
|
284
|
+
borderWidth?: string;
|
|
285
|
+
borderStyle?: string;
|
|
286
|
+
borderColor?: string;
|
|
287
|
+
borderRadius?: string;
|
|
288
|
+
padding?: string;
|
|
289
|
+
textAlign?: string;
|
|
290
|
+
backgroundColor?: string;
|
|
291
|
+
cursor?: string;
|
|
292
|
+
transition?: string;
|
|
293
|
+
display?: string;
|
|
294
|
+
flexDirection?: string;
|
|
295
|
+
alignItems?: string;
|
|
296
|
+
gap?: string;
|
|
297
|
+
borderHoverColor?: string;
|
|
298
|
+
backgroundHoverColor?: string;
|
|
299
|
+
borderActiveColor?: string;
|
|
300
|
+
backgroundActiveColor?: string;
|
|
301
|
+
contentDisplay?: string;
|
|
302
|
+
contentFlexDirection?: string;
|
|
303
|
+
contentAlignItems?: string;
|
|
304
|
+
contentGap?: string;
|
|
305
|
+
textColor?: string;
|
|
306
|
+
fontFamily?: string;
|
|
307
|
+
fontStyle?: string;
|
|
308
|
+
fontSize?: string;
|
|
309
|
+
lineHeight?: string;
|
|
310
|
+
letterSpacing?: string;
|
|
311
|
+
iconSize?: string;
|
|
312
|
+
errorColor?: string;
|
|
313
|
+
errorFontFamily?: string;
|
|
314
|
+
errorFontSize?: string;
|
|
315
|
+
errorMarginTop?: string;
|
|
316
|
+
}
|
|
317
|
+
declare const WavelengthFileDropZone: React__default.FC<WavelengthFileDropZoneProps>;
|
|
318
|
+
|
|
258
319
|
interface ISpinningSvgProps {
|
|
259
320
|
size: number;
|
|
260
321
|
id: "outer-circle" | "middle-circle" | "inner-circle" | "spinning";
|
|
@@ -289,14 +350,16 @@ interface DragAndDropProps {
|
|
|
289
350
|
allowedFileExtensions?: string;
|
|
290
351
|
backgroundColor?: string;
|
|
291
352
|
dataTestId?: string;
|
|
353
|
+
id?: string;
|
|
292
354
|
}
|
|
293
|
-
declare function WavelengthDragAndDrop({ width, height, onFilesSelected, border, textColor, fontSize, allowedFileMIME, allowedFileExtensions, backgroundColor, dataTestId, }: DragAndDropProps): react_jsx_runtime.JSX.Element;
|
|
355
|
+
declare function WavelengthDragAndDrop({ width, height, onFilesSelected, border, textColor, fontSize, allowedFileMIME, allowedFileExtensions, backgroundColor, dataTestId, id, }: DragAndDropProps): react_jsx_runtime.JSX.Element;
|
|
294
356
|
declare namespace WavelengthDragAndDrop {
|
|
295
357
|
var displayName: string;
|
|
296
358
|
}
|
|
297
359
|
|
|
298
360
|
interface WavelengthProgressBarProps extends React__default.HTMLAttributes<HTMLElement> {
|
|
299
361
|
name?: string;
|
|
362
|
+
id?: string;
|
|
300
363
|
value?: number;
|
|
301
364
|
width?: string;
|
|
302
365
|
height?: string;
|
|
@@ -319,6 +382,7 @@ interface CommentProps {
|
|
|
319
382
|
border?: string;
|
|
320
383
|
iconSelectedColor?: string;
|
|
321
384
|
dataTestId?: string;
|
|
385
|
+
id?: string;
|
|
322
386
|
}
|
|
323
387
|
declare function WavelengthCommentDisplay(props: CommentProps): react_jsx_runtime.JSX.Element;
|
|
324
388
|
declare namespace WavelengthCommentDisplay {
|
|
@@ -336,8 +400,9 @@ interface PermissionAlertProps {
|
|
|
336
400
|
unit?: string;
|
|
337
401
|
onDismiss?: React__default.MouseEventHandler<HTMLAnchorElement> | undefined;
|
|
338
402
|
dataTestId?: string;
|
|
403
|
+
id?: string;
|
|
339
404
|
}
|
|
340
|
-
declare function WavelengthPermissionAlert({ dataTestId, height, width, backgroundColor, permission, applicationName, requestorName, dateOfRequest, onDismiss, unit, }: PermissionAlertProps): react_jsx_runtime.JSX.Element;
|
|
405
|
+
declare function WavelengthPermissionAlert({ dataTestId, height, width, backgroundColor, permission, applicationName, requestorName, dateOfRequest, onDismiss, unit, id, }: PermissionAlertProps): react_jsx_runtime.JSX.Element;
|
|
341
406
|
declare namespace WavelengthPermissionAlert {
|
|
342
407
|
var displayName: string;
|
|
343
408
|
}
|
|
@@ -353,10 +418,11 @@ interface AccessAlertProps {
|
|
|
353
418
|
message?: string;
|
|
354
419
|
appLogo?: string;
|
|
355
420
|
dataTestId?: string;
|
|
421
|
+
id?: string;
|
|
356
422
|
backgroundColor?: string;
|
|
357
423
|
onClear?: React__default.MouseEventHandler<HTMLAnchorElement> | undefined;
|
|
358
424
|
}
|
|
359
|
-
declare function WavelengthAccessAlert({ height, dataTestId, width, time, access, appNickname, appLogo, appAdmin, requestorName, }: AccessAlertProps): react_jsx_runtime.JSX.Element;
|
|
425
|
+
declare function WavelengthAccessAlert({ height, dataTestId, id, width, time, access, appNickname, appLogo, appAdmin, requestorName, }: AccessAlertProps): react_jsx_runtime.JSX.Element;
|
|
360
426
|
declare namespace WavelengthAccessAlert {
|
|
361
427
|
var displayName: string;
|
|
362
428
|
}
|
|
@@ -384,8 +450,9 @@ declare namespace WavelengthAlert {
|
|
|
384
450
|
interface WavelengthFooterProps {
|
|
385
451
|
text?: string;
|
|
386
452
|
textColor?: string;
|
|
453
|
+
id?: string;
|
|
387
454
|
}
|
|
388
|
-
declare function WavelengthFooter({ text, textColor }: WavelengthFooterProps): react_jsx_runtime.JSX.Element;
|
|
455
|
+
declare function WavelengthFooter({ text, textColor, id }: WavelengthFooterProps): react_jsx_runtime.JSX.Element;
|
|
389
456
|
declare namespace WavelengthFooter {
|
|
390
457
|
var displayName: string;
|
|
391
458
|
}
|
|
@@ -461,8 +528,10 @@ interface WavelengthTitleBarProps {
|
|
|
461
528
|
subtitleText?: string;
|
|
462
529
|
textColor?: string;
|
|
463
530
|
shadowColor?: string;
|
|
531
|
+
id?: string;
|
|
532
|
+
name?: string;
|
|
464
533
|
}
|
|
465
|
-
declare function WavelengthTitleBar({ titleText, subtitleText, textColor, shadowColor }: WavelengthTitleBarProps): react_jsx_runtime.JSX.Element;
|
|
534
|
+
declare function WavelengthTitleBar({ titleText, subtitleText, textColor, shadowColor, id, name }: WavelengthTitleBarProps): react_jsx_runtime.JSX.Element;
|
|
466
535
|
declare namespace WavelengthTitleBar {
|
|
467
536
|
var displayName: string;
|
|
468
537
|
}
|
|
@@ -476,8 +545,9 @@ interface WavelengthBannerProps {
|
|
|
476
545
|
id?: string;
|
|
477
546
|
classification?: string;
|
|
478
547
|
control?: string[];
|
|
548
|
+
name?: string;
|
|
479
549
|
}
|
|
480
|
-
declare function WavelengthBanner({ bannerText, bannerColor, textColor, opacity, zIndex, id, classification, control }: WavelengthBannerProps): react_jsx_runtime.JSX.Element;
|
|
550
|
+
declare function WavelengthBanner({ bannerText, bannerColor, textColor, opacity, zIndex, id, classification, control, name }: WavelengthBannerProps): react_jsx_runtime.JSX.Element;
|
|
481
551
|
declare namespace WavelengthBanner {
|
|
482
552
|
var displayName: string;
|
|
483
553
|
}
|
|
@@ -497,8 +567,10 @@ declare namespace WavelengthAppLogo {
|
|
|
497
567
|
interface DefaultProps {
|
|
498
568
|
width?: string;
|
|
499
569
|
height?: number;
|
|
570
|
+
id?: string;
|
|
571
|
+
name?: string;
|
|
500
572
|
}
|
|
501
|
-
declare function WavelengthDefaultIcon({ width, height }: DefaultProps): react_jsx_runtime.JSX.Element;
|
|
573
|
+
declare function WavelengthDefaultIcon({ width, height, id, name }: DefaultProps): react_jsx_runtime.JSX.Element;
|
|
502
574
|
declare namespace WavelengthDefaultIcon {
|
|
503
575
|
var displayName: string;
|
|
504
576
|
}
|
|
@@ -509,8 +581,9 @@ interface HeaderProps {
|
|
|
509
581
|
color?: string;
|
|
510
582
|
opacity?: number;
|
|
511
583
|
gradient?: boolean;
|
|
584
|
+
id?: string;
|
|
512
585
|
}
|
|
513
|
-
declare function WavelengthManyPlanes({ numberOfPlanes, trailDir, color, opacity, gradient }: HeaderProps): react_jsx_runtime.JSX.Element;
|
|
586
|
+
declare function WavelengthManyPlanes({ numberOfPlanes, trailDir, color, opacity, gradient, id }: HeaderProps): react_jsx_runtime.JSX.Element;
|
|
514
587
|
declare namespace WavelengthManyPlanes {
|
|
515
588
|
var displayName: string;
|
|
516
589
|
}
|
|
@@ -536,6 +609,7 @@ interface WavelengthConfirmationModalProps {
|
|
|
536
609
|
setShow: (show: boolean) => void;
|
|
537
610
|
textObj: Record<string, string>;
|
|
538
611
|
id?: string;
|
|
612
|
+
name?: string;
|
|
539
613
|
width?: string;
|
|
540
614
|
height?: string;
|
|
541
615
|
fontFamily?: string;
|
|
@@ -554,6 +628,7 @@ interface WavelengthContentModalProps {
|
|
|
554
628
|
setShow: (show: boolean) => void;
|
|
555
629
|
textObj: Record<string, string>;
|
|
556
630
|
handleContentModalOnConfirmProp: () => void;
|
|
631
|
+
id?: string;
|
|
557
632
|
}
|
|
558
633
|
declare function WavelengthContentModal(props: WavelengthContentModalProps): react_jsx_runtime.JSX.Element;
|
|
559
634
|
declare namespace WavelengthContentModal {
|
|
@@ -652,11 +727,12 @@ interface Testprops {
|
|
|
652
727
|
width?: string | number;
|
|
653
728
|
message?: string | ReactNode;
|
|
654
729
|
img: React__default.JSX.Element | ReactNode;
|
|
730
|
+
id?: string;
|
|
655
731
|
toggleOpen: (value: React__default.SetStateAction<boolean>) => void;
|
|
656
732
|
customVertyAlign?: string;
|
|
657
733
|
}
|
|
658
734
|
declare const useOutsideClick: (callback: () => void) => React__default.RefObject<HTMLDivElement>;
|
|
659
|
-
declare function WavelengthTestSnackbar({ isPopUpOpen, toggleOpen, type, message, customVertyAlign, width, img }: Testprops): react_jsx_runtime.JSX.Element;
|
|
735
|
+
declare function WavelengthTestSnackbar({ isPopUpOpen, toggleOpen, type, message, customVertyAlign, width, img, id }: Testprops): react_jsx_runtime.JSX.Element;
|
|
660
736
|
declare namespace WavelengthTestSnackbar {
|
|
661
737
|
var displayName: string;
|
|
662
738
|
}
|
|
@@ -666,6 +742,7 @@ interface sliderProps {
|
|
|
666
742
|
labelColor?: string;
|
|
667
743
|
color?: string;
|
|
668
744
|
value: number;
|
|
745
|
+
id?: string;
|
|
669
746
|
valueDisplayed?: boolean;
|
|
670
747
|
minVal: number;
|
|
671
748
|
maxVal: number;
|
|
@@ -674,7 +751,7 @@ interface sliderProps {
|
|
|
674
751
|
labelFunc?(val: number): string;
|
|
675
752
|
marks?: Mark[];
|
|
676
753
|
}
|
|
677
|
-
declare function WavelengthSlider({ width, color, valueDisplayed, marks, labelColor, value, maxVal, minVal, step, labelFunc, handleChange }: sliderProps): react_jsx_runtime.JSX.Element;
|
|
754
|
+
declare function WavelengthSlider({ width, color, valueDisplayed, marks, labelColor, value, id, maxVal, minVal, step, labelFunc, handleChange }: sliderProps): react_jsx_runtime.JSX.Element;
|
|
678
755
|
declare namespace WavelengthSlider {
|
|
679
756
|
var displayName: string;
|
|
680
757
|
}
|
|
@@ -694,6 +771,8 @@ interface adjustableDimensions {
|
|
|
694
771
|
imageWidth?: number;
|
|
695
772
|
cardWidth?: number;
|
|
696
773
|
cardHeight?: number;
|
|
774
|
+
id?: string;
|
|
775
|
+
name?: string;
|
|
697
776
|
}
|
|
698
777
|
declare const DefaultCarousel: React__default.FC<carouselConfigArray$1 & adjustableDimensions>;
|
|
699
778
|
|
|
@@ -711,6 +790,8 @@ interface adjustDimenforCarousel {
|
|
|
711
790
|
contWidth?: number;
|
|
712
791
|
cardWidth?: number;
|
|
713
792
|
cardHeight?: number;
|
|
793
|
+
id?: string;
|
|
794
|
+
name?: string;
|
|
714
795
|
}
|
|
715
796
|
declare const SliderCardCarousel: React__default.FC<carouselConfigArray & adjustDimenforCarousel>;
|
|
716
797
|
|
|
@@ -721,10 +802,11 @@ interface PaginationProps {
|
|
|
721
802
|
currentPageNumber: number;
|
|
722
803
|
style?: "text" | "contained" | "outlined" | "circular";
|
|
723
804
|
onPageChange: (page: number) => void;
|
|
805
|
+
id?: string;
|
|
724
806
|
}
|
|
725
807
|
declare const range: (start: number, end: number) => number[];
|
|
726
808
|
declare function ascendingRange(start: number, end: number): number[];
|
|
727
|
-
declare function WavelengthDefaultPagination({ totalPages, currentPageNumber, siblingCount, boundaryCount, style, onPageChange }: PaginationProps): react_jsx_runtime.JSX.Element;
|
|
809
|
+
declare function WavelengthDefaultPagination({ totalPages, currentPageNumber, siblingCount, boundaryCount, style, onPageChange, id }: PaginationProps): react_jsx_runtime.JSX.Element;
|
|
728
810
|
declare namespace WavelengthDefaultPagination {
|
|
729
811
|
var displayName: string;
|
|
730
812
|
}
|
|
@@ -771,58 +853,37 @@ declare const WavelengthInput: React__default.ForwardRefExoticComponent<Waveleng
|
|
|
771
853
|
validate?: () => boolean;
|
|
772
854
|
}>>;
|
|
773
855
|
|
|
774
|
-
interface DataType$
|
|
856
|
+
interface DataType$1 {
|
|
775
857
|
id: number;
|
|
776
858
|
[key: string]: any;
|
|
777
859
|
}
|
|
778
|
-
interface ColumnProps$
|
|
860
|
+
interface ColumnProps$1<T> {
|
|
779
861
|
key: string;
|
|
780
862
|
title: string | ReactElement;
|
|
781
863
|
width?: string;
|
|
782
864
|
editable?: boolean;
|
|
783
|
-
render?: (column: ColumnProps$
|
|
865
|
+
render?: (column: ColumnProps$1<T>, item: T) => ReactElement;
|
|
784
866
|
}
|
|
785
|
-
type Props$
|
|
786
|
-
columns: Array<ColumnProps$
|
|
867
|
+
type Props$1<T> = {
|
|
868
|
+
columns: Array<ColumnProps$1<T>>;
|
|
787
869
|
data?: T[] | undefined;
|
|
788
870
|
itemsPerPage: number;
|
|
789
871
|
totalPages: number;
|
|
872
|
+
id?: string;
|
|
790
873
|
};
|
|
791
874
|
declare const WavelengthDataTable: {
|
|
792
|
-
<T extends DataType$
|
|
875
|
+
<T extends DataType$1>({ data, columns, itemsPerPage, totalPages, id }: Props$1<T>): react_jsx_runtime.JSX.Element;
|
|
793
876
|
displayName: string;
|
|
794
877
|
};
|
|
795
878
|
|
|
796
|
-
interface
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
fileObjects: fileObject[];
|
|
879
|
+
interface ChildDataTableProps extends React__default.HTMLAttributes<HTMLElement> {
|
|
880
|
+
columns?: object;
|
|
881
|
+
data?: object;
|
|
882
|
+
dropdownArrowLocation?: string;
|
|
883
|
+
sortIcon?: string | HTMLElement;
|
|
884
|
+
dropdownButtonIcon?: string | HTMLElement;
|
|
803
885
|
}
|
|
804
|
-
|
|
805
|
-
id: number;
|
|
806
|
-
[key: string]: any;
|
|
807
|
-
Details?: Details$1;
|
|
808
|
-
}
|
|
809
|
-
interface ColumnProps$1 {
|
|
810
|
-
key: string;
|
|
811
|
-
title: string | ReactElement;
|
|
812
|
-
subDataTableColumn: boolean;
|
|
813
|
-
PrimaryBoldText?: boolean;
|
|
814
|
-
}
|
|
815
|
-
type Props$1<T> = {
|
|
816
|
-
columns: Array<ColumnProps$1>;
|
|
817
|
-
data?: T[] | undefined;
|
|
818
|
-
downloadArrowOnClick?: () => void | Promise<void>;
|
|
819
|
-
downloadMissionOnClick?: () => void | Promise<void>;
|
|
820
|
-
addFilesOnClick?: () => void | Promise<void>;
|
|
821
|
-
};
|
|
822
|
-
declare const ChildDataTable: {
|
|
823
|
-
<T extends DataType$1>({ data, columns, downloadArrowOnClick, downloadMissionOnClick, addFilesOnClick }: Props$1<T>): react_jsx_runtime.JSX.Element;
|
|
824
|
-
displayName: string;
|
|
825
|
-
};
|
|
886
|
+
declare const ChildDataTable: React__default.FC<ChildDataTableProps>;
|
|
826
887
|
|
|
827
888
|
interface Details {
|
|
828
889
|
relationId: number;
|
|
@@ -844,9 +905,10 @@ interface ColumnProps<T> {
|
|
|
844
905
|
type Props<T> = {
|
|
845
906
|
columns: Array<ColumnProps<T>>;
|
|
846
907
|
data?: T[] | undefined;
|
|
908
|
+
id?: string;
|
|
847
909
|
};
|
|
848
910
|
declare const NestedDataTable: {
|
|
849
|
-
<T extends DataType>({ data, columns }: Props<T>): react_jsx_runtime.JSX.Element;
|
|
911
|
+
<T extends DataType>({ data, columns, id }: Props<T>): react_jsx_runtime.JSX.Element;
|
|
850
912
|
displayName: string;
|
|
851
913
|
};
|
|
852
914
|
|
|
@@ -879,6 +941,7 @@ interface DateInputProps {
|
|
|
879
941
|
width?: string;
|
|
880
942
|
min?: string;
|
|
881
943
|
max?: string;
|
|
944
|
+
value?: string;
|
|
882
945
|
inputTimeType: timeVariant;
|
|
883
946
|
labelColor?: string;
|
|
884
947
|
inputBorderStyle?: string;
|
|
@@ -890,7 +953,7 @@ interface DateInputProps {
|
|
|
890
953
|
onBlurCallback?: () => void;
|
|
891
954
|
}
|
|
892
955
|
declare const WavelengthDatePicker: {
|
|
893
|
-
({ id, name, inputBorderStyle, floatLabel, labelColor, inputFocusBorderColor, FocusLabelColor, backgroundColor, height, width, min, max, inputTimeType, OnDataChange, onBlurCallback, }: DateInputProps): react_jsx_runtime.JSX.Element;
|
|
956
|
+
({ id, name, inputBorderStyle, floatLabel, labelColor, inputFocusBorderColor, FocusLabelColor, backgroundColor, height, width, min, max, value, inputTimeType, OnDataChange, onBlurCallback, }: DateInputProps): react_jsx_runtime.JSX.Element;
|
|
894
957
|
displayName: string;
|
|
895
958
|
};
|
|
896
959
|
|
|
@@ -900,6 +963,15 @@ interface SampleComponentProps extends React__default.HTMLAttributes<HTMLElement
|
|
|
900
963
|
}
|
|
901
964
|
declare const SampleComponent: React__default.FC<SampleComponentProps>;
|
|
902
965
|
|
|
966
|
+
interface WavelengthNotificationPanelProps extends React__default.HTMLAttributes<HTMLElement> {
|
|
967
|
+
notifications: string[];
|
|
968
|
+
darkMode?: boolean;
|
|
969
|
+
onMarkAsRead: () => void;
|
|
970
|
+
onSignOut: () => void;
|
|
971
|
+
accountLink?: string;
|
|
972
|
+
}
|
|
973
|
+
declare const WavelengthNotificationPanel: React__default.FC<WavelengthNotificationPanelProps>;
|
|
974
|
+
|
|
903
975
|
interface Option {
|
|
904
976
|
label: string;
|
|
905
977
|
value: string;
|
|
@@ -938,4 +1010,4 @@ interface MultiSelectAutocompleteProps {
|
|
|
938
1010
|
}
|
|
939
1011
|
declare const WavelengthMultiSelectAutocomplete: React__default.FC<MultiSelectAutocompleteProps>;
|
|
940
1012
|
|
|
941
|
-
export { ButtonIcon, ButtonMenu, ChildDataTable, DefaultCarousel, type NavItem, NestedDataTable, SampleComponent, type SearchProps, type SearchResult, SliderCardCarousel, type StyledButtonPropsTwo, type ThemeProperties, WavelengthAccessAlert, WavelengthAlert, WavelengthAppLogo, WavelengthAppTheme, WavelengthAutoComplete, WavelengthAutocomplete, WavelengthBanner, WavelengthBox, WavelengthButton, WavelengthCommentDisplay, WavelengthConfirmationModal, WavelengthContentModal, WavelengthContentPlaceholder, WavelengthDataTable, WavelengthDatePicker, WavelengthDefaultIcon, WavelengthDefaultPagination, WavelengthDragAndDrop, WavelengthDropdown, WavelengthDropdownButton, WavelengthExampleComponent, WavelengthFileDownloader, WavelengthFooter, WavelengthForm, WavelengthInput, WavelengthManyPlanes, WavelengthMultiSelectAutocomplete, WavelengthNavBar, type WavelengthNavBarProps, WavelengthNotAvailablePage, WavelengthPermissionAlert, WavelengthPlaneTrail, WavelengthPopUpMenu, WavelengthProgressBar, WavelengthSearch, WavelengthSearchTextField, WavelengthSideBar, WavelengthSlider, WavelengthSnackbar, WavelengthSpinningLogo, WavelengthSpinningOuterCircle, WavelengthStandardSnackbar, WavelengthStyledButton, WavelengthTestSnackbar, WavelengthTitleBar, add, ascendingRange, concat, findBestStringMatch, type menuItemProps, range, useOutsideClick, useThemeContext };
|
|
1013
|
+
export { ButtonIcon, ButtonMenu, ChildDataTable, DefaultCarousel, type IFileSelectedEventDetail, type NavItem, NestedDataTable, SampleComponent, type SearchProps, type SearchResult, SliderCardCarousel, type StyledButtonPropsTwo, type ThemeProperties, WavelengthAccessAlert, WavelengthAlert, WavelengthAppLogo, WavelengthAppTheme, WavelengthAutoComplete, WavelengthAutocomplete, WavelengthBanner, WavelengthBox, WavelengthButton, WavelengthCommentDisplay, WavelengthConfirmationModal, WavelengthContentModal, WavelengthContentPlaceholder, WavelengthDataTable, WavelengthDatePicker, WavelengthDefaultIcon, WavelengthDefaultPagination, WavelengthDragAndDrop, WavelengthDropdown, WavelengthDropdownButton, WavelengthExampleComponent, WavelengthFileDownloader, WavelengthFileDropZone, type WavelengthFileDropZoneProps, WavelengthFooter, WavelengthForm, WavelengthInput, WavelengthManyPlanes, WavelengthMultiSelectAutocomplete, WavelengthNavBar, type WavelengthNavBarProps, WavelengthNotAvailablePage, WavelengthNotificationPanel, WavelengthPermissionAlert, WavelengthPlaneTrail, WavelengthPopUpMenu, WavelengthProgressBar, WavelengthSearch, WavelengthSearchTextField, WavelengthSideBar, WavelengthSlider, WavelengthSnackbar, WavelengthSpinningLogo, WavelengthSpinningOuterCircle, WavelengthStandardSnackbar, WavelengthStyledButton, WavelengthTestSnackbar, WavelengthTitleBar, add, ascendingRange, concat, findBestStringMatch, type menuItemProps, range, useOutsideClick, useThemeContext };
|