pixel-react 1.1.1 → 1.1.2
Sign up to get free protection for your applications and to get access to all the features.
- package/.yarn/install-state.gz +0 -0
- package/lib/components/Charts/DashboardDonutChart/DashboardDonutChart.d.ts +5 -0
- package/lib/components/Charts/DashboardDonutChart/DashboardDonutChart.stories.d.ts +7 -0
- package/lib/components/Charts/DashboardDonutChart/index.d.ts +1 -0
- package/lib/components/Charts/DashboardDonutChart/types.d.ts +21 -0
- package/lib/components/Charts/PieChart/PieChart.d.ts +5 -0
- package/lib/components/Charts/PieChart/PieChart.stories.d.ts +7 -0
- package/lib/components/Charts/PieChart/index.d.ts +1 -0
- package/lib/components/Charts/PieChart/types.d.ts +27 -0
- package/lib/components/MultiSelect/MultiSelect.d.ts +1 -1
- package/lib/components/MultiSelect/MultiSelectTypes.d.ts +1 -1
- package/lib/components/NLPInput/NlpInput.d.ts +4 -0
- package/lib/components/NLPInput/NlpInput.stories.d.ts +7 -0
- package/lib/components/NLPInput/components/NlpDropDown/NlpDropDownType.d.ts +19 -0
- package/lib/components/NLPInput/components/NlpDropDown/NlpDropdown.d.ts +4 -0
- package/lib/components/NLPInput/index.d.ts +1 -0
- package/lib/components/NLPInput/type.d.ts +70 -0
- package/lib/components/Table/Table.d.ts +1 -1
- package/lib/index.d.ts +73 -18
- package/lib/index.esm.js +1412 -774
- package/lib/index.esm.js.map +1 -1
- package/lib/index.js +1414 -773
- package/lib/index.js.map +1 -1
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/lib/utils/getEncryptedData/getEncryptedData.d.ts +2 -0
- package/lib/utils/getEncryptedData/getEncryptedData.stories.d.ts +6 -0
- package/package.json +2 -1
- package/src/StyleGuide/ColorPalette/ColorPalette.tsx +2 -4
- package/src/StyleGuide/ColorPalette/colorPaletteList.ts +95 -20
- package/src/assets/Themes/BaseTheme.scss +2 -3
- package/src/assets/Themes/DarkTheme.scss +9 -8
- package/src/assets/icons/wswb_delete_icon.svg +4 -0
- package/src/assets/icons/wswb_plus_icon.svg +5 -0
- package/src/components/Charts/DashboardDonutChart/DashboardDonutChart.scss +145 -0
- package/src/components/Charts/DashboardDonutChart/DashboardDonutChart.stories.tsx +52 -0
- package/src/components/Charts/DashboardDonutChart/DashboardDonutChart.tsx +335 -0
- package/src/components/Charts/DashboardDonutChart/index.ts +1 -0
- package/src/components/Charts/DashboardDonutChart/types.ts +33 -0
- package/src/components/Charts/PieChart/PieChart.scss +39 -0
- package/src/components/Charts/PieChart/PieChart.stories.tsx +46 -0
- package/src/components/Charts/PieChart/PieChart.tsx +193 -0
- package/src/components/Charts/PieChart/index.ts +1 -0
- package/src/components/Charts/PieChart/types.ts +28 -0
- package/src/components/Icon/iconList.ts +6 -0
- package/src/components/Modal/modal.scss +1 -1
- package/src/components/MultiSelect/MultiSelect.stories.tsx +2 -3
- package/src/components/MultiSelect/MultiSelect.tsx +35 -23
- package/src/components/MultiSelect/MultiSelectTypes.ts +1 -1
- package/src/components/NLPInput/NLPInput.scss +246 -0
- package/src/components/NLPInput/NlpInput.stories.tsx +136 -0
- package/src/components/NLPInput/NlpInput.tsx +374 -0
- package/src/components/NLPInput/components/NlpDropDown/NlpDropDownType.ts +60 -0
- package/src/components/NLPInput/components/NlpDropDown/NlpDropdown.scss +83 -0
- package/src/components/NLPInput/components/NlpDropDown/NlpDropdown.tsx +180 -0
- package/src/components/NLPInput/index.ts +1 -0
- package/src/components/NLPInput/type.tsx +124 -0
- package/src/components/Table/Table.scss +5 -0
- package/src/components/Table/Table.stories.tsx +12 -0
- package/src/components/Table/Table.tsx +25 -14
- package/src/components/TextArea/Textarea.scss +1 -1
- package/src/index.ts +6 -1
- package/src/utils/getEncryptedData/getEncryptedData.stories.tsx +55 -0
- package/src/utils/getEncryptedData/getEncryptedData.ts +10 -0
- package/lib/components/AddButton/AddButton.d.ts +0 -5
- package/lib/components/AddButton/AddButton.stories.d.ts +0 -6
- package/lib/components/AddButton/index.d.ts +0 -1
- package/lib/components/AddButton/types.d.ts +0 -4
package/.yarn/install-state.gz
CHANGED
Binary file
|
@@ -0,0 +1,7 @@
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react/*';
|
2
|
+
import DashboardDonutChart from './DashboardDonutChart';
|
3
|
+
declare const meta: Meta<typeof DashboardDonutChart>;
|
4
|
+
export default meta;
|
5
|
+
type Story = StoryObj<typeof DashboardDonutChart>;
|
6
|
+
export declare const Default: Story;
|
7
|
+
export declare const MemoryLegend: Story;
|
@@ -0,0 +1 @@
|
|
1
|
+
export { default } from './DashboardDonutChart';
|
@@ -0,0 +1,21 @@
|
|
1
|
+
export type Status = 'passed' | 'failed' | 'warning' | 'skipped' | 'Passed' | 'Failed' | 'Skipped' | 'Warning';
|
2
|
+
export type StatusValue = {
|
3
|
+
status: Status;
|
4
|
+
value: number;
|
5
|
+
};
|
6
|
+
export type ChartItem = {
|
7
|
+
key: string;
|
8
|
+
value: number;
|
9
|
+
color?: string;
|
10
|
+
};
|
11
|
+
export type LegendType = 'numberLegend' | 'pillLegend' | 'memoryLegend' | 'tableLegend';
|
12
|
+
export type DashboardDonutChartProps = {
|
13
|
+
radius: number;
|
14
|
+
lineWidth: number;
|
15
|
+
statusValues: ChartItem[];
|
16
|
+
legendDetailsType: string;
|
17
|
+
isLegendDetails: boolean;
|
18
|
+
gapAngle?: number;
|
19
|
+
legendType: LegendType;
|
20
|
+
showOnlyLabel: boolean;
|
21
|
+
};
|
@@ -0,0 +1,7 @@
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react';
|
2
|
+
import PieChart from './PieChart';
|
3
|
+
declare const meta: Meta<typeof PieChart>;
|
4
|
+
export default meta;
|
5
|
+
type Story = StoryObj<typeof PieChart>;
|
6
|
+
export declare const PieChartDashBoard: Story;
|
7
|
+
export declare const PieChartDashBoardWithBorder: Story;
|
@@ -0,0 +1 @@
|
|
1
|
+
export { default } from './PieChart';
|
@@ -0,0 +1,27 @@
|
|
1
|
+
export type Status = {
|
2
|
+
status: 'Passed';
|
3
|
+
value: number;
|
4
|
+
};
|
5
|
+
export interface PieChartProps {
|
6
|
+
radius: number;
|
7
|
+
data: Array<{
|
8
|
+
label: string;
|
9
|
+
value: number;
|
10
|
+
}>;
|
11
|
+
colors: string[];
|
12
|
+
chartBorder: boolean;
|
13
|
+
}
|
14
|
+
export type ArcParams = {
|
15
|
+
x: number;
|
16
|
+
y: number;
|
17
|
+
radius: number;
|
18
|
+
startAngle: number;
|
19
|
+
endAngle: number;
|
20
|
+
};
|
21
|
+
export type ArcResult = string;
|
22
|
+
export type ArcAnglesResult = {
|
23
|
+
endAngle: number;
|
24
|
+
backgroundArcPath: string;
|
25
|
+
foregroundArcPath: string;
|
26
|
+
percentage: number;
|
27
|
+
};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
import './MultiSelect.scss';
|
2
2
|
import { MultiSelectProps } from './MultiSelectTypes';
|
3
|
-
declare const MultiSelect: ({ options, type, selectedOptions, onChange, acceptNewOption, zIndex, label, onSearch, required, disabled, errorMessage, withSelectButton, onSelect, displayCount }: MultiSelectProps) => import("react/jsx-runtime").JSX.Element;
|
3
|
+
declare const MultiSelect: ({ options, type, selectedOptions, onChange, acceptNewOption, zIndex, label, onSearch, required, disabled, errorMessage, withSelectButton, onSelect, displayCount, }: MultiSelectProps) => import("react/jsx-runtime").JSX.Element;
|
4
4
|
export default MultiSelect;
|
@@ -10,7 +10,7 @@ interface MultiSelectProps {
|
|
10
10
|
label: string;
|
11
11
|
selectedOptions?: Option[];
|
12
12
|
disabled?: boolean;
|
13
|
-
onSearch?: (searchedKeyword: string) => void;
|
13
|
+
onSearch?: (searchedKeyword: string, resultsLength: number) => void;
|
14
14
|
onChange?: (selectedOptions: Option[]) => void;
|
15
15
|
acceptNewOption?: boolean;
|
16
16
|
zIndex?: number;
|
@@ -0,0 +1,4 @@
|
|
1
|
+
import { SelectProps } from './type';
|
2
|
+
import './NlpInput.scss';
|
3
|
+
declare const NlpInput: ({ label, showLabel, optionsList, selectedOption, onChange, errorMsg, className, optionZIndex, disabled, borderRadius, showBorder, required, }: SelectProps) => import("react/jsx-runtime").JSX.Element;
|
4
|
+
export default NlpInput;
|
@@ -0,0 +1,7 @@
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
2
|
+
import NlpInput from './NlpInput';
|
3
|
+
declare const meta: Meta<typeof NlpInput>;
|
4
|
+
type Story = StoryObj<typeof NlpInput>;
|
5
|
+
export declare const Primary: Story;
|
6
|
+
export declare const Disable: Story;
|
7
|
+
export default meta;
|
@@ -0,0 +1,19 @@
|
|
1
|
+
import { DrowdownPosition, Option } from '../../type';
|
2
|
+
export interface NlpDropDownListProps {
|
3
|
+
onSelectBlur: () => void;
|
4
|
+
onSelectOptionSelector: (option: Option) => void;
|
5
|
+
dropdownPosition: DrowdownPosition;
|
6
|
+
options?: Option[];
|
7
|
+
optionZIndex?: number;
|
8
|
+
inputRef?: React.RefObject<HTMLInputElement>;
|
9
|
+
label?: string;
|
10
|
+
hasError?: boolean;
|
11
|
+
errorMessage?: string;
|
12
|
+
disabled?: boolean;
|
13
|
+
}
|
14
|
+
export declare const nlpDropdownDefaultCSSData: {
|
15
|
+
margin: number;
|
16
|
+
optionHeight: number;
|
17
|
+
selectInputHeight: number;
|
18
|
+
dropDownWrapperPadding: number;
|
19
|
+
};
|
@@ -0,0 +1,4 @@
|
|
1
|
+
import { NlpDropDownListProps } from './NlpDropDownType';
|
2
|
+
import './NlpDropdown.scss';
|
3
|
+
declare const NlpDropdown: ({ onSelectBlur, onSelectOptionSelector, dropdownPosition, options, optionZIndex, inputRef, }: NlpDropDownListProps) => import("react/jsx-runtime").JSX.Element;
|
4
|
+
export default NlpDropdown;
|
@@ -0,0 +1 @@
|
|
1
|
+
export { default } from './NlpInput';
|
@@ -0,0 +1,70 @@
|
|
1
|
+
import { ReactNode } from 'react';
|
2
|
+
export interface SelectProps {
|
3
|
+
label?: string;
|
4
|
+
showLabel?: boolean;
|
5
|
+
optionsList: any[];
|
6
|
+
selectedOption?: Option;
|
7
|
+
onChange: (option: Option) => void;
|
8
|
+
errorMsg?: string;
|
9
|
+
className?: string;
|
10
|
+
optionZIndex?: number;
|
11
|
+
disabled?: boolean;
|
12
|
+
borderRadius?: boolean;
|
13
|
+
showBorder?: boolean;
|
14
|
+
required?: boolean;
|
15
|
+
}
|
16
|
+
export interface DrowdownPosition {
|
17
|
+
positionX: number;
|
18
|
+
positionY: number;
|
19
|
+
width: number;
|
20
|
+
fromBottom: number;
|
21
|
+
}
|
22
|
+
export interface SelectState {
|
23
|
+
isInputFocused: boolean;
|
24
|
+
iconColor: string;
|
25
|
+
isIconClick: boolean;
|
26
|
+
showOptions: boolean;
|
27
|
+
options: any[];
|
28
|
+
option: string;
|
29
|
+
dropdownPosition: DrowdownPosition;
|
30
|
+
}
|
31
|
+
export type SelectAction = {
|
32
|
+
type: 'FOCUS_INPUT';
|
33
|
+
} | {
|
34
|
+
type: 'BLUR_INPUT';
|
35
|
+
payload: {
|
36
|
+
optionsList: Option[];
|
37
|
+
option: Option['projectId'];
|
38
|
+
};
|
39
|
+
} | {
|
40
|
+
type: 'MOUSE_ENTER';
|
41
|
+
} | {
|
42
|
+
type: 'MOUSE_LEAVE';
|
43
|
+
} | {
|
44
|
+
type: 'UPDATE_DROPDOWN_POSITION';
|
45
|
+
payload: {
|
46
|
+
positionX: number;
|
47
|
+
positionY: number;
|
48
|
+
width: number;
|
49
|
+
fromBottom: number;
|
50
|
+
};
|
51
|
+
} | {
|
52
|
+
type: 'UPDATE_OPTION';
|
53
|
+
payload: string;
|
54
|
+
} | {
|
55
|
+
type: 'UPDATE_OPTION_LIST';
|
56
|
+
payload: any[];
|
57
|
+
} | {
|
58
|
+
type: 'SHOW_ERROR';
|
59
|
+
payload: {
|
60
|
+
optionsList: any[];
|
61
|
+
option: Option['projectId'];
|
62
|
+
};
|
63
|
+
};
|
64
|
+
export interface Option {
|
65
|
+
displayName: string | ReactNode;
|
66
|
+
projectId: string;
|
67
|
+
nlpType: string;
|
68
|
+
platform: string;
|
69
|
+
disabled?: boolean;
|
70
|
+
}
|
@@ -1,4 +1,4 @@
|
|
1
1
|
import './Table.scss';
|
2
2
|
import { TableProps } from './Types';
|
3
|
-
declare const Table: ({ data, columns, headerType, withFixedHeader, borderWithRadius, height, className, }: TableProps) => import("react/jsx-runtime").JSX.Element | null;
|
3
|
+
declare const Table: ({ data, columns, headerType, withCheckbox, onSelect, allSelected, partialSelected, withFixedHeader, borderWithRadius, headerCheckboxDisabled, height, className, }: TableProps) => import("react/jsx-runtime").JSX.Element | null;
|
4
4
|
export default Table;
|
package/lib/index.d.ts
CHANGED
@@ -204,20 +204,20 @@ interface AccordionProps {
|
|
204
204
|
*/
|
205
205
|
declare const Accordion: ({ headerTitle, color, minHeight, accordionContent, disable, disableInfoMessage, }: AccordionProps) => react_jsx_runtime.JSX.Element;
|
206
206
|
|
207
|
-
interface Option$
|
207
|
+
interface Option$3 {
|
208
208
|
label?: string;
|
209
209
|
value?: string;
|
210
210
|
accessor?: string;
|
211
211
|
isChecked?: boolean;
|
212
212
|
}
|
213
213
|
interface MultiSelectProps {
|
214
|
-
options: Option$
|
214
|
+
options: Option$3[];
|
215
215
|
type?: 'email' | 'text';
|
216
216
|
label: string;
|
217
|
-
selectedOptions?: Option$
|
217
|
+
selectedOptions?: Option$3[];
|
218
218
|
disabled?: boolean;
|
219
|
-
onSearch?: (searchedKeyword: string) => void;
|
220
|
-
onChange?: (selectedOptions: Option$
|
219
|
+
onSearch?: (searchedKeyword: string, resultsLength: number) => void;
|
220
|
+
onChange?: (selectedOptions: Option$3[]) => void;
|
221
221
|
acceptNewOption?: boolean;
|
222
222
|
zIndex?: number;
|
223
223
|
required?: boolean;
|
@@ -227,7 +227,7 @@ interface MultiSelectProps {
|
|
227
227
|
displayCount?: boolean;
|
228
228
|
}
|
229
229
|
|
230
|
-
declare const MultiSelect: ({ options, type, selectedOptions, onChange, acceptNewOption, zIndex, label, onSearch, required, disabled, errorMessage, withSelectButton, onSelect, displayCount }: MultiSelectProps) => react_jsx_runtime.JSX.Element;
|
230
|
+
declare const MultiSelect: ({ options, type, selectedOptions, onChange, acceptNewOption, zIndex, label, onSearch, required, disabled, errorMessage, withSelectButton, onSelect, displayCount, }: MultiSelectProps) => react_jsx_runtime.JSX.Element;
|
231
231
|
|
232
232
|
interface ToasterProps {
|
233
233
|
/**Boolean value to handle state of toaster. */
|
@@ -561,12 +561,12 @@ interface ExpandableMenuProps {
|
|
561
561
|
|
562
562
|
declare const ExpandableMenu: React.FC<ExpandableMenuProps>;
|
563
563
|
|
564
|
-
interface SelectProps {
|
564
|
+
interface SelectProps$1 {
|
565
565
|
label?: string;
|
566
566
|
showLabel?: boolean;
|
567
|
-
optionsList: Option$
|
568
|
-
selectedOption?: Option$
|
569
|
-
onChange: (option: Option$
|
567
|
+
optionsList: Option$2[];
|
568
|
+
selectedOption?: Option$2;
|
569
|
+
onChange: (option: Option$2) => void;
|
570
570
|
errorMsg?: string;
|
571
571
|
className?: string;
|
572
572
|
optionZIndex?: number;
|
@@ -579,13 +579,13 @@ interface SelectProps {
|
|
579
579
|
*/
|
580
580
|
optionsRequired?: boolean;
|
581
581
|
}
|
582
|
-
interface Option$
|
582
|
+
interface Option$2 {
|
583
583
|
label: string | ReactNode;
|
584
584
|
value: string;
|
585
585
|
disabled?: boolean;
|
586
586
|
}
|
587
587
|
|
588
|
-
declare const Select: ({ label, showLabel, optionsList, selectedOption, onChange, errorMsg, className, optionZIndex, disabled, borderRadius, showBorder, required, optionsRequired, }: SelectProps) => react_jsx_runtime.JSX.Element;
|
588
|
+
declare const Select: ({ label, showLabel, optionsList, selectedOption, onChange, errorMsg, className, optionZIndex, disabled, borderRadius, showBorder, required, optionsRequired, }: SelectProps$1) => react_jsx_runtime.JSX.Element;
|
589
589
|
|
590
590
|
interface TextareaProps {
|
591
591
|
/**
|
@@ -880,7 +880,7 @@ interface TableProps {
|
|
880
880
|
className?: string;
|
881
881
|
}
|
882
882
|
|
883
|
-
declare const Table: ({ data, columns, headerType, withFixedHeader, borderWithRadius, height, className, }: TableProps) => react_jsx_runtime.JSX.Element | null;
|
883
|
+
declare const Table: ({ data, columns, headerType, withCheckbox, onSelect, allSelected, partialSelected, withFixedHeader, borderWithRadius, headerCheckboxDisabled, height, className, }: TableProps) => react_jsx_runtime.JSX.Element | null;
|
884
884
|
|
885
885
|
/**
|
886
886
|
* Props for the Add Resource Button component.
|
@@ -1060,7 +1060,7 @@ interface FormProps<T extends FieldValues> extends UseFormProps<T> {
|
|
1060
1060
|
}
|
1061
1061
|
declare const Form: <T extends FieldValues>({ onSubmit, children, ...rest }: FormProps<T>) => react_jsx_runtime.JSX.Element;
|
1062
1062
|
|
1063
|
-
interface Option {
|
1063
|
+
interface Option$1 {
|
1064
1064
|
label: string | ReactNode;
|
1065
1065
|
value: string;
|
1066
1066
|
}
|
@@ -1108,11 +1108,11 @@ interface InputWithDropdownProps {
|
|
1108
1108
|
/**
|
1109
1109
|
* Options for the select dropdown
|
1110
1110
|
*/
|
1111
|
-
optionsList: Option[];
|
1111
|
+
optionsList: Option$1[];
|
1112
1112
|
/**
|
1113
1113
|
* Selected option for the select dropdown
|
1114
1114
|
*/
|
1115
|
-
selectedOption?: Option;
|
1115
|
+
selectedOption?: Option$1;
|
1116
1116
|
/**
|
1117
1117
|
* onChange handler for input changes
|
1118
1118
|
*/
|
@@ -1120,7 +1120,7 @@ interface InputWithDropdownProps {
|
|
1120
1120
|
/**
|
1121
1121
|
* onChange handler for dropdown changes
|
1122
1122
|
*/
|
1123
|
-
onDropdownChangeHandler?: (option: Option) => void;
|
1123
|
+
onDropdownChangeHandler?: (option: Option$1) => void;
|
1124
1124
|
/**
|
1125
1125
|
* onInputBlurHandler action for input field
|
1126
1126
|
*/
|
@@ -1464,6 +1464,18 @@ declare const DragAndDrop: {
|
|
1464
1464
|
|
1465
1465
|
declare const AllProjectsDropdown: () => react_jsx_runtime.JSX.Element;
|
1466
1466
|
|
1467
|
+
interface PieChartProps {
|
1468
|
+
radius: number;
|
1469
|
+
data: Array<{
|
1470
|
+
label: string;
|
1471
|
+
value: number;
|
1472
|
+
}>;
|
1473
|
+
colors: string[];
|
1474
|
+
chartBorder: boolean;
|
1475
|
+
}
|
1476
|
+
|
1477
|
+
declare const PieChart: React__default.FC<PieChartProps>;
|
1478
|
+
|
1467
1479
|
interface AppHeaderProps {
|
1468
1480
|
logoIconName: string;
|
1469
1481
|
rightContent: ReactNode;
|
@@ -1492,6 +1504,25 @@ interface appHeaderQuickMenuItemProps {
|
|
1492
1504
|
|
1493
1505
|
declare const AppHeader: React.FC<AppHeaderProps>;
|
1494
1506
|
|
1507
|
+
type ChartItem = {
|
1508
|
+
key: string;
|
1509
|
+
value: number;
|
1510
|
+
color?: string;
|
1511
|
+
};
|
1512
|
+
type LegendType = 'numberLegend' | 'pillLegend' | 'memoryLegend' | 'tableLegend';
|
1513
|
+
type DashboardDonutChartProps = {
|
1514
|
+
radius: number;
|
1515
|
+
lineWidth: number;
|
1516
|
+
statusValues: ChartItem[];
|
1517
|
+
legendDetailsType: string;
|
1518
|
+
isLegendDetails: boolean;
|
1519
|
+
gapAngle?: number;
|
1520
|
+
legendType: LegendType;
|
1521
|
+
showOnlyLabel: boolean;
|
1522
|
+
};
|
1523
|
+
|
1524
|
+
declare const DashboardDonutChart: React__default.FC<DashboardDonutChartProps>;
|
1525
|
+
|
1495
1526
|
interface RecaptchaProps extends Omit<ComponentProps<typeof ReCAPTCHA>, 'onChange'> {
|
1496
1527
|
/**
|
1497
1528
|
* Callback function that receives the verification token
|
@@ -1513,6 +1544,30 @@ interface RecaptchaProps extends Omit<ComponentProps<typeof ReCAPTCHA>, 'onChang
|
|
1513
1544
|
|
1514
1545
|
declare const Recaptcha: React$1.ForwardRefExoticComponent<RecaptchaProps & React$1.RefAttributes<ReCAPTCHA>>;
|
1515
1546
|
|
1547
|
+
interface SelectProps {
|
1548
|
+
label?: string;
|
1549
|
+
showLabel?: boolean;
|
1550
|
+
optionsList: any[];
|
1551
|
+
selectedOption?: Option;
|
1552
|
+
onChange: (option: Option) => void;
|
1553
|
+
errorMsg?: string;
|
1554
|
+
className?: string;
|
1555
|
+
optionZIndex?: number;
|
1556
|
+
disabled?: boolean;
|
1557
|
+
borderRadius?: boolean;
|
1558
|
+
showBorder?: boolean;
|
1559
|
+
required?: boolean;
|
1560
|
+
}
|
1561
|
+
interface Option {
|
1562
|
+
displayName: string | ReactNode;
|
1563
|
+
projectId: string;
|
1564
|
+
nlpType: string;
|
1565
|
+
platform: string;
|
1566
|
+
disabled?: boolean;
|
1567
|
+
}
|
1568
|
+
|
1569
|
+
declare const NlpInput: ({ label, showLabel, optionsList, selectedOption, onChange, errorMsg, className, optionZIndex, disabled, borderRadius, showBorder, required, }: SelectProps) => react_jsx_runtime.JSX.Element;
|
1570
|
+
|
1516
1571
|
type valueType$1 = any;
|
1517
1572
|
declare const checkEmpty: (value: valueType$1) => boolean;
|
1518
1573
|
|
@@ -1520,4 +1575,4 @@ type valueType = File | string;
|
|
1520
1575
|
declare const getExtension: (value: valueType) => string | undefined;
|
1521
1576
|
declare const getExtensionWithPeriod: (value: valueType) => string;
|
1522
1577
|
|
1523
|
-
export { Accordion, AddButton as AddResourceButton, AllProjectsDropdown, AppHeader, Button, Checkbox, Chip, Col, Container, CustomDatePicker as DatePicker, DonutChart, DragAndDrop, Drawer, ExpandableMenu, FileDropzone, Form, HighlightText, Icon, IconButton, Input, InputWithDropdown, MenuOption, MiniModal, Modal, MultiSelect, RadialChart, RadioButton, RadioGroup, Recaptcha, Row, Search, Select, StateDropdown, StatusButton, Table, TableTree, Tabs, Textarea as TextArea, ThemeProvider, Toaster, Toggle, Tooltip, Typography, checkEmpty, getExtension, getExtensionWithPeriod, useTheme };
|
1578
|
+
export { Accordion, AddButton as AddResourceButton, AllProjectsDropdown, AppHeader, Button, Checkbox, Chip, Col, Container, DashboardDonutChart, CustomDatePicker as DatePicker, DonutChart, DragAndDrop, Drawer, ExpandableMenu, FileDropzone, Form, HighlightText, Icon, IconButton, Input, InputWithDropdown, MenuOption, MiniModal, Modal, MultiSelect, NlpInput as NLPInput, PieChart, RadialChart, RadioButton, RadioGroup, Recaptcha, Row, Search, Select, StateDropdown, StatusButton, Table, TableTree, Tabs, Textarea as TextArea, ThemeProvider, Toaster, Toggle, Tooltip, Typography, checkEmpty, getExtension, getExtensionWithPeriod, useTheme };
|