dfh-ui-library 1.14.44 → 1.14.46

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.
Files changed (287) 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/esm/index.css +1 -1
  6. package/dist/esm/index.css.map +1 -1
  7. package/dist/esm/index.js +1 -1
  8. package/dist/esm/index.js.map +1 -1
  9. package/dist/esm/types/components/Media/LetterFormBuilder/index.d.ts +0 -0
  10. package/dist/esm/types/components/NotesEditor/FloatingMenu.d.ts +7 -0
  11. package/dist/{cjs/types/components/NotesEditor/NoteEditor.d.ts → esm/types/components/NotesEditor/NoteEditorV3.d.ts} +2 -2
  12. package/dist/esm/types/components/NotesEditor/TiptapToolbar.d.ts +7 -0
  13. package/dist/esm/types/components/NotesEditor/index.d.ts +1 -0
  14. package/dist/esm/types/components/index.d.ts +1 -1
  15. package/dist/esm/types/shared/models/components/common.model.d.ts +1 -0
  16. package/dist/index.d.ts +4 -1
  17. package/package.json +17 -5
  18. package/dist/cjs/types/components/Accommodation/Accommodation.d.ts +0 -4
  19. package/dist/cjs/types/components/Accommodation/AccommodationDynamic.d.ts +0 -4
  20. package/dist/cjs/types/components/Accommodation/AccommodationDynamic_stories.d.ts +0 -7
  21. package/dist/cjs/types/components/Accommodation/index.d.ts +0 -1
  22. package/dist/cjs/types/components/Badge/Badge.d.ts +0 -4
  23. package/dist/cjs/types/components/Badge/index.d.ts +0 -1
  24. package/dist/cjs/types/components/Breadcrumb/Breadcrumb.d.ts +0 -4
  25. package/dist/cjs/types/components/Breadcrumb/index.d.ts +0 -1
  26. package/dist/cjs/types/components/Button/Button.d.ts +0 -4
  27. package/dist/cjs/types/components/Button/Button.handler.d.ts +0 -1
  28. package/dist/cjs/types/components/Button/Button.stories.d.ts +0 -25
  29. package/dist/cjs/types/components/Button/Button.test.d.ts +0 -1
  30. package/dist/cjs/types/components/Button/ButtonV2.d.ts +0 -4
  31. package/dist/cjs/types/components/Button/index.d.ts +0 -2
  32. package/dist/cjs/types/components/ButtonGroup/ButtonGroup.d.ts +0 -4
  33. package/dist/cjs/types/components/ButtonGroup/ButtonGroupMultiSelect.d.ts +0 -4
  34. package/dist/cjs/types/components/ButtonGroup/ButtonGroupMultiSelectV2.d.ts +0 -7
  35. package/dist/cjs/types/components/ButtonGroup/ButtonGroupV2.d.ts +0 -3
  36. package/dist/cjs/types/components/ButtonGroup/index.d.ts +0 -2
  37. package/dist/cjs/types/components/ButtonGroupFormGen/ButtonGroupFormGen.d.ts +0 -3
  38. package/dist/cjs/types/components/ButtonGroupFormGen/ButtonGroupWithMultiSelectFormGen.d.ts +0 -4
  39. package/dist/cjs/types/components/ButtonGroupFormGen/index.d.ts +0 -2
  40. package/dist/cjs/types/components/ButtonGroupUpload/ButtonGroupUpload.d.ts +0 -4
  41. package/dist/cjs/types/components/ButtonGroupUpload/index.d.ts +0 -1
  42. package/dist/cjs/types/components/ButtonGroupWithInputs/ButtonGroupWithInputs.d.ts +0 -4
  43. package/dist/cjs/types/components/ButtonGroupWithInputs/ButtonGroupWithInputsV2.d.ts +0 -7
  44. package/dist/cjs/types/components/ButtonGroupWithInputs/index.d.ts +0 -1
  45. package/dist/cjs/types/components/ButtonGroupWithInputsFormGen/ButtonGroupMultiSelectWithInputsFormGen.d.ts +0 -3
  46. package/dist/cjs/types/components/ButtonGroupWithInputsFormGen/ButtonGroupWithInputsFormGen.d.ts +0 -4
  47. package/dist/cjs/types/components/ButtonGroupWithInputsFormGen/index.d.ts +0 -2
  48. package/dist/cjs/types/components/ButtonGroupWithUpload/ButtonGroupWithUpload.d.ts +0 -4
  49. package/dist/cjs/types/components/ButtonGroupWithUpload/index.d.ts +0 -1
  50. package/dist/cjs/types/components/Card/Card.d.ts +0 -7
  51. package/dist/cjs/types/components/Card/Card.test.d.ts +0 -1
  52. package/dist/cjs/types/components/Card/index.d.ts +0 -1
  53. package/dist/cjs/types/components/CheckBoxFormGen/CheckBoxFormGen.d.ts +0 -4
  54. package/dist/cjs/types/components/CheckBoxFormGen/index.d.ts +0 -1
  55. package/dist/cjs/types/components/CircularLoader/CircularLoader.d.ts +0 -4
  56. package/dist/cjs/types/components/ComboBox/Combobox.d.ts +0 -46
  57. package/dist/cjs/types/components/ComboBox/ComboboxV2.d.ts +0 -38
  58. package/dist/cjs/types/components/ComboBox/index.d.ts +0 -3
  59. package/dist/cjs/types/components/ComponentProvider/ComponentHelper.d.ts +0 -2
  60. package/dist/cjs/types/components/ComponentProvider/ComponentProvider.d.ts +0 -9
  61. package/dist/cjs/types/components/ComponentProvider/ComponentProvider.handler.d.ts +0 -6
  62. package/dist/cjs/types/components/ComponentProvider/index.d.ts +0 -1
  63. package/dist/cjs/types/components/CustomFileInput/CustomFileInput.d.ts +0 -4
  64. package/dist/cjs/types/components/CustomFileInput/index.d.ts +0 -1
  65. package/dist/cjs/types/components/Datepicker/DatePicker.d.ts +0 -5
  66. package/dist/cjs/types/components/Datepicker/DatePickerFormGen.d.ts +0 -10
  67. package/dist/cjs/types/components/Datepicker/index.d.ts +0 -1
  68. package/dist/cjs/types/components/DynamicDualInputTextGroupFormGen/DynamicDualInputBase.d.ts +0 -4
  69. package/dist/cjs/types/components/DynamicDualInputTextGroupFormGen/DynamicDualInputTextGroupFormGen.d.ts +0 -4
  70. package/dist/cjs/types/components/DynamicDualInputTextGroupFormGen/DynamicDualInputTextGroupFormGenstories.d.ts +0 -7
  71. package/dist/cjs/types/components/DynamicDualInputTextGroupFormGen/index.d.ts +0 -1
  72. package/dist/cjs/types/components/Filter/Filter.d.ts +0 -4
  73. package/dist/cjs/types/components/Filter/FilterSwitch.d.ts +0 -8
  74. package/dist/cjs/types/components/Filter/FilterTitle.d.ts +0 -7
  75. package/dist/cjs/types/components/Filter/IconCheckboxGroup.d.ts +0 -14
  76. package/dist/cjs/types/components/Filter/index.d.ts +0 -1
  77. package/dist/cjs/types/components/FilterButtonGroup/Checkbox.d.ts +0 -12
  78. package/dist/cjs/types/components/FilterButtonGroup/FilterButton.d.ts +0 -4
  79. package/dist/cjs/types/components/FilterButtonGroup/FilterButtonGroup.d.ts +0 -6
  80. package/dist/cjs/types/components/FilterButtonGroup/example.d.ts +0 -3
  81. package/dist/cjs/types/components/FilterButtonGroup/index.d.ts +0 -1
  82. package/dist/cjs/types/components/Form/Form.d.ts +0 -4
  83. package/dist/cjs/types/components/Form/index.d.ts +0 -1
  84. package/dist/cjs/types/components/FormElements/AutoResizeTextarea/AutoResizeTextarea.d.ts +0 -7
  85. package/dist/cjs/types/components/FormElements/AutoResizeTextarea/index.d.ts +0 -1
  86. package/dist/cjs/types/components/FormElements/CheckBox/CheckBox.d.ts +0 -4
  87. package/dist/cjs/types/components/FormElements/CheckBox/index.d.ts +0 -1
  88. package/dist/cjs/types/components/FormElements/IconInput/IconInput.d.ts +0 -7
  89. package/dist/cjs/types/components/FormElements/IconInput/IconInput.handler.d.ts +0 -1
  90. package/dist/cjs/types/components/FormElements/IconInput/IconInput.test.d.ts +0 -1
  91. package/dist/cjs/types/components/FormElements/IconInput/IconInputV2.d.ts +0 -7
  92. package/dist/cjs/types/components/FormElements/IconInput/iconInputLock.d.ts +0 -31
  93. package/dist/cjs/types/components/FormElements/IconInput/index.d.ts +0 -3
  94. package/dist/cjs/types/components/FormElements/ImageInput/ImageInput.d.ts +0 -4
  95. package/dist/cjs/types/components/FormElements/ImageInput/index.d.ts +0 -1
  96. package/dist/cjs/types/components/FormElements/Input/Input.d.ts +0 -7
  97. package/dist/cjs/types/components/FormElements/Input/Input.test.d.ts +0 -1
  98. package/dist/cjs/types/components/FormElements/Input/InputV2.d.ts +0 -10
  99. package/dist/cjs/types/components/FormElements/Input/index.d.ts +0 -2
  100. package/dist/cjs/types/components/FormElements/InputValidation/InputValidation.d.ts +0 -7
  101. package/dist/cjs/types/components/FormElements/InputValidation/index.d.ts +0 -1
  102. package/dist/cjs/types/components/FormElements/Label/Label.d.ts +0 -7
  103. package/dist/cjs/types/components/FormElements/Label/index.d.ts +0 -1
  104. package/dist/cjs/types/components/FormElements/RadioButton/RadioButton.d.ts +0 -7
  105. package/dist/cjs/types/components/FormElements/RadioButton/index.d.ts +0 -1
  106. package/dist/cjs/types/components/FormElements/Select/Select.d.ts +0 -7
  107. package/dist/cjs/types/components/FormElements/Select/Select.handler.d.ts +0 -3
  108. package/dist/cjs/types/components/FormElements/Select/SelectV2.d.ts +0 -42
  109. package/dist/cjs/types/components/FormElements/Select/index.d.ts +0 -3
  110. package/dist/cjs/types/components/FormElements/Signout/Signout.d.ts +0 -6
  111. package/dist/cjs/types/components/FormElements/Textarea/Textarea.d.ts +0 -7
  112. package/dist/cjs/types/components/FormElements/Textarea/TextareaWithCount.d.ts +0 -7
  113. package/dist/cjs/types/components/FormElements/Textarea/TextareaWithCountV2.d.ts +0 -7
  114. package/dist/cjs/types/components/FormElements/Textarea/index.d.ts +0 -3
  115. package/dist/cjs/types/components/FormElements/index.d.ts +0 -9
  116. package/dist/cjs/types/components/Gird/Grid.d.ts +0 -4
  117. package/dist/cjs/types/components/Gird/Grid.handler.d.ts +0 -1
  118. package/dist/cjs/types/components/Gird/GridCheckBox.d.ts +0 -6
  119. package/dist/cjs/types/components/Gird/Spinner.d.ts +0 -4
  120. package/dist/cjs/types/components/Gird/index.d.ts +0 -2
  121. package/dist/cjs/types/components/Gird/mockAPI.d.ts +0 -23
  122. package/dist/cjs/types/components/History/History.d.ts +0 -4
  123. package/dist/cjs/types/components/History/HistoryNoteEvent.d.ts +0 -4
  124. package/dist/cjs/types/components/History/HistoryNoteEventView.d.ts +0 -7
  125. package/dist/cjs/types/components/History/index.d.ts +0 -1
  126. package/dist/cjs/types/components/HorizontalRule/HorizontalRule.d.ts +0 -6
  127. package/dist/cjs/types/components/HorizontalRule/index.d.ts +0 -1
  128. package/dist/cjs/types/components/ImagePreview/ImagePreview.d.ts +0 -4
  129. package/dist/cjs/types/components/ImagePreview/ImagePreviewV2.d.ts +0 -4
  130. package/dist/cjs/types/components/ImagePreview/index.d.ts +0 -2
  131. package/dist/cjs/types/components/InfoCard/InfoCard.d.ts +0 -7
  132. package/dist/cjs/types/components/InfoCard/index.d.ts +0 -1
  133. package/dist/cjs/types/components/InputDatepicker/InputDatePicker.d.ts +0 -5
  134. package/dist/cjs/types/components/InputDatepicker/InputDatePickerV2.d.ts +0 -8
  135. package/dist/cjs/types/components/InputDatepicker/index.d.ts +0 -2
  136. package/dist/cjs/types/components/InputFormGen/InputFormGen.d.ts +0 -7
  137. package/dist/cjs/types/components/InputFormGen/index.d.ts +0 -1
  138. package/dist/cjs/types/components/InputsGroup/InputsGroup.d.ts +0 -4
  139. package/dist/cjs/types/components/InputsGroup/index.d.ts +0 -1
  140. package/dist/cjs/types/components/ListRow/ListRow.d.ts +0 -4
  141. package/dist/cjs/types/components/ListRow/index.d.ts +0 -1
  142. package/dist/cjs/types/components/LoadingSpinner/LoadingSpinner.d.ts +0 -4
  143. package/dist/cjs/types/components/LoadingSpinner/index.d.ts +0 -1
  144. package/dist/cjs/types/components/Logo/Logo.d.ts +0 -9
  145. package/dist/cjs/types/components/Logo/index.d.ts +0 -1
  146. package/dist/cjs/types/components/MarkdownContent/MarkdownContent.d.ts +0 -8
  147. package/dist/cjs/types/components/MarkdownContent/index.d.ts +0 -1
  148. package/dist/cjs/types/components/Media/Icon/CustomIcon.d.ts +0 -12
  149. package/dist/cjs/types/components/Media/Icon/Icon.d.ts +0 -11
  150. package/dist/cjs/types/components/Media/Icon/Icon.handler.d.ts +0 -6
  151. package/dist/cjs/types/components/Media/Icon/IconV2.d.ts +0 -19
  152. package/dist/cjs/types/components/Media/Icon/index.d.ts +0 -2
  153. package/dist/cjs/types/components/Media/Icons/Icons.d.ts +0 -95
  154. package/dist/cjs/types/components/Media/LetterFormBuilder/CustomField.d.ts +0 -24
  155. package/dist/cjs/types/components/Media/LetterFormBuilder/FormGenerator.d.ts +0 -4
  156. package/dist/cjs/types/components/Media/LetterFormBuilder/LetterFormBuilder.d.ts +0 -4
  157. package/dist/cjs/types/components/Media/LetterFormBuilder/LetterGenerator.d.ts +0 -4
  158. package/dist/cjs/types/components/Media/LetterFormBuilder/interfaces/IComponent.d.ts +0 -5
  159. package/dist/cjs/types/components/Media/LetterFormBuilder/interfaces/IFormGeneratorProps.d.ts +0 -21
  160. package/dist/cjs/types/components/Media/LetterFormBuilder/interfaces/ILetterGeneratorProps.d.ts +0 -20
  161. package/dist/cjs/types/components/Media/LetterFormBuilder/interfaces/ILetterProps.d.ts +0 -18
  162. package/dist/cjs/types/components/Media/LetterFormBuilder/interfaces/ILetterSchema.d.ts +0 -54
  163. package/dist/cjs/types/components/Media/LetterFormBuilder/interfaces/IQuestionSchema.d.ts +0 -50
  164. package/dist/cjs/types/components/Media/LetterFormBuilder/interfaces/IQuestionValidationSchema.d.ts +0 -18
  165. package/dist/cjs/types/components/Media/LetterFormBuilder/interfaces/ISchema.d.ts +0 -32
  166. package/dist/cjs/types/components/Media/LetterFormBuilder/useInitialValues.d.ts +0 -3
  167. package/dist/cjs/types/components/Media/LetterFormBuilder/useLetterSchemaAdapter.d.ts +0 -4
  168. package/dist/cjs/types/components/Media/LetterFormBuilder/useOrderSchema.d.ts +0 -3
  169. package/dist/cjs/types/components/Media/LetterFormBuilder/util.d.ts +0 -39
  170. package/dist/cjs/types/components/Media/LetterFormBuilder/validationHelper.d.ts +0 -7
  171. package/dist/cjs/types/components/Message/Message.d.ts +0 -4
  172. package/dist/cjs/types/components/Message/index.d.ts +0 -1
  173. package/dist/cjs/types/components/MiniTimelineCard/MiniTimelineCard.d.ts +0 -18
  174. package/dist/cjs/types/components/MiniTimelineCard/index.d.ts +0 -1
  175. package/dist/cjs/types/components/Modal/Modal.d.ts +0 -4
  176. package/dist/cjs/types/components/Modal/index.d.ts +0 -1
  177. package/dist/cjs/types/components/MultiSelectFormGen/MultiSelectFormGen.d.ts +0 -4
  178. package/dist/cjs/types/components/MultiSelectFormGen/index.d.ts +0 -1
  179. package/dist/cjs/types/components/NavBar/ArrowDropDown.d.ts +0 -20
  180. package/dist/cjs/types/components/NavBar/EnvironmentSelector.d.ts +0 -10
  181. package/dist/cjs/types/components/NavBar/NavBar.d.ts +0 -7
  182. package/dist/cjs/types/components/NavBar/NavBar.handler.d.ts +0 -1
  183. package/dist/cjs/types/components/NavBar/index.d.ts +0 -1
  184. package/dist/cjs/types/components/NotesEditor/NoteEditorV2.d.ts +0 -4
  185. package/dist/cjs/types/components/NotesEditor/index.d.ts +0 -2
  186. package/dist/cjs/types/components/PanelCard/PanelCard.d.ts +0 -4
  187. package/dist/cjs/types/components/PanelCard/index.d.ts +0 -1
  188. package/dist/cjs/types/components/PhoneNumberInput/PhoneNumberInput.d.ts +0 -4
  189. package/dist/cjs/types/components/PhoneNumberInput/PhoneNumberInput.handler.d.ts +0 -1
  190. package/dist/cjs/types/components/PhoneNumberInput/PhoneNumberInput2.d.ts +0 -4
  191. package/dist/cjs/types/components/PhoneNumberInput/PhoneNumberInput3.d.ts +0 -6
  192. package/dist/cjs/types/components/PhoneNumberInput/PhoneNumberInput4.d.ts +0 -41
  193. package/dist/cjs/types/components/PhoneNumberInput/index.d.ts +0 -4
  194. package/dist/cjs/types/components/PreviousDataBadge/PreviousDataBadge.d.ts +0 -6
  195. package/dist/cjs/types/components/PreviousDataBadge/index.d.ts +0 -1
  196. package/dist/cjs/types/components/ProgressBar/ProgressBar.d.ts +0 -4
  197. package/dist/cjs/types/components/ProgressBar/index.d.ts +0 -1
  198. package/dist/cjs/types/components/RegularDropdown/RegularDropdown.d.ts +0 -4
  199. package/dist/cjs/types/components/RegularDropdown/index.d.ts +0 -1
  200. package/dist/cjs/types/components/SearchDropdownWithButton/SearchDropdownWithButton.d.ts +0 -4
  201. package/dist/cjs/types/components/SearchDropdownWithButton/index.d.ts +0 -1
  202. package/dist/cjs/types/components/SelectDropdownUser/SelectDropdownUser.d.ts +0 -4
  203. package/dist/cjs/types/components/SelectDropdownUser/SelectDropdownUserV2.d.ts +0 -4
  204. package/dist/cjs/types/components/SelectDropdownUser/SelectUserWithButton.d.ts +0 -4
  205. package/dist/cjs/types/components/SelectDropdownUser/index.d.ts +0 -3
  206. package/dist/cjs/types/components/SideBarListView/ItemSkeleton.d.ts +0 -2
  207. package/dist/cjs/types/components/SideBarListView/SideBarListView.d.ts +0 -4
  208. package/dist/cjs/types/components/SideBarListView/SideBarListViewV2.d.ts +0 -4
  209. package/dist/cjs/types/components/SideBarListView/index.d.ts +0 -2
  210. package/dist/cjs/types/components/SideBarListView/todos.d.ts +0 -24
  211. package/dist/cjs/types/components/SideBarListView/todosV2.d.ts +0 -26
  212. package/dist/cjs/types/components/SideBarListView/urgentChallenges.d.ts +0 -13
  213. package/dist/cjs/types/components/Signature/Signature.d.ts +0 -4
  214. package/dist/cjs/types/components/Signature/index.d.ts +0 -1
  215. package/dist/cjs/types/components/SortDropdown/SortDropdown.d.ts +0 -4
  216. package/dist/cjs/types/components/SortDropdown/index.d.ts +0 -1
  217. package/dist/cjs/types/components/SsnInput/SsnInput.d.ts +0 -4
  218. package/dist/cjs/types/components/SsnInput/SsnInput.handler.d.ts +0 -2
  219. package/dist/cjs/types/components/SsnInput/index.d.ts +0 -1
  220. package/dist/cjs/types/components/Stepper/Stepper.d.ts +0 -4
  221. package/dist/cjs/types/components/Stepper/index.d.ts +0 -1
  222. package/dist/cjs/types/components/Switch/Switch.d.ts +0 -4
  223. package/dist/cjs/types/components/Switch/index.d.ts +0 -1
  224. package/dist/cjs/types/components/Tab/Tab.d.ts +0 -4
  225. package/dist/cjs/types/components/Tab/TabList.d.ts +0 -4
  226. package/dist/cjs/types/components/Tab/TabPanel.d.ts +0 -4
  227. package/dist/cjs/types/components/Tab/index.d.ts +0 -3
  228. package/dist/cjs/types/components/TabButton/TabButton.d.ts +0 -4
  229. package/dist/cjs/types/components/TabButton/index.d.ts +0 -1
  230. package/dist/cjs/types/components/TagDropdown/TagDropdown.d.ts +0 -4
  231. package/dist/cjs/types/components/TagDropdown/index.d.ts +0 -1
  232. package/dist/cjs/types/components/TagSelect/TagSelect.d.ts +0 -4
  233. package/dist/cjs/types/components/TagSelect/index.d.ts +0 -1
  234. package/dist/cjs/types/components/TagSelectFormGen/TagSelectFormGen.d.ts +0 -4
  235. package/dist/cjs/types/components/TagSelectFormGen/index.d.ts +0 -1
  236. package/dist/cjs/types/components/TextAreaFormGen/TextAreaFormGen.d.ts +0 -27
  237. package/dist/cjs/types/components/Timeline/NoteView.d.ts +0 -13
  238. package/dist/cjs/types/components/Timeline/TimeLineCards.d.ts +0 -23
  239. package/dist/cjs/types/components/Timeline/Timeline.d.ts +0 -4
  240. package/dist/cjs/types/components/Timeline/TimelineEvent.d.ts +0 -4
  241. package/dist/cjs/types/components/Timeline/helper.d.ts +0 -4
  242. package/dist/cjs/types/components/Timeline/index.d.ts +0 -1
  243. package/dist/cjs/types/components/Toggle/ToggleButton.d.ts +0 -4
  244. package/dist/cjs/types/components/Toggle/ToggleButtonGroup.d.ts +0 -4
  245. package/dist/cjs/types/components/Toggle/index.d.ts +0 -2
  246. package/dist/cjs/types/components/Tooltip/Tooltip.d.ts +0 -7
  247. package/dist/cjs/types/components/Tooltip/TooltipWithChildren.d.ts +0 -8
  248. package/dist/cjs/types/components/Tooltip/index.d.ts +0 -2
  249. package/dist/cjs/types/components/Typho/Typho.d.ts +0 -44
  250. package/dist/cjs/types/components/Typho/index.d.ts +0 -1
  251. package/dist/cjs/types/components/Typhography/Typhography.d.ts +0 -7
  252. package/dist/cjs/types/components/Typhography/Typhography.handler.d.ts +0 -1
  253. package/dist/cjs/types/components/Typhography/index.d.ts +0 -1
  254. package/dist/cjs/types/components/TyphographyFormGen/TyphographyFormGen.d.ts +0 -4
  255. package/dist/cjs/types/components/TyphographyFormGen/TyphographyFormGen.handler.d.ts +0 -1
  256. package/dist/cjs/types/components/TyphographyFormGen/index.d.ts +0 -1
  257. package/dist/cjs/types/components/VersionDateDropdown/VersionDateDropdown.d.ts +0 -4
  258. package/dist/cjs/types/components/VersionDateDropdown/index.d.ts +0 -1
  259. package/dist/cjs/types/components/core/DialogBox/DialogBox.d.ts +0 -4
  260. package/dist/cjs/types/components/core/DialogBox/index.d.ts +0 -1
  261. package/dist/cjs/types/components/core/Heading/Heading.d.ts +0 -24
  262. package/dist/cjs/types/components/core/Heading/index.d.ts +0 -1
  263. package/dist/cjs/types/components/core/Row.d.ts +0 -7
  264. package/dist/cjs/types/components/core/index.d.ts +0 -1
  265. package/dist/cjs/types/components/index.d.ts +0 -74
  266. package/dist/cjs/types/constants/Images.d.ts +0 -5
  267. package/dist/cjs/types/constants/index.d.ts +0 -5
  268. package/dist/cjs/types/hooks/index.d.ts +0 -1
  269. package/dist/cjs/types/hooks/useClickOutside.d.ts +0 -1
  270. package/dist/cjs/types/hooks/usePagination.d.ts +0 -12
  271. package/dist/cjs/types/hooks/useSchemaProcessor.d.ts +0 -9
  272. package/dist/cjs/types/hooks/useSorting.d.ts +0 -12
  273. package/dist/cjs/types/index.d.ts +0 -10
  274. package/dist/cjs/types/shared/configs/customClasses.d.ts +0 -94
  275. package/dist/cjs/types/shared/configs/themeConfig.d.ts +0 -350
  276. package/dist/cjs/types/shared/libs/tailwindMerge.d.ts +0 -1
  277. package/dist/cjs/types/shared/models/components/base.model.d.ts +0 -782
  278. package/dist/cjs/types/shared/models/components/common.model.d.ts +0 -1087
  279. package/dist/cjs/types/shared/utilities/date.d.ts +0 -6
  280. package/dist/cjs/types/shared/utilities/helper.d.ts +0 -13
  281. package/dist/cjs/types/shared/utilities/images.d.ts +0 -3
  282. package/dist/cjs/types/shared/utilities/normalizeMarkdown.d.ts +0 -1
  283. package/dist/cjs/types/shared/utilities/reducers.d.ts +0 -2
  284. package/dist/esm/types/components/Button/Button.test.d.ts +0 -1
  285. package/dist/esm/types/components/Card/Card.test.d.ts +0 -1
  286. package/dist/esm/types/components/FormElements/IconInput/IconInput.test.d.ts +0 -1
  287. package/dist/esm/types/components/FormElements/Input/Input.test.d.ts +0 -1
