@intelligencebank/connectingib 3.2.0 → 5.0.0
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/README.md +1 -2
- package/dist/components/AssetBrowser/AssetBrowser.d.ts.map +1 -1
- package/dist/components/AssetBrowser/AssetBrowser.types.d.ts +5 -1
- package/dist/components/AssetBrowser/AssetBrowser.types.d.ts.map +1 -1
- package/dist/components/AssetCard/AssetCard.d.ts +6 -2
- package/dist/components/AssetCard/AssetCard.d.ts.map +1 -1
- package/dist/components/BrowserLoginConfirmation/BrowserLoginConfirmation.d.ts.map +1 -1
- package/dist/components/BrowserLoginConfirmation/BrowserLoginConfirmation.types.d.ts +13 -1
- package/dist/components/BrowserLoginConfirmation/BrowserLoginConfirmation.types.d.ts.map +1 -1
- package/dist/components/Button/Button.d.ts.map +1 -1
- package/dist/components/Button/Button.types.d.ts +5 -1
- package/dist/components/Button/Button.types.d.ts.map +1 -1
- package/dist/components/Card/Card.d.ts.map +1 -1
- package/dist/components/Card/Card.types.d.ts +25 -1
- package/dist/components/Card/Card.types.d.ts.map +1 -1
- package/dist/components/Chip/Chip.d.ts.map +1 -1
- package/dist/components/Chip/Chip.types.d.ts +5 -1
- package/dist/components/Chip/Chip.types.d.ts.map +1 -1
- package/dist/components/DataContainerCard/DataContainerCard.d.ts +40 -0
- package/dist/components/DataContainerCard/DataContainerCard.d.ts.map +1 -0
- package/dist/components/DataContainerCard/DataContainerCard.types.d.ts +149 -0
- package/dist/components/DataContainerCard/DataContainerCard.types.d.ts.map +1 -0
- package/dist/components/DataContainerCard/index.d.ts +3 -0
- package/dist/components/DataContainerCard/index.d.ts.map +1 -0
- package/dist/components/DropZone/DropZone.d.ts.map +1 -1
- package/dist/components/DropZone/DropZone.types.d.ts +7 -1
- package/dist/components/DropZone/DropZone.types.d.ts.map +1 -1
- package/dist/components/DropdownMenu/DropdownMenu.d.ts.map +1 -1
- package/dist/components/DropdownMenu/DropdownMenu.types.d.ts +10 -8
- package/dist/components/DropdownMenu/DropdownMenu.types.d.ts.map +1 -1
- package/dist/components/FieldLabel/FieldLabel.d.ts +3 -1
- package/dist/components/FieldLabel/FieldLabel.d.ts.map +1 -1
- package/dist/components/FieldLabel/FieldLabel.types.d.ts +19 -1
- package/dist/components/FieldLabel/FieldLabel.types.d.ts.map +1 -1
- package/dist/components/FiltersPanel/FiltersPanel.d.ts.map +1 -1
- package/dist/components/FiltersPanel/FiltersPanel.types.d.ts +9 -1
- package/dist/components/FiltersPanel/FiltersPanel.types.d.ts.map +1 -1
- package/dist/components/FolderCard/FolderCard.d.ts +6 -2
- package/dist/components/FolderCard/FolderCard.d.ts.map +1 -1
- package/dist/components/FolderTree/FolderTree.d.ts.map +1 -1
- package/dist/components/FolderTree/FolderTree.types.d.ts +5 -1
- package/dist/components/FolderTree/FolderTree.types.d.ts.map +1 -1
- package/dist/components/FormControl/FormControl.d.ts.map +1 -1
- package/dist/components/FormControl/FormControl.types.d.ts +9 -1
- package/dist/components/FormControl/FormControl.types.d.ts.map +1 -1
- package/dist/components/Grid/Grid.d.ts.map +1 -1
- package/dist/components/Grid/Grid.types.d.ts +10 -2
- package/dist/components/Grid/Grid.types.d.ts.map +1 -1
- package/dist/components/Icon/Icon.d.ts +2 -2
- package/dist/components/Icon/Icon.d.ts.map +1 -1
- package/dist/components/Icon/Icon.types.d.ts +11 -3
- package/dist/components/Icon/Icon.types.d.ts.map +1 -1
- package/dist/components/Input/Input.d.ts.map +1 -1
- package/dist/components/Input/Input.types.d.ts +12 -15
- package/dist/components/Input/Input.types.d.ts.map +1 -1
- package/dist/components/Input/index.d.ts +1 -1
- package/dist/components/Input/index.d.ts.map +1 -1
- package/dist/components/LinearLoading/LinearLoading.d.ts.map +1 -1
- package/dist/components/LinearLoading/LinearLoading.types.d.ts +5 -1
- package/dist/components/LinearLoading/LinearLoading.types.d.ts.map +1 -1
- package/dist/components/LoadingPlaceholder/LoadingPlaceholder.d.ts +25 -0
- package/dist/components/LoadingPlaceholder/LoadingPlaceholder.d.ts.map +1 -0
- package/dist/components/LoadingPlaceholder/LoadingPlaceholder.types.d.ts +69 -0
- package/dist/components/LoadingPlaceholder/LoadingPlaceholder.types.d.ts.map +1 -0
- package/dist/components/LoadingPlaceholder/index.d.ts +3 -0
- package/dist/components/LoadingPlaceholder/index.d.ts.map +1 -0
- package/dist/components/LoginForm/LoginForm.d.ts.map +1 -1
- package/dist/components/LoginForm/LoginForm.types.d.ts +14 -1
- package/dist/components/LoginForm/LoginForm.types.d.ts.map +1 -1
- package/dist/components/Message/Message.d.ts +18 -13
- package/dist/components/Message/Message.d.ts.map +1 -1
- package/dist/components/Message/Message.types.d.ts +114 -3
- package/dist/components/Message/Message.types.d.ts.map +1 -1
- package/dist/components/Message/SnackbarProvider.d.ts +55 -0
- package/dist/components/Message/SnackbarProvider.d.ts.map +1 -0
- package/dist/components/Message/SnackbarProvider.types.d.ts +101 -0
- package/dist/components/Message/SnackbarProvider.types.d.ts.map +1 -0
- package/dist/components/Message/SnackbarStack.d.ts +33 -0
- package/dist/components/Message/SnackbarStack.d.ts.map +1 -0
- package/dist/components/Message/SnackbarStack.types.d.ts +81 -0
- package/dist/components/Message/SnackbarStack.types.d.ts.map +1 -0
- package/dist/components/Message/index.d.ts +15 -2
- package/dist/components/Message/index.d.ts.map +1 -1
- package/dist/components/MetadataDetails/MetadataDetails.d.ts +49 -0
- package/dist/components/MetadataDetails/MetadataDetails.d.ts.map +1 -0
- package/dist/components/MetadataDetails/MetadataDetails.types.d.ts +80 -0
- package/dist/components/MetadataDetails/MetadataDetails.types.d.ts.map +1 -0
- package/dist/components/MetadataDetails/index.d.ts +3 -0
- package/dist/components/MetadataDetails/index.d.ts.map +1 -0
- package/dist/components/Modal/Modal.d.ts +1 -1
- package/dist/components/Modal/Modal.d.ts.map +1 -1
- package/dist/components/Modal/Modal.types.d.ts +53 -27
- package/dist/components/Modal/Modal.types.d.ts.map +1 -1
- package/dist/components/Multiselect/Multiselect.d.ts.map +1 -1
- package/dist/components/Multiselect/Multiselect.types.d.ts +31 -4
- package/dist/components/Multiselect/Multiselect.types.d.ts.map +1 -1
- package/dist/components/NavBar/NavBar.d.ts +1 -1
- package/dist/components/NavBar/NavBar.d.ts.map +1 -1
- package/dist/components/NavBar/NavBar.types.d.ts +13 -2
- package/dist/components/NavBar/NavBar.types.d.ts.map +1 -1
- package/dist/components/Paginator/Paginator.d.ts +1 -1
- package/dist/components/Paginator/Paginator.d.ts.map +1 -1
- package/dist/components/Paginator/Paginator.types.d.ts +5 -16
- package/dist/components/Paginator/Paginator.types.d.ts.map +1 -1
- package/dist/components/PresetSelector/PresetSelector.d.ts +1 -1
- package/dist/components/PresetSelector/PresetSelector.d.ts.map +1 -1
- package/dist/components/PresetSelector/PresetSelector.types.d.ts +9 -1
- package/dist/components/PresetSelector/PresetSelector.types.d.ts.map +1 -1
- package/dist/components/Radio/Radio.d.ts.map +1 -1
- package/dist/components/Radio/RadioGroup.d.ts.map +1 -1
- package/dist/components/RiskCard/RiskCard.d.ts +38 -0
- package/dist/components/RiskCard/RiskCard.d.ts.map +1 -0
- package/dist/components/RiskCard/RiskCard.types.d.ts +100 -0
- package/dist/components/RiskCard/RiskCard.types.d.ts.map +1 -0
- package/dist/components/RiskCard/index.d.ts +3 -0
- package/dist/components/RiskCard/index.d.ts.map +1 -0
- package/dist/components/SearchForm/SearchForm.d.ts.map +1 -1
- package/dist/components/SearchForm/SearchForm.types.d.ts +5 -1
- package/dist/components/SearchForm/SearchForm.types.d.ts.map +1 -1
- package/dist/components/Select/Select.d.ts +0 -1
- package/dist/components/Select/Select.d.ts.map +1 -1
- package/dist/components/Select/Select.types.d.ts +27 -19
- package/dist/components/Select/Select.types.d.ts.map +1 -1
- package/dist/components/Spinner/Spinner.d.ts +2 -2
- package/dist/components/Spinner/Spinner.d.ts.map +1 -1
- package/dist/components/Spinner/Spinner.types.d.ts +17 -8
- package/dist/components/Spinner/Spinner.types.d.ts.map +1 -1
- package/dist/components/Status/Status.d.ts.map +1 -1
- package/dist/components/Status/Status.types.d.ts +5 -1
- package/dist/components/Status/Status.types.d.ts.map +1 -1
- package/dist/components/StickyFooter/StickyFooter.d.ts +40 -0
- package/dist/components/StickyFooter/StickyFooter.d.ts.map +1 -0
- package/dist/components/StickyFooter/StickyFooter.types.d.ts +69 -0
- package/dist/components/StickyFooter/StickyFooter.types.d.ts.map +1 -0
- package/dist/components/StickyFooter/index.d.ts +3 -0
- package/dist/components/StickyFooter/index.d.ts.map +1 -0
- package/dist/components/Switch/Switch.d.ts.map +1 -1
- package/dist/components/Switch/Switch.types.d.ts +9 -1
- package/dist/components/Switch/Switch.types.d.ts.map +1 -1
- package/dist/components/Tabs/Tabs.types.d.ts +2 -2
- package/dist/components/Tabs/Tabs.types.d.ts.map +1 -1
- package/dist/components/TextArea/TextArea.d.ts.map +1 -1
- package/dist/components/TextArea/TextArea.types.d.ts +9 -1
- package/dist/components/TextArea/TextArea.types.d.ts.map +1 -1
- package/dist/components/Tooltip/Tooltip.d.ts.map +1 -1
- package/dist/components/Tooltip/Tooltip.types.d.ts +16 -2
- package/dist/components/Tooltip/Tooltip.types.d.ts.map +1 -1
- package/dist/components/index.d.ts +12 -16
- package/dist/components/index.d.ts.map +1 -1
- package/dist/connectingib.css +1 -1
- package/dist/index.js +1196 -1054
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +9975 -9420
- package/dist/index.mjs.map +1 -1
- package/dist/theme/colors.d.ts +29 -29
- package/dist/theme/colors.d.ts.map +1 -1
- package/dist/theme/index.d.ts +65 -35
- package/dist/theme/index.d.ts.map +1 -1
- package/dist/theme/typography.d.ts +103 -0
- package/dist/theme/typography.d.ts.map +1 -0
- package/dist/tokens/index.d.ts +0 -1
- package/dist/tokens/index.d.ts.map +1 -1
- package/dist/tokens/index.js.map +1 -1
- package/dist/tokens/index.mjs.map +1 -1
- package/dist/utils/file-formats.d.ts +1 -1
- package/package.json +1 -1
- package/dist/components/Accordion/Accordion.d.ts +0 -32
- package/dist/components/Accordion/Accordion.d.ts.map +0 -1
- package/dist/components/Accordion/Accordion.types.d.ts +0 -102
- package/dist/components/Accordion/Accordion.types.d.ts.map +0 -1
- package/dist/components/Accordion/index.d.ts +0 -3
- package/dist/components/Accordion/index.d.ts.map +0 -1
- package/dist/components/AssistiveMessage/AssistiveMessage.d.ts +0 -19
- package/dist/components/AssistiveMessage/AssistiveMessage.d.ts.map +0 -1
- package/dist/components/AssistiveMessage/AssistiveMessage.types.d.ts +0 -19
- package/dist/components/AssistiveMessage/AssistiveMessage.types.d.ts.map +0 -1
- package/dist/components/AssistiveMessage/index.d.ts +0 -7
- package/dist/components/AssistiveMessage/index.d.ts.map +0 -1
- package/dist/components/ErrorMessage/ErrorMessage.d.ts +0 -19
- package/dist/components/ErrorMessage/ErrorMessage.d.ts.map +0 -1
- package/dist/components/ErrorMessage/ErrorMessage.types.d.ts +0 -28
- package/dist/components/ErrorMessage/ErrorMessage.types.d.ts.map +0 -1
- package/dist/components/ErrorMessage/index.d.ts +0 -7
- package/dist/components/ErrorMessage/index.d.ts.map +0 -1
- package/dist/components/Overlay/Overlay.d.ts +0 -35
- package/dist/components/Overlay/Overlay.d.ts.map +0 -1
- package/dist/components/Overlay/Overlay.types.d.ts +0 -121
- package/dist/components/Overlay/Overlay.types.d.ts.map +0 -1
- package/dist/components/Overlay/index.d.ts +0 -7
- package/dist/components/Overlay/index.d.ts.map +0 -1
- package/dist/components/SingleDataComponent/SingleDataComponent.d.ts +0 -32
- package/dist/components/SingleDataComponent/SingleDataComponent.d.ts.map +0 -1
- package/dist/components/SingleDataComponent/SingleDataComponent.types.d.ts +0 -51
- package/dist/components/SingleDataComponent/SingleDataComponent.types.d.ts.map +0 -1
- package/dist/components/SingleDataComponent/index.d.ts +0 -3
- package/dist/components/SingleDataComponent/index.d.ts.map +0 -1
- package/dist/components/Snackbar/Snackbar.d.ts +0 -7
- package/dist/components/Snackbar/Snackbar.d.ts.map +0 -1
- package/dist/components/Snackbar/Snackbar.types.d.ts +0 -75
- package/dist/components/Snackbar/Snackbar.types.d.ts.map +0 -1
- package/dist/components/Snackbar/SnackbarProvider.d.ts +0 -7
- package/dist/components/Snackbar/SnackbarProvider.d.ts.map +0 -1
- package/dist/components/Snackbar/index.d.ts +0 -4
- package/dist/components/Snackbar/index.d.ts.map +0 -1
- package/dist/components/WarningMessage/WarningMessage.d.ts +0 -19
- package/dist/components/WarningMessage/WarningMessage.d.ts.map +0 -1
- package/dist/components/WarningMessage/WarningMessage.types.d.ts +0 -28
- package/dist/components/WarningMessage/WarningMessage.types.d.ts.map +0 -1
- package/dist/components/WarningMessage/index.d.ts +0 -7
- package/dist/components/WarningMessage/index.d.ts.map +0 -1
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
1
|
+
import { ReactNode, RefObject, CSSProperties } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* Font size value - can be a theme token key or a CSS value
|
|
4
|
+
*/
|
|
5
|
+
export type FontSizeValue = 'xs' | 'sm' | 'base' | 'md' | 'lg' | 'xl' | CSSProperties['fontSize'];
|
|
2
6
|
/**
|
|
3
7
|
* Size variants for the Modal component
|
|
4
8
|
*/
|
|
@@ -6,37 +10,20 @@ export type ModalSize = 'sm' | 'md' | 'lg' | 'xl' | 'full';
|
|
|
6
10
|
/**
|
|
7
11
|
* Props for the Modal component
|
|
8
12
|
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* **Modal** is a high-level, complete dialog component with built-in structure:
|
|
13
|
+
* The Modal component provides a complete dialog solution with:
|
|
12
14
|
* - Pre-built header with title and close button
|
|
13
15
|
* - Scrollable body content area
|
|
14
16
|
* - Footer for action buttons
|
|
15
17
|
* - Size variants (sm, md, lg, xl, full)
|
|
16
18
|
* - Uses Headless UI Dialog for accessibility
|
|
17
19
|
* - Animated transitions for both backdrop and panel
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
* -
|
|
21
|
-
* - Content body
|
|
22
|
-
* - Action buttons (confirm, cancel, etc.)
|
|
23
|
-
*
|
|
24
|
-
* **Overlay** is a low-level backdrop primitive for custom overlay scenarios:
|
|
25
|
-
* - Just a backdrop with optional children (no built-in structure)
|
|
26
|
-
* - Transparent option (no dark background)
|
|
27
|
-
* - Custom z-index control
|
|
28
|
-
* - Manual focus trap control
|
|
29
|
-
* - Portal rendering
|
|
30
|
-
*
|
|
31
|
-
* Use Overlay when you need:
|
|
32
|
-
* - A loading overlay with just a spinner
|
|
33
|
-
* - A custom popup that doesn't follow modal structure
|
|
34
|
-
* - A backdrop behind a drawer or slide-out panel
|
|
35
|
-
* - To build other overlay-based components
|
|
20
|
+
* - Transparent backdrop option for loading overlays or custom scenarios
|
|
21
|
+
* - Custom z-index for stacking contexts
|
|
22
|
+
* - Focus management with initial focus control
|
|
36
23
|
*
|
|
37
24
|
* @example
|
|
38
25
|
* ```tsx
|
|
39
|
-
* //
|
|
26
|
+
* // Standard dialog with structure
|
|
40
27
|
* <Modal isOpen={isOpen} onClose={handleClose} title="Confirm Delete">
|
|
41
28
|
* <p>Are you sure you want to delete this item?</p>
|
|
42
29
|
* <Modal.Footer>
|
|
@@ -45,10 +32,15 @@ export type ModalSize = 'sm' | 'md' | 'lg' | 'xl' | 'full';
|
|
|
45
32
|
* </Modal.Footer>
|
|
46
33
|
* </Modal>
|
|
47
34
|
*
|
|
48
|
-
* //
|
|
49
|
-
* <
|
|
35
|
+
* // Loading overlay (transparent backdrop with just a spinner)
|
|
36
|
+
* <Modal isOpen={isLoading} onClose={() => {}} transparent showCloseButton={false}>
|
|
50
37
|
* <Spinner size="lg" />
|
|
51
|
-
* </
|
|
38
|
+
* </Modal>
|
|
39
|
+
*
|
|
40
|
+
* // Custom z-index for stacking
|
|
41
|
+
* <Modal isOpen={isOpen} onClose={handleClose} zIndex={2000}>
|
|
42
|
+
* <p>High z-index modal</p>
|
|
43
|
+
* </Modal>
|
|
52
44
|
* ```
|
|
53
45
|
*/
|
|
54
46
|
export interface ModalProps {
|
|
@@ -58,6 +50,12 @@ export interface ModalProps {
|
|
|
58
50
|
onClose: () => void;
|
|
59
51
|
/** Modal title */
|
|
60
52
|
title?: string;
|
|
53
|
+
/**
|
|
54
|
+
* Font size for the title
|
|
55
|
+
* Can be a theme token key ('xs', 'sm', 'base', 'md', 'lg', 'xl') or CSS value
|
|
56
|
+
* @default 'lg'
|
|
57
|
+
*/
|
|
58
|
+
titleFontSize?: FontSizeValue;
|
|
61
59
|
/** Modal content */
|
|
62
60
|
children: ReactNode;
|
|
63
61
|
/** Size variant */
|
|
@@ -74,8 +72,36 @@ export interface ModalProps {
|
|
|
74
72
|
className?: string;
|
|
75
73
|
/** Portal container (defaults to document.body) */
|
|
76
74
|
portalContainer?: HTMLElement;
|
|
77
|
-
/** Test ID */
|
|
75
|
+
/** Test ID (deprecated, use dataTestId) */
|
|
78
76
|
'data-testid'?: string;
|
|
77
|
+
/** Test identifier for automated testing */
|
|
78
|
+
dataTestId?: string;
|
|
79
|
+
/** Data identifier for ib-ui compatibility */
|
|
80
|
+
dataId?: string;
|
|
81
|
+
/**
|
|
82
|
+
* Whether the backdrop is transparent (no dark background)
|
|
83
|
+
* Useful for loading overlays or custom scenarios
|
|
84
|
+
* @default false
|
|
85
|
+
*/
|
|
86
|
+
transparent?: boolean;
|
|
87
|
+
/**
|
|
88
|
+
* Z-index for the modal
|
|
89
|
+
* @default 50
|
|
90
|
+
*/
|
|
91
|
+
zIndex?: number;
|
|
92
|
+
/**
|
|
93
|
+
* Reference to an element that should receive initial focus when the modal opens
|
|
94
|
+
* If not provided, focus will go to the first focusable element in the modal
|
|
95
|
+
*/
|
|
96
|
+
initialFocusRef?: RefObject<HTMLElement | null>;
|
|
97
|
+
/**
|
|
98
|
+
* Callback fired when the modal finishes mounting
|
|
99
|
+
*/
|
|
100
|
+
onMount?: (container: HTMLDivElement) => void;
|
|
101
|
+
/**
|
|
102
|
+
* ARIA label for the dialog region
|
|
103
|
+
*/
|
|
104
|
+
'aria-label'?: string;
|
|
79
105
|
}
|
|
80
106
|
/**
|
|
81
107
|
* Props for the ModalHeader compound component
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Modal.types.d.ts","sourceRoot":"","sources":["../../../src/components/Modal/Modal.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Modal.types.d.ts","sourceRoot":"","sources":["../../../src/components/Modal/Modal.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAEjE;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG,IAAI,GAAG,IAAI,GAAG,MAAM,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,aAAa,CAAC,UAAU,CAAC,CAAC;AAElG;;GAEG;AACH,MAAM,MAAM,SAAS,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,MAAM,CAAC;AAE3D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH,MAAM,WAAW,UAAU;IACzB,4BAA4B;IAC5B,MAAM,EAAE,OAAO,CAAC;IAChB,oBAAoB;IACpB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,kBAAkB;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,aAAa,CAAC,EAAE,aAAa,CAAC;IAC9B,oBAAoB;IACpB,QAAQ,EAAE,SAAS,CAAC;IACpB,mBAAmB;IACnB,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,6CAA6C;IAC7C,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B,2CAA2C;IAC3C,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,kCAAkC;IAClC,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,4BAA4B;IAC5B,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,6BAA6B;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,mDAAmD;IACnD,eAAe,CAAC,EAAE,WAAW,CAAC;IAC9B,2CAA2C;IAC3C,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,4CAA4C;IAC5C,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,8CAA8C;IAC9C,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;OAGG;IACH,eAAe,CAAC,EAAE,SAAS,CAAC,WAAW,GAAG,IAAI,CAAC,CAAC;IAChD;;OAEG;IACH,OAAO,CAAC,EAAE,CAAC,SAAS,EAAE,cAAc,KAAK,IAAI,CAAC;IAC9C;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC/B,qBAAqB;IACrB,QAAQ,EAAE,SAAS,CAAC;IACpB,6BAA6B;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;GAEG;AACH,MAAM,WAAW,cAAc;IAC7B,mBAAmB;IACnB,QAAQ,EAAE,SAAS,CAAC;IACpB,6BAA6B;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC/B,qBAAqB;IACrB,QAAQ,EAAE,SAAS,CAAC;IACpB,6BAA6B;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Multiselect.d.ts","sourceRoot":"","sources":["../../../src/components/Multiselect/Multiselect.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Multiselect.d.ts","sourceRoot":"","sources":["../../../src/components/Multiselect/Multiselect.tsx"],"names":[],"mappings":"AAeA,OAAO,KAAK,EAAE,gBAAgB,EAAiB,MAAM,qBAAqB,CAAC;AAyC3E;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,eAAO,MAAM,WAAW,6GAkjBvB,CAAC;AAIF,eAAe,WAAW,CAAC"}
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
1
|
+
import { CSSProperties, ReactNode } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* Font size value - can be a theme token key or a CSS value
|
|
4
|
+
*/
|
|
5
|
+
export type FontSizeValue = 'xs' | 'sm' | 'base' | 'md' | 'lg' | 'xl' | CSSProperties['fontSize'];
|
|
2
6
|
/**
|
|
3
7
|
* Option for the Multiselect component
|
|
4
8
|
*/
|
|
@@ -13,9 +17,9 @@ export interface MultiselectOption {
|
|
|
13
17
|
icon?: ReactNode;
|
|
14
18
|
}
|
|
15
19
|
/**
|
|
16
|
-
* Size variants for the Multiselect
|
|
20
|
+
* Size variants for the Multiselect (sm: 32px, md: 36px)
|
|
17
21
|
*/
|
|
18
|
-
export type MultiselectSize = 'sm' | 'md'
|
|
22
|
+
export type MultiselectSize = 'sm' | 'md';
|
|
19
23
|
/**
|
|
20
24
|
* Props for the Multiselect component
|
|
21
25
|
*/
|
|
@@ -114,8 +118,31 @@ export interface MultiselectProps {
|
|
|
114
118
|
*/
|
|
115
119
|
'aria-label'?: string;
|
|
116
120
|
/**
|
|
117
|
-
* Test ID for testing
|
|
121
|
+
* Test ID for testing (deprecated, use dataTestId)
|
|
118
122
|
*/
|
|
119
123
|
'data-testid'?: string;
|
|
124
|
+
/**
|
|
125
|
+
* Test identifier for automated testing
|
|
126
|
+
*/
|
|
127
|
+
dataTestId?: string;
|
|
128
|
+
/**
|
|
129
|
+
* Data identifier for ib-ui compatibility
|
|
130
|
+
*/
|
|
131
|
+
dataId?: string;
|
|
132
|
+
/**
|
|
133
|
+
* Font size for the field label
|
|
134
|
+
* Can be a theme token key ('xs', 'sm', 'base', 'md', 'lg', 'xl') or CSS value
|
|
135
|
+
*/
|
|
136
|
+
labelFontSize?: FontSizeValue;
|
|
137
|
+
/**
|
|
138
|
+
* Font size for the selected value chips
|
|
139
|
+
* Can be a theme token key ('xs', 'sm', 'base', 'md', 'lg', 'xl') or CSS value
|
|
140
|
+
*/
|
|
141
|
+
chipFontSize?: FontSizeValue;
|
|
142
|
+
/**
|
|
143
|
+
* Font size for options in the dropdown menu
|
|
144
|
+
* Can be a theme token key ('xs', 'sm', 'base', 'md', 'lg', 'xl') or CSS value
|
|
145
|
+
*/
|
|
146
|
+
optionFontSize?: FontSizeValue;
|
|
120
147
|
}
|
|
121
148
|
//# sourceMappingURL=Multiselect.types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Multiselect.types.d.ts","sourceRoot":"","sources":["../../../src/components/Multiselect/Multiselect.types.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Multiselect.types.d.ts","sourceRoot":"","sources":["../../../src/components/Multiselect/Multiselect.types.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEtD;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG,IAAI,GAAG,IAAI,GAAG,MAAM,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,aAAa,CAAC,UAAU,CAAC,CAAC;AAElG;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC,kCAAkC;IAClC,KAAK,EAAE,MAAM,CAAC;IACd,mCAAmC;IACnC,KAAK,EAAE,MAAM,CAAC;IACd,qCAAqC;IACrC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,+CAA+C;IAC/C,IAAI,CAAC,EAAE,SAAS,CAAC;CAClB;AAED;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG,IAAI,GAAG,IAAI,CAAC;AAE1C;;GAEG;AAC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a,CAAC,EAAE,aAAa,CAAC;IAE9B;;;OAGG;IACH,YAAY,CAAC,EAAE,aAAa,CAAC;IAE7B;;;OAGG;IACH,cAAc,CAAC,EAAE,aAAa,CAAC;CAChC"}
|
|
@@ -10,5 +10,5 @@ import { NavBarProps } from './NavBar.types';
|
|
|
10
10
|
* - Responsive collapse: actions become menu items at breakpoint
|
|
11
11
|
* - Primary color background with primaryText color icons (light variant)
|
|
12
12
|
*/
|
|
13
|
-
export declare function NavBar({ logoSrc, logoAlt, onLogoClick, title, actions, menuItems, menuLabel, collapseBreakpoint, variant, sticky, className, children, 'data-testid': testId, }: NavBarProps): import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
export declare function NavBar({ logoSrc, logoAlt, onLogoClick, title, actions, menuItems, menuLabel, dropdownMenuProps, collapseBreakpoint, variant, sticky, className, children, 'data-testid': testId, dataTestId, dataId, }: NavBarProps): import("react/jsx-runtime").JSX.Element;
|
|
14
14
|
//# sourceMappingURL=NavBar.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NavBar.d.ts","sourceRoot":"","sources":["../../../src/components/NavBar/NavBar.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,WAAW,EAAgC,MAAM,gBAAgB,CAAC;AAqMhF;;;;;;;;;;GAUG;AACH,wBAAgB,MAAM,CAAC,EACrB,OAAO,EACP,OAAgB,EAChB,WAAW,EACX,KAAK,EACL,OAAY,EACZ,SAAc,EACd,SAAkB,EAClB,kBAAwB,EACxB,OAAiB,EACjB,MAAc,EACd,SAAS,EACT,QAAQ,EACR,aAAa,EAAE,MAAiB,
|
|
1
|
+
{"version":3,"file":"NavBar.d.ts","sourceRoot":"","sources":["../../../src/components/NavBar/NavBar.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,WAAW,EAAgC,MAAM,gBAAgB,CAAC;AAqMhF;;;;;;;;;;GAUG;AACH,wBAAgB,MAAM,CAAC,EACrB,OAAO,EACP,OAAgB,EAChB,WAAW,EACX,KAAK,EACL,OAAY,EACZ,SAAc,EACd,SAAkB,EAClB,iBAAiB,EACjB,kBAAwB,EACxB,OAAiB,EACjB,MAAc,EACd,SAAS,EACT,QAAQ,EACR,aAAa,EAAE,MAAiB,EAChC,UAAU,EACV,MAAM,GACP,EAAE,WAAW,2CA6Ib"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
|
+
import { DropdownMenuProps } from '../DropdownMenu/DropdownMenu.types';
|
|
2
3
|
/**
|
|
3
4
|
* Icon type for NavBar components
|
|
4
5
|
* Can be either a Material Icon name string or a React element (e.g., custom SVG)
|
|
@@ -52,10 +53,16 @@ export interface NavBarProps {
|
|
|
52
53
|
title?: string;
|
|
53
54
|
/** Action buttons to display */
|
|
54
55
|
actions?: NavBarAction[];
|
|
55
|
-
/** Menu items for the dropdown menu */
|
|
56
|
+
/** Menu items for the dropdown menu (simplified API) */
|
|
56
57
|
menuItems?: NavBarMenuItem[];
|
|
57
58
|
/** Label for the menu button (accessibility) */
|
|
58
59
|
menuLabel?: string;
|
|
60
|
+
/**
|
|
61
|
+
* Additional DropdownMenu props for full customization.
|
|
62
|
+
* These are merged with the internally constructed props.
|
|
63
|
+
* The 'trigger' and 'items' props are managed internally but can be extended.
|
|
64
|
+
*/
|
|
65
|
+
dropdownMenuProps?: Omit<DropdownMenuProps, 'trigger'>;
|
|
59
66
|
/** Breakpoint at which actions collapse into the menu (default: 480) */
|
|
60
67
|
collapseBreakpoint?: number;
|
|
61
68
|
/** Visual variant */
|
|
@@ -66,7 +73,11 @@ export interface NavBarProps {
|
|
|
66
73
|
className?: string;
|
|
67
74
|
/** Additional content to render in the center (between logo and actions) */
|
|
68
75
|
children?: ReactNode;
|
|
69
|
-
/** Test ID for testing */
|
|
76
|
+
/** Test ID for testing (deprecated, use dataTestId) */
|
|
70
77
|
'data-testid'?: string;
|
|
78
|
+
/** Test identifier for automated testing */
|
|
79
|
+
dataTestId?: string;
|
|
80
|
+
/** Data identifier for ib-ui compatibility */
|
|
81
|
+
dataId?: string;
|
|
71
82
|
}
|
|
72
83
|
//# sourceMappingURL=NavBar.types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NavBar.types.d.ts","sourceRoot":"","sources":["../../../src/components/NavBar/NavBar.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"NavBar.types.d.ts","sourceRoot":"","sources":["../../../src/components/NavBar/NavBar.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,oCAAoC,CAAC;AAE5E;;;GAGG;AACH,MAAM,MAAM,cAAc,GAAG,MAAM,GAAG,SAAS,CAAC;AAEhD;;GAEG;AACH,MAAM,WAAW,YAAY;IAC3B,uCAAuC;IACvC,EAAE,EAAE,MAAM,CAAC;IACX,sFAAsF;IACtF,IAAI,EAAE,cAAc,CAAC;IACrB,yDAAyD;IACzD,KAAK,EAAE,MAAM,CAAC;IACd,oBAAoB;IACpB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,qCAAqC;IACrC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,uCAAuC;IACvC,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED;;GAEG;AACH,MAAM,WAAW,cAAc;IAC7B,wBAAwB;IACxB,EAAE,EAAE,MAAM,CAAC;IACX,oBAAoB;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,4EAA4E;IAC5E,IAAI,CAAC,EAAE,cAAc,CAAC;IACtB,oBAAoB;IACpB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,mCAAmC;IACnC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,gDAAgD;IAChD,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED;;GAEG;AACH,MAAM,WAAW,WAAW;IAC1B,qBAAqB;IACrB,OAAO,EAAE,MAAM,CAAC;IAChB,4BAA4B;IAC5B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,iCAAiC;IACjC,WAAW,CAAC,EAAE,MAAM,IAAI,CAAC;IACzB,uCAAuC;IACvC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,gCAAgC;IAChC,OAAO,CAAC,EAAE,YAAY,EAAE,CAAC;IACzB,wDAAwD;IACxD,SAAS,CAAC,EAAE,cAAc,EAAE,CAAC;IAC7B,gDAAgD;IAChD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,IAAI,CAAC,iBAAiB,EAAE,SAAS,CAAC,CAAC;IACvD,wEAAwE;IACxE,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,qBAAqB;IACrB,OAAO,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;IAC3B,8CAA8C;IAC9C,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,gCAAgC;IAChC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,4EAA4E;IAC5E,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,uDAAuD;IACvD,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,4CAA4C;IAC5C,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,8CAA8C;IAC9C,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PaginatorProps } from './Paginator.types';
|
|
2
2
|
/**
|
|
3
3
|
* Paginator component - Navigation control for paginated content
|
|
4
|
-
*
|
|
4
|
+
* Supports go-to-page input and page size selector
|
|
5
5
|
*
|
|
6
6
|
* @example
|
|
7
7
|
* ```tsx
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Paginator.d.ts","sourceRoot":"","sources":["../../../src/components/Paginator/Paginator.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAiC,MAAM,mBAAmB,CAAC;AAgavF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,eAAO,MAAM,SAAS,
|
|
1
|
+
{"version":3,"file":"Paginator.d.ts","sourceRoot":"","sources":["../../../src/components/Paginator/Paginator.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAiC,MAAM,mBAAmB,CAAC;AAgavF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,eAAO,MAAM,SAAS,2GAoWrB,CAAC;AAIF,eAAe,SAAS,CAAC"}
|
|
@@ -4,7 +4,6 @@
|
|
|
4
4
|
export type PaginatorSize = 'sm' | 'md' | 'lg';
|
|
5
5
|
/**
|
|
6
6
|
* Page size option for the page size selector
|
|
7
|
-
* @since Phase 6
|
|
8
7
|
*/
|
|
9
8
|
export interface PageSizeOption {
|
|
10
9
|
value: number;
|
|
@@ -32,8 +31,12 @@ export interface PaginatorProps {
|
|
|
32
31
|
size?: PaginatorSize;
|
|
33
32
|
/** Additional CSS classes */
|
|
34
33
|
className?: string;
|
|
35
|
-
/** Test ID for testing */
|
|
34
|
+
/** Test ID for testing (deprecated, use dataTestId) */
|
|
36
35
|
'data-testid'?: string;
|
|
36
|
+
/** Test identifier for automated testing */
|
|
37
|
+
dataTestId?: string;
|
|
38
|
+
/** Data identifier for ib-ui compatibility */
|
|
39
|
+
dataId?: string;
|
|
37
40
|
/** Custom label for first page button */
|
|
38
41
|
firstLabel?: string;
|
|
39
42
|
/** Custom label for last page button */
|
|
@@ -46,83 +49,69 @@ export interface PaginatorProps {
|
|
|
46
49
|
* Show a "go to page" input field
|
|
47
50
|
* Allows direct page number entry
|
|
48
51
|
* @default false
|
|
49
|
-
* @since Phase 6 - ib-ui compatibility
|
|
50
52
|
*/
|
|
51
53
|
showGoToPage?: boolean;
|
|
52
54
|
/**
|
|
53
55
|
* Debounce timeout for go to page input (ms)
|
|
54
56
|
* @default 300
|
|
55
|
-
* @since Phase 6 - ib-ui compatibility
|
|
56
57
|
*/
|
|
57
58
|
goToPageDebounce?: number;
|
|
58
59
|
/**
|
|
59
60
|
* Show page info text (e.g., "of 10")
|
|
60
61
|
* @default true when showGoToPage is true
|
|
61
|
-
* @since Phase 6 - ib-ui compatibility
|
|
62
62
|
*/
|
|
63
63
|
showPageInfo?: boolean;
|
|
64
64
|
/**
|
|
65
65
|
* Custom format for page info text
|
|
66
66
|
* @default "of {totalPages}"
|
|
67
|
-
* @since Phase 6 - ib-ui compatibility
|
|
68
67
|
*/
|
|
69
68
|
pageInfoFormat?: (totalPages: number) => string;
|
|
70
69
|
/**
|
|
71
70
|
* Loading state - disables navigation
|
|
72
71
|
* @default false
|
|
73
|
-
* @since Phase 6 - ib-ui compatibility
|
|
74
72
|
*/
|
|
75
73
|
loading?: boolean;
|
|
76
74
|
/**
|
|
77
75
|
* Show page size selector
|
|
78
76
|
* @default false
|
|
79
|
-
* @since Phase 6
|
|
80
77
|
*/
|
|
81
78
|
showPageSizeSelector?: boolean;
|
|
82
79
|
/**
|
|
83
80
|
* Current page size
|
|
84
|
-
* @since Phase 6
|
|
85
81
|
*/
|
|
86
82
|
pageSize?: number;
|
|
87
83
|
/**
|
|
88
84
|
* Callback when page size changes
|
|
89
|
-
* @since Phase 6
|
|
90
85
|
*/
|
|
91
86
|
onPageSizeChange?: (pageSize: number) => void;
|
|
92
87
|
/**
|
|
93
88
|
* Page size options
|
|
94
89
|
* @default [10, 25, 50, 100]
|
|
95
|
-
* @since Phase 6
|
|
96
90
|
*/
|
|
97
91
|
pageSizeOptions?: PageSizeOption[];
|
|
98
92
|
/**
|
|
99
93
|
* Simple mode - only shows prev/next with page input
|
|
100
94
|
* Matches ib-ui Pagination component style
|
|
101
95
|
* @default false
|
|
102
|
-
* @since Phase 6 - ib-ui compatibility
|
|
103
96
|
*/
|
|
104
97
|
simple?: boolean;
|
|
105
98
|
/**
|
|
106
99
|
* Inverse variant for dark backgrounds
|
|
107
100
|
* @default false
|
|
108
|
-
* @since Phase 6 - ib-ui compatibility
|
|
109
101
|
*/
|
|
110
102
|
inverse?: boolean;
|
|
111
103
|
/**
|
|
112
104
|
* Total number of items (used for page size calculation)
|
|
113
|
-
* @since Phase 6
|
|
114
105
|
*/
|
|
115
106
|
totalItems?: number;
|
|
116
107
|
/**
|
|
117
108
|
* Aria label for the go to page input
|
|
118
109
|
* @default "Go to page"
|
|
119
|
-
* @since Phase 6
|
|
120
110
|
*/
|
|
121
111
|
goToPageLabel?: string;
|
|
122
112
|
/**
|
|
123
113
|
* Aria label for the page size selector
|
|
124
114
|
* @default "Items per page"
|
|
125
|
-
* @since Phase 6
|
|
126
115
|
*/
|
|
127
116
|
pageSizeLabel?: string;
|
|
128
117
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Paginator.types.d.ts","sourceRoot":"","sources":["../../../src/components/Paginator/Paginator.types.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAE/C
|
|
1
|
+
{"version":3,"file":"Paginator.types.d.ts","sourceRoot":"","sources":["../../../src/components/Paginator/Paginator.types.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAE/C;;GAEG;AACH,MAAM,WAAW,cAAc;IAC7B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;CACf;AAED;;GAEG;AACH,MAAM,WAAW,cAAc;IAC7B,sCAAsC;IACtC,WAAW,EAAE,MAAM,CAAC;IACpB,4BAA4B;IAC5B,UAAU,EAAE,MAAM,CAAC;IACnB,iCAAiC;IACjC,YAAY,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACrC,mCAAmC;IACnC,aAAa,CAAC,EAAE,OAAO,CAAC;IACx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O,CAAC;IAElB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;;OAGG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB;;;OAGG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB"}
|
|
@@ -19,7 +19,7 @@ import { PresetSelectorProps } from './PresetSelector.types';
|
|
|
19
19
|
* />
|
|
20
20
|
* ```
|
|
21
21
|
*/
|
|
22
|
-
export declare function PresetSelector({ presets, value, onChange, label, placeholder, showDetails, size, disabled, error, errorMessage, loading, categories, clearable, searchable, fullWidth, className, 'data-testid': testId, }: PresetSelectorProps): import("react/jsx-runtime").JSX.Element;
|
|
22
|
+
export declare function PresetSelector({ presets, value, onChange, label, placeholder, showDetails, size, disabled, error, errorMessage, loading, categories, clearable, searchable, fullWidth, className, 'data-testid': testId, dataTestId, dataId, }: PresetSelectorProps): import("react/jsx-runtime").JSX.Element;
|
|
23
23
|
export declare namespace PresetSelector {
|
|
24
24
|
var displayName: string;
|
|
25
25
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PresetSelector.d.ts","sourceRoot":"","sources":["../../../src/components/PresetSelector/PresetSelector.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,mBAAmB,EAAgB,MAAM,wBAAwB,CAAC;AA2ChF;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,cAAc,CAAC,EAC7B,OAAO,EACP,KAAK,EACL,QAAQ,EACR,KAAK,EACL,WAAkC,EAClC,WAAmB,EACnB,IAAW,EACX,QAAgB,EAChB,KAAa,EACb,YAAY,EACZ,OAAe,EACf,UAAU,EACV,SAAgB,EAChB,UAAkB,EAClB,SAAiB,EACjB,SAAS,EACT,aAAa,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"PresetSelector.d.ts","sourceRoot":"","sources":["../../../src/components/PresetSelector/PresetSelector.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,mBAAmB,EAAgB,MAAM,wBAAwB,CAAC;AA2ChF;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,cAAc,CAAC,EAC7B,OAAO,EACP,KAAK,EACL,QAAQ,EACR,KAAK,EACL,WAAkC,EAClC,WAAmB,EACnB,IAAW,EACX,QAAgB,EAChB,KAAa,EACb,YAAY,EACZ,OAAe,EACf,UAAU,EACV,SAAgB,EAChB,UAAkB,EAClB,SAAiB,EACjB,SAAS,EACT,aAAa,EAAE,MAAM,EACrB,UAAU,EACV,MAAM,GACP,EAAE,mBAAmB,2CAoQrB;yBAxRe,cAAc;;;AA4R9B,eAAe,cAAc,CAAC"}
|
|
@@ -109,8 +109,16 @@ export interface PresetSelectorProps {
|
|
|
109
109
|
*/
|
|
110
110
|
className?: string;
|
|
111
111
|
/**
|
|
112
|
-
* Test ID for testing
|
|
112
|
+
* Test ID for testing (deprecated, use dataTestId)
|
|
113
113
|
*/
|
|
114
114
|
'data-testid'?: string;
|
|
115
|
+
/**
|
|
116
|
+
* Test identifier for automated testing
|
|
117
|
+
*/
|
|
118
|
+
dataTestId?: string;
|
|
119
|
+
/**
|
|
120
|
+
* Data identifier for ib-ui compatibility
|
|
121
|
+
*/
|
|
122
|
+
dataId?: string;
|
|
115
123
|
}
|
|
116
124
|
//# sourceMappingURL=PresetSelector.types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PresetSelector.types.d.ts","sourceRoot":"","sources":["../../../src/components/PresetSelector/PresetSelector.types.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EAAE,MAAM,IAAI,UAAU,EAAE,MAAM,aAAa,CAAC;AAExD;;;GAGG;AACH,MAAM,WAAW,YAAa,SAAQ,UAAU;IAC9C,gFAAgF;IAChF,UAAU,CAAC,EAAE;QACX,KAAK,EAAE,MAAM,CAAC;QACd,MAAM,EAAE,MAAM,CAAC;KAChB,CAAC;IACF,4DAA4D;IAC5D,UAAU,CAAC,EAAE,OAAO,CA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;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IAEpB;;;OAGG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IAErB;;;;OAIG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IAEpB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Radio.d.ts","sourceRoot":"","sources":["../../../src/components/Radio/Radio.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Radio.d.ts","sourceRoot":"","sources":["../../../src/components/Radio/Radio.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAoRhD,eAAO,MAAM,KAAK,kGAAuB,CAAC;AAE1C,eAAe,KAAK,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RadioGroup.d.ts","sourceRoot":"","sources":["../../../src/components/Radio/RadioGroup.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"RadioGroup.d.ts","sourceRoot":"","sources":["../../../src/components/Radio/RadioGroup.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,eAAe,EAAoB,MAAM,eAAe,CAAC;AAmRvE,eAAO,MAAM,UAAU;oNA9KpB,eAAe;;EA8KiC,CAAC;AAEpD,eAAe,UAAU,CAAC"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { RiskCardProps } from './RiskCard.types';
|
|
2
|
+
/**
|
|
3
|
+
* RiskCard component - Displays an individual compliance risk
|
|
4
|
+
*
|
|
5
|
+
* Supports two usage patterns:
|
|
6
|
+
* 1. Direct API data injection: Pass the `risk` prop with API response data
|
|
7
|
+
* 2. Individual props: Pass title, description, etc. separately for custom mapping
|
|
8
|
+
*
|
|
9
|
+
* @example Direct API data injection
|
|
10
|
+
* ```tsx
|
|
11
|
+
* const apiResponse = { title: 'Rule Name', description: 'Issue found', recommendation: 'Fix it' };
|
|
12
|
+
* <RiskCard risk={apiResponse} index={0} />
|
|
13
|
+
* ```
|
|
14
|
+
*
|
|
15
|
+
* @example Individual props
|
|
16
|
+
* ```tsx
|
|
17
|
+
* <RiskCard
|
|
18
|
+
* title="Custom Title"
|
|
19
|
+
* description="Custom description"
|
|
20
|
+
* quote="The problematic sentence"
|
|
21
|
+
* recommendation="How to fix"
|
|
22
|
+
* index={0}
|
|
23
|
+
* />
|
|
24
|
+
* ```
|
|
25
|
+
*
|
|
26
|
+
* @example With custom labels
|
|
27
|
+
* ```tsx
|
|
28
|
+
* <RiskCard
|
|
29
|
+
* risk={data}
|
|
30
|
+
* indexLabelPrefix="Issue"
|
|
31
|
+
* showRecommendationText="View suggestion"
|
|
32
|
+
* hideRecommendationText="Hide suggestion"
|
|
33
|
+
* />
|
|
34
|
+
* ```
|
|
35
|
+
*/
|
|
36
|
+
export declare const RiskCard: import('react').ForwardRefExoticComponent<RiskCardProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
37
|
+
export default RiskCard;
|
|
38
|
+
//# sourceMappingURL=RiskCard.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RiskCard.d.ts","sourceRoot":"","sources":["../../../src/components/RiskCard/RiskCard.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAsItD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,eAAO,MAAM,QAAQ,0GAoIpB,CAAC;AAIF,eAAe,QAAQ,CAAC"}
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import { CSSProperties, ReactNode } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* Severity level for risks
|
|
4
|
+
*/
|
|
5
|
+
export type RiskSeverity = 'high' | 'medium' | 'low';
|
|
6
|
+
/**
|
|
7
|
+
* API response structure for a compliance risk
|
|
8
|
+
* This represents the data shape returned from the IntelligenceBank API
|
|
9
|
+
*/
|
|
10
|
+
export interface RiskData {
|
|
11
|
+
/** Unique identifier for the risk */
|
|
12
|
+
id?: string;
|
|
13
|
+
/** Risk title/rule name */
|
|
14
|
+
title: string;
|
|
15
|
+
/** Description of the issue */
|
|
16
|
+
description: string;
|
|
17
|
+
/** Recommendation for resolving the issue */
|
|
18
|
+
recommendation?: string;
|
|
19
|
+
/** Severity level of the risk */
|
|
20
|
+
severity?: RiskSeverity;
|
|
21
|
+
/** Status of the risk */
|
|
22
|
+
status?: string;
|
|
23
|
+
/** The specific sentence where the issue was found */
|
|
24
|
+
sentence?: string;
|
|
25
|
+
/** The specific term that triggered the risk */
|
|
26
|
+
term?: string;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* Props for the RiskCard component
|
|
30
|
+
*
|
|
31
|
+
* Supports two usage patterns:
|
|
32
|
+
* 1. Direct API data injection via `risk` prop
|
|
33
|
+
* 2. Individual props for custom data mapping
|
|
34
|
+
*/
|
|
35
|
+
export interface RiskCardProps {
|
|
36
|
+
/**
|
|
37
|
+
* Direct API response data injection
|
|
38
|
+
* When provided, automatically maps API fields to component display
|
|
39
|
+
*/
|
|
40
|
+
risk?: RiskData;
|
|
41
|
+
/**
|
|
42
|
+
* Individual props for custom data mapping
|
|
43
|
+
* These override corresponding fields from `risk` if both are provided
|
|
44
|
+
*/
|
|
45
|
+
/** Risk title/rule name - overrides risk.title */
|
|
46
|
+
title?: string;
|
|
47
|
+
/** Description of the issue - overrides risk.description */
|
|
48
|
+
description?: string;
|
|
49
|
+
/** Recommendation text - overrides risk.recommendation */
|
|
50
|
+
recommendation?: string;
|
|
51
|
+
/** Quote/sentence from the content - overrides risk.sentence */
|
|
52
|
+
quote?: string;
|
|
53
|
+
/** Severity level - overrides risk.severity */
|
|
54
|
+
severity?: RiskSeverity;
|
|
55
|
+
/**
|
|
56
|
+
* Display configuration
|
|
57
|
+
*/
|
|
58
|
+
/** Index number for display (e.g., "Risk #1") */
|
|
59
|
+
index?: number;
|
|
60
|
+
/** Custom label prefix for the index (default: "Detected Risk") */
|
|
61
|
+
indexLabelPrefix?: string;
|
|
62
|
+
/** Whether to show the expand/collapse toggle for recommendation */
|
|
63
|
+
expandable?: boolean;
|
|
64
|
+
/** Initial expanded state for recommendation section */
|
|
65
|
+
defaultExpanded?: boolean;
|
|
66
|
+
/** Text for show recommendation button (default: "Show recommendation") */
|
|
67
|
+
showRecommendationText?: string;
|
|
68
|
+
/** Text for hide recommendation button (default: "Hide recommendation") */
|
|
69
|
+
hideRecommendationText?: string;
|
|
70
|
+
/** Text label shown above recommendation (default: "Recommendation") */
|
|
71
|
+
recommendationLabel?: string;
|
|
72
|
+
/**
|
|
73
|
+
* Event handlers
|
|
74
|
+
*/
|
|
75
|
+
/** Callback when expand/collapse state changes */
|
|
76
|
+
onExpandChange?: (expanded: boolean) => void;
|
|
77
|
+
/** Callback when the card is clicked */
|
|
78
|
+
onClick?: () => void;
|
|
79
|
+
/**
|
|
80
|
+
* Customization
|
|
81
|
+
*/
|
|
82
|
+
/** Additional CSS class */
|
|
83
|
+
className?: string;
|
|
84
|
+
/** Inline styles */
|
|
85
|
+
style?: CSSProperties;
|
|
86
|
+
/** Custom header content (replaces default title area) */
|
|
87
|
+
headerContent?: ReactNode;
|
|
88
|
+
/** Custom footer content (added after recommendation section) */
|
|
89
|
+
footerContent?: ReactNode;
|
|
90
|
+
/**
|
|
91
|
+
* Testing and identification
|
|
92
|
+
*/
|
|
93
|
+
/** Test ID (deprecated, use dataTestId) */
|
|
94
|
+
'data-testid'?: string;
|
|
95
|
+
/** Test identifier for automated testing */
|
|
96
|
+
dataTestId?: string;
|
|
97
|
+
/** Data identifier for ib-ui compatibility */
|
|
98
|
+
dataId?: string;
|
|
99
|
+
}
|
|
100
|
+
//# sourceMappingURL=RiskCard.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RiskCard.types.d.ts","sourceRoot":"","sources":["../../../src/components/RiskCard/RiskCard.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEtD;;GAEG;AACH,MAAM,MAAM,YAAY,GAAG,MAAM,GAAG,QAAQ,GAAG,KAAK,CAAC;AAErD;;;GAGG;AACH,MAAM,WAAW,QAAQ;IACvB,qCAAqC;IACrC,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,2BAA2B;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,+BAA+B;IAC/B,WAAW,EAAE,MAAM,CAAC;IACpB,6CAA6C;IAC7C,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,iCAAiC;IACjC,QAAQ,CAAC,EAAE,YAAY,CAAC;IACxB,yBAAyB;IACzB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,sDAAsD;IACtD,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,gDAAgD;IAChD,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED;;;;;;GAMG;AACH,MAAM,WAAW,aAAa;IAC5B;;;OAGG;IACH,IAAI,CAAC,EAAE,QAAQ,CAAC;IAEhB;;;OAGG;IAEH,kDAAkD;IAClD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,4DAA4D;IAC5D,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,0DAA0D;IAC1D,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,gEAAgE;IAChE,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,+CAA+C;IAC/C,QAAQ,CAAC,EAAE,YAAY,CAAC;IAExB;;OAEG;IAEH,iDAAiD;IACjD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,mEAAmE;IACnE,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,oEAAoE;IACpE,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,wDAAwD;IACxD,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,2EAA2E;IAC3E,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,2EAA2E;IAC3E,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,wEAAwE;IACxE,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAE7B;;OAEG;IAEH,kDAAkD;IAClD,cAAc,CAAC,EAAE,CAAC,QAAQ,EAAE,OAAO,KAAK,IAAI,CAAC;IAC7C,wCAAwC;IACxC,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IAErB;;OAEG;IAEH,2BAA2B;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,oBAAoB;IACpB,KAAK,CAAC,EAAE,aAAa,CAAC;IACtB,0DAA0D;IAC1D,aAAa,CAAC,EAAE,SAAS,CAAC;IAC1B,iEAAiE;IACjE,aAAa,CAAC,EAAE,SAAS,CAAC;IAE1B;;OAEG;IAEH,2CAA2C;IAC3C,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,4CAA4C;IAC5C,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,8CAA8C;IAC9C,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/RiskCard/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAC/C,YAAY,EAAE,aAAa,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SearchForm.d.ts","sourceRoot":"","sources":["../../../src/components/SearchForm/SearchForm.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAG1D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,eAAO,MAAM,UAAU,
|
|
1
|
+
{"version":3,"file":"SearchForm.d.ts","sourceRoot":"","sources":["../../../src/components/SearchForm/SearchForm.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAG1D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,eAAO,MAAM,UAAU,8GAoKtB,CAAC;AAIF,eAAe,UAAU,CAAC"}
|
|
@@ -29,7 +29,11 @@ export interface SearchFormProps {
|
|
|
29
29
|
debounceMs?: number;
|
|
30
30
|
/** Additional CSS classes */
|
|
31
31
|
className?: string;
|
|
32
|
-
/** Test ID for testing */
|
|
32
|
+
/** Test ID for testing (deprecated, use dataTestId) */
|
|
33
33
|
'data-testid'?: string;
|
|
34
|
+
/** Test identifier for automated testing */
|
|
35
|
+
dataTestId?: string;
|
|
36
|
+
/** Data identifier for ib-ui compatibility */
|
|
37
|
+
dataId?: string;
|
|
34
38
|
}
|
|
35
39
|
//# sourceMappingURL=SearchForm.types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SearchForm.types.d.ts","sourceRoot":"","sources":["../../../src/components/SearchForm/SearchForm.types.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,MAAM,MAAM,cAAc,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAEhD,MAAM,WAAW,eAAe;IAC9B,2BAA2B;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,0CAA0C;IAC1C,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,6CAA6C;IAC7C,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,oBAAoB;IACpB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,uBAAuB;IACvB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,mBAAmB;IACnB,IAAI,CAAC,EAAE,cAAc,CAAC;IACtB,0BAA0B;IAC1B,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,sCAAsC;IACtC,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,0CAA0C;IAC1C,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,sCAAsC;IACtC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,qBAAqB;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,+CAA+C;IAC/C,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,6BAA6B;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,
|
|
1
|
+
{"version":3,"file":"SearchForm.types.d.ts","sourceRoot":"","sources":["../../../src/components/SearchForm/SearchForm.types.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,MAAM,MAAM,cAAc,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAEhD,MAAM,WAAW,eAAe;IAC9B,2BAA2B;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,0CAA0C;IAC1C,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,6CAA6C;IAC7C,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,oBAAoB;IACpB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,uBAAuB;IACvB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,mBAAmB;IACnB,IAAI,CAAC,EAAE,cAAc,CAAC;IACtB,0BAA0B;IAC1B,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,sCAAsC;IACtC,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,0CAA0C;IAC1C,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,sCAAsC;IACtC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,qBAAqB;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,+CAA+C;IAC/C,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,6BAA6B;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,uDAAuD;IACvD,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,4CAA4C;IAC5C,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,8CAA8C;IAC9C,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB"}
|