@inntechcorp/it-design 3.1.23 → 4.0.0-beta.1

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 (296) hide show
  1. package/ACCESSIBILITY.md +517 -0
  2. package/README.md +88 -11
  3. package/dist/accordion/index.d.ts +2 -2
  4. package/dist/accordion/item/styled.d.ts +2 -2
  5. package/dist/accordion/styled.d.ts +1 -0
  6. package/dist/accordion/submenu/styled.d.ts +5 -5
  7. package/dist/alert/Description.d.ts +7 -0
  8. package/dist/alert/Title.d.ts +7 -0
  9. package/dist/alert/alert.style.error.d.ts +1 -1
  10. package/dist/alert/alert.style.info.d.ts +1 -1
  11. package/dist/alert/alert.style.neutral.d.ts +4 -0
  12. package/dist/alert/alert.style.success.d.ts +1 -1
  13. package/dist/alert/alert.style.warning.d.ts +1 -1
  14. package/dist/alert/index.d.ts +4 -2
  15. package/dist/alert/styled.d.ts +4 -8
  16. package/dist/alink/index.d.ts +2 -10
  17. package/dist/alink/styled.d.ts +1 -1
  18. package/dist/back-top/styled.d.ts +2 -2
  19. package/dist/button/button.style.default.d.ts +1 -1
  20. package/dist/button/button.style.filled.d.ts +1 -1
  21. package/dist/button/button.style.ghost.d.ts +1 -1
  22. package/dist/button/button.style.icon.d.ts +2 -2
  23. package/dist/button/button.style.link.d.ts +1 -1
  24. package/dist/button/button.style.outline.d.ts +1 -1
  25. package/dist/button/button.style.size.d.ts +4 -1
  26. package/dist/button/button.style.solid.d.ts +1 -1
  27. package/dist/button/index.d.ts +10 -2
  28. package/dist/button/styled.d.ts +3 -12
  29. package/dist/calendar/day/Day.d.ts +2 -2
  30. package/dist/calendar/day/styled.d.ts +1 -1
  31. package/dist/calendar/header/styled.d.ts +6 -6
  32. package/dist/calendar/index.d.ts +11 -3
  33. package/dist/calendar/styled.d.ts +6 -6
  34. package/dist/card/Card.d.ts +9 -0
  35. package/dist/card/CardAction.d.ts +7 -0
  36. package/dist/card/CardContent.d.ts +7 -0
  37. package/dist/card/CardDescription.d.ts +7 -0
  38. package/dist/card/CardFooter.d.ts +8 -0
  39. package/dist/card/CardHeader.d.ts +8 -0
  40. package/dist/card/CardTabs.d.ts +7 -0
  41. package/dist/card/CardTitle.d.ts +7 -0
  42. package/dist/card/index.d.ts +8 -3
  43. package/dist/card/styles.d.ts +9 -9
  44. package/dist/checkbox/group/index.d.ts +1 -1
  45. package/dist/checkbox/group/styled.d.ts +1 -1
  46. package/dist/checkbox/index.d.ts +1 -1
  47. package/dist/checkbox/styled.d.ts +6 -5
  48. package/dist/context/ITDContext.d.ts +3 -2
  49. package/dist/context/ITDThemeProvider.d.ts +8 -0
  50. package/dist/context/styled.d.ts +1 -1
  51. package/dist/datepicker/index.d.ts +2 -2
  52. package/dist/datepicker/styled.d.ts +5 -5
  53. package/dist/enums/enum.d.ts +138 -8
  54. package/dist/flex/index.d.ts +1 -1
  55. package/dist/flex/styled.d.ts +2 -2
  56. package/dist/floating/Arrow.d.ts +17 -0
  57. package/dist/floating/FloatingContent.d.ts +60 -0
  58. package/dist/floating/mergeTriggerProps.d.ts +8 -0
  59. package/dist/form/context/FormContext.d.ts +5 -2
  60. package/dist/form/context/FormStore.d.ts +6 -3
  61. package/dist/form/control/Control.d.ts +1 -1
  62. package/dist/form/control/styled.d.ts +1 -1
  63. package/dist/form/group/Group.d.ts +1 -1
  64. package/dist/form/group/styled.d.ts +1 -1
  65. package/dist/form/index.d.ts +5 -5
  66. package/dist/form/item/Item.d.ts +2 -3
  67. package/dist/form/validation/Validator.d.ts +2 -3
  68. package/dist/form/wrapper/FormWrapper.d.ts +2 -2
  69. package/dist/helpers/binary/GetTypeByFileType.d.ts +2 -2
  70. package/dist/helpers/country/GetCountryCodeByCurrencyCode.d.ts +1 -1
  71. package/dist/helpers/country/GetCountryCodeByLanguage.d.ts +1 -1
  72. package/dist/helpers/css/FindSelector.d.ts +10 -0
  73. package/dist/helpers/currency/ConvertCurrency.d.ts +1 -1
  74. package/dist/helpers/currency/GetCurrencyFormat.d.ts +9 -0
  75. package/dist/helpers/currency/GetCurrencySymbol.d.ts +1 -1
  76. package/dist/helpers/datetime/FormatTime.d.ts +1 -1
  77. package/dist/helpers/datetime/dayjsSetup.d.ts +1 -1
  78. package/dist/helpers/index.d.ts +36 -32
  79. package/dist/helpers/locale/getLocaleDateByString.d.ts +1 -0
  80. package/dist/helpers/svg/styles.d.ts +1 -1
  81. package/dist/helpers/theme/Color.d.ts +19 -0
  82. package/dist/helpers/theme/GenerateColorScale.d.ts +16 -0
  83. package/dist/helpers/theme/cssVariables.d.ts +30 -0
  84. package/dist/helpers/theme/dark.d.ts +3 -0
  85. package/dist/helpers/theme/index.d.ts +9 -0
  86. package/dist/helpers/theme/light.d.ts +3 -0
  87. package/dist/helpers/theme/themes.d.ts +5 -0
  88. package/dist/helpers/theme/tokens.d.ts +392 -0
  89. package/dist/hooks/index.d.ts +15 -15
  90. package/dist/hooks/useAddExternalCSS.d.ts +4 -5
  91. package/dist/hooks/useAvoidCollision.d.ts +6 -1
  92. package/dist/hooks/useComponentSize.d.ts +1 -1
  93. package/dist/hooks/useConnectionStatus.d.ts +1 -1
  94. package/dist/hooks/useFloatingPosition.d.ts +63 -0
  95. package/dist/hooks/useFloatingTrigger.d.ts +64 -0
  96. package/dist/hooks/useFocusTrap.d.ts +36 -0
  97. package/dist/hooks/useOnClickOutside.d.ts +1 -1
  98. package/dist/hooks/useSingleQuery.d.ts +1 -1
  99. package/dist/hovercard/HoverCard.d.ts +12 -0
  100. package/dist/hovercard/HoverCardContent.d.ts +22 -0
  101. package/dist/hovercard/HoverCardTrigger.d.ts +17 -0
  102. package/dist/hovercard/hoverCardContext.d.ts +7 -0
  103. package/dist/hovercard/index.d.ts +4 -0
  104. package/dist/html/header/H1.d.ts +1 -1
  105. package/dist/html/header/H2.d.ts +1 -1
  106. package/dist/html/header/H3.d.ts +1 -1
  107. package/dist/html/header/H4.d.ts +1 -1
  108. package/dist/html/header/index.d.ts +4 -4
  109. package/dist/html/header/styled.d.ts +4 -4
  110. package/dist/icons/index.d.ts +11 -14
  111. package/dist/image/index.d.ts +1 -2
  112. package/dist/image/styled.d.ts +5 -2
  113. package/dist/index.cjs.js +2702 -2559
  114. package/dist/index.cjs.js.map +1 -0
  115. package/dist/index.css +1 -0
  116. package/dist/index.d.ts +168 -1786
  117. package/dist/index.es.js +22339 -0
  118. package/dist/index.es.js.map +1 -0
  119. package/dist/index.iife.js +5728 -0
  120. package/dist/index.iife.js.map +1 -0
  121. package/dist/index.umd.js +5728 -0
  122. package/dist/index.umd.js.map +1 -0
  123. package/dist/input/index.d.ts +29 -2
  124. package/dist/input/style.settings.d.ts +9 -0
  125. package/dist/input/styled.d.ts +16 -18
  126. package/dist/label/index.d.ts +6 -0
  127. package/dist/label/style.settings.d.ts +9 -0
  128. package/dist/label/styled.d.ts +27 -0
  129. package/dist/link/index.d.ts +1 -10
  130. package/dist/locales/en/{calendar.json → calendar.json.d.ts} +4 -2
  131. package/dist/locales/en/{itd.json → itd.json.d.ts} +35 -20
  132. package/dist/locales/{calendar.json → tr/calendar.json.d.ts} +4 -2
  133. package/dist/locales/{itd.json → tr/itd.json.d.ts} +35 -21
  134. package/dist/logger/index.d.ts +9 -0
  135. package/dist/modal/container/ModalContainer.d.ts +4 -4
  136. package/dist/modal/container/styled.d.ts +2 -2
  137. package/dist/modal/context/ModalContext.d.ts +23 -14
  138. package/dist/modal/index.d.ts +7 -22
  139. package/dist/modal/modal/Modal.d.ts +2 -2
  140. package/dist/modal/modal/styled.d.ts +11 -11
  141. package/dist/notification/container/Container.d.ts +5 -0
  142. package/dist/notification/container/styled.d.ts +1 -0
  143. package/dist/notification/context/NotificationsContext.d.ts +2 -2
  144. package/dist/notification/index.d.ts +1 -1
  145. package/dist/notification/item/Item.d.ts +12 -0
  146. package/dist/notification/item/styled.d.ts +1166 -0
  147. package/dist/popover/Popover.d.ts +42 -0
  148. package/dist/popover/PopoverContent.d.ts +34 -0
  149. package/dist/popover/PopoverTrigger.d.ts +26 -0
  150. package/dist/popover/index.d.ts +4 -0
  151. package/dist/primitives/Slot.d.ts +36 -0
  152. package/dist/progress/styled.d.ts +1 -1
  153. package/dist/radio/button/RadioButton.d.ts +2 -2
  154. package/dist/radio/button/styled.d.ts +8 -9
  155. package/dist/radio/group/Group.d.ts +3 -3
  156. package/dist/radio/group/styled.d.ts +1 -1
  157. package/dist/radio/index.d.ts +2 -2
  158. package/dist/reportWebVitals.d.ts +2 -0
  159. package/dist/result/index.d.ts +2 -2
  160. package/dist/result/styled.d.ts +9 -9
  161. package/dist/select/dropdown/Dropdown.d.ts +20 -0
  162. package/dist/select/dropdown/styled.d.ts +14 -0
  163. package/dist/select/index.d.ts +1 -1
  164. package/dist/select/option/Option.d.ts +14 -6
  165. package/dist/select/option/styled.d.ts +4 -4
  166. package/dist/select/selector/Selector.d.ts +3 -0
  167. package/dist/select/selector/selectorinput/SelectorInput.d.ts +6 -0
  168. package/dist/select/selector/selectorinput/styled.d.ts +2 -0
  169. package/dist/select/selector/styled.d.ts +16 -0
  170. package/dist/select/style.settings.d.ts +83 -26
  171. package/dist/select/styled.d.ts +5 -3
  172. package/dist/setupTests.d.ts +1 -0
  173. package/dist/spin/styled.d.ts +4 -4
  174. package/dist/status/styled.d.ts +1 -1
  175. package/dist/stories/Accordion.d.ts +0 -1
  176. package/dist/stories/Accordion.stories.d.ts +3 -3
  177. package/dist/stories/Alert.stories.d.ts +18 -4
  178. package/dist/stories/AlertComposition.d.ts +2 -0
  179. package/dist/stories/AlertComposition.stories.d.ts +17 -0
  180. package/dist/stories/Button.d.ts +0 -1
  181. package/dist/stories/Button.stories.d.ts +16 -4
  182. package/dist/stories/Card.stories.d.ts +3 -2
  183. package/dist/stories/Checkbox.stories.d.ts +3 -3
  184. package/dist/stories/CheckboxGroup.stories.d.ts +3 -3
  185. package/dist/stories/CheckboxGroupControl.stories.d.ts +3 -3
  186. package/dist/stories/ColorScale.d.ts +10 -0
  187. package/dist/stories/ColorScale.stories.d.ts +24 -0
  188. package/dist/stories/ColorScaleCompare.d.ts +8 -0
  189. package/dist/stories/ColorScaleCompare.stories.d.ts +47 -0
  190. package/dist/stories/DatePicker.d.ts +0 -1
  191. package/dist/stories/DatePicker.stories.d.ts +3 -3
  192. package/dist/stories/Form.d.ts +1 -1
  193. package/dist/stories/Form.stories.d.ts +13 -3
  194. package/dist/stories/Header.d.ts +0 -1
  195. package/dist/stories/Header.stories.d.ts +5 -5
  196. package/dist/stories/HoverCard.d.ts +2 -0
  197. package/dist/stories/HoverCard.stories.d.ts +18 -0
  198. package/dist/stories/Input.d.ts +0 -1
  199. package/dist/stories/Input.stories.d.ts +86 -4
  200. package/dist/stories/ModalManager.d.ts +0 -1
  201. package/dist/stories/ModalManager.stories.d.ts +2 -2
  202. package/dist/stories/Page.d.ts +0 -1
  203. package/dist/stories/Page.stories.d.ts +2 -2
  204. package/dist/stories/Popover.d.ts +2 -0
  205. package/dist/stories/Popover.stories.d.ts +40 -0
  206. package/dist/stories/Progress.stories.d.ts +3 -3
  207. package/dist/stories/RadioGroup.stories.d.ts +3 -3
  208. package/dist/stories/Result.stories.d.ts +3 -3
  209. package/dist/stories/Select.d.ts +0 -1
  210. package/dist/stories/Select.stories.d.ts +16 -6
  211. package/dist/stories/Status.stories.d.ts +3 -3
  212. package/dist/stories/Switch.stories.d.ts +12 -5
  213. package/dist/stories/Table.stories.d.ts +2 -2
  214. package/dist/stories/Tabs.stories.d.ts +3 -3
  215. package/dist/stories/TextArea.d.ts +0 -1
  216. package/dist/stories/TextArea.stories.d.ts +11 -4
  217. package/dist/stories/Tooltip.d.ts +1 -0
  218. package/dist/stories/Tooltip.stories.d.ts +35 -0
  219. package/dist/stories/Upload.stories.d.ts +3 -8
  220. package/dist/stories/root/index.d.ts +1 -2
  221. package/dist/stories/select.styled.d.ts +1 -1
  222. package/dist/switch/index.d.ts +1 -1
  223. package/dist/switch/styled.d.ts +4 -4
  224. package/dist/table/index.d.ts +2 -2
  225. package/dist/table/styled.d.ts +5 -5
  226. package/dist/tabs/index.d.ts +1 -1
  227. package/dist/tabs/styles.d.ts +4 -9
  228. package/dist/textarea/index.d.ts +1 -1
  229. package/dist/textarea/styled.d.ts +6 -8
  230. package/dist/tinyscrollbar/index.d.ts +1 -2
  231. package/dist/tinyscrollbar/scroll.styled.d.ts +1 -1
  232. package/dist/tinyscrollbar/styled.d.ts +1 -1
  233. package/dist/tooltip/Tooltip.d.ts +12 -0
  234. package/dist/tooltip/TooltipContent.d.ts +15 -0
  235. package/dist/tooltip/TooltipTrigger.d.ts +19 -0
  236. package/dist/tooltip/index.d.ts +4 -0
  237. package/dist/tooltip/tooltipContext.d.ts +7 -0
  238. package/dist/types/AccordionItemProps.d.ts +1 -1
  239. package/dist/types/AccordionProps.d.ts +1 -1
  240. package/dist/types/AccordionSubMenuProps.d.ts +1 -1
  241. package/dist/types/AlertProps.d.ts +6 -6
  242. package/dist/types/ButtonProps.d.ts +13 -31
  243. package/dist/types/CalendarProps.d.ts +4 -5
  244. package/dist/types/CardProps.d.ts +7 -3
  245. package/dist/types/CheckboxProps.d.ts +7 -3
  246. package/dist/types/DatePickerProps.d.ts +8 -7
  247. package/dist/types/FlexProps.d.ts +2 -2
  248. package/dist/types/FormProps.d.ts +10 -8
  249. package/dist/types/ITDProps.d.ts +4 -2
  250. package/dist/types/InputProps.d.ts +12 -18
  251. package/dist/types/LabelProps.d.ts +7 -0
  252. package/dist/types/ModalProps.d.ts +2 -2
  253. package/dist/types/PopoverProps.d.ts +10 -0
  254. package/dist/types/RadioProps.d.ts +3 -4
  255. package/dist/types/ResultProps.d.ts +2 -1
  256. package/dist/types/SelectProps.d.ts +22 -16
  257. package/dist/types/SingleQueryProps.d.ts +1 -1
  258. package/dist/types/StatusProps.d.ts +2 -2
  259. package/dist/types/SwitchProps.d.ts +4 -1
  260. package/dist/types/TableProps.d.ts +3 -2
  261. package/dist/types/TabsProps.d.ts +1 -1
  262. package/dist/types/TextAreaProps.d.ts +3 -3
  263. package/dist/types/Theme.d.ts +103 -0
  264. package/dist/types/UploadProps.d.ts +3 -40
  265. package/dist/upload/index.d.ts +2 -2
  266. package/dist/upload/styled.d.ts +11 -45
  267. package/dist/utils/CommonStyledComponents.d.ts +18 -0
  268. package/dist/utils/ErrorAnnouncement.d.ts +25 -0
  269. package/dist/utils/GetButtonSizeSlug.d.ts +6 -0
  270. package/dist/utils/GetIconSizeBySize.d.ts +1 -1
  271. package/dist/utils/GetSizeBySizeSlug.d.ts +2 -2
  272. package/dist/utils/GetSizeSlugBySize.d.ts +5 -2
  273. package/dist/utils/InlineSVGCached.d.ts +1 -1
  274. package/dist/utils/index.d.ts +6 -4
  275. package/package.json +87 -64
  276. package/dist/button/button.style.SVG.d.ts +0 -4
  277. package/dist/button/button.style.circle.d.ts +0 -4
  278. package/dist/button/button.style.strecth.d.ts +0 -4
  279. package/dist/cropper/index.d.ts +0 -44
  280. package/dist/global.css +0 -146
  281. package/dist/icons/FileDocument.d.ts +0 -6
  282. package/dist/icons/FileExcel.d.ts +0 -5
  283. package/dist/icons/FilePdf.d.ts +0 -5
  284. package/dist/index.d.mts +0 -716
  285. package/dist/index.esm.js +0 -5584
  286. package/dist/locales/tr/calendar.json +0 -30
  287. package/dist/locales/tr/itd.json +0 -325
  288. package/dist/select/menu/Menu.d.ts +0 -14
  289. package/dist/select/menu/styled.d.ts +0 -8
  290. package/dist/select/toggle/Toggle.d.ts +0 -3
  291. package/dist/select/toggle/label/floating/FloatingLabel.d.ts +0 -12
  292. package/dist/select/toggle/label/floating/styled.d.ts +0 -8
  293. package/dist/select/toggle/label/single/SingleLabel.d.ts +0 -18
  294. package/dist/select/toggle/label/single/styled.d.ts +0 -2
  295. package/dist/select/toggle/styled.d.ts +0 -24
  296. package/dist/stories/ButtonIcon.d.ts +0 -2