@@ -1,1087 +0,0 @@
1
- import { ReactNode } from 'react';
2
- import { IconVariant, selectType, VariantTypes } from './base.model';
3
- import { ColumnDef, OnChangeFn, PaginationState, SortingState } from '@tanstack/react-table';
4
- import { ITodoToggleRequestParams } from '../../../components/SideBarListView/todos';
5
- import { IconName } from 'lucide-react/dynamic';
6
- import { customIcons } from '../../../components/Media/Icon/CustomIcon';
7
- export type AlignmentType = 'center' | 'left' | 'right';
8
- export type IconColorTypes = 'white' | 'black-900' | 'gray-220' | 'gray-720' | 'inherit' | 'gray-300' | string;
9
- export type IconHoverColorTypes = 'white' | 'black-900' | 'gray-220' | 'inherit';
10
- export type IconType = 'Home' | 'Info' | 'Email' | 'RightArrow' | 'DropDown' | 'DropDownArrow' | 'WhiteArrow' | 'TrashIcon' | 'AddNewitemIcon' | 'OkIcon' | 'EditIcon' | 'Delete' | 'AddIcon' | 'AlertIcon' | 'RemoveTrashIcon' | 'RoundTickIcon' | 'ValidationWarningIcon' | 'WarningIcon' | 'NeturalIcon' | 'SuccessIcon' | string;
11
- export interface IChildrenProp {
12
- /**
13
- * Se the child node and element;
14
- */
15
- children?: React.ReactNode;
16
- }
17
- export interface IIconTypeProp {
18
- /**
19
- * Set icon type
20
- */
21
- iconType?: IconType;
22
- /**
23
- * Set the Icon Color
24
- */
25
- iconColor?: IconColorTypes;
26
- }
27
- export interface IIconV2Props {
28
- color?: string;
29
- size?: string;
30
- variant?: IconVariant;
31
- strokeWidth?: number;
32
- absoluteStrokeWidth?: boolean;
33
- additionalClasses?: string;
34
- }
35
- export type IconNameType = IconName | keyof typeof customIcons;
36
- export interface IAdditionalClassesProp {
37
- /**
38
- * Optional | Set the additional classes
39
- */
40
- additionalClasses?: string | undefined;
41
- }
42
- export interface IDataTestIdProp {
43
- /**
44
- * Set the id for unti testing
45
- */
46
- data_testid?: string;
47
- }
48
- export interface IOnClickEventProps {
49
- onClick?: () => void;
50
- }
51
- export type InputType = 'text' | 'email' | 'password' | 'name' | 'date' | 'number';
52
- export type TyphoTypes = 'h1' | 'h1Bold' | 'h1ExtraBold' | 'h2' | 'h2Bold' | 'h2ExtraBold' | 'h10' | 'h10Bold' | 'h10ExtraBold' | 'h6' | 'h6Bold' | 'h6ExtraBold' | 'header1' | 'header2' | 'label1' | 'label2' | 'p' | 'authHeader' | 'inforTextNormal' | 'inforTextGray' | 'linkTextNormal' | 'linkTextMedium' | 'textMediumGray' | 'textSectionHeader';
53
- export type TyphoComponents = 'p' | 'span' | 'em' | 'div' | undefined;
54
- export type MessageTypes = 'warning' | 'success' | 'error' | 'disabled' | 'highlight' | 'nutral';
55
- export interface IInputValidationProps {
56
- /**
57
- * Set validation message
58
- */
59
- message?: string | undefined;
60
- /**
61
- * Optional for additional classes
62
- */
63
- additionalClasses?: string | undefined;
64
- }
65
- export interface ISchema {
66
- fieldId: number;
67
- component: string;
68
- }
69
- export interface IDefaultComponent {
70
- component: any;
71
- type: string;
72
- }
73
- export interface IComponent {
74
- id: string;
75
- component: any;
76
- }
77
- export interface IconProps {
78
- classes?: string;
79
- onClick?: (e?: any) => void;
80
- imageUrl?: string;
81
- onFocus?: () => void;
82
- color?: string;
83
- w?: string;
84
- h?: string;
85
- isAddEditPatient?: boolean;
86
- }
87
- export interface AdditionalClassesProp {
88
- /**
89
- * Optional | Set the additional classes
90
- */
91
- additionalClasses?: string | undefined;
92
- }
93
- export type ClassNameType = string;
94
- export type ChildrenType = ReactNode;
95
- export interface IFormProps {
96
- children?: ChildrenType;
97
- buttonLabel?: string;
98
- onSubmit?: any;
99
- handleSubmit?: any;
100
- register?: any;
101
- className?: ClassNameType;
102
- isButtonEnabled?: boolean;
103
- formClasses?: string;
104
- formContainerClasses?: string;
105
- }
106
- export interface FileNameProps {
107
- name: string;
108
- ext: string;
109
- }
110
- export interface AccountPopoverMenuItem {
111
- label: string;
112
- onClick: () => void;
113
- isVisible: boolean;
114
- isDisabled?: boolean;
115
- additionalClasses?: string;
116
- hidePopover?: boolean;
117
- }
118
- export interface Environment {
119
- environment: string;
120
- tags?: string[];
121
- version?: string;
122
- id: string;
123
- }
124
- export interface TabNavigationProps extends AdditionalClassesProp {
125
- navigationData: any[];
126
- navItemClick?: (url?: string) => void;
127
- userImage?: string;
128
- username?: string;
129
- themeColor?: string;
130
- accountPopoverMenuItems?: AccountPopoverMenuItem[];
131
- version?: {
132
- app?: string;
133
- env?: string;
134
- } | null;
135
- environmentList?: Environment[];
136
- selectedEnvironment?: Environment;
137
- currentEnvironment?: Environment;
138
- handleEnvironmentChange?: (environment: Environment) => void;
139
- helpOpen?: boolean;
140
- orgName?: string;
141
- }
142
- export interface TabNavItemProps {
143
- isActive: boolean;
144
- id?: number | string;
145
- urlPath?: string;
146
- navTitle?: string;
147
- navClasses?: string;
148
- iconName: IconName | keyof typeof customIcons;
149
- textClass?: string;
150
- }
151
- export interface MessageProps {
152
- type: string;
153
- text: string;
154
- onClose?: () => void;
155
- isVisible?: boolean;
156
- }
157
- export interface BreadcrumbProps {
158
- items: BreadcrumbItem[];
159
- singleArrow?: boolean;
160
- addtionalClasses?: string;
161
- }
162
- export interface BreadcrumbItem {
163
- label: string;
164
- link?: string;
165
- navAction?: () => void;
166
- isDischarged?: boolean;
167
- }
168
- export interface ImagePreviewProps {
169
- imageUrl?: string;
170
- w?: string;
171
- h?: string;
172
- text?: string;
173
- isSmall?: boolean;
174
- bgColor?: string;
175
- textClasses?: string;
176
- handleImageLoad?: () => void;
177
- defaultImageUrl?: string;
178
- isAddEditPatient?: boolean;
179
- isLoading?: boolean;
180
- isAutoResize?: boolean;
181
- }
182
- export interface ImageInputProps {
183
- imageUrl?: string;
184
- isImage?: boolean;
185
- type?: InputType;
186
- name?: string;
187
- /**
188
- * Set new variant of the input
189
- */
190
- inputVariant?: 'default' | 'large';
191
- /**
192
- * Set Input name
193
- */
194
- id?: string;
195
- /**
196
- * Set Input name
197
- */
198
- labelName?: string;
199
- /**
200
- * Set the Label Type
201
- */
202
- labelType?: LableTypes;
203
- /**
204
- * Set Input label name
205
- */
206
- label?: string | undefined;
207
- /**
208
- * Ser Error message
209
- */
210
- error?: string;
211
- /**
212
- * Ser Error message
213
- */
214
- isBorderedError?: boolean;
215
- /**
216
- * Set Wrapper classes, new classes will overide the existing default classes
217
- */
218
- wrapperClass?: string | undefined;
219
- /**
220
- * Optional for additional classes
221
- */
222
- additionalClasses?: string | undefined;
223
- /**
224
- * Enable read only
225
- */
226
- readonly?: boolean;
227
- /**
228
- * LabelClasses
229
- */
230
- labelClasses?: string | undefined;
231
- onChange?: (e: React.ChangeEvent<HTMLInputElement>) => void;
232
- placeholder?: string;
233
- /**
234
- * Set label only
235
- */
236
- onlyLabel?: boolean | undefined;
237
- /**
238
- * inner span Classes
239
- */
240
- labelSpanClasses?: string;
241
- isAdditionalErrorInput?: boolean;
242
- additionalErrorClasses?: string;
243
- readOnly?: boolean;
244
- value?: string;
245
- isRequired?: boolean;
246
- }
247
- export interface CustomDatePickerProps {
248
- selectedDate?: Date | null;
249
- onChange?: (date: Date | null) => void;
250
- onSelect?: (date: Date | null) => void;
251
- onBlur?(event: React.FocusEvent<HTMLInputElement>): void;
252
- label?: string;
253
- isRequired?: boolean;
254
- placeHolder?: string;
255
- error?: string;
256
- isAdditionalErrorInput?: boolean;
257
- additionalErrorClasses?: string;
258
- selected?: {
259
- value?: Date | null;
260
- } | null;
261
- /**
262
- * Ser Error message
263
- */
264
- isBorderedError?: boolean;
265
- labelType?: 'default' | 'black' | 'smallSelect' | 'blackSmall' | 'formLabelMedeum';
266
- additionalClasses?: string | undefined;
267
- readOnly?: boolean;
268
- type?: InputType;
269
- height?: string;
270
- /**
271
- * Set new variant of the input
272
- */
273
- inputVariant?: 'default' | 'large' | 'form';
274
- iconType?: string;
275
- iconClasses?: string;
276
- dateFormat?: string;
277
- enableClear?: boolean;
278
- maxDate?: Date;
279
- minDate?: Date;
280
- disabled?: boolean;
281
- showMonthYearPicker?: boolean;
282
- errorMsg?: string;
283
- }
284
- export interface PhoneNumberInputProps {
285
- value: string;
286
- countryCallingCodeEditable?: boolean;
287
- onChange: (value: string, country?: string) => void;
288
- placeholder?: string;
289
- additionalClasses?: string | undefined;
290
- error?: string;
291
- /**
292
- * Ser Error message
293
- */
294
- isBorderedError?: boolean;
295
- labelType?: 'default' | 'black' | 'smallSelect' | 'blackSmall' | 'formLabelMedeum';
296
- readOnly?: boolean;
297
- type?: InputType;
298
- /**
299
- * Set new variant of the input
300
- */
301
- inputVariant?: 'default' | 'large';
302
- label?: string | undefined;
303
- additionalErrorClasses?: string;
304
- isAdditionalErrorInput?: boolean;
305
- name?: string;
306
- field?: any;
307
- isRequired?: boolean;
308
- }
309
- export interface SsnInputProps {
310
- value: string;
311
- onChange: (value: string) => void;
312
- onBlur?: (event: React.FocusEvent<HTMLInputElement>) => void;
313
- placeholder?: string;
314
- additionalClasses?: string | undefined;
315
- error?: string;
316
- isBorderedError?: boolean;
317
- labelType?: 'default' | 'black' | 'smallSelect' | 'blackSmall' | 'formLabelMedeum';
318
- readOnly?: boolean;
319
- type?: string;
320
- inputVariant?: 'default' | 'large' | 'dynamic' | 'uploadinput' | 'small' | 'noborder';
321
- label?: string | undefined;
322
- additionalErrorClasses?: string;
323
- isAdditionalErrorInput?: boolean;
324
- name?: string;
325
- field?: any;
326
- isIconRight?: boolean;
327
- iconClassRight?: string;
328
- isRequired?: boolean;
329
- isDischarged?: boolean;
330
- }
331
- export interface ModalProps {
332
- children?: React.ReactNode;
333
- isOpen?: boolean;
334
- onClose?: any;
335
- isLeftSpaceEnabled?: boolean;
336
- modalAdditionalClasses?: string;
337
- }
338
- export interface DialogBoxProps {
339
- title?: string;
340
- content?: string;
341
- isConfirmButtonEnabled?: boolean;
342
- isCancelButtonEnabled?: boolean;
343
- cancelBtnAdditionalClasses?: string;
344
- confirmBtnAdditionalClasses?: string;
345
- handleConfirmButton?: any;
346
- handleCancelButton?: any;
347
- handleOuterClick?: any;
348
- textConfirmButton?: string;
349
- textCancelButton?: string;
350
- dialogBoxState?: boolean;
351
- dialogBoxAdditionalClasses?: string;
352
- titleAdditionalClasses?: string;
353
- contentAdditionalClasses?: string;
354
- headerAdditionalClasses?: string;
355
- closeIconAdditonalClasses?: string;
356
- footerAdditionalClasses?: string;
357
- isLeftSpaceEnabled?: boolean;
358
- showCloseIcon?: boolean;
359
- }
360
- export interface CustomFileInputProps {
361
- onFileChange: (file: File | null) => void;
362
- isIconEnabled?: boolean;
363
- iconAlignment?: string;
364
- iconColor?: string;
365
- iconType?: string;
366
- iconClass?: string;
367
- buttonClasses?: string;
368
- buttonBgClass?: string;
369
- textColor?: string;
370
- lableBtn?: string;
371
- setFileName?: (fileNameProps: FileNameProps) => void;
372
- pclass?: string;
373
- fileExt?: string;
374
- fileType?: string;
375
- isRequired?: boolean;
376
- }
377
- export interface ToolTipProps {
378
- tooltipIcon?: string;
379
- tooltipIconClasses?: string | undefined;
380
- tooltipHeading?: string;
381
- tooltipContent?: React.ReactNode;
382
- tooltipClick?: (e: React.ChangeEvent<HTMLSelectElement>) => void;
383
- showTooltip?: boolean;
384
- color?: string;
385
- }
386
- export interface DropdownMultiselectProps {
387
- initValues?: string[];
388
- options: string[];
389
- label?: string;
390
- labelType?: LableTypes;
391
- enableToolTip?: boolean;
392
- tooltipProps?: ToolTipProps;
393
- onSelectedValuesChange: (selectedValues: string[]) => void;
394
- isRequired?: boolean;
395
- }
396
- export interface IMultiSelectOption {
397
- value: string;
398
- displayName: string;
399
- isSelected?: boolean;
400
- }
401
- export interface IMultiSelectProps {
402
- selectType?: selectType;
403
- options?: IMultiSelectOption[];
404
- selected?: {
405
- value: IMultiSelectOption[];
406
- };
407
- name: string;
408
- labelType?: 'default' | 'black' | 'smallSelect' | 'blackSmall' | 'formLabelMedeum' | 'formLabel';
409
- label?: string | undefined;
410
- labelClasses?: string | undefined;
411
- defaultText?: string | undefined;
412
- error?: string;
413
- wrapperClass?: string | undefined;
414
- additionalClasses?: string | undefined;
415
- onMultiSelect: (selectedValues: {
416
- value: IMultiSelectOption[];
417
- }) => void;
418
- }
419
- export interface OptionProps {
420
- displayText: string;
421
- iconText: string;
422
- imageUrl?: string;
423
- bgColor?: string;
424
- clickedAction?: ClickedAction;
425
- isChecked?: boolean;
426
- id?: string;
427
- }
428
- export interface BtnOptionDropdown {
429
- btnLabel: string;
430
- btnAction: () => void;
431
- variants?: VariantTypes;
432
- btnType?: string;
433
- }
434
- export interface DropdownSearchProps {
435
- options?: OptionProps[];
436
- label?: string;
437
- labelType?: LableTypes;
438
- onSelectedValuesChange?: (selectedValue: OptionProps) => void;
439
- buttonProps?: BtnOptionDropdown[];
440
- defaultValue?: string;
441
- defaultValueCharLimit?: number;
442
- additionalErrorClasses?: string;
443
- error?: string;
444
- additionalClasses?: string;
445
- readOnly?: boolean;
446
- isBorderedError?: boolean;
447
- listHeader?: string;
448
- selected?: string;
449
- clearAction?: () => void;
450
- isRequired?: boolean;
451
- }
452
- export interface DropdownVersionProps {
453
- options?: OptionProps[];
454
- label?: string;
455
- labelType?: LableTypes;
456
- onSelectedValuesChange?: (selectedValue: OptionProps) => void;
457
- buttonProps?: BtnOptionDropdown[];
458
- defaultValue?: string;
459
- additionalErrorClasses?: string;
460
- error?: string;
461
- additionalClasses?: string;
462
- readOnly?: boolean;
463
- isBorderedError?: boolean;
464
- listHeader?: string;
465
- selected?: string;
466
- }
467
- export interface UserDropdownProps {
468
- options?: OptionProps[];
469
- label?: string;
470
- labelType?: LableTypes;
471
- onSelectedValuesChange?: (selectedValue: OptionProps) => void;
472
- onSelectedMultiValuesChange?: (selectedValue: OptionProps[]) => void;
473
- buttonProps?: BtnOptionDropdown[];
474
- defaultValue?: string;
475
- additionalErrorClasses?: string;
476
- error?: string;
477
- additionalClasses?: string;
478
- readOnly?: boolean;
479
- isBorderedError?: boolean;
480
- selectedValues?: OptionProps[];
481
- setSelectedValues?: any;
482
- onClick?: () => void;
483
- variants?: string;
484
- isNoNBoarder?: boolean;
485
- isLeft?: boolean;
486
- disabled?: boolean;
487
- edited?: boolean;
488
- editedValue?: OptionProps;
489
- disableApplyButton?: boolean;
490
- }
491
- export interface VersionDropDownProps {
492
- options?: {
493
- displayText: string;
494
- value: string;
495
- }[];
496
- additionalClasses?: string;
497
- onClick?: () => void;
498
- selectedValues?: {
499
- displayText: string;
500
- value: string;
501
- };
502
- handleSelectedValuesChange?: (selectedValue: {
503
- displayText: string;
504
- value: string;
505
- }) => void;
506
- enableLabel?: boolean;
507
- label?: string;
508
- defaultText?: string;
509
- bgClasses?: string;
510
- hoverBgColor?: string;
511
- isRequired?: boolean;
512
- }
513
- export declare enum ClickedAction {
514
- NONE = "NONE",
515
- ADDME = "ADDME",
516
- ADDREGISTERED = "ADDREGISTERED",
517
- ADDUNREGISTERED = "ADDUNREGISTERED",
518
- REMOVE = "REMOVE"
519
- }
520
- export type LableTypes = 'default' | 'black' | 'smallSelect' | 'blackSmall' | 'formLabel' | 'formLabelMedeum';
521
- interface InputObject {
522
- id: number;
523
- label?: string;
524
- name: string;
525
- placeholder?: string;
526
- value?: string;
527
- }
528
- export interface InputGroupProps {
529
- inputObjects?: InputObject[];
530
- orderBy?: string;
531
- }
532
- export interface ButtonGroupProps extends InputGroupProps {
533
- options: {
534
- id: number;
535
- value: string;
536
- disabled?: boolean;
537
- }[];
538
- optionsUser?: OptionProps[];
539
- onSelect: (selectedOption: number) => void;
540
- label?: string;
541
- error?: string;
542
- isAdditionalErrorInput?: boolean;
543
- additionalErrorClasses?: string;
544
- selected?: number;
545
- additionalClasses?: string;
546
- onFileChange?: (file: File | null) => void;
547
- secondaryComponentsVisible?: boolean;
548
- onSelectedUsers?: (selectedOption: OptionProps[] | undefined) => void;
549
- buttonGroupCol?: string;
550
- onValueChange?: (value: string) => void;
551
- viewMode?: boolean;
552
- buttonType?: string;
553
- disabled?: boolean;
554
- disableApplyButton?: boolean;
555
- selectedUserValues?: OptionProps[];
556
- setSelectedUserValues?: (users: OptionProps[]) => void;
557
- isDischarged?: boolean;
558
- secondaryVisible?: boolean;
559
- countData?: {
560
- my?: number;
561
- assigned?: number;
562
- unassigned?: number;
563
- discharge?: number;
564
- };
565
- }
566
- export interface ButtonGroupWithInputsProps extends Omit<ButtonGroupProps, 'selected' | 'onSelect'> {
567
- options: {
568
- id: number;
569
- value: string;
570
- }[];
571
- onSelect: (selectedOption: selectedValue & {
572
- additionalValues?: {
573
- [key: string]: string;
574
- };
575
- }) => void;
576
- label?: string;
577
- error?: string;
578
- isAdditionalErrorInput?: boolean;
579
- selected?: selectedValue & {
580
- additionalValues?: {
581
- [key: string]: string;
582
- };
583
- };
584
- }
585
- export interface ButtonGroupMultiProps extends InputGroupProps {
586
- options: {
587
- id: number;
588
- value: string;
589
- }[];
590
- optionsUser?: OptionProps[];
591
- onSelect: (selectedOption: number[]) => void;
592
- label?: string;
593
- error?: string;
594
- isAdditionalErrorInput?: boolean;
595
- additionalErrorClasses?: string;
596
- selected?: number[];
597
- additionalClasses?: string;
598
- onFileChange?: (file: File | null) => void;
599
- secondaryComponentsVisible?: boolean;
600
- onSelectedUsers?: (selectedOption: OptionProps[] | undefined) => void;
601
- buttonGroupCol?: string;
602
- onValueChange?: (value: string) => void;
603
- viewMode?: boolean;
604
- buttonType?: string;
605
- }
606
- export interface ButtonGroupWithUploadProps extends InputGroupProps {
607
- options: {
608
- id: number;
609
- value: string;
610
- }[];
611
- onSelect: (selectedOption: selectedValue) => void;
612
- label?: string;
613
- error?: string;
614
- isAdditionalErrorInput?: boolean;
615
- additionalErrorClasses?: string;
616
- selected?: selectedValue;
617
- additionalClasses?: string;
618
- onFileChange?: (file: File | null) => void;
619
- secondaryComponentsVisible?: boolean;
620
- viewMode?: boolean;
621
- previousData?: {
622
- answerLabel: string;
623
- lastEditedDate?: string;
624
- };
625
- }
626
- export interface PaginationProps {
627
- pageSize: number;
628
- pageIndex: number;
629
- }
630
- export interface IToggleButtonProps extends AdditionalClassesProp {
631
- /** Unique identifier for the button. */
632
- value: string;
633
- /** Content to be displayed inside the button. */
634
- children: React.ReactNode;
635
- /** Flag to indicate if the button is active. */
636
- isActive?: boolean;
637
- /** Background color for active state. */
638
- activeBgColor?: string;
639
- /** Default background color. */
640
- bgColor?: string;
641
- /** Click event handler with button value. */
642
- onClick?: (value: string) => void;
643
- }
644
- export interface IToggleButtonGroupProps extends AdditionalClassesProp {
645
- /** Child components, expected to be ToggleButtons. */
646
- children: React.ReactNode;
647
- /** Default value of the active button in the group. */
648
- defaultValue?: string;
649
- onClickTab?: (value: string) => void;
650
- }
651
- export declare enum BADGETYPE {
652
- DEFAULT = "default",
653
- LARGE = "large",
654
- BORDERED = "bordered",
655
- PILLS = "pills",
656
- LINK = "link",
657
- BUTTON = "button",
658
- BORDEREDBLUE = "bordered-blue"
659
- }
660
- export type BadgeColorVariant = 'default' | 'dark' | 'red' | 'green' | 'yellow' | 'indigo' | 'purple' | 'pink' | 'error' | 'success' | 'warning' | 'gray' | 'darkGreen' | 'darkBlue';
661
- interface IBadgePropsBase extends AdditionalClassesProp {
662
- /** Type of badge based on predefined styles. */
663
- badgeType?: BADGETYPE;
664
- /** Content to be displayed inside the badge. */
665
- children: React.ReactNode;
666
- }
667
- interface IBadgePropsWithColors extends IBadgePropsBase {
668
- /** Custom text color for the badge. */
669
- textColor: string;
670
- /** Custom background color for the badge. */
671
- backgroundColor: string;
672
- /** Optional color variant, used when custom colors are not provided. */
673
- colorVariant?: BadgeColorVariant;
674
- }
675
- interface IBadgePropsWithoutColors extends IBadgePropsBase {
676
- /** Custom colors not allowed in this variant. */
677
- textColor?: never;
678
- backgroundColor?: never;
679
- /** Mandatory color variant, used when custom colors are not provided. */
680
- colorVariant: BadgeColorVariant;
681
- }
682
- export type IBadgeProps = IBadgePropsWithColors | IBadgePropsWithoutColors;
683
- export interface ISwitchProps extends AdditionalClassesProp {
684
- /** flag for indicate if defalut need to be checked or not */
685
- defaultChecked?: boolean;
686
- /** flag for indicate if disabled or not */
687
- disabled?: boolean;
688
- /** label of the switch */
689
- label: string | React.ReactNode;
690
- /** outline color when focused by user */
691
- focusRignColor?: string;
692
- /** background color when user checked the checkbox */
693
- checkedBgColor?: string;
694
- /** event for the switch onchange */
695
- onChange?: (event: boolean) => void;
696
- checked: boolean;
697
- }
698
- export interface IFilterProps {
699
- onClear?: () => void;
700
- onApply?: any;
701
- children?: React.ReactNode;
702
- }
703
- export interface ProgressBarProps {
704
- percentage: number;
705
- classes?: string;
706
- }
707
- export interface StepperProps {
708
- percentage: number;
709
- }
710
- export interface DynamicInputProps {
711
- onDelete: () => void;
712
- label?: string;
713
- additionalClasses?: string;
714
- isDelete?: boolean;
715
- placeholder?: string;
716
- }
717
- export interface DynamicInputMultiProps {
718
- onDelete: (index: number) => void;
719
- label?: string;
720
- additionalClasses?: string;
721
- placeholder?: string;
722
- }
723
- export interface FormGenInputGroupProps {
724
- inputObjects?: {
725
- label?: string;
726
- name: string;
727
- placeholder?: string;
728
- }[];
729
- orderBy?: string;
730
- }
731
- export interface FormGenButtonGroupProps extends FormGenInputGroupProps {
732
- id?: string;
733
- options: {
734
- id: number;
735
- value: string;
736
- displayName?: string;
737
- }[];
738
- onSelect: (selectedOption: selectedValue) => void;
739
- label?: string;
740
- error?: string;
741
- isAdditionalErrorInput?: boolean;
742
- additionalErrorClasses?: string;
743
- selected?: selectedValue;
744
- additionalClasses?: string;
745
- onFileChange?: (file: File | null) => void;
746
- secondaryComponentsVisible?: boolean;
747
- viewMode?: boolean;
748
- previousData?: {
749
- answerLabel: string;
750
- lastEditedDate?: string;
751
- };
752
- tooltip?: string;
753
- optionClasses?: string;
754
- }
755
- export interface FormGenButtonGroupMultiSelectProps extends FormGenInputGroupProps {
756
- id?: string;
757
- options: {
758
- id: number;
759
- value: string;
760
- }[];
761
- onSelect: (selectedOption: (selectedValue & {
762
- value?: any[];
763
- }) | any) => void;
764
- label?: string;
765
- error?: string;
766
- isAdditionalErrorInput?: boolean;
767
- additionalErrorClasses?: string;
768
- selected?: Omit<selectedValue, 'answerPrevData'> & {
769
- value?: any[];
770
- answerPrevData?: {
771
- lastEditedDate?: string;
772
- answerLabel?: string[];
773
- };
774
- };
775
- additionalClasses?: string;
776
- onFileChange?: (file: File | null) => void;
777
- secondaryComponentsVisible?: boolean;
778
- viewMode?: boolean;
779
- previousData?: {
780
- answerLabel?: string[];
781
- lastEditedDate?: string;
782
- };
783
- tooltip?: string;
784
- }
785
- export interface selectedValue {
786
- id?: number;
787
- value?: any;
788
- additionalValues?: any;
789
- valueRef?: any;
790
- answerPrevData?: IAnswerPrevData;
791
- updatedDate?: string;
792
- displayName?: string;
793
- }
794
- export interface IAnswerPrevData {
795
- answerLabel: string;
796
- lastEditedDate: string;
797
- }
798
- export interface DyanamicDualInputProps {
799
- inputObjects?: {
800
- label?: string;
801
- name?: string;
802
- placeholder?: string;
803
- id?: number;
804
- }[];
805
- label?: string;
806
- additionalClasses?: string;
807
- placeholder?: string;
808
- inputValues?: DyanamicDualInputObject[];
809
- handleAddInput?: () => void;
810
- iconText?: string;
811
- initObj?: any;
812
- onSelect: (selectedOption: selectedValue) => void;
813
- selected?: selectedValue;
814
- viewMode?: boolean;
815
- previousData?: {
816
- answerLabel: string;
817
- lastEditedDate?: string;
818
- };
819
- }
820
- export interface DyanamicDualInputObject {
821
- username?: string;
822
- email?: string;
823
- [key: string]: string | number | undefined;
824
- }
825
- export interface DyanamicDualInputBaseProps {
826
- inputObjects?: {
827
- label?: string;
828
- name?: string;
829
- placeholder?: string;
830
- id?: number;
831
- }[];
832
- isDelete?: boolean;
833
- onDelete: (index: number, inputObj: DyanamicDualInputObject | undefined) => void;
834
- inputValues?: DyanamicDualInputObject;
835
- handleChange: (inputObj: string, value: string, index: number) => void;
836
- currentIndex: number;
837
- viewMode?: boolean;
838
- previousData?: {
839
- answerLabel: string;
840
- lastEditedDate?: string;
841
- };
842
- }
843
- export interface ICardInfoProps {
844
- text?: string;
845
- additionalClasses?: string;
846
- HeaderText?: string;
847
- }
848
- export interface TimelineProps {
849
- timelines: TimelineEventProps[];
850
- showAll?: boolean;
851
- handleEditItem?: (items: NoteProps, serveyId?: string) => void;
852
- viewNoteHistory?: (isShow: boolean, noteId: string, eventData?: any) => void;
853
- navigationAction?: (solution?: ISolutionvalues, type?: string) => void;
854
- type?: string[];
855
- toggleTodoCheckbox?: (req: ITodoToggleRequestParams) => void;
856
- isChallengeTimeline?: boolean;
857
- handleCopyCurrentNote?: (note: NoteProps) => void;
858
- isDischarged?: boolean;
859
- }
860
- export interface SideBarListProps {
861
- filterLeftLabel?: string;
862
- filterRightLabel?: string;
863
- urgentDataList: UrgentDataProps[];
864
- todoDataList?: UrgentDataProps[];
865
- showAll?: () => void;
866
- defaultFilterSelection?: string;
867
- listMasterData?: ListMasterDataProps;
868
- onClickTab?: (value: string) => void;
869
- selectedTab?: string;
870
- detailAction?: (value: string | undefined) => void;
871
- handleNameClick?: (id?: string) => void;
872
- handleChallengeHeaderClick?: (patientId?: string, challengeId?: string) => void;
873
- toggleTodoCheckbox?: (req: ITodoToggleRequestParams) => void;
874
- isDataLoading?: boolean;
875
- hasMoreData?: boolean;
876
- onLoadMore?: () => void;
877
- isDischarged?: boolean;
878
- }
879
- export interface PatientConsentProps {
880
- consentDate?: string | Date | null;
881
- consentStatus: 'NO CONSENT' | 'CONSENT GIVEN';
882
- consentBy?: string;
883
- }
884
- export interface UrgentDataProps {
885
- fullName?: string | undefined;
886
- dob?: string | undefined;
887
- imageSignedUrl?: string | undefined;
888
- challenges: challengesListProps[];
889
- notes: NoteChildrenProps[];
890
- patientConsent: PatientConsentProps;
891
- id?: string;
892
- }
893
- export interface NoteChildrenProps {
894
- _id?: string;
895
- note: NoteItemProps[];
896
- }
897
- export interface ListMasterDataProps {
898
- title?: string;
899
- actionText?: string;
900
- actionTextReves?: string;
901
- limit?: number;
902
- }
903
- export interface challengesListProps {
904
- urgency?: 'Normal' | 'Urgent';
905
- challengeName?: string;
906
- }
907
- export interface TimelineEventProps {
908
- uuid: string;
909
- date?: string;
910
- user?: string;
911
- timelineData?: any;
912
- challenge?: string;
913
- note?: NoteProps;
914
- lastModified?: string;
915
- showAll?: boolean;
916
- handleEditItem?: (items: NoteProps, serveyId?: string, type?: string[], timelineData?: any) => void;
917
- viewNoteHistory?: (isShow: boolean, noteId: string, eventData?: NoteHistoryProps) => void;
918
- isLocked?: boolean;
919
- surveyId?: string;
920
- type?: string[];
921
- challengeResolved?: boolean;
922
- solutions?: SolutionItem[];
923
- createdUser?: string;
924
- resolvedByUser?: string;
925
- actionedUser?: string;
926
- surveyDate?: string;
927
- navigateAction?: (timeLineNavReq?: ISolutionvalues, type?: string) => void;
928
- toggleTodoCheckbox?: (req: ITodoToggleRequestParams) => void;
929
- isChallengeTimeline?: boolean;
930
- handleCopyCurrentNote?: (note: NoteProps) => void;
931
- isBillable?: boolean;
932
- isDischarged?: boolean;
933
- }
934
- export interface IVariant {
935
- solutionVariantId?: string | null;
936
- pdfMetaData?: PDFMeta;
937
- referralData?: ReferralMeta | null;
938
- solutionVariantName?: string | null;
939
- }
940
- export interface PDFMeta {
941
- resourceLink?: string;
942
- }
943
- export interface ReferralMeta {
944
- email: string;
945
- phone: string;
946
- }
947
- export interface NoteProps {
948
- note?: NoteItemProps[];
949
- _id?: string;
950
- date?: string;
951
- actionedUser?: ActionedUser;
952
- noteType?: string;
953
- shouldUpdateLastContactDate?: boolean;
954
- isBillable?: boolean;
955
- }
956
- interface ActionedUser {
957
- _id?: string;
958
- fullName?: string;
959
- }
960
- export interface NoteHistoryProps {
961
- editedBy?: string;
962
- dateTime?: string;
963
- notesHistory?: NoteHistoryDetails[];
964
- type?: string;
965
- challenge?: string;
966
- solutions?: string | SolutionItem[];
967
- challengeResolved?: boolean;
968
- }
969
- export interface NoteHistoryDetails {
970
- actionedUser?: UserHistoryDetails;
971
- date: string;
972
- note: NoteItemProps[];
973
- }
974
- export interface UserHistoryDetails {
975
- fullName: string;
976
- }
977
- export interface NoteOptionsProps {
978
- text?: string;
979
- checked?: boolean;
980
- }
981
- export interface NoteItemProps {
982
- noteId?: string;
983
- isChecked?: boolean;
984
- text?: string | undefined;
985
- enableCheckbox?: boolean;
986
- additonalInfo?: any;
987
- noteIndex?: number;
988
- }
989
- export interface NoteComponentProps {
990
- onAdd?: (items: NoteProps, serveyId?: string) => void;
991
- cancelAction?: () => void;
992
- showNote?: boolean;
993
- enableNoteButton?: boolean;
994
- savedItems?: NoteProps | undefined;
995
- buttonLabels?: {
996
- cancel?: string;
997
- save?: string;
998
- };
999
- enableCheckbox?: boolean;
1000
- enableEdit?: boolean;
1001
- setEnableEdit?: (value: boolean) => void;
1002
- toggleEvents?: {
1003
- setShowNote?: (value: boolean) => void;
1004
- lastModified?: string;
1005
- viewNoteHistory?: (value: boolean) => void;
1006
- toggleEdit?: (value: boolean) => void;
1007
- };
1008
- enableAddCheckbox?: boolean;
1009
- additionalClassesNote?: string;
1010
- additionalClassesButtons?: string;
1011
- additionalClassesTitlebar?: string;
1012
- minHeight?: string;
1013
- isChallengeNote?: boolean;
1014
- isAutoSave?: boolean;
1015
- isOptional?: boolean;
1016
- badgeLabel?: string;
1017
- stayOnSave?: boolean;
1018
- isSaving?: boolean;
1019
- isBillable?: boolean;
1020
- enableBillableCheckBox?: boolean;
1021
- isTyping?: boolean;
1022
- setIsTyping?: (value: boolean) => void;
1023
- }
1024
- export interface TabButtonProps {
1025
- onClickTab?: (value: string) => void;
1026
- options?: {
1027
- displayText: string;
1028
- value: string;
1029
- }[];
1030
- setSelectedValues?: (selectedValue: string) => void;
1031
- selectedValues?: string;
1032
- additionalClasses?: string;
1033
- useBlueActive?: boolean;
1034
- }
1035
- export interface SignatureProps {
1036
- selected?: selectedValue;
1037
- onSelect: (signature: string) => void;
1038
- label?: string;
1039
- labelType?: 'default' | 'black' | 'smallSelect' | 'blackSmall' | 'formLabelMedeum';
1040
- additionalErrorClasses?: string;
1041
- isAdditionalErrorInput?: boolean;
1042
- isBorderedError?: boolean;
1043
- error?: string;
1044
- }
1045
- export interface SolutionItem {
1046
- solution: ISolutionvalues;
1047
- _id?: string;
1048
- createdDate?: string;
1049
- note?: NoteProps;
1050
- variant?: IVariant;
1051
- }
1052
- export interface ISolutionvalues {
1053
- solutionName?: string;
1054
- challenge?: string;
1055
- solutionDescription?: string;
1056
- solutionType?: string;
1057
- solutionId?: string | undefined | null;
1058
- patientSolutionId?: string | undefined | null;
1059
- createdDate?: string;
1060
- domain?: string | undefined | null;
1061
- _id?: string;
1062
- surveyDate?: string;
1063
- surveyId?: string;
1064
- variant?: IVariant;
1065
- }
1066
- export interface TableProps {
1067
- data: any[];
1068
- columns: ColumnDef<any>[];
1069
- sorting?: any;
1070
- onSortingChange?: OnChangeFn<SortingState> | undefined;
1071
- pagination?: PaginationProps;
1072
- onPaginationChange?: OnChangeFn<PaginationState> | undefined;
1073
- totalRecords?: number;
1074
- isManualPagination?: boolean;
1075
- isManualSorting?: boolean;
1076
- containerHeightRemoveInPixel?: number;
1077
- rowClick?: (row: any) => void;
1078
- addBtnClick?: () => void;
1079
- addBtnText?: string;
1080
- setRowSelection?: any;
1081
- isLoading?: boolean;
1082
- paginationLabel?: string;
1083
- emptyLabel?: string;
1084
- otherTableProps?: Record<string, any>;
1085
- noDataImage?: string;
1086
- }
1087
- export {};