dfh-ui-library 1.12.474 → 1.12.476

Sign up to get free protection for your applications and to get access to all the features.
Files changed (30) hide show
  1. package/dist/cjs/index.css +1 -1
  2. package/dist/cjs/index.css.map +1 -1
  3. package/dist/cjs/index.js +1 -1
  4. package/dist/cjs/index.js.map +1 -1
  5. package/dist/cjs/types/components/Timeline/NoteView.d.ts +1 -0
  6. package/dist/cjs/types/components/index.d.ts +0 -1
  7. package/dist/cjs/types/shared/models/components/common.model.d.ts +7 -23
  8. package/dist/esm/index.css +1 -1
  9. package/dist/esm/index.css.map +1 -1
  10. package/dist/esm/index.js +1 -1
  11. package/dist/esm/index.js.map +1 -1
  12. package/dist/esm/types/components/Timeline/NoteView.d.ts +1 -0
  13. package/dist/esm/types/components/index.d.ts +0 -1
  14. package/dist/esm/types/shared/models/components/common.model.d.ts +7 -23
  15. package/dist/index.d.ts +8 -26
  16. package/package.json +1 -1
  17. package/dist/cjs/types/components/History/NoteEvent.d.ts +0 -4
  18. package/dist/cjs/types/components/History/NoteEventView.d.ts +0 -7
  19. package/dist/cjs/types/components/MonthPicker/MonthPicker.d.ts +0 -4
  20. package/dist/cjs/types/components/MonthPicker/index.d.ts +0 -1
  21. package/dist/cjs/types/components/SsnInput/SsnInput.d.ts +0 -4
  22. package/dist/cjs/types/components/SsnInput/SsnInput.handler.d.ts +0 -2
  23. package/dist/cjs/types/components/SsnInput/index.d.ts +0 -1
  24. package/dist/esm/types/components/History/NoteEvent.d.ts +0 -4
  25. package/dist/esm/types/components/History/NoteEventView.d.ts +0 -7
  26. package/dist/esm/types/components/MonthPicker/MonthPicker.d.ts +0 -4
  27. package/dist/esm/types/components/MonthPicker/index.d.ts +0 -1
  28. package/dist/esm/types/components/SsnInput/SsnInput.d.ts +0 -4
  29. package/dist/esm/types/components/SsnInput/SsnInput.handler.d.ts +0 -2
  30. package/dist/esm/types/components/SsnInput/index.d.ts +0 -1
@@ -5,6 +5,7 @@ interface NoteViewProps {
5
5
  notes?: NoteItemProps[];
6
6
  addtionalClassesCheckboxLabel?: string;
7
7
  handleCheckboxToggle?: (req: ITodoToggleRequestParams) => void;
8
+ isNoteHistory?: boolean;
8
9
  }
9
10
  declare const NotesView: React.FC<NoteViewProps>;
10
11
  export default NotesView;
