dfh-ui-library 1.12.473 → 1.12.474

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,4 @@
1
+ import React from "react";
2
+ import { SsnInputProps } from "../../shared/models/components/common.model";
3
+ declare const SsnInput: React.FC<SsnInputProps>;
4
+ export default SsnInput;
@@ -0,0 +1,2 @@
1
+ export declare const formatInput: (val: any, event?: React.KeyboardEvent<HTMLInputElement>) => string;
2
+ export declare const replaceCharacters: (template: string, value: string) => string;
@@ -0,0 +1 @@
1
+ export { default } from "./SsnInput";
@@ -58,3 +58,4 @@ export { default as ButtonGroupMultiSelect } from "./ButtonGroup/ButtonGroupMult
58
58
  export { default as CheckBoxComponent } from "./FilterButtonGroup/Checkbox";
59
59
  export { default as Todos } from "./SideBarListView/todos";
60
60
  export { default as UrgentChallenges } from "./SideBarListView/urgentChallenges";
61
+ export { default as SsnInput } from "./SsnInput";
@@ -257,6 +257,28 @@ export interface PhoneNumberInputProps {
257
257
  name?: string;
258
258
  field?: any;
259
259
  }
260
+ export interface SsnInputProps {
261
+ value: string;
262
+ onChange: (value: string) => void;
263
+ placeholder?: string;
264
+ additionalClasses?: string | undefined;
265
+ error?: string;
266
+ isBorderedError?: boolean;
267
+ labelType?: "default" | "black" | "smallSelect" | "blackSmall" | "formLabelMedeum";
268
+ readOnly?: boolean;
269
+ type?: string;
270
+ inputVariant?: "default" | "large";
271
+ label?: string | undefined;
272
+ additionalErrorClasses?: string;
273
+ isAdditionalErrorInput?: boolean;
274
+ name?: string;
275
+ field?: any;
276
+ isIconRight?: boolean;
277
+ rightIcon?: string;
278
+ iconClassRight?: string;
279
+ isMasked: boolean;
280
+ iconOnClick?: (event: React.ChangeEvent<HTMLInputElement>) => void;
281
+ }
260
282
  export interface ModalProps {
261
283
  children?: React.ReactNode;
262
284
  isOpen?: boolean;
@@ -752,14 +774,10 @@ export interface NoteProps {
752
774
  note?: NoteItemProps[];
753
775
  _id?: string;
754
776
  date?: string;
755
- actionedUser?: ActionedUser;
777
+ actionedUser?: string;
756
778
  noteType?: string;
757
779
  shouldUpdateLastContactDate?: boolean;
758
780
  }
759
- interface ActionedUser {
760
- _id?: string;
761
- fullName?: string;
762
- }
763
781
  export interface NoteHistoryProps {
764
782
  editedBy?: string;
765
783
  dateTime?: string;
@@ -811,9 +829,7 @@ export interface NoteComponentProps {
811
829
  enableAddCheckbox?: boolean;
812
830
  additionalClassesNote?: string;
813
831
  additionalClassesButtons?: string;
814
- additionalClassesTitlebar?: string;
815
832
  minHeight?: string;
816
- isChallengeNote?: boolean;
817
833
  }
818
834
  export interface TabButtonProps {
819
835
  onClickTab?: (value: string) => void;
package/dist/index.d.ts CHANGED
@@ -236,6 +236,28 @@ interface PhoneNumberInputProps {
236
236
  name?: string;
237
237
  field?: any;
238
238
  }
239
+ interface SsnInputProps {
240
+ value: string;
241
+ onChange: (value: string) => void;
242
+ placeholder?: string;
243
+ additionalClasses?: string | undefined;
244
+ error?: string;
245
+ isBorderedError?: boolean;
246
+ labelType?: "default" | "black" | "smallSelect" | "blackSmall" | "formLabelMedeum";
247
+ readOnly?: boolean;
248
+ type?: string;
249
+ inputVariant?: "default" | "large";
250
+ label?: string | undefined;
251
+ additionalErrorClasses?: string;
252
+ isAdditionalErrorInput?: boolean;
253
+ name?: string;
254
+ field?: any;
255
+ isIconRight?: boolean;
256
+ rightIcon?: string;
257
+ iconClassRight?: string;
258
+ isMasked: boolean;
259
+ iconOnClick?: (event: React.ChangeEvent<HTMLInputElement>) => void;
260
+ }
239
261
  interface ModalProps {
240
262
  children?: React.ReactNode;
241
263
  isOpen?: boolean;
@@ -644,14 +666,10 @@ interface NoteProps {
644
666
  note?: NoteItemProps[];
645
667
  _id?: string;
646
668
  date?: string;
647
- actionedUser?: ActionedUser;
669
+ actionedUser?: string;
648
670
  noteType?: string;
649
671
  shouldUpdateLastContactDate?: boolean;
650
672
  }
651
- interface ActionedUser {
652
- _id?: string;
653
- fullName?: string;
654
- }
655
673
  interface NoteHistoryProps {
656
674
  editedBy?: string;
657
675
  dateTime?: string;
@@ -699,9 +717,7 @@ interface NoteComponentProps {
699
717
  enableAddCheckbox?: boolean;
700
718
  additionalClassesNote?: string;
701
719
  additionalClassesButtons?: string;
702
- additionalClassesTitlebar?: string;
703
720
  minHeight?: string;
704
- isChallengeNote?: boolean;
705
721
  }
706
722
  interface TabButtonProps {
707
723
  onClickTab?: (value: string) => void;
@@ -1488,6 +1504,8 @@ interface UrgentChallengeProps {
1488
1504
  }
1489
1505
  declare const UrgentChallenges: React__default.FC<UrgentChallengeProps>;
1490
1506
 
1507
+ declare const SsnInput: React__default.FC<SsnInputProps>;
1508
+
1491
1509
  interface UseSchemaProcessorProps {
1492
1510
  schema: ISchema[];
1493
1511
  externalSetComponents: (data: IComponent[]) => void;
@@ -1800,4 +1818,4 @@ declare const themeConfigs: {
1800
1818
  plugins: any[];
1801
1819
  };
1802
1820
 
1803
- 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, Stepper, Tab, TabButton, TabList, TabPanel, Table, TagSelect as TagDropdown, TagSelect, Textarea, Timeline, type TimelineEventProps, Todos, Tooltip, TooltipWithChildren, Typho, Typhography, UrgentChallenges, type UrgentDataProps, useSchemaProcessor as UseSchemaProcessor, type VariantTypes, VersionDateDropdown, themeConfigs, usePagination, useSorting };
1821
+ 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, 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.473",
3
+ "version": "1.12.474",
4
4
  "description": "",
5
5
  "scripts": {
6
6
  "build": "rollup -c --bundleConfigAsCjs --environment NODE_ENV:production",