dfh-ui-library 1.12.633 → 1.12.635
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/index.css +1 -1
- package/dist/cjs/index.css.map +1 -1
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/components/MultiSelectFormGen/MultiSelectFormGen.d.ts +4 -0
- package/dist/cjs/types/components/MultiSelectFormGen/index.d.ts +1 -0
- package/dist/cjs/types/components/index.d.ts +1 -0
- package/dist/cjs/types/shared/models/components/common.model.d.ts +21 -1
- package/dist/esm/index.css +1 -1
- package/dist/esm/index.css.map +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/components/MultiSelectFormGen/MultiSelectFormGen.d.ts +4 -0
- package/dist/esm/types/components/MultiSelectFormGen/index.d.ts +1 -0
- package/dist/esm/types/components/index.d.ts +1 -0
- package/dist/esm/types/shared/models/components/common.model.d.ts +21 -1
- package/dist/index.d.ts +23 -1
- package/package.json +2 -2
@@ -0,0 +1 @@
|
|
1
|
+
export { default } from "./MultiSelectFormGen";
|
@@ -60,3 +60,4 @@ export { default as CheckBoxComponent } from "./FilterButtonGroup/Checkbox";
|
|
60
60
|
export { default as Todos } from "./SideBarListView/todos";
|
61
61
|
export { default as UrgentChallenges } from "./SideBarListView/urgentChallenges";
|
62
62
|
export { default as SsnInput } from "./SsnInput";
|
63
|
+
export { default as MultiSelectFormGen } from "./MultiSelectFormGen";
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { ReactNode } from "react";
|
2
|
-
import { VariantTypes } from "./base.model";
|
2
|
+
import { selectType, VariantTypes } from "./base.model";
|
3
3
|
import { ColumnDef, OnChangeFn, PaginationState, SortingState } from "@tanstack/react-table";
|
4
4
|
import { ITodoToggleRequestParams } from "../../../components/SideBarListView/todos";
|
5
5
|
export type AlignmentType = "center" | "left" | "right";
|
@@ -332,6 +332,26 @@ export interface DropdownMultiselectProps {
|
|
332
332
|
tooltipProps?: ToolTipProps;
|
333
333
|
onSelectedValuesChange: (selectedValues: string[]) => void;
|
334
334
|
}
|
335
|
+
export interface IMultiSelectOption {
|
336
|
+
value: string;
|
337
|
+
displayName: string;
|
338
|
+
selected?: boolean;
|
339
|
+
}
|
340
|
+
export interface IMultiSelectProps {
|
341
|
+
selectType?: selectType;
|
342
|
+
options?: IMultiSelectOption[];
|
343
|
+
value?: string[];
|
344
|
+
name: string;
|
345
|
+
labelType?: "default" | "black" | "smallSelect" | "blackSmall" | "formLabelMedeum";
|
346
|
+
label?: string | undefined;
|
347
|
+
labelClasses?: string;
|
348
|
+
defaultText?: string | undefined;
|
349
|
+
error?: string;
|
350
|
+
wrapperClass?: string | undefined;
|
351
|
+
additionalClasses?: string | undefined;
|
352
|
+
secondaryText?: string;
|
353
|
+
onSelectedValuesChange: (selectedValues: string[]) => void;
|
354
|
+
}
|
335
355
|
export interface OptionProps {
|
336
356
|
displayText: string;
|
337
357
|
iconText: string;
|
package/dist/index.d.ts
CHANGED
@@ -310,6 +310,26 @@ interface DropdownMultiselectProps {
|
|
310
310
|
tooltipProps?: ToolTipProps;
|
311
311
|
onSelectedValuesChange: (selectedValues: string[]) => void;
|
312
312
|
}
|
313
|
+
interface IMultiSelectOption {
|
314
|
+
value: string;
|
315
|
+
displayName: string;
|
316
|
+
selected?: boolean;
|
317
|
+
}
|
318
|
+
interface IMultiSelectProps {
|
319
|
+
selectType?: selectType;
|
320
|
+
options?: IMultiSelectOption[];
|
321
|
+
value?: string[];
|
322
|
+
name: string;
|
323
|
+
labelType?: "default" | "black" | "smallSelect" | "blackSmall" | "formLabelMedeum";
|
324
|
+
label?: string | undefined;
|
325
|
+
labelClasses?: string;
|
326
|
+
defaultText?: string | undefined;
|
327
|
+
error?: string;
|
328
|
+
wrapperClass?: string | undefined;
|
329
|
+
additionalClasses?: string | undefined;
|
330
|
+
secondaryText?: string;
|
331
|
+
onSelectedValuesChange: (selectedValues: string[]) => void;
|
332
|
+
}
|
313
333
|
interface OptionProps {
|
314
334
|
displayText: string;
|
315
335
|
iconText: string;
|
@@ -1524,6 +1544,8 @@ declare const UrgentChallenges: React__default.FC<UrgentChallengeProps>;
|
|
1524
1544
|
|
1525
1545
|
declare const SsnInput: React__default.FC<SsnInputProps>;
|
1526
1546
|
|
1547
|
+
declare const MultiSelectFormGen: React__default.FC<IMultiSelectProps>;
|
1548
|
+
|
1527
1549
|
interface UseSchemaProcessorProps {
|
1528
1550
|
schema: ISchema[];
|
1529
1551
|
externalSetComponents: (data: IComponent[]) => void;
|
@@ -1836,4 +1858,4 @@ declare const themeConfigs: {
|
|
1836
1858
|
plugins: any[];
|
1837
1859
|
};
|
1838
1860
|
|
1839
|
-
export { BADGETYPE, Badge, type BadgeColorVariant, BorderType, Breadcrumb, type BtnOptionDropdown, Button, ButtonGroup, ButtonGroupFormGen, ButtonGroupMultiSelect, ButtonGroupWithInputs, ButtonGroupWithInputsFormGen, ButtonGroupWithUpload, Card, Checkbox as CheckBox, CheckBoxComponent, ClickedAction, DFHFormProvider as ComponentProvider, CustomFileInput, CustomDatePicker as DatePicker, DialogBox, type DropdownSearchProps, DynamicDualInputTextGroupFormGen, FilterButtonGroup, Heading, HistoryDetails, type ISolutionvalues, Icon, IconInput, ImageInput, ImagePreview, IndeterminateCheckbox, InfoCard, Input, InputDatePicker, type InputType, InputValidation, InputsGroup, Label, type ListMasterDataProps, ListRow, LoadingSpinner, Logo, type LogoProps, Message, type MessageProps, Modal, NavBar, NoteEditor, type NoteHistoryProps, type NoteItemProps, type NoteProps, type OptionProps, PanelCard, PhoneNumberInput, PreviousDataBadge, ProgressBar, RadioButton, RegularDropdown, Row, SearchDropdownWithButton, Select, SelectUserWithButton, SideBarListView, Signature, SortDropdown, Spinner, SsnInput, Stepper, Tab, TabButton, TabList, TabPanel, Table, TagSelect as TagDropdown, TagSelect, Textarea, Timeline, type TimelineEventProps, Todos, Tooltip, TooltipWithChildren, Typho, Typhography, TyphographyFormGen, UrgentChallenges, type UrgentDataProps, useSchemaProcessor as UseSchemaProcessor, type VariantTypes, VersionDateDropdown, themeConfigs, usePagination, useSorting };
|
1861
|
+
export { BADGETYPE, Badge, type BadgeColorVariant, BorderType, Breadcrumb, type BtnOptionDropdown, Button, ButtonGroup, ButtonGroupFormGen, ButtonGroupMultiSelect, ButtonGroupWithInputs, ButtonGroupWithInputsFormGen, ButtonGroupWithUpload, Card, Checkbox as CheckBox, CheckBoxComponent, ClickedAction, DFHFormProvider as ComponentProvider, CustomFileInput, CustomDatePicker as DatePicker, DialogBox, type DropdownSearchProps, DynamicDualInputTextGroupFormGen, FilterButtonGroup, Heading, HistoryDetails, type ISolutionvalues, Icon, IconInput, ImageInput, ImagePreview, IndeterminateCheckbox, InfoCard, Input, InputDatePicker, type InputType, InputValidation, InputsGroup, Label, type ListMasterDataProps, ListRow, LoadingSpinner, Logo, type LogoProps, Message, type MessageProps, Modal, MultiSelectFormGen, NavBar, NoteEditor, type NoteHistoryProps, type NoteItemProps, type NoteProps, type OptionProps, PanelCard, PhoneNumberInput, PreviousDataBadge, ProgressBar, RadioButton, RegularDropdown, Row, SearchDropdownWithButton, Select, SelectUserWithButton, SideBarListView, Signature, SortDropdown, Spinner, SsnInput, Stepper, Tab, TabButton, TabList, TabPanel, Table, TagSelect as TagDropdown, TagSelect, Textarea, Timeline, type TimelineEventProps, Todos, Tooltip, TooltipWithChildren, Typho, Typhography, TyphographyFormGen, UrgentChallenges, type UrgentDataProps, useSchemaProcessor as UseSchemaProcessor, type VariantTypes, VersionDateDropdown, themeConfigs, usePagination, useSorting };
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "dfh-ui-library",
|
3
|
-
"version": "1.12.
|
3
|
+
"version": "1.12.635",
|
4
4
|
"description": "",
|
5
5
|
"scripts": {
|
6
6
|
"build": "rollup -c --bundleConfigAsCjs --environment NODE_ENV:production",
|
@@ -23,7 +23,7 @@
|
|
23
23
|
"@types/react": "^18.2.37",
|
24
24
|
"autoprefixer": "^10.4.16",
|
25
25
|
"classnames": "^2.3.2",
|
26
|
-
"dfh-form-generator": "^1.2.
|
26
|
+
"dfh-form-generator": "^1.2.89",
|
27
27
|
"dompurify": "^3.1.6",
|
28
28
|
"formik": "^2.4.5",
|
29
29
|
"lodash": "^4.17.21",
|