package/dist/index.d.ts CHANGED
@@ -1,1754 +1,6 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import * as react from 'react';
3
- import react__default, { RefObject, Context, ReactNode, ForwardRefExoticComponent, PropsWithoutRef, RefAttributes, FunctionComponent, Ref, MutableRefObject, FocusEvent, KeyboardEvent, MouseEvent, ReactElement, CSSProperties } from 'react';
4
- import { ChildrenProps as ChildrenProps$1 } from 'types/ChildrenProps';
5
- import dayjs from 'dayjs';
6
- import { ConnectionStatus as ConnectionStatus$1, ModalState as ModalState$1, ComponentSizes as ComponentSizes$1, ComponentPositions as ComponentPositions$1, ComponentSizesSlug as ComponentSizesSlug$1, FormValidationTypes as FormValidationTypes$1 } from 'enums/enum';
7
- import { Cancel, AxiosProgressEvent } from 'axios';
8
- import { SelectValue as SelectValue$1 } from 'types/SelectProps';
9
- import { ModalProps as ModalProps$1 } from 'types/ModalProps';
10
- import { RadioButtonProps as RadioButtonProps$1, RadioGroupProps as RadioGroupProps$1 } from 'types/RadioProps';
11
- import { ITDImperativeFuncProps as ITDImperativeFuncProps$1 } from 'types/ITDImperativeFuncProps';
12
- import { ResultProps as ResultProps$1 } from 'types/ResultProps';
13
- import { NavLinkProps } from 'react-router-dom';
14
-
15
- type ITDContextType = {
16
- theme: string;
17
- brokenImage: string;
18
- dateFormat: string;
19
- language: string;
20
- locale: string;
21
- changeTheme: (value: string) => void;
22
- changeBrokenImage: (value: string) => void;
23
- changeDateFormat: (value: string) => void;
24
- changeLocale: (value: string) => void;
25
- changeLanguage: (value: string) => void;
26
- };
27
- type ITDProviderProps = {
28
- theme?: string;
29
- language?: string;
30
- dateFormat?: string;
31
- children: ChildrenProps$1;
32
- };
33
- declare const ITDContext: react.Context<ITDContextType>;
34
- declare const ITDProvider: (props: ITDProviderProps) => react_jsx_runtime.JSX.Element;
35
-
36
- declare function DetermineNewHeight(originalHeight: number, originalWidth: number, newWidth: number): number;
37
-
38
- declare function DetermineNewWidth(originalHeight: number, originalWidth: number, newHeight: number): number;
39
-
40
- declare function FindSelector(searchClassName: string): boolean;
41
-
42
- declare function GetCountryCodeByCurrencyCode(currency?: string): "tr-TR" | "de-DE" | "en-US" | "en-GB";
43
-
44
- declare function GetCountryCodeByLanguage(language: string): "tur" | "usa" | "language_not_found";
45
-
46
- declare function ConvertCurrency(balance: number, currency: string): string;
47
-
48
- declare function GetByCurrency(value: number, symbol?: boolean, currency?: string, decimal?: number): string;
49
-
50
- declare function GetCurrencyFormat(value: string, currency?: string): string;
51
-
52
- declare function GetCurrencySymbol(currency?: string): "₺" | "$" | "€" | "?";
53
-
54
- declare function GetDecimalByCurrency(currency?: string): "." | ",";
55
-
56
- /**
57
- *
58
- */
59
- declare function AddDefaultThemeStyle(): void;
60
-
61
- /**
62
- *
63
- * @param {*} theme
64
- */
65
- declare function UpdateThemeStyle(theme: string): void;
66
-
67
- declare function IsValidJSON(item: string | {}): boolean;
68
-
69
- declare function AddZero(num: string): string;
70
-
71
- declare function RemoveUnits(value: string): number;
72
-
73
- /**
74
- * Returns an array with arrays of the given size.
75
- *
76
- * @param array {Array} array to split
77
- * @param chunk_size {Integer} Size of every group
78
- */
79
- declare function ChunkArray(array: [], chunk_size: number): never[];
80
-
81
- /**
82
- *
83
- * @param text
84
- * @param entryType
85
- * @returns
86
- */
87
- declare function FileChecker(text?: string, entryType?: string): boolean;
88
-
89
- declare function CheckFileURL(url: string): false | Promise<boolean>;
90
-
91
- /**
92
- *
93
- *
94
- *
95
- */
96
- declare function UniUpperCase(value?: string, lang?: string): string;
97
-
98
- declare function FormatBytes(bytes: number, decimals?: number): string;
99
-
100
- declare function GetTypeByFileType(type: FileTypes): "" | FileExtensions.SVG | FileExtensions.PNG | FileExtensions.GIF | FileExtensions.WEBP | FileExtensions.PDF | FileExtensions.XLSX | FileExtensions.OTF | ".jpg, .jpeg";
101
-
102
- declare function Wait(milliseconds: number): Promise<unknown>;
103
-
104
- declare const SVGLoader: (src: string, width?: string | number, height?: string | number) => react_jsx_runtime.JSX.Element;
105
-
106
- declare function FormatDate(date: Date, locale?: string, format?: string): string;
107
-
108
- declare function FormatDateTime(date: Date, locale?: string, format?: string): string;
109
-
110
- declare function FormatSimpleDate(date: Date, locale?: string, format?: string): string;
111
-
112
- declare function FormatSimpleDateTime(date: Date, locale?: string, format?: string): string;
113
-
114
- declare function FormatTime(time: dayjs.ConfigType, locale?: string, format?: string): string;
115
-
116
- declare function AddDefaultUnit(value: string | number): string;
117
-
118
- declare function Base64Encode(input: string): string;
119
-
120
- declare function Base64Decode(encoded: string): string;
121
-
122
- /**
123
- * What are SEO stop words?
124
- *
125
- * SEO stop words (Google stop words, stopwords) are generic common words
126
- * (and, or, besides, in, a, the, do, they, etc.) that Google may omit in
127
- * search query processing because they don’t usually affect the meaning of the query.
128
- * These words are actually used for grammatical purposes and don’t communicate a message on their own.
129
- *
130
- * For example, if you google something like “best carrot cake recipe” and “the best carrot cake recipe”,
131
- * the SERP will anyway feature links to pages with carrot cake recipes. In this case, the does not
132
- * add any meaning to the query.
133
- *
134
- */
135
- /**
136
- *
137
- * ### toKebabCase
138
- *
139
- * First, removes special characters from the provided string value and converts it to lowercase.
140
- *
141
- * @param value The input string.
142
- * @param removeStopWords Removes stop words if true.
143
- * @param removeNumbers Removes numbers if true.
144
- *
145
- * @returns If `toKebabCase("bu 123 bir örnek 456 cümle", true, true)` is provided, it will return `"ornek-cumle"`.
146
- *
147
- */
148
- declare function toKebabCase(value: string, removeStopWords?: boolean, removeNumbers?: boolean): string;
149
-
150
- type Nullable<T> = T | null;
151
- type THandler = Nullable<(value: string | null) => void>;
152
- declare const useReCaptcha: (handler: THandler) => {
153
- loadReCaptcha: (key: string) => void;
154
- executeReCaptcha: () => void;
155
- };
156
-
157
- /**
158
- *
159
- * This hook acting like a class constructor.
160
- *
161
- * @param {*} callBack
162
- *
163
- * @returns
164
- *
165
- */
166
- declare const useConstructor: (callBack?: () => void) => void;
167
-
168
- /**
169
- *
170
- * ADD EXTERNAL CSS
171
- *
172
- * Dinamik css dosyalarını yüklemek için kullanılır. Eğer yüklenecek
173
- * olan css dosyası daha önce eklenmiş ise tekrar yüklemez. Bunu yükleyen
174
- * component ekrandan silinirse yüklediği yazı da silinir.
175
- *
176
- * @param link string
177
- * @param temporary boolean
178
- *
179
- */
180
- declare const useAddExternalCSS: (link: string, temporary?: boolean) => void;
181
-
182
- /**
183
- *
184
- * document objesine event listener ekler ve ref dışarısında
185
- * herhangi bir alana tıklanıldığında ref'in kapatılmasını sağlar.
186
- *
187
- * @param ref
188
- * @param handler
189
- *
190
- */
191
- declare const useOnClickOutside: (ref: RefObject<HTMLDivElement | null>, handler: (event: PointerEvent) => void) => void;
192
-
193
- /**
194
- *
195
- * document objesine event listener ekler ve ESC tuşuna basıldığında
196
- * çağrılır.
197
- *
198
- * @param {*} handler
199
- *
200
- */
201
- declare const useOnESCKeyDown: (handler: (event: Event) => void) => void;
202
-
203
- /**
204
- *
205
- * #### useSingleQuery
206
- *
207
- * Tarayıcılardaki Query String yapısına ekleme/çıkarma veya kontrolünü yapar.
208
- * Aynı anda sadece tek bir değer değiştirebilir, çoklu işlemler için useMultiQuery
209
- * sınıfı kullanılmalıdır.
210
- *
211
- * Type guard sistemine sahiptir ve istenilen query string değeri, istenilen bir
212
- * tipte döndürülebilir. Desteklediği tipler, string, number, boolean ve array'dir.
213
- * Obje tipi desteklenmemektedir.
214
- *
215
- * @returns
216
- *
217
- */
218
- declare const useSingleQuery: () => SingleQueryProps;
219
-
220
- declare const useMultiQuery: () => {
221
- set: (queries?: {
222
- type: string;
223
- value: string;
224
- }[]) => void;
225
- };
226
-
227
- /**
228
- *
229
- * window objesine event listener ekler ve
230
- * sayfa resize olduğunda çağrılır.
231
- *
232
- * @param {*} handler
233
- *
234
- */
235
- declare const useOnResize: (handler: (event: Event) => void) => void;
236
-
237
- /**
238
- *
239
- * window objesine event listener ekler ve
240
- * kullanıcı online ve offline olduğunda çağrılır.
241
- *
242
- * @param handler
243
- *
244
- */
245
- declare const useConnectionStatus: (handler: (status: ConnectionStatus$1, event: Event) => void) => void;
246
-
247
- declare const useComponentSize: (comRef: RefObject<any>) => {
248
- width: number;
249
- height: number;
250
- }[];
251
-
252
- /**
253
- *
254
- * useCoreFetch
255
- * --
256
- *
257
- * All API routes within the application pass through this class. It filters all
258
- * responses returned from the API and processes them to their expected state.
259
- * Then, it returns the success or failure status.
260
- *
261
- * Additionally, it retrieves and adds additional information such as language,
262
- * token, currency, etc., from the user's cookie to API calls.
263
- *
264
- * @param changeLogout The function used to log out the user when called from places where
265
- * context data such as React.Portal cannot be accessed needs to be passed.
266
- * @param isUserLoggedOut User's logout information.
267
- *
268
- * @returns
269
- *
270
- */
271
- declare const useCoreFetch: () => {
272
- fetch: ({ action, requestMethod, addOrigin, params, queries, headers, cancelable, onFetched, onError, onCanceled, onProgress, }: {
273
- action: string;
274
- requestMethod?: string;
275
- addOrigin?: boolean;
276
- params?: {};
277
- queries?: {};
278
- headers?: {};
279
- cancelable?: boolean;
280
- onFetched?: (result: any) => void;
281
- onError?: (err: string, code: number) => void;
282
- onCanceled?: (message: Cancel) => void;
283
- onProgress?: (event: AxiosProgressEvent) => void;
284
- }) => Promise<void>;
285
- cancel: () => void;
286
- };
287
-
288
- declare const useContextBridge: (...contexts: Context<any>[] | []) => (({ children }: {
289
- children: ReactNode;
290
- }) => react_jsx_runtime.JSX.Element) | (({ children }: {
291
- children: ReactNode;
292
- }) => ReactNode);
293
-
294
- interface UseKeyboardShortcutProps {
295
- key: string;
296
- onKeyPressed: () => void;
297
- }
298
- declare const useKeyboardShortcut: ({ key, onKeyPressed }: UseKeyboardShortcutProps) => void;
299
-
300
- type OrientationType = "portrait" | "landscape";
301
- declare const useOrientation: () => OrientationType;
302
-
303
- type UseAvoidCollisionOpts = {
304
- /** .chat-bubble, .cookie-bar gibi engellerin CSS seçicileri */
305
- obstacles?: string[];
306
- /** Sağa/sola yerleşim - şu an sağ-alt odaklı, gerekirse geliştirilebilir */
307
- corner?: "bottom-right" | "bottom-left" | "bottom-center";
308
- /** Otomatik algılama açılsın mı? */
309
- autoAvoid?: boolean;
310
- /** Panelden gelen manuel ekstra boşluk */
311
- extraBottom?: number;
312
- /** Otomatik algıda en az kaç px boşluk bırakalım */
313
- minGap?: number;
314
- };
315
- declare const useAvoidCollision: ({ obstacles, corner, autoAvoid, extraBottom, minGap, }?: UseAvoidCollisionOpts) => {
316
- bottomOffset: number;
317
- };
318
-
319
- declare const H1: ({ children }: {
320
- children: ChildrenProps$1;
321
- }) => react_jsx_runtime.JSX.Element;
322
-
323
- declare const H2: ({ children }: {
324
- children: ChildrenProps$1;
325
- }) => react_jsx_runtime.JSX.Element;
326
-
327
- declare const H3: ({ children }: {
328
- children: ChildrenProps$1;
329
- }) => react_jsx_runtime.JSX.Element;
330
-
331
- declare const H4: ({ children }: {
332
- children: ChildrenProps$1;
333
- }) => react_jsx_runtime.JSX.Element;
334
-
335
- declare const Lock: ({ className, height, width }: {
336
- className: any;
337
- height: any;
338
- width: any;
339
- }) => react_jsx_runtime.JSX.Element;
340
-
341
- declare const Arrow: ({ className, height, width }: {
342
- className?: string | undefined;
343
- height?: number | undefined;
344
- width?: number | undefined;
345
- }) => react_jsx_runtime.JSX.Element;
346
-
347
- declare const Upload$1: ({ className, height, width }: {
348
- className?: string | undefined;
349
- height?: number | undefined;
350
- width?: number | undefined;
351
- }) => react_jsx_runtime.JSX.Element;
352
-
353
- declare const BackToTop: ({ className, height, width }: {
354
- className?: string | undefined;
355
- height: any;
356
- width: any;
357
- }) => react_jsx_runtime.JSX.Element;
358
-
359
- declare const Checkmark: ({ className, height, width }: {
360
- className: any;
361
- height: any;
362
- width: any;
363
- }) => react_jsx_runtime.JSX.Element;
364
-
365
- declare const InlineSelectArrow: ({ className, height, width }: {
366
- className: any;
367
- height: any;
368
- width: any;
369
- }) => react_jsx_runtime.JSX.Element;
370
-
371
- declare const Trash: ({ className, height, width }: {
372
- className?: string | undefined;
373
- height?: number | undefined;
374
- width?: number | undefined;
375
- }) => react_jsx_runtime.JSX.Element;
376
-
377
- declare const ZoomIn: ({ className, height, width }: {
378
- className?: string | undefined;
379
- height?: number | undefined;
380
- width?: number | undefined;
381
- }) => react_jsx_runtime.JSX.Element;
382
-
383
- declare const ZoomOut: ({ className, height, width }: {
384
- className?: string | undefined;
385
- height?: number | undefined;
386
- width?: number | undefined;
387
- }) => react_jsx_runtime.JSX.Element;
388
-
389
- declare const Picture: ({ className, height, width }: {
390
- className?: string | undefined;
391
- height?: number | undefined;
392
- width?: number | undefined;
393
- }) => react_jsx_runtime.JSX.Element;
394
-
395
- type IconProps = {
396
- className?: string;
397
- width?: number;
398
- height?: number;
399
- };
400
- declare const NoData: ({ className, height, width }: IconProps) => react_jsx_runtime.JSX.Element;
401
-
402
- declare const FileDocument: ({ width, height, fill }: {
403
- width?: number;
404
- height?: number;
405
- fill?: string;
406
- }) => react_jsx_runtime.JSX.Element;
407
-
408
- declare const FileExcel: ({ width, height }: {
409
- width?: number;
410
- height?: number;
411
- }) => react_jsx_runtime.JSX.Element;
412
-
413
- declare const FilePdf: ({ width, height }: {
414
- width?: number;
415
- height?: number;
416
- }) => react_jsx_runtime.JSX.Element;
417
-
418
- type InlineSVGCachedProps = {
419
- src: string;
420
- className?: string;
421
- style?: React.CSSProperties;
422
- title?: string;
423
- role?: string;
424
- onLoaded?: () => void;
425
- onError?: (error: unknown) => void;
426
- };
427
- declare const _default$4: react.MemoExoticComponent<({ src, className, style, title, role, onLoaded, onError }: InlineSVGCachedProps) => react_jsx_runtime.JSX.Element>;
428
-
429
- type OptionsTypeProps = {
430
- customKey?: string;
431
- icon?: ChildrenProps$1;
432
- image?: string;
433
- label?: ChildrenProps$1;
434
- value?: SelectValue$1;
435
- multi?: boolean;
436
- checked?: boolean;
437
- onChange?: (value: SelectValue$1, checked: boolean, label: ChildrenProps$1) => null;
438
- };
439
- declare const _default$3: react.MemoExoticComponent<{
440
- ({ multi, checked, icon, image, value, customKey, onChange, label }: OptionsTypeProps): react_jsx_runtime.JSX.Element;
441
- displayName: string;
442
- }>;
443
-
444
- type SelectSubComponentProps = {
445
- Option: typeof _default$3;
446
- };
447
- type SelectComponentProps = ForwardRefExoticComponent<PropsWithoutRef<SelectProps> & RefAttributes<ITDImperativeFuncProps>> & SelectSubComponentProps;
448
- declare const Select: SelectComponentProps;
449
-
450
- /**
451
- *
452
- * FORM FIELD GROUP
453
- *
454
- * @param className
455
- * @param children
456
- * @returns
457
- *
458
- */
459
- type GroupProps = {
460
- className?: string;
461
- gap?: number;
462
- horizontal?: boolean;
463
- children?: ChildrenProps$1;
464
- };
465
- declare function Group({ gap, horizontal, className, children }: GroupProps): react_jsx_runtime.JSX.Element;
466
-
467
- type ControlProps = {
468
- className?: string;
469
- position?: "start" | "end" | "center";
470
- children?: ChildrenProps$1;
471
- };
472
- declare function Control({ position, className, children }: ControlProps): react_jsx_runtime.JSX.Element;
473
-
474
- type ItemProps = {
475
- name: string;
476
- id?: string;
477
- label?: string;
478
- placeholder?: string;
479
- error?: string;
480
- rules?: FormRuleProps[];
481
- mask?: string | null;
482
- locked?: boolean;
483
- dependency?: string;
484
- reset?: any[];
485
- query?: string;
486
- children: ChildrenProps$1;
487
- };
488
- declare const Item$1: react.ForwardRefExoticComponent<ItemProps & react.RefAttributes<ITDImperativeFuncProps>>;
489
-
490
- type FormContextType = {
491
- register: (item: FormItemProps) => void;
492
- unregister: (name: string) => void;
493
- hasField: (name: string) => boolean;
494
- scrollTo: (name: string, options?: ScrollIntoViewOptions | boolean) => boolean;
495
- checkFormIsValid: () => boolean;
496
- getValues: () => {};
497
- getFieldValue: (name: string) => FormValueProps;
498
- getFieldValueByName: (name: string) => FormValueProps;
499
- getFieldInstance: (name: string) => ITDImperativeFuncProps | null;
500
- getFields: () => {
501
- [key: string]: FormItemProps;
502
- };
503
- getFieldsInstance: () => {};
504
- setName: (name: string) => void;
505
- setInitialValues: (initialFields: {}, update?: boolean, validation?: boolean) => {};
506
- setInvalidField: (name: string, message: string) => void;
507
- setInvalidFields: (names: string[], message: string) => void;
508
- setFieldValue: (name: string, value: FormValueProps) => void;
509
- setFieldValueByName: (name: string, value: FormValueProps, update: boolean, validation: boolean) => void;
510
- setFieldError: (name: string, message: string, validation?: boolean) => void;
511
- removeFieldError: (name: string) => void;
512
- updateField: (name: string, value: FormValueProps, update: boolean, valid: boolean) => void;
513
- isFormValid: () => boolean;
514
- isFieldsValid: (names: string[]) => boolean;
515
- isFieldValid: (name: string) => boolean;
516
- resetFields: (update?: boolean, validation?: boolean) => void;
517
- removeFields: () => void;
518
- formId: string;
519
- updated: {};
520
- };
521
-
522
- type FormStoreProps = {
523
- name: string;
524
- onUpdate?: (values: {}) => void;
525
- onFieldUpdate?: (update: FieldUpdateProps) => void;
526
- onReset?: () => void;
527
- useQueryString?: boolean;
528
- };
529
-
530
- type FormSubComponentProps$1 = {
531
- Item: typeof Item$1;
532
- Group: typeof Group;
533
- Control: typeof Control;
534
- useForm: () => FormContextType;
535
- useFormAPI: FormStoreProps;
536
- };
537
- type FormComponentProps = ForwardRefExoticComponent<PropsWithoutRef<FormProps> & RefAttributes<FormContextType>> & FormSubComponentProps$1;
538
- declare const Form: FormComponentProps;
539
-
540
- declare const CheckboxGroup: react.ForwardRefExoticComponent<CheckboxGroupProps & react.RefAttributes<ITDImperativeFuncProps>>;
541
-
542
- type CheckboxSubComponentProps = {
543
- Group: typeof CheckboxGroup;
544
- };
545
- type CheckboxComponentProps = ForwardRefExoticComponent<PropsWithoutRef<CheckboxProps> & RefAttributes<ITDImperativeFuncProps>> & CheckboxSubComponentProps;
546
- declare const Checkbox: CheckboxComponentProps;
547
-
548
- declare function SubMenu({ id, link, icon, title, isSelected, useLink, onlyOne, subMenuLinkArrow, end, subMenuHeight, itemHeight, iconSize, arrowSize, onChange, children }: AccordionSubMenuProps): react_jsx_runtime.JSX.Element;
549
-
550
- declare const Item: ({ link, itemHeight, arrowSize, active, end, children }: AccordionItemProps) => react_jsx_runtime.JSX.Element;
551
-
552
- type AccordionMenuSubComponents = {
553
- SubMenu: typeof SubMenu;
554
- Item: typeof Item;
555
- };
556
- type AccordionMenuProps = AccordionProps & {
557
- className?: string;
558
- };
559
- declare const Accordion: FunctionComponent<AccordionMenuProps> & AccordionMenuSubComponents;
560
-
561
- declare const Calendar: ({ value, defaultValue, className, onChange, disabledDate }: {
562
- value?: string;
563
- defaultValue?: string;
564
- className?: string;
565
- onChange?: ((value: CalendarValueProps) => void) | null;
566
- disabledDate?: (date: dayjs.Dayjs) => boolean;
567
- }) => react_jsx_runtime.JSX.Element | null;
568
-
569
- declare const DatePicker: react.ForwardRefExoticComponent<DatePickerProps & react.RefAttributes<ITDImperativeFuncProps>>;
570
-
571
- /**
572
- * https://github.com/sanniassin/react-input-mask
573
- * http://sanniassin.github.io/react-input-mask/demo.html
574
- * https://dev.to/adrianbdesigns/let-s-create-a-floating-label-input-with-html-and-css-only-4mo8
575
- */
576
- declare const Input: react.ForwardRefExoticComponent<InputProps & react.RefAttributes<ITDImperativeFuncProps>>;
577
-
578
- declare const TextArea: react.ForwardRefExoticComponent<TextAreaProps & react.RefAttributes<ITDImperativeFuncProps>>;
579
-
580
- declare const Switch: react.ForwardRefExoticComponent<SwitchProps & react.RefAttributes<ITDImperativeFuncProps>>;
581
-
582
- /**
583
- *
584
- * UPLOAD
585
- * --
586
- *
587
- *
588
- *
589
- * @returns
590
- *
591
- */
592
- declare const Upload: react.ForwardRefExoticComponent<UploadProps & react.RefAttributes<ITDImperativeFuncProps>>;
593
-
594
- interface CropArea {
595
- x: number;
596
- y: number;
597
- width: number;
598
- height: number;
599
- }
600
- interface ImageCropperProps {
601
- /** Image source (URL or base64) */
602
- src: string;
603
- /** Aspect ratio to maintain (e.g., 1 for square, 16/9 for widescreen). If undefined, free crop */
604
- aspectRatio?: number;
605
- /** Minimum crop width in pixels */
606
- minWidth?: number;
607
- /** Minimum crop height in pixels */
608
- minHeight?: number;
609
- /** Output width - cropped image will be resized to this width */
610
- outputWidth?: number;
611
- /** Output height - cropped image will be resized to this height */
612
- outputHeight?: number;
613
- /** Output image quality (0-1) */
614
- quality?: number;
615
- /** Output image format */
616
- outputFormat?: "image/jpeg" | "image/png" | "image/webp";
617
- /** Callback when crop area changes */
618
- onCropChange?: (cropArea: CropArea) => void;
619
- /** Container width */
620
- width?: string | number;
621
- /** Container height */
622
- height?: string | number;
623
- /** Show grid lines on crop area (default: true) */
624
- showGrid?: boolean;
625
- }
626
- interface ImageCropperRef {
627
- /** Get cropped image as Blob */
628
- getCroppedImage: () => Promise<Blob | null>;
629
- /** Get cropped image as File */
630
- getCroppedFile: (fileName?: string) => Promise<File | null>;
631
- /** Get crop area coordinates */
632
- getCropArea: () => CropArea;
633
- /** Reset crop area to center */
634
- reset: () => void;
635
- }
636
- declare const ImageCropper: react.ForwardRefExoticComponent<ImageCropperProps & react.RefAttributes<ImageCropperRef>>;
637
-
638
- declare function Panel({ id, link, icon, title, hasOpen, useLink, onChange, children }: {
639
- id?: string | undefined;
640
- link?: string | undefined;
641
- icon?: string | undefined;
642
- title?: string | undefined;
643
- hasOpen?: boolean | undefined;
644
- useLink?: boolean | undefined;
645
- onChange?: null | undefined;
646
- children?: null | undefined;
647
- }): react_jsx_runtime.JSX.Element;
648
-
649
- declare function Collapse({ useLink, children }: {
650
- useLink?: boolean | undefined;
651
- children: any;
652
- }): react_jsx_runtime.JSX.Element;
653
- declare namespace Collapse {
654
- export { Panel };
655
- }
656
-
657
- type ModalActionsContextType = {
658
- /**
659
- * Opens a new modal with the provided information of the modal to be opened.
660
- * @param data Contains the desired parameters for opening a new modal `ModalProps`.
661
- */
662
- showModal: (data: ModalProps$1) => void;
663
- /**
664
- * Dismisses the currently open modal with the ID of the modal to be hidden.
665
- * @param id ID of the modal to be hide.
666
- */
667
- hideModal: (id: string) => void;
668
- /**
669
- * Dismisses the currently open modal with the ID of the modal to be closed.
670
- * @param id ID of the modal to be dismissed.
671
- */
672
- removeModal: (id: string) => void;
673
- /**
674
- * Removes all open modals.
675
- */
676
- removeAllModals: () => void;
677
- };
678
- type ModalStateContextType = {
679
- /**
680
- * Triggered whenever any event related to modals occurs.
681
- */
682
- modalEvent: {
683
- event: ModalState$1;
684
- id: string;
685
- };
686
- /**
687
- * Returns whether a modal is visible or not.
688
- * @param id The visibility information of the desired modal with its ID.
689
- */
690
- isVisible: (id: string) => boolean;
691
- };
692
- type ModalContextType = ModalActionsContextType & ModalStateContextType;
693
-
694
- /**
695
- * Use modal actions only (stable - won't cause rerenders on modal state changes)
696
- * This is the recommended hook for most use cases.
697
- * @returns showModal, hideModal, removeModal, removeAllModals
698
- */
699
- declare const useModal: () => ModalActionsContextType;
700
- /**
701
- * Use modal state (dynamic - will rerender on modal events)
702
- * Only use this if you need to react to modal state changes.
703
- * @returns modalEvent, isVisible
704
- */
705
- declare const useModalState: () => ModalStateContextType;
706
- /**
707
- * Use both modal actions and state (legacy - will rerender on modal events)
708
- * @deprecated Use useModal() for actions and useModalState() for state separately
709
- * @returns All modal context values
710
- */
711
- declare const useModalFull: () => ModalContextType;
712
- declare const ModalManager: {
713
- useModal: () => ModalActionsContextType;
714
- useModalState: () => ModalStateContextType;
715
- useModalFull: () => ModalContextType;
716
- };
717
-
718
- type NotificationContextType = {
719
- addNotification: (notification: NotificationsProps) => void;
720
- removeNotification: (id: string) => void;
721
- };
722
-
723
- declare const Notification: {
724
- useNotifications: () => NotificationContextType;
725
- };
726
-
727
- declare function RadioButton({ id, name, value, type, buttonProps, checked, hasError, disabled, children, icon, image, component, onChange, }: RadioButtonProps$1): react_jsx_runtime.JSX.Element;
728
-
729
- declare const _default$2: react__default.NamedExoticComponent<RadioGroupProps$1 & react__default.RefAttributes<ITDImperativeFuncProps$1>>;
730
-
731
- interface RadioComponent extends React.FC {
732
- Group: typeof _default$2;
733
- Button: typeof RadioButton;
734
- }
735
- declare const Radio: RadioComponent;
736
-
737
- declare const _default$1: react__default.MemoExoticComponent<({ value, checked, single, onChange, children }: {
738
- value?: string | undefined;
739
- checked?: boolean | undefined;
740
- single?: boolean | undefined;
741
- onChange?: null | undefined;
742
- children?: null | undefined;
743
- }) => react_jsx_runtime.JSX.Element>;
744
-
745
- declare function InlineSelect({ label, value, children, single, minWidth, className, onChange }: {
746
- label?: string | undefined;
747
- value?: never[] | undefined;
748
- children?: null | undefined;
749
- single?: boolean | undefined;
750
- minWidth?: number | undefined;
751
- className?: string | undefined;
752
- onChange?: null | undefined;
753
- }): react_jsx_runtime.JSX.Element;
754
- declare namespace InlineSelect {
755
- export { _default$1 as Option };
756
- }
757
-
758
- interface ImageProps extends react__default.ImgHTMLAttributes<HTMLImageElement> {
759
- src: string;
760
- source?: string;
761
- fallback?: string;
762
- brokenWidth?: number | string;
763
- brokenHeight?: number | string;
764
- onLoad?: () => void;
765
- onError?: () => void;
766
- }
767
- declare const _default: react__default.NamedExoticComponent<ImageProps>;
768
-
769
- declare namespace ConsoleLog {
770
- export { single };
771
- export { double };
772
- export { table };
773
- }
774
- declare function single(message: any, type?: string): void;
775
- declare function double(title: any, message: any, type?: string): void;
776
- declare function table(data: any): void;
777
-
778
- declare const Button: ({ id, disabled, loading, selected, circle, strecth, justify, contentPosition, type, variant, size, state, icon, href, target, className, children, onClick }: ButtonProps) => react_jsx_runtime.JSX.Element;
779
-
780
- declare const Alert: {
781
- ({ type, size, title, className, children, icon, }: AlertProps): react_jsx_runtime.JSX.Element;
782
- displayName: string;
783
- };
784
-
785
- declare const Result: {
786
- ({ image, title, description, extra, footer, type, fill, autoCenter, background, animation }: ResultProps$1): react_jsx_runtime.JSX.Element;
787
- displayName: string;
788
- };
789
-
790
- interface ALinkProps extends Omit<NavLinkProps, 'to'> {
791
- to: string;
792
- children?: ReactNode;
793
- className?: string;
794
- style?: React.CSSProperties;
795
- }
796
- declare const ALink: react.NamedExoticComponent<ALinkProps>;
797
-
798
- interface ISpin {
799
- updating?: boolean;
800
- opacity?: boolean;
801
- size?: number;
802
- className?: string;
803
- children?: any;
804
- }
805
- declare const Spin: ({ updating, opacity, size, className, children }: ISpin) => react_jsx_runtime.JSX.Element | null;
806
-
807
- declare function BackTop(props: any): react_jsx_runtime.JSX.Element;
808
-
809
- declare function Status({ variant, size, stretch, bold, children, className, }: StatusProps): react_jsx_runtime.JSX.Element;
810
-
811
- declare function Progress({ status, percent, alwaysShowPercent, showInfo, className, }: ProgressProps): react_jsx_runtime.JSX.Element;
812
-
813
- type TinyScrollbarProps = {
814
- className: string;
815
- children: ChildrenProps$1;
816
- style?: React.CSSProperties;
817
- };
818
- declare function TinyScrollbar({ className, children, style }: TinyScrollbarProps): react_jsx_runtime.JSX.Element;
819
-
820
- declare const Tabs: ({ tabs, activeTabKey, className, variant, height, onTabChange }: TabsProps) => react_jsx_runtime.JSX.Element;
821
-
822
- declare const Card: ({ title, titleSeparator, extra, tabs, onTabChange, minWidth, minHeight, children, activeTabKey, updating, contentPadding, }: CardProps) => react_jsx_runtime.JSX.Element;
823
-
824
- declare const Table: <T extends TableRow>(props: TableProps<T> & {
825
- ref?: Ref<TableRefProps>;
826
- }) => react__default.ReactElement;
827
-
828
- declare const Flex: ({ gap, justify, align, vertical, wrap, stretch, style, className, children }: FlexProps) => react_jsx_runtime.JSX.Element;
829
-
830
- type QueryValueProps = string | number | boolean | string[] | number[];
831
-
832
- type Element = string | number | React.ReactNode | undefined;
833
- type ChildrenProps = Element | Element[] | null;
834
-
835
- type AccordionProps = {
836
- useLink?: boolean;
837
- onlyOne?: boolean;
838
- subMenuLinkArrow?: boolean;
839
- subMenuHeight?: number;
840
- itemHeight?: number;
841
- iconSize?: number;
842
- arrowSize?: number;
843
- onChange?: null | ((id: string) => void);
844
- children?: ChildrenProps;
845
- };
846
-
847
- type AccordionSubMenuProps = {
848
- id: string;
849
- link: string;
850
- title: string;
851
- icon?: string | React.ReactElement;
852
- isSelected?: boolean;
853
- useLink?: boolean;
854
- onlyOne?: boolean;
855
- subMenuLinkArrow?: boolean;
856
- subMenuHeight?: number;
857
- itemHeight?: number;
858
- iconSize?: number;
859
- arrowSize?: number;
860
- end?: boolean;
861
- onChange?: (id: string) => void;
862
- children?: ChildrenProps;
863
- };
864
-
865
- type AccordionItemProps = {
866
- link?: string;
867
- itemHeight?: number;
868
- arrowSize?: number;
869
- active?: boolean;
870
- end?: boolean;
871
- children?: null | ChildrenProps;
872
- };
873
-
874
- declare enum InputTypes {
875
- TEXT = "text",
876
- NUMBER = "number",
877
- CURRENCY = "currency",
878
- PASSWORD = "password"
879
- }
880
- type InputType = `${InputTypes}`;
881
- type InputVariant = "default" | "filled" | "dashed";
882
- type InputProps = {
883
- id?: string;
884
- placeholder?: string;
885
- value?: string;
886
- defaultValue?: string;
887
- type?: InputType;
888
- className?: string;
889
- size?: ITDSize;
890
- variant?: InputVariant;
891
- prefix?: ChildrenProps;
892
- suffix?: ChildrenProps;
893
- addonBefore?: ChildrenProps;
894
- addonAfter?: ChildrenProps;
895
- locked?: ChildrenProps | boolean;
896
- status?: ChildrenProps;
897
- minValue?: number;
898
- maxValue?: number;
899
- maxLength?: number;
900
- disabled?: boolean;
901
- floating?: boolean;
902
- autoComplete?: boolean;
903
- keepFocus?: boolean;
904
- focusRef?: null | MutableRefObject<HTMLDivElement>;
905
- mask?: null | string;
906
- allowEmptyFormatting?: null | boolean;
907
- allowLeadingZeros?: boolean;
908
- decimalSeparator?: string;
909
- thousandSeparator?: string;
910
- decimalScale?: number;
911
- onChange?: ((value: any) => void) | null;
912
- onUpdate?: ((value: any, update: any, validation: boolean) => void) | null;
913
- onFocus?: ((event: any) => void) | null;
914
- onBlur?: ((event: FocusEvent<HTMLInputElement>) => void) | null;
915
- onPressEnter?: ((event: KeyboardEvent) => void) | null;
916
- onKeyDown?: ((event: KeyboardEvent) => void) | null;
917
- children?: ChildrenProps;
918
- };
919
-
920
- type ITDSize = ComponentSizes$1 | "x-small" | "small" | "medium" | "default" | "large" | "x-large";
921
- type ITDSizeSlug = ComponentSizesSlug$1 | "xs" | "sm" | "md" | "df" | "lg" | "xlg";
922
- type ITDPosition = ComponentPositions$1 | "left" | "right";
923
-
924
- type CalendarProps = {
925
- id?: string;
926
- placeholder?: string;
927
- defaultValue: CalendarValueProps;
928
- className?: string;
929
- mask?: null | string;
930
- size?: ITDSize;
931
- variant?: InputVariant;
932
- disabled?: boolean;
933
- floating?: boolean;
934
- suffix?: ChildrenProps;
935
- onChange?: ((value: CalendarValueProps) => void) | null;
936
- onUpdate?: ((value: any, update: any, validation: boolean) => void) | null;
937
- disabledDate: (date: dayjs.Dayjs) => boolean;
938
- };
939
- type CalendarValueProps = {
940
- localizated: string;
941
- global: string;
942
- };
943
- type CalendarDayProps = {
944
- date: dayjs.Dayjs;
945
- today?: boolean;
946
- selected?: boolean;
947
- current?: boolean;
948
- disabled?: boolean;
949
- handleClick: (date: dayjs.Dayjs) => void;
950
- };
951
-
952
- type DatePickerProps = {
953
- id?: string;
954
- placeholder?: string;
955
- defaultValue?: string;
956
- value?: string;
957
- className?: string;
958
- mask?: null | string;
959
- size?: ITDSize;
960
- variant?: InputVariant;
961
- disabled?: boolean;
962
- floating?: boolean;
963
- position?: ITDPosition;
964
- suffix?: ChildrenProps;
965
- onChange?: ((value: CalendarValueProps) => void) | null;
966
- onUpdate?: ((value: any, update: any, validation: boolean) => void) | null;
967
- disabledDate?: (date: dayjs.Dayjs) => boolean;
968
- };
969
-
970
- type TextAreaProps = {
971
- id?: string;
972
- placeholder?: string;
973
- value?: string;
974
- defaultValue?: string;
975
- className?: string;
976
- size?: ITDSize;
977
- variant?: TextAreaVariant;
978
- rows?: number;
979
- maxLength?: number;
980
- disabled?: boolean;
981
- showCount?: boolean;
982
- onChange?: ((event: TextAreaEvent) => void);
983
- onUpdate?: ((value: any, update: any, validation: boolean) => void) | null;
984
- children?: ChildrenProps;
985
- };
986
- type TextAreaEvent = {
987
- value?: string | number | boolean;
988
- className: string;
989
- disabled: boolean;
990
- target: RefObject<HTMLTextAreaElement>;
991
- stopPropagation: () => void;
992
- preventDefault: () => void;
993
- };
994
- type TextAreaVariant = "default" | "filled" | "dashed";
995
-
996
- type ButtonProps = {
997
- id?: string;
998
- disabled?: boolean;
999
- loading?: boolean;
1000
- selected?: boolean;
1001
- strecth?: boolean;
1002
- circle?: boolean;
1003
- justify?: string;
1004
- contentPosition?: ITDPosition;
1005
- type?: ButtonType;
1006
- variant?: ButtonVariant;
1007
- state?: ButtonState;
1008
- size?: ITDSize;
1009
- icon?: string | ChildrenProps | SVGElement;
1010
- href?: string;
1011
- target?: string;
1012
- className?: string;
1013
- children?: ChildrenProps;
1014
- onClick?: null | ((event: MouseEvent<any>) => void);
1015
- };
1016
- type ButtonType = "button" | "submit" | "reset";
1017
- type ButtonVariant = "default" | "solid" | "filled" | "outline" | "ghost" | "link" | "statable" | "custom";
1018
- type ButtonState = "primary" | "secondary" | "request" | "approve" | "reject" | "pending" | "requested" | string | null;
1019
-
1020
- type RadioType = "default" | "primary";
1021
- type Direction = "column" | "row";
1022
- type RadioGroupProps = {
1023
- id?: string;
1024
- name?: string;
1025
- message?: string;
1026
- type?: RadioType;
1027
- defaultValue?: string;
1028
- value?: string;
1029
- className?: string;
1030
- direction?: Direction;
1031
- gap?: string;
1032
- length?: number;
1033
- onlyFlow?: boolean;
1034
- autoSize?: boolean;
1035
- disabled?: boolean;
1036
- buttonProps?: ButtonProps;
1037
- onChange?: (value: string) => void;
1038
- onUpdate?: (value: string, update: boolean, validation: boolean) => void;
1039
- children?: React.ReactNode;
1040
- };
1041
- type RadioButtonProps = {
1042
- id?: string;
1043
- name?: string;
1044
- value?: string;
1045
- type?: RadioType;
1046
- checked?: boolean;
1047
- hasError?: boolean;
1048
- children?: React.ReactNode;
1049
- disabled?: boolean;
1050
- buttonProps?: ButtonProps;
1051
- icon?: string | null;
1052
- image?: string | null;
1053
- onChange?: (value: string) => void;
1054
- component?: ReactElement<any> | null;
1055
- };
1056
-
1057
- type SelectProps = {
1058
- id?: string;
1059
- defaultValue?: SelectValue;
1060
- value?: SelectValue;
1061
- label?: string | number;
1062
- position?: SelectPosition;
1063
- direction?: SelectDirection;
1064
- multi?: boolean;
1065
- size?: ITDSize;
1066
- variant?: SelectVariant;
1067
- className?: string;
1068
- placeholder?: string;
1069
- prefix?: ChildrenProps;
1070
- suffix?: ChildrenProps;
1071
- icon?: string;
1072
- image?: string;
1073
- disabled?: boolean;
1074
- showSearch?: boolean;
1075
- locked?: boolean;
1076
- floating?: boolean;
1077
- style?: CSSProperties;
1078
- options?: SelectOptionProps[];
1079
- onChange?: ((value: SelectValue) => void) | null;
1080
- onUpdate?: ((value: SelectValue | undefined, update?: boolean, validation?: boolean) => void) | null;
1081
- };
1082
- type SelectToggleProps = {
1083
- id?: string;
1084
- label?: string | number | ChildrenProps;
1085
- value?: SelectValue | null;
1086
- errorMessage: string;
1087
- multi: boolean;
1088
- isOpen: boolean;
1089
- showSearch: boolean;
1090
- locked: boolean;
1091
- disabled: boolean;
1092
- labelType: string;
1093
- placeholder: string;
1094
- icon?: string;
1095
- prefix?: ChildrenProps;
1096
- suffix?: ChildrenProps;
1097
- image?: string;
1098
- size: ITDSize;
1099
- onFocus: () => void;
1100
- onBlur: () => void;
1101
- onShow: (value: boolean) => void;
1102
- onFilter: (value: string) => void;
1103
- onChange: (open: boolean) => void;
1104
- };
1105
- type SelectOptionProps = {
1106
- key?: string;
1107
- label: string | number | ChildrenProps;
1108
- value: SelectValue;
1109
- icon?: ChildrenProps;
1110
- image?: string;
1111
- disabled?: boolean;
1112
- searchText?: string;
1113
- };
1114
- type SelectValue = string | number | (string | number)[];
1115
- type SelectVariant = "default" | "solid" | "filled" | "outline" | "custom";
1116
- type SelectPosition = "top" | "bottom";
1117
- type SelectDirection = "right" | "left";
1118
-
1119
- type CheckboxProps = {
1120
- id?: string;
1121
- value?: string | number | boolean;
1122
- checked?: boolean;
1123
- disabled?: boolean;
1124
- variant?: CheckboxVariant;
1125
- indeterminate?: boolean;
1126
- className?: string;
1127
- children?: ChildrenProps;
1128
- onChange?: ((event: CheckboxEvent) => void);
1129
- onUpdate?: ((value: any, update: any, validation: boolean) => void);
1130
- };
1131
- type CheckboxGroupProps = {
1132
- id?: string;
1133
- value?: (string | number | boolean)[];
1134
- defaultValue?: (string | number | boolean)[];
1135
- options?: GroupCheckboxOptionType[];
1136
- disabled?: boolean;
1137
- className?: string;
1138
- children?: ChildrenProps | ReactElement<CheckboxProps> | Array<ReactElement<CheckboxProps>>;
1139
- selectAll?: (value: boolean) => void;
1140
- onChange?: ((values: (string | number | boolean)[]) => void);
1141
- onUpdate?: ((value: (string | number | boolean)[], update: any, validation: boolean) => void);
1142
- };
1143
- type GroupCheckboxOptionType = {
1144
- label: string;
1145
- value: string | number | boolean;
1146
- disabled?: boolean;
1147
- };
1148
- type CheckboxEvent = {
1149
- checked: boolean;
1150
- value?: string | number | boolean;
1151
- className: string;
1152
- disabled: boolean;
1153
- target: RefObject<HTMLInputElement>;
1154
- stopPropagation: () => void;
1155
- preventDefault: () => void;
1156
- };
1157
- type CheckboxVariant = "default" | "filled";
1158
-
1159
- type ITDImperativeFuncProps = {
1160
- reset: (update?: boolean, validation?: boolean) => void;
1161
- setValue: (value: any, update?: boolean, validation?: boolean) => void;
1162
- getValue: () => any;
1163
- setError?: (message: string) => void;
1164
- setFocus?: () => void;
1165
- setDisabled?: (value: boolean) => void;
1166
- forceUpdate?: () => void;
1167
- clear?: () => void;
1168
- scrollIntoView?: (options?: ScrollIntoViewOptions | boolean) => void;
1169
- };
1170
-
1171
- type SingleQueryProps = {
1172
- set: (type: string, value: QueryValueProps) => void;
1173
- get: <T>(paramName: string, defaultValue: T, minLength?: number) => T;
1174
- remove: (type: string) => void;
1175
- isEmpty: () => boolean;
1176
- };
1177
-
1178
- type FormProps = {
1179
- initialValues?: {};
1180
- children: ChildrenProps;
1181
- onReset?: () => void;
1182
- onUpdate?: (values: {}) => void;
1183
- onFinish?: (values: {}) => void;
1184
- onFinishFailed?: (values: {}) => void;
1185
- onValidated?: (validate: boolean) => void;
1186
- onFieldUpdate?: (update: FieldUpdateProps) => void;
1187
- useQueryString?: boolean;
1188
- className?: string;
1189
- ref?: RefObject<FormContextType>;
1190
- name: string;
1191
- };
1192
- type FormValueProps = string | number | object | boolean;
1193
- type FieldUpdateProps = {
1194
- name: string;
1195
- value: FormValueProps;
1196
- valid: boolean;
1197
- };
1198
- type FormRuleProps = {
1199
- required?: boolean;
1200
- type?: FormValidationTypes$1;
1201
- field?: string;
1202
- value?: string | number | (string | number)[];
1203
- message?: string;
1204
- currency?: string;
1205
- };
1206
- type FormItemProps = {
1207
- name: string;
1208
- field: RefObject<ITDImperativeFuncProps>;
1209
- valid: boolean;
1210
- value?: FormValueProps;
1211
- query: string;
1212
- reset: any[];
1213
- error: string;
1214
- };
1215
- type FormSubComponentProps = {
1216
- Item: typeof Item$1;
1217
- Group: typeof Group;
1218
- Control: typeof Control;
1219
- useForm: FormContextType;
1220
- useFormAPI: FormStoreProps;
1221
- };
1222
-
1223
- type NotificationsProps = {
1224
- id?: string;
1225
- title: string;
1226
- description: string;
1227
- placement?: string;
1228
- autoHide?: boolean;
1229
- delay?: number;
1230
- type: string;
1231
- };
1232
-
1233
- type AlertProps = {
1234
- type?: AlertType;
1235
- size?: AlertSize;
1236
- icon?: string | react__default.ReactNode;
1237
- title?: string;
1238
- className?: string;
1239
- children?: ChildrenProps;
1240
- };
1241
- type AlertType = "success" | "info" | "warning" | "error";
1242
- type AlertSize = ComponentSizes$1.X_SMALL | ComponentSizes$1.SMALL | ComponentSizes$1.MEDIUM | ComponentSizes$1.DEFAULT | ComponentSizes$1.LARGE | ComponentSizes$1.X_LARGE;
1243
-
1244
- type SwitchProps = {
1245
- id?: string;
1246
- label?: string;
1247
- checked?: boolean;
1248
- defaultChecked?: boolean;
1249
- loading?: boolean;
1250
- disabled?: boolean;
1251
- onChange?: ((value: any) => void) | null;
1252
- onUpdate?: ((value: any, update: any, validation: boolean) => void) | null;
1253
- };
1254
-
1255
- /**
1256
- * #### ModalProps
1257
- *
1258
- * The properties passed when opening a new modal. The `showModal`
1259
- * function requires certain properties to open a new modal.
1260
- */
1261
- type ModalProps = {
1262
- /**
1263
- * Modal ID. Used for listening to modal events.
1264
- */
1265
- id?: string;
1266
- /**
1267
- * Modal Classname.
1268
- */
1269
- className?: string;
1270
- /**
1271
- * Modal Title.
1272
- */
1273
- title?: ChildrenProps;
1274
- /**
1275
- * Modal Width.
1276
- */
1277
- width?: string | number;
1278
- /**
1279
- * Close modal when overlay is clicked.
1280
- */
1281
- closeOnClickOutside?: boolean;
1282
- /**
1283
- * Prevents modal from closing when ESC key is pressed.
1284
- */
1285
- preventESC?: boolean;
1286
- /**
1287
- * Remove other open modals.
1288
- */
1289
- removeOthers?: boolean;
1290
- /**
1291
- * Show/hide OK button.
1292
- */
1293
- showOkButton?: boolean;
1294
- /**
1295
- * Show/hide Cancel button.
1296
- */
1297
- showCancelButton?: boolean;
1298
- /**
1299
- * Show/hide close button on the top right corner of the modal.
1300
- */
1301
- showCloseButton?: boolean;
1302
- /**
1303
- * Text for the OK button.
1304
- */
1305
- okButtonText?: string;
1306
- /**
1307
- * The cancel button props.
1308
- */
1309
- cancelButtonText?: string;
1310
- /**
1311
- * The ok button props.
1312
- */
1313
- okButtonProps?: ButtonProps | null;
1314
- /**
1315
- * ModalProps for the Cancel button.
1316
- */
1317
- cancelButtonProps?: ButtonProps | null;
1318
- /**
1319
- * Custom properties to be passed to the modal.
1320
- */
1321
- customProps?: {} | any;
1322
- /**
1323
- * Custom context to be passed to the modal.
1324
- */
1325
- context?: {} | any;
1326
- /**
1327
- * Called when the OK button is clicked. If this
1328
- * function is defined, a ModalEvent is triggered,
1329
- * but the modal does not automatically close.
1330
- * @returns
1331
- */
1332
- onOk?: (() => boolean | null) | null;
1333
- /**
1334
- * Called when the Cancel button is clicked. If this
1335
- * function is defined, a ModalEvent is triggered,
1336
- * but the modal does not automatically close.
1337
- * @returns
1338
- */
1339
- onCancel?: (() => boolean | null) | null;
1340
- /**
1341
- * Called when the modal is shown. If this
1342
- * function is defined, a ModalEvent is triggered.
1343
- * @returns
1344
- */
1345
- onShow?: (() => void) | null;
1346
- /**
1347
- * Called when the modal is closed. If this
1348
- * function is defined, a ModalEvent is triggered.
1349
- * @returns
1350
- */
1351
- onExit?: (() => void) | null;
1352
- /**
1353
- * ModalManager can find its own ref, but some libraries
1354
- * (@loadable, React.lazy, etc.) may have their own ref values,
1355
- * which can prevent ModalManager from passing parameters and
1356
- * accessing the actual ref. In such cases, if you want the modal
1357
- * to use a ref, meaning you'll use forwardRef with ModalRefProps
1358
- * inside the modal, you should pass "true".
1359
- */
1360
- useRef?: boolean;
1361
- /**
1362
- * ModalManager can find its own ref, but some libraries
1363
- * (@loadable, React.lazy, etc.) may have their own ref
1364
- * values, which can prevent ModalManager from passing
1365
- * parameters and accessing the actual ref. In such cases,
1366
- * this value should remain false. You can only set it to
1367
- * "true" in projects where you are sure that all modals
1368
- * are passed as Function Components.
1369
- */
1370
- checkAutoRef?: boolean;
1371
- /**
1372
- * Content of the modal. Any content you want to display in the modal.
1373
- */
1374
- content: ChildrenProps;
1375
- /**
1376
- * Adds content before the modal's content data.
1377
- */
1378
- addContentBefore?: ChildrenProps;
1379
- /**
1380
- * Adds content after the modal's content data.
1381
- */
1382
- addContentAfter?: ChildrenProps;
1383
- /**
1384
- * The padding of the modal content. The default value is "30px 20px".
1385
- */
1386
- contentPadding?: string;
1387
- /**
1388
- * The padding of the outer modal overlay. The default value is "50px".
1389
- */
1390
- outerPadding?: string;
1391
- /**
1392
- * The padding before the modal content. The default value is "30px 20px 0".
1393
- */
1394
- beforeContentPadding?: string;
1395
- /**
1396
- * The padding after the modal content. The default value is "0 20px 30px".
1397
- */
1398
- afterContentPadding?: string;
1399
- };
1400
- /**
1401
- * #### Modal Content Props
1402
- *
1403
- * These properties can only be accessed from the content data defined within the modal.
1404
- * When the content data is defined as an external class, these properties become accessible.
1405
- */
1406
- type ModalContentProps = {
1407
- /**
1408
- * Allows another modal to be opened from within the modal content.
1409
- * @param data Values for the new modal to be opened.
1410
- * @returns
1411
- */
1412
- showAnotherModal?: (data: ModalProps) => void;
1413
- /**
1414
- * Closes itself from within the modal content.
1415
- * @returns
1416
- */
1417
- hideCurrentModal?: () => void;
1418
- /**
1419
- * Destroy itself from within the modal content.
1420
- * @returns
1421
- */
1422
- removeCurrentModal?: () => void;
1423
- /**
1424
- * Changes the buttons disabling state.
1425
- * @param value `true` for regular, `false` for disabled.
1426
- * @returns
1427
- */
1428
- changeButtonsState?: (value: boolean) => void;
1429
- /**
1430
- * Changes the loading screen state that covers the entire modal.
1431
- * @param value `true` indicates loading, `false` indicates stable state.
1432
- * @returns
1433
- */
1434
- changeLoadingState?: (value: boolean) => void;
1435
- /**
1436
- * Changes the state that shows only the modal content is loading.
1437
- * @param value `true` indicates loading, `false` indicates stable state.
1438
- * @returns
1439
- */
1440
- changeInnerLoadingState?: (value: boolean) => void;
1441
- /**
1442
- * Extra parameters passed when the modal is opened.
1443
- */
1444
- modalProps?: any;
1445
- /**
1446
- * Context data to be used for access within the modal, functioning like `modalProps`.
1447
- */
1448
- context?: any;
1449
- };
1450
- /**
1451
- * #### Modal Ref Props
1452
- *
1453
- * It can only be used within the modal content data that utilizes `forwardRef`
1454
- * along with `useImperativeHandle`.
1455
- */
1456
- type ModalRefProps = {
1457
- /**
1458
- * If defined, it is triggered when the **OK** button inside the modal is clicked.
1459
- * If you return `false`, it prevents the modal from closing. If you return `true`,
1460
- * the process continues and the modal closes.
1461
- * @returns
1462
- */
1463
- onClickOK?: () => void;
1464
- /**
1465
- * If defined, it is triggered when the **Cancel** button inside the modal is clicked.
1466
- * If you return `false`, it prevents the modal from closing. If you return `true`,
1467
- * the process continues and the modal closes.
1468
- * @returns
1469
- */
1470
- onClickCancel?: () => void;
1471
- };
1472
-
1473
- /**
1474
- * Crop settings for the Upload component
1475
- */
1476
- type CropSettings = {
1477
- /** Aspect ratio (e.g., 1 for square, 16/9 for widescreen). */
1478
- aspectRatio?: number;
1479
- /** Minimum crop area width in pixels. User cannot select smaller than this. */
1480
- minWidth?: number;
1481
- /** Minimum crop area height in pixels. User cannot select smaller than this. */
1482
- minHeight?: number;
1483
- /** Output width in pixels. Cropped image will be resized to this width. */
1484
- outputWidth?: number;
1485
- /** Output height in pixels. Cropped image will be resized to this height. */
1486
- outputHeight?: number;
1487
- /** Output image quality (0-1), default 0.9 */
1488
- quality?: number;
1489
- /** Crop modal title */
1490
- modalTitle?: string;
1491
- /** Show grid lines on crop area (default: true) */
1492
- showGrid?: boolean;
1493
- };
1494
- type UploadProps = {
1495
- id?: string;
1496
- action?: string;
1497
- filePath?: string | null;
1498
- removeAction?: string;
1499
- removeExtraFormData?: {};
1500
- removeExtraQueryString?: {};
1501
- removeExtraHeader?: {};
1502
- binaryName?: string;
1503
- resultFileName?: string | null;
1504
- showDeleteIcon?: boolean;
1505
- showPreviewIcon?: boolean;
1506
- buttonsPosition?: "default" | "corners";
1507
- containerWidth?: number | string;
1508
- containerHeight?: number | string;
1509
- maxFileWidth?: number | string;
1510
- maxFileHeight?: number | string;
1511
- fileWidth?: number | string;
1512
- fileHeight?: number | string;
1513
- padding?: number;
1514
- fluid?: boolean;
1515
- previewFileWidth?: number | string;
1516
- previewFileHeight?: number | string;
1517
- previewFilePadding?: number | string;
1518
- fileTypes?: FileTypes[];
1519
- maxFileSize?: number;
1520
- requestMethod?: "put" | "post";
1521
- extraFormData?: {};
1522
- extraQueryString?: {};
1523
- extraHeader?: {};
1524
- disabled?: boolean;
1525
- /** Minimum image width required for upload (in pixels). Smaller images will be rejected. Works with or without crop. */
1526
- minImageWidth?: number;
1527
- /** Minimum image height required for upload (in pixels). Smaller images will be rejected. Works with or without crop. */
1528
- minImageHeight?: number;
1529
- /**
1530
- * Crop settings. If provided, cropping is enabled.
1531
- * @example
1532
- * crop={{
1533
- * aspectRatio: 16/9,
1534
- * minWidth: 960, // Minimum crop area size
1535
- * minHeight: 540,
1536
- * outputWidth: 1920, // Final output size
1537
- * outputHeight: 1080,
1538
- * quality: 0.9,
1539
- * modalTitle: "Crop Image"
1540
- * }}
1541
- */
1542
- crop?: CropSettings;
1543
- onChange?: ((value: any) => void) | null;
1544
- onUpdate?: ((value: any, update: any, validation: boolean) => void) | null;
1545
- onUploadSuccess?: (path: string) => void;
1546
- onUploadFailed?: (message: string, code: number) => void;
1547
- onRemoveFileSuccess?: (data?: any) => void;
1548
- onRemoveFileFailed?: () => void;
1549
- };
1550
- type UploadProgressProps = {
1551
- estimated: string;
1552
- progress: number;
1553
- bytes: string;
1554
- total: string;
1555
- };
1556
- type UploadResultMessageProps = {
1557
- message: string;
1558
- status: "success" | "error" | "";
1559
- };
1560
-
1561
- type ResultProps = {
1562
- image: string | ChildrenProps;
1563
- title: string;
1564
- description: string;
1565
- type?: string;
1566
- extra?: ChildrenProps | null;
1567
- footer?: ChildrenProps | null;
1568
- fill?: boolean;
1569
- autoCenter?: boolean;
1570
- background?: boolean;
1571
- animation?: boolean;
1572
- };
1573
-
1574
- type TabsItemProps = {
1575
- key: string;
1576
- tab: string;
1577
- children?: ChildrenProps;
1578
- link?: string;
1579
- };
1580
- type TabsProps = {
1581
- activeTabKey?: string;
1582
- tabs?: TabsItemProps[];
1583
- onTabChange?: (key: string) => void;
1584
- variant?: "default" | "bold";
1585
- height?: number;
1586
- className?: string;
1587
- };
1588
-
1589
- type TableColumnType<T> = {
1590
- key: keyof T | string;
1591
- title: ChildrenProps;
1592
- dataIndex?: keyof T;
1593
- overflow?: boolean;
1594
- width?: number | string;
1595
- maxWidth?: number | string;
1596
- minWidth?: number | string;
1597
- render?: (value: any, record: T, index: number, level?: number) => React.ReactNode;
1598
- };
1599
- type TableProps<T extends TableRow> = {
1600
- columns: TableColumnType<T>[];
1601
- data: T[] | null;
1602
- cellHeight?: number | string;
1603
- size?: ITDSize;
1604
- headless?: boolean;
1605
- bordered?: boolean;
1606
- dashed?: boolean;
1607
- noGaps?: boolean;
1608
- hideGroupButtons?: boolean;
1609
- getTRProps?: (row: T, rowIndex: number, level: number) => TableTRProps;
1610
- };
1611
- type TableTRProps = {
1612
- style?: React.CSSProperties;
1613
- classNames?: string;
1614
- };
1615
- type TableRow = {
1616
- key: string;
1617
- children?: TableRow[];
1618
- };
1619
- type TableRefProps = {
1620
- toggleRow: (key: string) => void;
1621
- expandedRows: Set<string>;
1622
- };
1623
-
1624
- type CardProps = {
1625
- title?: ChildrenProps;
1626
- titleSeparator?: boolean;
1627
- extra?: ChildrenProps;
1628
- tabs?: {
1629
- key: string;
1630
- tab: string;
1631
- }[];
1632
- activeTabKey?: string;
1633
- onTabChange?: (key: string) => void;
1634
- updating?: boolean;
1635
- minWidth?: number | string;
1636
- minHeight?: number | string;
1637
- contentPadding?: string;
1638
- children: ChildrenProps;
1639
- };
1640
-
1641
- type ProgressProps = {
1642
- status?: ProgressStatus;
1643
- showInfo?: boolean;
1644
- alwaysShowPercent?: boolean;
1645
- percent?: number;
1646
- className?: string;
1647
- };
1648
- type ProgressStatus = "normal" | "active" | "success" | "exception";
1649
-
1650
- type StatusProps = {
1651
- variant?: StatusVariant;
1652
- size?: ITDSize;
1653
- stretch?: boolean;
1654
- bold?: boolean;
1655
- children?: ChildrenProps;
1656
- className?: string;
1657
- };
1658
- type StatusVariant = "gray-1" | "gray-2" | "gray-3" | "green" | "yellow" | "red" | "brown" | "lavender" | "pink" | "violet" | "blue" | "black" | "purple" | "orange" | "teal" | "indigo" | "lime" | "filled-brown" | "filled-violet" | "filled-red" | "filled-yellow" | "filled-pink" | "filled-blue" | "filled-green" | "filled-purple" | "filled-black" | "filled-lavender" | "filled-gray-1" | "filled-gray-2" | "filled-gray-3" | "filled-orange" | "filled-teal" | "filled-indigo" | "filled-lime";
1659
-
1660
- type FlexProps = {
1661
- gap?: FlexGapProps;
1662
- justify?: FlexJustifyProps;
1663
- align?: FlexAlignProps;
1664
- vertical?: boolean;
1665
- wrap?: boolean;
1666
- stretch?: boolean;
1667
- style?: CSSProperties;
1668
- className?: string;
1669
- children?: ChildrenProps;
1670
- };
1671
- type FlexGapProps = "small" | "medium" | "large" | string | number;
1672
- type FlexJustifyProps = "unset" | "flex-start" | "center" | "flex-end" | "space-between" | "space-around" | "space-evenly";
1673
- type FlexAlignProps = "unset" | "flex-start" | "center" | "flex-end";
1674
-
1675
- declare enum ModalState {
1676
- NOT_SHOW = "modal-not-show",
1677
- BEGIN = "modal-begin",
1678
- ENTERING = "modal-entering",
1679
- ENTERED = "modal-entered",
1680
- EXITING = "modal-exiting",
1681
- EXITED = "modal-exited",
1682
- REMOVED = "modal-removed",
1683
- OK_CLICK = "modal-ok-button-click",
1684
- CANCEL_CLICK = "modal-cancel-button-click",
1685
- CLOSE_CLICK = "modal-close-button-click",
1686
- OUTSIDE_CLICK = "modal-outside-click",
1687
- ESC_CLICK = "modal-esc-click",
1688
- ALL_REMOVED = "modal-all-removed"
1689
- }
1690
- declare enum FileTypes {
1691
- SVG = "image/svg+xml",
1692
- PNG = "image/png",
1693
- JPG = "image/jpeg",
1694
- GIF = "image/gif",
1695
- WEBP = "image/webp",
1696
- PDF = "application/pdf",
1697
- XLSX = "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
1698
- OTF = "font/otf"
1699
- }
1700
- declare enum FileExtensions {
1701
- SVG = ".svg",
1702
- PNG = ".png",
1703
- JPG = ".jpg",
1704
- GIF = ".gif",
1705
- WEBP = ".webp",
1706
- PDF = ".pdf",
1707
- XLSX = ".xlsx",
1708
- OTF = ".otf"
1709
- }
1710
- declare enum FormValidationTypes {
1711
- MIN_LENGTH = "minLength",
1712
- MAX_LENGTH = "maxLength",
1713
- EXACT_LENGTH = "exactLength",
1714
- SAME = "same",
1715
- NOT_SAME = "notSame",
1716
- TC_IDENTITY = "TCIdentity",
1717
- PASSWORD = "password",
1718
- EMAIL = "email",
1719
- USERNAME = "username",
1720
- SITE_USERNAME = "siteUsername",
1721
- ADMIN_USERNAME = "adminUsername",
1722
- URL = "url",
1723
- FORBIDDEN_WORDS = "forbiddenWords",
1724
- MULTIPLE_OF = "multipleOf"
1725
- }
1726
- declare enum ConnectionStatus {
1727
- ONLINE = "online",
1728
- OFFLINE = "offline"
1729
- }
1730
- declare enum ComponentSizes {
1731
- X_SMALL = "x-small",
1732
- SMALL = "small",
1733
- MEDIUM = "medium",
1734
- DEFAULT = "default",
1735
- LARGE = "large",
1736
- X_LARGE = "x-large"
1737
- }
1738
- declare enum ComponentSizesSlug {
1739
- X_SMALL = "xs",
1740
- SMALL = "sm",
1741
- MEDIUM = "md",
1742
- DEFAULT = "df",
1743
- LARGE = "lg",
1744
- X_LARGE = "xlg"
1745
- }
1746
- declare enum ComponentPositions {
1747
- LEFT = "left",
1748
- RIGHT = "right"
1749
- }
1750
-
1751
- declare const resources: {
1
+ import { default as trCalendar } from './locales/tr/calendar.json';
2
+ import { default as enCalendar } from './locales/en/calendar.json';
3
+ export declare const locales: {
1752
4
  tr: {
1753
5
  itd: {
1754
6
  success: string;
@@ -1769,6 +21,19 @@ declare const resources: {
1769
21
  birthday: string;
1770
22
  multipleSelection: string;
1771
23
  };
24
+ texts: {
25
+ enabledNotifications: string;
26
+ create: string;
27
+ read: string;
28
+ update: string;
29
+ delete: string;
30
+ selectAll: string;
31
+ termsAndConditions: string;
32
+ campaignTitle: string;
33
+ campaignDescription: string;
34
+ formTitle: string;
35
+ formDescription: string;
36
+ };
1772
37
  options: {
1773
38
  all: string;
1774
39
  male: string;
@@ -1777,11 +42,6 @@ declare const resources: {
1777
42
  turkish: string;
1778
43
  english: string;
1779
44
  };
1780
- currencies: {
1781
- TRY: string;
1782
- EUR: string;
1783
- USD: string;
1784
- };
1785
45
  };
1786
46
  buttons: {
1787
47
  submit: string;
@@ -1803,7 +63,6 @@ declare const resources: {
1803
63
  invalidURL: string;
1804
64
  fieldMustBeDifferent: string;
1805
65
  forbiddenWords: string;
1806
- multipleOf: string;
1807
66
  };
1808
67
  uploader: {
1809
68
  header: string;
@@ -1824,13 +83,6 @@ declare const resources: {
1824
83
  areYouSureToDeleteThisFile: string;
1825
84
  yes: string;
1826
85
  no: string;
1827
- cropImage: string;
1828
- crop: string;
1829
- cancel: string;
1830
- width: string;
1831
- height: string;
1832
- imageTooSmall: string;
1833
- imageTooSmallMessage: string;
1834
86
  };
1835
87
  results: {
1836
88
  authentication: {
@@ -1843,6 +95,21 @@ declare const resources: {
1843
95
  TRY: string;
1844
96
  EUR: string;
1845
97
  USD: string;
98
+ GBP: string;
99
+ JPY: string;
100
+ CHF: string;
101
+ CAD: string;
102
+ AUD: string;
103
+ NZD: string;
104
+ RUB: string;
105
+ INR: string;
106
+ BRL: string;
107
+ MXN: string;
108
+ ARS: string;
109
+ CLP: string;
110
+ COP: string;
111
+ PEN: string;
112
+ ZAR: string;
1846
113
  };
1847
114
  countries: {
1848
115
  af: string;
@@ -2048,9 +315,6 @@ declare const resources: {
2048
315
  firstDay: number;
2049
316
  format: string;
2050
317
  };
2051
- tabs: {
2052
- more: string;
2053
- };
2054
318
  };
2055
319
  calendar: {
2056
320
  weekdaysLong: string[];
@@ -2080,6 +344,19 @@ declare const resources: {
2080
344
  birthday: string;
2081
345
  multipleSelection: string;
2082
346
  };
347
+ texts: {
348
+ enabledNotifications: string;
349
+ create: string;
350
+ read: string;
351
+ update: string;
352
+ delete: string;
353
+ selectAll: string;
354
+ termsAndConditions: string;
355
+ campaignTitle: string;
356
+ campaignDescription: string;
357
+ formTitle: string;
358
+ formDescription: string;
359
+ };
2083
360
  options: {
2084
361
  all: string;
2085
362
  male: string;
@@ -2088,11 +365,6 @@ declare const resources: {
2088
365
  turkish: string;
2089
366
  english: string;
2090
367
  };
2091
- currencies: {
2092
- TRY: string;
2093
- EUR: string;
2094
- USD: string;
2095
- };
2096
368
  };
2097
369
  buttons: {
2098
370
  submit: string;
@@ -2113,7 +385,6 @@ declare const resources: {
2113
385
  invalidURL: string;
2114
386
  fieldMustBeDifferent: string;
2115
387
  forbiddenWords: string;
2116
- multipleOf: string;
2117
388
  };
2118
389
  uploader: {
2119
390
  header: string;
@@ -2134,13 +405,6 @@ declare const resources: {
2134
405
  areYouSureToDeleteThisFile: string;
2135
406
  yes: string;
2136
407
  no: string;
2137
- cropImage: string;
2138
- crop: string;
2139
- cancel: string;
2140
- width: string;
2141
- height: string;
2142
- imageTooSmall: string;
2143
- imageTooSmallMessage: string;
2144
408
  };
2145
409
  results: {
2146
410
  authentication: {
@@ -2153,6 +417,21 @@ declare const resources: {
2153
417
  TRY: string;
2154
418
  EUR: string;
2155
419
  USD: string;
420
+ GBP: string;
421
+ JPY: string;
422
+ CHF: string;
423
+ CAD: string;
424
+ AUD: string;
425
+ NZD: string;
426
+ RUB: string;
427
+ INR: string;
428
+ BRL: string;
429
+ MXN: string;
430
+ ARS: string;
431
+ CLP: string;
432
+ COP: string;
433
+ PEN: string;
434
+ ZAR: string;
2156
435
  };
2157
436
  countries: {
2158
437
  af: string;
@@ -2358,9 +637,6 @@ declare const resources: {
2358
637
  firstDay: number;
2359
638
  format: string;
2360
639
  };
2361
- tabs: {
2362
- more: string;
2363
- };
2364
640
  };
2365
641
  calendar: {
2366
642
  weekdaysLong: string[];
@@ -2371,6 +647,112 @@ declare const resources: {
2371
647
  };
2372
648
  };
2373
649
  };
2374
-
2375
- export { ALink, Accordion, AddDefaultThemeStyle, AddDefaultUnit, AddZero, Alert, Arrow as ArrowIcon, BackToTop, BackTop, Base64Decode, Base64Encode, Button, Calendar, Card, CheckFileURL, Checkbox, Checkmark, ChunkArray, Collapse, ComponentPositions, ComponentSizes, ComponentSizesSlug, ConnectionStatus, ConsoleLog, ConvertCurrency, DatePicker, DetermineNewHeight, DetermineNewWidth, FileChecker, FileDocument, FileExcel, FileExtensions, FilePdf, FileTypes, FindSelector, Flex, Form, FormValidationTypes, FormatBytes, FormatDate, FormatDateTime, FormatSimpleDate, FormatSimpleDateTime, FormatTime, GetByCurrency, GetCountryCodeByCurrencyCode, GetCountryCodeByLanguage, GetCurrencyFormat, GetCurrencySymbol, GetDecimalByCurrency, GetTypeByFileType, H1, H2, H3, H4, ITDContext, ITDProvider, _default as Image, ImageCropper, _default$4 as InlineSVGCached, InlineSelect, InlineSelectArrow, Input, IsValidJSON, Lock as LockIcon, ModalManager, ModalState, NoData, Notification, Picture, Progress, Radio, RemoveUnits, Result, SVGLoader, Select, Spin, Status, Switch, Table, Tabs, TextArea, TinyScrollbar, Trash, UniUpperCase, UpdateThemeStyle, Upload, Upload$1 as UploadIcon, Wait, ZoomIn, ZoomOut, resources, toKebabCase, useAddExternalCSS, useAvoidCollision, useComponentSize, useConnectionStatus, useConstructor, useContextBridge, useCoreFetch, useKeyboardShortcut, useModal, useModalFull, useModalState, useMultiQuery, useOnClickOutside, useOnESCKeyDown, useOnResize, useOrientation, useReCaptcha, useSingleQuery };
2376
- export type { AccordionItemProps, AccordionProps, AccordionSubMenuProps, AlertProps, AlertSize, AlertType, ButtonProps, ButtonState, ButtonType, ButtonVariant, CalendarDayProps, CalendarProps, CalendarValueProps, CardProps, CheckboxEvent, CheckboxGroupProps, CheckboxProps, CropArea, CropSettings, DatePickerProps, Direction, FieldUpdateProps, FlexAlignProps, FlexGapProps, FlexJustifyProps, FlexProps, FormContextType, FormItemProps, FormProps, FormRuleProps, FormSubComponentProps, FormValueProps, GroupCheckboxOptionType, ITDContextType, ITDImperativeFuncProps, ITDProviderProps, ITDSize, ITDSizeSlug, ImageCropperProps, ImageCropperRef, InputProps, InputVariant, ModalContentProps, ModalProps, ModalRefProps, NotificationContextType, NotificationsProps, ProgressProps, ProgressStatus, QueryValueProps, RadioButtonProps, RadioGroupProps, RadioType, ResultProps, SelectDirection, SelectOptionProps, SelectPosition, SelectProps, SelectToggleProps, SelectValue, SelectVariant, SingleQueryProps, StatusProps, StatusVariant, SwitchProps, TableColumnType, TableProps, TableRefProps, TableRow, TableTRProps, TabsItemProps, TabsProps, TextAreaEvent, TextAreaProps, TextAreaVariant, UploadProgressProps, UploadProps, UploadResultMessageProps };
650
+ export { trCalendar as trCalendarLocale, enCalendar as enCalendarLocale };
651
+ /**
652
+ * CONTEXT PROVIDER
653
+ */
654
+ export { ITDProvider, useITD } from './context/ITDContext';
655
+ /**
656
+ * CONTEXT
657
+ */
658
+ export { default as ITDContext } from './context/ITDContext';
659
+ export { default as ITDThemeProvider } from './context/ITDThemeProvider';
660
+ export type { ITDTheme } from './types/Theme';
661
+ export { default as lightTheme } from './helpers/theme/light';
662
+ export { default as darkTheme } from './helpers/theme/dark';
663
+ /**
664
+ * HELPERS
665
+ */
666
+ export * from './helpers';
667
+ /**
668
+ * HOOKS
669
+ */
670
+ export * from './hooks';
671
+ /**
672
+ * HTML
673
+ */
674
+ export * from './html/header';
675
+ /**
676
+ * ICONS
677
+ */
678
+ export * from './icons';
679
+ /**
680
+ * UTILS
681
+ */
682
+ export { default as InlineSVGCached } from './utils/InlineSVGCached';
683
+ /**
684
+ * FORWARDED REF COMPONENTS
685
+ */
686
+ export { default as Select } from './select';
687
+ export { default as Form } from './form';
688
+ export { default as Checkbox } from './checkbox';
689
+ export { default as Accordion } from './accordion/index';
690
+ export { default as Calendar } from './calendar';
691
+ export { default as DatePicker } from './datepicker';
692
+ export { default as Input } from './input';
693
+ export { default as TextArea } from './textarea';
694
+ export { default as Switch } from './switch';
695
+ export { default as Upload } from './upload';
696
+ /**
697
+ * COMPONENTS (HAS SUB COMPONENTS)
698
+ */
699
+ export { default as ModalManager } from './modal';
700
+ export { default as Notification } from './notification';
701
+ export { default as Radio } from './radio';
702
+ /**
703
+ * COMPONENTS
704
+ */
705
+ export { default as Image } from './image';
706
+ export { default as ConsoleLog } from './logger';
707
+ export { default as Button } from './button';
708
+ export { default as Alert, AlertTitle, AlertDescription } from './alert/index';
709
+ export { default as Result } from './result';
710
+ export { default as ALink } from './alink';
711
+ export { default as Spin } from './spin';
712
+ export { default as BackTop } from './back-top';
713
+ export { default as Status } from './status';
714
+ export { default as Progress } from './progress';
715
+ export { default as TinyScrollbar } from './tinyscrollbar';
716
+ export { default as Tabs } from './tabs';
717
+ export { default as Label } from './label';
718
+ export { Card, CardHeader, CardTitle, CardDescription, CardAction, CardTabs, CardContent, CardFooter } from './card';
719
+ export { Popover, PopoverTrigger, PopoverContent } from './popover';
720
+ export { Tooltip, TooltipTrigger, TooltipContent } from './tooltip';
721
+ export { HoverCard, HoverCardTrigger, HoverCardContent } from './hovercard';
722
+ export { default as Table } from './table';
723
+ export { default as Flex } from './flex';
724
+ export type { FormContextType } from './form/context/FormContext';
725
+ export type { NotificationContextType } from './notification/context/NotificationsContext';
726
+ export type { ITDContextType, ITDProviderProps } from './context/ITDContext';
727
+ export type { QueryValueProps } from './types/QueryValueProps';
728
+ export type { AccordionProps } from './types/AccordionProps';
729
+ export type { AccordionSubMenuProps } from './types/AccordionSubMenuProps';
730
+ export type { AccordionItemProps } from './types/AccordionItemProps';
731
+ export type { InputProps, InputVariant } from './types/InputProps';
732
+ export type { LabelProps } from './types/LabelProps';
733
+ export type { DatePickerProps } from './types/DatePickerProps';
734
+ export type { CalendarProps, CalendarValueProps, CalendarDayProps } from './types/CalendarProps';
735
+ export type { CalendarLocale } from './calendar';
736
+ export type { TextAreaProps, TextAreaVariant, TextAreaEvent } from './types/TextAreaProps';
737
+ export type { RadioGroupProps, RadioButtonProps, RadioType, Direction } from './types/RadioProps';
738
+ export type { SelectProps, SelectToggleProps, SelectOptionProps, SelectValue } from './types/SelectProps';
739
+ export type { CheckboxProps, CheckboxGroupProps, GroupCheckboxOptionType, CheckboxEvent } from './types/CheckboxProps';
740
+ export type { ITDImperativeFuncProps } from './types/ITDImperativeFuncProps';
741
+ export type { SingleQueryProps } from './types/SingleQueryProps';
742
+ export type { ButtonProps, ButtonVariants, ButtonStates, ButtonSize } from './types/ButtonProps';
743
+ export type { FormProps, FormRuleProps, FormValueProps, FormItemProps, FormSubComponentProps, FieldUpdateProps } from './types/FormProps';
744
+ export type { NotificationsProps } from './types/NotificationsProps';
745
+ export type { AlertProps, AlertType } from './types/AlertProps';
746
+ export type { SwitchProps } from './types/SwitchProps';
747
+ export type { ModalProps, ModalContentProps, ModalRefProps } from './types/ModalProps';
748
+ export type { UploadProps, UploadProgressProps, UploadResultMessageProps } from './types/UploadProps';
749
+ export type { ResultProps } from './types/ResultProps';
750
+ export type { TabsItemProps, TabsProps } from './types/TabsProps';
751
+ export type { TableColumnType, TableProps, TableTRProps, TableRow, TableRefProps } from './types/TableProps';
752
+ export type { CardProps } from './types/CardProps';
753
+ export type { ProgressProps, ProgressStatus } from './types/ProgressProps';
754
+ export type { StatusProps, StatusVariant } from './types/StatusProps';
755
+ export type { ITDSize, ITDSizeSlug, ITDVariant, ITDHorizontalPosition, ITDVerticalPosition } from './types/ITDProps';
756
+ export type { FlexProps, FlexAlignProps, FlexGapProps, FlexJustifyProps } from './types/FlexProps';
757
+ export type { PopoverProps } from './types/PopoverProps';
758
+ export { ModalState, FileExtensions, FileTypes, FormValidationTypes, ConnectionStatus, ComponentSizes, ComponentXPositions, ComponentYPositions, ComponentSizesSlug, ButtonTypes, ButtonSizes, ButtonSizesSlug, ComponentVariants, TriggerTypes, ThemeAppearances, TooltipPositions, FormValidations } from './enums/enum';