@@ -58,4 +58,3 @@ 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,28 +257,6 @@ 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
- }
282
260
  export interface ModalProps {
283
261
  children?: React.ReactNode;
284
262
  isOpen?: boolean;
@@ -774,10 +752,14 @@ export interface NoteProps {
774
752
  note?: NoteItemProps[];
775
753
  _id?: string;
776
754
  date?: string;
777
- actionedUser?: string;
755
+ actionedUser?: ActionedUser;
778
756
  noteType?: string;
779
757
  shouldUpdateLastContactDate?: boolean;
780
758
  }
759
+ interface ActionedUser {
760
+ _id?: string;
761
+ fullName?: string;
762
+ }
781
763
  export interface NoteHistoryProps {
782
764
  editedBy?: string;
783
765
  dateTime?: string;
@@ -829,7 +811,9 @@ export interface NoteComponentProps {
829
811
  enableAddCheckbox?: boolean;
830
812
  additionalClassesNote?: string;
831
813
  additionalClassesButtons?: string;
814
+ additionalClassesTitlebar?: string;
832
815
  minHeight?: string;
816
+ isChallengeNote?: boolean;
833
817
  }
834
818
  export interface TabButtonProps {
835
819
  onClickTab?: (value: string) => void;
package/dist/index.d.ts CHANGED
@@ -236,28 +236,6 @@ 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
- }
261
239
  interface ModalProps {
262
240
  children?: React.ReactNode;
263
241
  isOpen?: boolean;
@@ -666,10 +644,14 @@ interface NoteProps {
666
644
  note?: NoteItemProps[];
667
645
  _id?: string;
668
646
  date?: string;
669
- actionedUser?: string;
647
+ actionedUser?: ActionedUser;
670
648
  noteType?: string;
671
649
  shouldUpdateLastContactDate?: boolean;
672
650
  }
651
+ interface ActionedUser {
652
+ _id?: string;
653
+ fullName?: string;
654
+ }
673
655
  interface NoteHistoryProps {
674
656
  editedBy?: string;
675
657
  dateTime?: string;
@@ -717,7 +699,9 @@ interface NoteComponentProps {
717
699
  enableAddCheckbox?: boolean;
718
700
  additionalClassesNote?: string;
719
701
  additionalClassesButtons?: string;
702
+ additionalClassesTitlebar?: string;
720
703
  minHeight?: string;
704
+ isChallengeNote?: boolean;
721
705
  }
722
706
  interface TabButtonProps {
723
707
  onClickTab?: (value: string) => void;
@@ -1504,8 +1488,6 @@ interface UrgentChallengeProps {
1504
1488
  }
1505
1489
  declare const UrgentChallenges: React__default.FC<UrgentChallengeProps>;
1506
1490
 
1507
- declare const SsnInput: React__default.FC<SsnInputProps>;
1508
-
1509
1491
  interface UseSchemaProcessorProps {
1510
1492
  schema: ISchema[];
1511
1493
  externalSetComponents: (data: IComponent[]) => void;
@@ -1818,4 +1800,4 @@ declare const themeConfigs: {
1818
1800
  plugins: any[];
1819
1801
  };
1820
1802
 
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 };
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 };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dfh-ui-library",
3
- "version": "1.12.474",
3
+ "version": "1.12.476",
4
4
  "description": "",
5
5
  "scripts": {
6
6
  "build": "rollup -c --bundleConfigAsCjs --environment NODE_ENV:production",
@@ -1,4 +0,0 @@
1
- import React from "react";
2
- import { TimelineEventProps } from "../../shared/models/components/common.model";
3
- declare const NoteEvent: React.FC<TimelineEventProps>;
4
- export default NoteEvent;
@@ -1,7 +0,0 @@
1
- import React from "react";
2
- import { NoteItemProps } from "../../shared/models/components/common.model";
3
- interface NoteViewProps {
4
- notes?: NoteItemProps[];
5
- }
6
- declare const NotesEventView: React.FC<NoteViewProps>;
7
- export default NotesEventView;
@@ -1,4 +0,0 @@
1
- import React from "react";
2
- import { CustomDatePickerProps } from '../../shared/models/components/common.model';
3
- declare const MonthPicker: React.FC<CustomDatePickerProps>;
4
- export default MonthPicker;
@@ -1 +0,0 @@
1
- export { default } from "./MonthPicker";
@@ -1,4 +0,0 @@
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;
@@ -1,2 +0,0 @@
1
- export declare const formatInput: (val: any, event?: React.KeyboardEvent<HTMLInputElement>) => string;
2
- export declare const replaceCharacters: (template: string, value: string) => string;
@@ -1 +0,0 @@
1
- export { default } from "./SsnInput";
@@ -1,4 +0,0 @@
1
- import React from "react";
2
- import { TimelineEventProps } from "../../shared/models/components/common.model";
3
- declare const NoteEvent: React.FC<TimelineEventProps>;
4
- export default NoteEvent;
@@ -1,7 +0,0 @@
1
- import React from "react";
2
- import { NoteItemProps } from "../../shared/models/components/common.model";
3
- interface NoteViewProps {
4
- notes?: NoteItemProps[];
5
- }
6
- declare const NotesEventView: React.FC<NoteViewProps>;
7
- export default NotesEventView;
@@ -1,4 +0,0 @@
1
- import React from "react";
2
- import { CustomDatePickerProps } from '../../shared/models/components/common.model';
3
- declare const MonthPicker: React.FC<CustomDatePickerProps>;
4
- export default MonthPicker;
@@ -1 +0,0 @@
1
- export { default } from "./MonthPicker";
@@ -1,4 +0,0 @@
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;
@@ -1,2 +0,0 @@
1
- export declare const formatInput: (val: any, event?: React.KeyboardEvent<HTMLInputElement>) => string;
2
- export declare const replaceCharacters: (template: string, value: string) => string;
@@ -1 +0,0 @@
1
- export { default } from "./SsnInput";