@inntechcorp/it-design 2.2.89 → 3.1.0

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 (597) hide show
  1. package/dist/alert/Description.d.ts +7 -0
  2. package/dist/alert/Title.d.ts +7 -0
  3. package/dist/alert/alert.style.neutral.d.ts +4 -0
  4. package/dist/alert/index.d.ts +3 -1
  5. package/dist/alert/styled.d.ts +3 -7
  6. package/dist/alink/styled.d.ts +1 -1
  7. package/dist/button/index.d.ts +1 -1
  8. package/dist/card/index.d.ts +1 -1
  9. package/dist/card/styles.d.ts +2 -1
  10. package/dist/checkbox/styled.d.ts +2 -2
  11. package/dist/cjs/_virtual/_commonjsHelpers.js +1 -0
  12. package/dist/cjs/_virtual/customParseFormat.js +1 -0
  13. package/dist/cjs/_virtual/customParseFormat2.js +1 -0
  14. package/dist/cjs/_virtual/dayjs.min.js +1 -0
  15. package/dist/cjs/_virtual/dayjs.min2.js +1 -0
  16. package/dist/cjs/_virtual/localizedFormat.js +1 -0
  17. package/dist/cjs/_virtual/localizedFormat2.js +1 -0
  18. package/dist/cjs/_virtual/react.js +1 -0
  19. package/dist/cjs/accordion/index.js +1 -0
  20. package/dist/cjs/accordion/item/Item.js +1 -0
  21. package/dist/cjs/accordion/item/styled.js +20 -0
  22. package/dist/cjs/accordion/styled.js +15 -0
  23. package/dist/cjs/accordion/submenu/SubMenu.js +1 -0
  24. package/dist/cjs/accordion/submenu/styled.js +214 -0
  25. package/dist/cjs/alert/Description.js +1 -0
  26. package/dist/cjs/alert/Title.js +1 -0
  27. package/dist/cjs/alert/alert.style.error.js +32 -0
  28. package/dist/cjs/alert/alert.style.info.js +32 -0
  29. package/dist/cjs/alert/alert.style.neutral.js +32 -0
  30. package/dist/cjs/alert/alert.style.success.js +32 -0
  31. package/dist/cjs/alert/alert.style.warning.js +32 -0
  32. package/dist/cjs/alert/index.js +1 -0
  33. package/dist/cjs/alert/styled.js +68 -0
  34. package/dist/cjs/alink/index.js +1 -0
  35. package/dist/cjs/alink/styled.js +5 -0
  36. package/dist/cjs/back-top/index.js +1 -0
  37. package/dist/cjs/back-top/styled.js +25 -0
  38. package/dist/cjs/button/button.style.circle.js +38 -0
  39. package/dist/cjs/button/button.style.default.js +44 -0
  40. package/dist/cjs/button/button.style.filled.js +49 -0
  41. package/dist/cjs/button/button.style.ghost.js +47 -0
  42. package/dist/cjs/button/button.style.icon.js +33 -0
  43. package/dist/cjs/button/button.style.link.js +45 -0
  44. package/dist/cjs/button/button.style.outline.js +49 -0
  45. package/dist/cjs/button/button.style.size.js +187 -0
  46. package/dist/cjs/button/button.style.solid.js +50 -0
  47. package/dist/cjs/button/button.style.strecth.js +8 -0
  48. package/dist/cjs/button/index.js +1 -0
  49. package/dist/cjs/button/styled.js +415 -0
  50. package/dist/cjs/calendar/dates.js +1 -0
  51. package/dist/cjs/calendar/day/Day.js +1 -0
  52. package/dist/cjs/calendar/day/styled.js +91 -0
  53. package/dist/cjs/calendar/header/Header.js +1 -0
  54. package/dist/cjs/calendar/header/styled.js +196 -0
  55. package/dist/cjs/calendar/index.js +1 -0
  56. package/dist/cjs/calendar/styled.js +82 -0
  57. package/dist/cjs/card/index.js +1 -0
  58. package/dist/cjs/card/styles.js +66 -0
  59. package/dist/cjs/checkbox/group/index.js +1 -0
  60. package/dist/cjs/checkbox/group/styled.js +9 -0
  61. package/dist/cjs/checkbox/index.js +1 -0
  62. package/dist/cjs/checkbox/styled.js +340 -0
  63. package/dist/cjs/context/ITDContext.js +1 -0
  64. package/dist/cjs/context/ITDThemeProvider.js +1 -0
  65. package/dist/cjs/context/styled.js +15 -0
  66. package/dist/cjs/datepicker/index.js +1 -0
  67. package/dist/cjs/datepicker/styled.js +60 -0
  68. package/dist/cjs/enums/enum.js +1 -0
  69. package/dist/cjs/flex/index.js +1 -0
  70. package/dist/cjs/flex/styled.js +35 -0
  71. package/dist/cjs/form/context/FormContext.js +1 -0
  72. package/dist/cjs/form/context/FormStore.js +1 -0
  73. package/dist/cjs/form/control/Control.js +1 -0
  74. package/dist/cjs/form/control/styled.js +8 -0
  75. package/dist/cjs/form/group/Group.js +1 -0
  76. package/dist/cjs/form/group/styled.js +7 -0
  77. package/dist/cjs/form/index.js +1 -0
  78. package/dist/cjs/form/item/Item.js +1 -0
  79. package/dist/cjs/form/validation/TCIdentity.js +1 -0
  80. package/dist/cjs/form/validation/Validator.js +1 -0
  81. package/dist/cjs/form/wrapper/FormWrapper.js +1 -0
  82. package/dist/cjs/helpers/array/ChunkArray.js +1 -0
  83. package/dist/cjs/helpers/aspectratio/DetermineNewHeight.js +1 -0
  84. package/dist/cjs/helpers/aspectratio/DetermineNewWidth.js +1 -0
  85. package/dist/cjs/helpers/base64/Base64Decode.js +1 -0
  86. package/dist/cjs/helpers/base64/Base64Encode.js +1 -0
  87. package/dist/cjs/helpers/binary/FormatBytes.js +1 -0
  88. package/dist/cjs/helpers/binary/GetTypeByFileType.js +1 -0
  89. package/dist/cjs/helpers/checker/CheckFileURL.js +1 -0
  90. package/dist/cjs/helpers/checker/FileChecker.js +1 -0
  91. package/dist/cjs/helpers/country/GetCountryCodeByCurrencyCode.js +1 -0
  92. package/dist/cjs/helpers/country/GetCountryCodeByLanguage.js +1 -0
  93. package/dist/cjs/helpers/css/FindSelector.js +1 -0
  94. package/dist/cjs/helpers/currency/ConvertCurrency.js +1 -0
  95. package/dist/cjs/helpers/currency/GetByCurrency.js +1 -0
  96. package/dist/cjs/helpers/currency/GetCurrencyFormat.js +1 -0
  97. package/dist/cjs/helpers/currency/GetCurrencySymbol.js +1 -0
  98. package/dist/cjs/helpers/currency/GetDecimalByCurrency.js +1 -0
  99. package/dist/cjs/helpers/datetime/FormatDate.js +1 -0
  100. package/dist/cjs/helpers/datetime/FormatDateTime.js +1 -0
  101. package/dist/cjs/helpers/datetime/FormatSimpleDate.js +1 -0
  102. package/dist/cjs/helpers/datetime/FormatSimpleDateTime.js +1 -0
  103. package/dist/cjs/helpers/datetime/FormatTime.js +1 -0
  104. package/dist/cjs/helpers/datetime/dayjsSetup.js +1 -0
  105. package/dist/cjs/helpers/format/ToKebabCase.js +1 -0
  106. package/dist/cjs/helpers/json/IsValidJSON.js +1 -0
  107. package/dist/cjs/helpers/math/AddZero.js +1 -0
  108. package/dist/cjs/helpers/promise/Wait.js +1 -0
  109. package/dist/cjs/helpers/remover/RemoveUnits.js +1 -0
  110. package/dist/cjs/helpers/string/UniUpperCase.js +1 -0
  111. package/dist/cjs/helpers/svg/SVGLoader.js +1 -0
  112. package/dist/cjs/helpers/svg/styles.js +22 -0
  113. package/dist/cjs/helpers/theme/AddDefaultThemeStyle.js +1 -0
  114. package/dist/cjs/helpers/theme/Color.js +1 -0
  115. package/dist/cjs/helpers/theme/GenerateColorScale.js +1 -0
  116. package/dist/cjs/helpers/theme/UpdateThemeStyle.js +1 -0
  117. package/dist/cjs/helpers/theme/cssVariables.js +1 -0
  118. package/dist/cjs/helpers/theme/dark.js +1 -0
  119. package/dist/cjs/helpers/theme/light.js +1 -0
  120. package/dist/cjs/helpers/theme/tokens.js +1 -0
  121. package/dist/cjs/helpers/unit/AddDefaultUnit.js +1 -0
  122. package/dist/cjs/helpers/url/ValidURL.js +1 -0
  123. package/dist/cjs/hooks/useAddExternalCSS.js +1 -0
  124. package/dist/cjs/hooks/useAvoidCollision.js +1 -0
  125. package/dist/cjs/hooks/useComponentSize.js +1 -0
  126. package/dist/cjs/hooks/useConnectionStatus.js +1 -0
  127. package/dist/cjs/hooks/useConstructor.js +1 -0
  128. package/dist/cjs/hooks/useContextBridge.js +1 -0
  129. package/dist/cjs/hooks/useCoreFetch.js +1 -0
  130. package/dist/cjs/hooks/useKeyboardShortcut.js +1 -0
  131. package/dist/cjs/hooks/useMultiQuery.js +1 -0
  132. package/dist/cjs/hooks/useOnClickOutside.js +1 -0
  133. package/dist/cjs/hooks/useOnESCKeyDown.js +1 -0
  134. package/dist/cjs/hooks/useOnResize.js +1 -0
  135. package/dist/cjs/hooks/useOrientation.js +1 -0
  136. package/dist/cjs/hooks/useReCaptcha.js +1 -0
  137. package/dist/cjs/hooks/useSingleQuery.js +1 -0
  138. package/dist/cjs/html/header/H1.js +1 -0
  139. package/dist/cjs/html/header/H2.js +1 -0
  140. package/dist/cjs/html/header/H3.js +1 -0
  141. package/dist/cjs/html/header/H4.js +1 -0
  142. package/dist/cjs/html/header/styled.js +33 -0
  143. package/dist/cjs/icons/Arrow.js +1 -0
  144. package/dist/cjs/icons/BackToTop.js +1 -0
  145. package/dist/cjs/icons/Checkmark.js +1 -0
  146. package/dist/cjs/icons/InlineSelectArrow.js +1 -0
  147. package/dist/cjs/icons/Lock.js +1 -0
  148. package/dist/cjs/icons/NoData.js +1 -0
  149. package/dist/cjs/icons/Picture.js +1 -0
  150. package/dist/cjs/icons/Trash.js +1 -0
  151. package/dist/cjs/icons/Upload.js +1 -0
  152. package/dist/cjs/icons/ZoomIn.js +1 -0
  153. package/dist/cjs/icons/ZoomOut.js +1 -0
  154. package/dist/cjs/image/index.js +1 -0
  155. package/dist/cjs/image/styled.js +4 -0
  156. package/dist/cjs/index.js +1 -0
  157. package/dist/cjs/input/index.js +1 -0
  158. package/dist/cjs/input/style.settings.js +1 -0
  159. package/dist/cjs/input/styled.js +430 -0
  160. package/dist/cjs/locales/en/calendar.json.js +1 -0
  161. package/dist/cjs/locales/en/itd.json.js +1 -0
  162. package/dist/cjs/locales/tr/calendar.json.js +1 -0
  163. package/dist/cjs/locales/tr/itd.json.js +1 -0
  164. package/dist/cjs/logger/index.js +1 -0
  165. package/dist/cjs/modal/container/ModalContainer.js +1 -0
  166. package/dist/cjs/modal/container/styled.js +27 -0
  167. package/dist/cjs/modal/context/ModalContext.js +1 -0
  168. package/dist/cjs/modal/index.js +1 -0
  169. package/dist/cjs/modal/modal/Modal.js +1 -0
  170. package/dist/cjs/modal/modal/closeicon.svg.js +1 -0
  171. package/dist/cjs/modal/modal/styled.js +128 -0
  172. package/dist/cjs/node_modules/@react-spring/animated/dist/react-spring_animated.modern.js +1 -0
  173. package/dist/cjs/node_modules/@react-spring/core/dist/react-spring_core.modern.js +1 -0
  174. package/dist/cjs/node_modules/@react-spring/rafz/dist/react-spring_rafz.modern.js +1 -0
  175. package/dist/cjs/node_modules/@react-spring/shared/dist/react-spring_shared.modern.js +1 -0
  176. package/dist/cjs/node_modules/@react-spring/web/dist/react-spring_web.modern.js +1 -0
  177. package/dist/cjs/node_modules/dayjs/dayjs.min.js +1 -0
  178. package/dist/cjs/node_modules/dayjs/plugin/customParseFormat.js +1 -0
  179. package/dist/cjs/node_modules/dayjs/plugin/localizedFormat.js +1 -0
  180. package/dist/cjs/node_modules/fast-deep-equal/react.js +1 -0
  181. package/dist/cjs/node_modules/lodash-es/_Symbol.js +1 -0
  182. package/dist/cjs/node_modules/lodash-es/_arrayMap.js +1 -0
  183. package/dist/cjs/node_modules/lodash-es/_baseGetTag.js +1 -0
  184. package/dist/cjs/node_modules/lodash-es/_baseToString.js +1 -0
  185. package/dist/cjs/node_modules/lodash-es/_freeGlobal.js +1 -0
  186. package/dist/cjs/node_modules/lodash-es/_getRawTag.js +1 -0
  187. package/dist/cjs/node_modules/lodash-es/_objectToString.js +1 -0
  188. package/dist/cjs/node_modules/lodash-es/_root.js +1 -0
  189. package/dist/cjs/node_modules/lodash-es/isArray.js +1 -0
  190. package/dist/cjs/node_modules/lodash-es/isObject.js +1 -0
  191. package/dist/cjs/node_modules/lodash-es/isObjectLike.js +1 -0
  192. package/dist/cjs/node_modules/lodash-es/isSymbol.js +1 -0
  193. package/dist/cjs/node_modules/lodash-es/toString.js +1 -0
  194. package/dist/cjs/node_modules/lodash-es/uniqueId.js +1 -0
  195. package/dist/cjs/node_modules/lucide-react/dist/esm/Icon.js +8 -0
  196. package/dist/cjs/node_modules/lucide-react/dist/esm/createLucideIcon.js +1 -0
  197. package/dist/cjs/node_modules/lucide-react/dist/esm/defaultAttributes.js +1 -0
  198. package/dist/cjs/node_modules/lucide-react/dist/esm/icons/calendar-1.js +8 -0
  199. package/dist/cjs/node_modules/lucide-react/dist/esm/icons/chevron-down.js +8 -0
  200. package/dist/cjs/node_modules/lucide-react/dist/esm/icons/circle-x.js +8 -0
  201. package/dist/cjs/node_modules/lucide-react/dist/esm/icons/eye.js +8 -0
  202. package/dist/cjs/node_modules/lucide-react/dist/esm/icons/info.js +8 -0
  203. package/dist/cjs/node_modules/lucide-react/dist/esm/icons/trash.js +8 -0
  204. package/dist/cjs/node_modules/lucide-react/dist/esm/shared/src/utils.js +7 -0
  205. package/dist/cjs/node_modules/overlayscrollbars/overlayscrollbars.js +10 -0
  206. package/dist/cjs/node_modules/overlayscrollbars/styles/overlayscrollbars.css.js +1 -0
  207. package/dist/cjs/node_modules/react-number-format/dist/react-number-format.es.js +1 -0
  208. package/dist/cjs/node_modules/rollup-plugin-node-globals/src/global.js +1 -0
  209. package/dist/cjs/node_modules/rollup-plugin-styles/dist/runtime/inject-css.js +1 -0
  210. package/dist/cjs/node_modules/uuid/dist/esm-browser/native.js +1 -0
  211. package/dist/cjs/node_modules/uuid/dist/esm-browser/rng.js +1 -0
  212. package/dist/cjs/node_modules/uuid/dist/esm-browser/stringify.js +1 -0
  213. package/dist/cjs/node_modules/uuid/dist/esm-browser/v4.js +1 -0
  214. package/dist/cjs/notification/container/Container.js +1 -0
  215. package/dist/cjs/notification/container/styled.js +26 -0
  216. package/dist/cjs/notification/context/NotificationsContext.js +1 -0
  217. package/dist/cjs/notification/index.js +1 -0
  218. package/dist/cjs/notification/item/Item.js +1 -0
  219. package/dist/cjs/notification/item/styled.js +42 -0
  220. package/dist/cjs/progress/index.js +1 -0
  221. package/dist/cjs/progress/styled.js +59 -0
  222. package/dist/cjs/radio/button/RadioButton.js +1 -0
  223. package/dist/cjs/radio/button/styled.js +133 -0
  224. package/dist/cjs/radio/group/Group.js +1 -0
  225. package/dist/cjs/radio/group/styled.js +7 -0
  226. package/dist/cjs/radio/index.js +1 -0
  227. package/dist/cjs/result/index.js +1 -0
  228. package/dist/cjs/result/styled.js +109 -0
  229. package/dist/cjs/select/dropdown/Dropdown.js +1 -0
  230. package/dist/cjs/select/dropdown/styled.js +239 -0
  231. package/dist/cjs/select/index.js +1 -0
  232. package/dist/cjs/select/option/Option.js +1 -0
  233. package/dist/cjs/select/option/styled.js +36 -0
  234. package/dist/cjs/select/style.settings.js +1 -0
  235. package/dist/cjs/select/styled.js +331 -0
  236. package/dist/cjs/select/toggle/Toggle.js +1 -0
  237. package/dist/cjs/select/toggle/label/Label.js +1 -0
  238. package/dist/cjs/select/toggle/label/styled.js +5 -0
  239. package/dist/cjs/select/toggle/styled.js +88 -0
  240. package/dist/cjs/spin/index.js +1 -0
  241. package/dist/cjs/spin/styled.js +74 -0
  242. package/dist/cjs/status/index.js +1 -0
  243. package/dist/cjs/status/styled.js +75 -0
  244. package/dist/cjs/switch/index.js +1 -0
  245. package/dist/cjs/switch/styled.js +209 -0
  246. package/dist/cjs/table/index.js +1 -0
  247. package/dist/cjs/table/styled.js +458 -0
  248. package/dist/cjs/tabs/index.js +1 -0
  249. package/dist/cjs/tabs/styles.js +96 -0
  250. package/dist/cjs/textarea/index.js +1 -0
  251. package/dist/cjs/textarea/styled.js +220 -0
  252. package/dist/cjs/tinyscrollbar/index.js +1 -0
  253. package/dist/cjs/tinyscrollbar/scroll.styled.js +21 -0
  254. package/dist/cjs/types/InputProps.js +1 -0
  255. package/dist/cjs/upload/index.js +1 -0
  256. package/dist/cjs/upload/styled.js +228 -0
  257. package/dist/cjs/utils/CommonStyledComponents.js +61 -0
  258. package/dist/cjs/utils/GetIconSizeBySize.js +1 -0
  259. package/dist/cjs/utils/GetSizeSlugBySize.js +1 -0
  260. package/dist/cjs/utils/InlineSVGCached.js +1 -0
  261. package/dist/datepicker/styled.d.ts +2 -2
  262. package/dist/enums/enum.d.ts +14 -1
  263. package/dist/es/_virtual/_commonjsHelpers.js +1 -0
  264. package/dist/es/_virtual/customParseFormat.js +1 -0
  265. package/dist/es/_virtual/customParseFormat2.js +1 -0
  266. package/dist/es/_virtual/dayjs.min.js +1 -0
  267. package/dist/es/_virtual/dayjs.min2.js +1 -0
  268. package/dist/es/_virtual/localizedFormat.js +1 -0
  269. package/dist/es/_virtual/localizedFormat2.js +1 -0
  270. package/dist/es/_virtual/react.js +1 -0
  271. package/dist/es/accordion/index.js +1 -0
  272. package/dist/es/accordion/item/Item.js +1 -0
  273. package/dist/es/accordion/item/styled.js +20 -0
  274. package/dist/es/accordion/styled.js +15 -0
  275. package/dist/es/accordion/submenu/SubMenu.js +1 -0
  276. package/dist/es/accordion/submenu/styled.js +214 -0
  277. package/dist/es/alert/Description.js +1 -0
  278. package/dist/es/alert/Title.js +1 -0
  279. package/dist/es/alert/alert.style.error.js +32 -0
  280. package/dist/es/alert/alert.style.info.js +32 -0
  281. package/dist/es/alert/alert.style.neutral.js +32 -0
  282. package/dist/es/alert/alert.style.success.js +32 -0
  283. package/dist/es/alert/alert.style.warning.js +32 -0
  284. package/dist/es/alert/index.js +1 -0
  285. package/dist/es/alert/styled.js +68 -0
  286. package/dist/es/alink/index.js +1 -0
  287. package/dist/es/alink/styled.js +5 -0
  288. package/dist/es/back-top/index.js +1 -0
  289. package/dist/es/back-top/styled.js +25 -0
  290. package/dist/es/button/button.style.circle.js +38 -0
  291. package/dist/es/button/button.style.default.js +44 -0
  292. package/dist/es/button/button.style.filled.js +49 -0
  293. package/dist/es/button/button.style.ghost.js +47 -0
  294. package/dist/es/button/button.style.icon.js +33 -0
  295. package/dist/es/button/button.style.link.js +45 -0
  296. package/dist/es/button/button.style.outline.js +49 -0
  297. package/dist/es/button/button.style.size.js +187 -0
  298. package/dist/es/button/button.style.solid.js +50 -0
  299. package/dist/es/button/button.style.strecth.js +8 -0
  300. package/dist/es/button/index.js +1 -0
  301. package/dist/es/button/styled.js +415 -0
  302. package/dist/es/calendar/dates.js +1 -0
  303. package/dist/es/calendar/day/Day.js +1 -0
  304. package/dist/es/calendar/day/styled.js +91 -0
  305. package/dist/es/calendar/header/Header.js +1 -0
  306. package/dist/es/calendar/header/styled.js +196 -0
  307. package/dist/es/calendar/index.js +1 -0
  308. package/dist/es/calendar/styled.js +82 -0
  309. package/dist/es/card/index.js +1 -0
  310. package/dist/es/card/styles.js +66 -0
  311. package/dist/es/checkbox/group/index.js +1 -0
  312. package/dist/es/checkbox/group/styled.js +9 -0
  313. package/dist/es/checkbox/index.js +1 -0
  314. package/dist/es/checkbox/styled.js +340 -0
  315. package/dist/es/context/ITDContext.js +1 -0
  316. package/dist/es/context/ITDThemeProvider.js +1 -0
  317. package/dist/es/context/styled.js +15 -0
  318. package/dist/es/datepicker/index.js +1 -0
  319. package/dist/es/datepicker/styled.js +60 -0
  320. package/dist/es/enums/enum.js +1 -0
  321. package/dist/es/flex/index.js +1 -0
  322. package/dist/es/flex/styled.js +35 -0
  323. package/dist/es/form/context/FormContext.js +1 -0
  324. package/dist/es/form/context/FormStore.js +1 -0
  325. package/dist/es/form/control/Control.js +1 -0
  326. package/dist/es/form/control/styled.js +8 -0
  327. package/dist/es/form/group/Group.js +1 -0
  328. package/dist/es/form/group/styled.js +7 -0
  329. package/dist/es/form/index.js +1 -0
  330. package/dist/es/form/item/Item.js +1 -0
  331. package/dist/es/form/validation/TCIdentity.js +1 -0
  332. package/dist/es/form/validation/Validator.js +1 -0
  333. package/dist/es/form/wrapper/FormWrapper.js +1 -0
  334. package/dist/es/helpers/array/ChunkArray.js +1 -0
  335. package/dist/es/helpers/aspectratio/DetermineNewHeight.js +1 -0
  336. package/dist/es/helpers/aspectratio/DetermineNewWidth.js +1 -0
  337. package/dist/es/helpers/base64/Base64Decode.js +1 -0
  338. package/dist/es/helpers/base64/Base64Encode.js +1 -0
  339. package/dist/es/helpers/binary/FormatBytes.js +1 -0
  340. package/dist/es/helpers/binary/GetTypeByFileType.js +1 -0
  341. package/dist/es/helpers/checker/CheckFileURL.js +1 -0
  342. package/dist/es/helpers/checker/FileChecker.js +1 -0
  343. package/dist/es/helpers/country/GetCountryCodeByCurrencyCode.js +1 -0
  344. package/dist/es/helpers/country/GetCountryCodeByLanguage.js +1 -0
  345. package/dist/es/helpers/css/FindSelector.js +1 -0
  346. package/dist/es/helpers/currency/ConvertCurrency.js +1 -0
  347. package/dist/es/helpers/currency/GetByCurrency.js +1 -0
  348. package/dist/es/helpers/currency/GetCurrencyFormat.js +1 -0
  349. package/dist/es/helpers/currency/GetCurrencySymbol.js +1 -0
  350. package/dist/es/helpers/currency/GetDecimalByCurrency.js +1 -0
  351. package/dist/es/helpers/datetime/FormatDate.js +1 -0
  352. package/dist/es/helpers/datetime/FormatDateTime.js +1 -0
  353. package/dist/es/helpers/datetime/FormatSimpleDate.js +1 -0
  354. package/dist/es/helpers/datetime/FormatSimpleDateTime.js +1 -0
  355. package/dist/es/helpers/datetime/FormatTime.js +1 -0
  356. package/dist/es/helpers/datetime/dayjsSetup.js +1 -0
  357. package/dist/es/helpers/format/ToKebabCase.js +1 -0
  358. package/dist/es/helpers/json/IsValidJSON.js +1 -0
  359. package/dist/es/helpers/math/AddZero.js +1 -0
  360. package/dist/es/helpers/promise/Wait.js +1 -0
  361. package/dist/es/helpers/remover/RemoveUnits.js +1 -0
  362. package/dist/es/helpers/string/UniUpperCase.js +1 -0
  363. package/dist/es/helpers/svg/SVGLoader.js +1 -0
  364. package/dist/es/helpers/svg/styles.js +22 -0
  365. package/dist/es/helpers/theme/AddDefaultThemeStyle.js +1 -0
  366. package/dist/es/helpers/theme/Color.js +1 -0
  367. package/dist/es/helpers/theme/GenerateColorScale.js +1 -0
  368. package/dist/es/helpers/theme/UpdateThemeStyle.js +1 -0
  369. package/dist/es/helpers/theme/cssVariables.js +1 -0
  370. package/dist/es/helpers/theme/dark.js +1 -0
  371. package/dist/es/helpers/theme/light.js +1 -0
  372. package/dist/es/helpers/theme/tokens.js +1 -0
  373. package/dist/es/helpers/unit/AddDefaultUnit.js +1 -0
  374. package/dist/es/helpers/url/ValidURL.js +1 -0
  375. package/dist/es/hooks/useAddExternalCSS.js +1 -0
  376. package/dist/es/hooks/useAvoidCollision.js +1 -0
  377. package/dist/es/hooks/useComponentSize.js +1 -0
  378. package/dist/es/hooks/useConnectionStatus.js +1 -0
  379. package/dist/es/hooks/useConstructor.js +1 -0
  380. package/dist/es/hooks/useContextBridge.js +1 -0
  381. package/dist/es/hooks/useCoreFetch.js +1 -0
  382. package/dist/es/hooks/useKeyboardShortcut.js +1 -0
  383. package/dist/es/hooks/useMultiQuery.js +1 -0
  384. package/dist/es/hooks/useOnClickOutside.js +1 -0
  385. package/dist/es/hooks/useOnESCKeyDown.js +1 -0
  386. package/dist/es/hooks/useOnResize.js +1 -0
  387. package/dist/es/hooks/useOrientation.js +1 -0
  388. package/dist/es/hooks/useReCaptcha.js +1 -0
  389. package/dist/es/hooks/useSingleQuery.js +1 -0
  390. package/dist/es/html/header/H1.js +1 -0
  391. package/dist/es/html/header/H2.js +1 -0
  392. package/dist/es/html/header/H3.js +1 -0
  393. package/dist/es/html/header/H4.js +1 -0
  394. package/dist/es/html/header/styled.js +33 -0
  395. package/dist/es/icons/Arrow.js +1 -0
  396. package/dist/es/icons/BackToTop.js +1 -0
  397. package/dist/es/icons/Checkmark.js +1 -0
  398. package/dist/es/icons/InlineSelectArrow.js +1 -0
  399. package/dist/es/icons/Lock.js +1 -0
  400. package/dist/es/icons/NoData.js +1 -0
  401. package/dist/es/icons/Picture.js +1 -0
  402. package/dist/es/icons/Trash.js +1 -0
  403. package/dist/es/icons/Upload.js +1 -0
  404. package/dist/es/icons/ZoomIn.js +1 -0
  405. package/dist/es/icons/ZoomOut.js +1 -0
  406. package/dist/es/image/index.js +1 -0
  407. package/dist/es/image/styled.js +4 -0
  408. package/dist/es/index.js +1 -0
  409. package/dist/es/input/index.js +1 -0
  410. package/dist/es/input/style.settings.js +1 -0
  411. package/dist/es/input/styled.js +430 -0
  412. package/dist/es/locales/en/calendar.json.js +1 -0
  413. package/dist/es/locales/en/itd.json.js +1 -0
  414. package/dist/es/locales/tr/calendar.json.js +1 -0
  415. package/dist/es/locales/tr/itd.json.js +1 -0
  416. package/dist/es/logger/index.js +1 -0
  417. package/dist/es/modal/container/ModalContainer.js +1 -0
  418. package/dist/es/modal/container/styled.js +27 -0
  419. package/dist/es/modal/context/ModalContext.js +1 -0
  420. package/dist/es/modal/index.js +1 -0
  421. package/dist/es/modal/modal/Modal.js +1 -0
  422. package/dist/es/modal/modal/closeicon.svg.js +1 -0
  423. package/dist/es/modal/modal/styled.js +128 -0
  424. package/dist/es/node_modules/@react-spring/animated/dist/react-spring_animated.modern.js +1 -0
  425. package/dist/es/node_modules/@react-spring/core/dist/react-spring_core.modern.js +1 -0
  426. package/dist/es/node_modules/@react-spring/rafz/dist/react-spring_rafz.modern.js +1 -0
  427. package/dist/es/node_modules/@react-spring/shared/dist/react-spring_shared.modern.js +1 -0
  428. package/dist/es/node_modules/@react-spring/web/dist/react-spring_web.modern.js +1 -0
  429. package/dist/es/node_modules/dayjs/dayjs.min.js +1 -0
  430. package/dist/es/node_modules/dayjs/plugin/customParseFormat.js +1 -0
  431. package/dist/es/node_modules/dayjs/plugin/localizedFormat.js +1 -0
  432. package/dist/es/node_modules/fast-deep-equal/react.js +1 -0
  433. package/dist/es/node_modules/lodash-es/_Symbol.js +1 -0
  434. package/dist/es/node_modules/lodash-es/_arrayMap.js +1 -0
  435. package/dist/es/node_modules/lodash-es/_baseGetTag.js +1 -0
  436. package/dist/es/node_modules/lodash-es/_baseToString.js +1 -0
  437. package/dist/es/node_modules/lodash-es/_freeGlobal.js +1 -0
  438. package/dist/es/node_modules/lodash-es/_getRawTag.js +1 -0
  439. package/dist/es/node_modules/lodash-es/_objectToString.js +1 -0
  440. package/dist/es/node_modules/lodash-es/_root.js +1 -0
  441. package/dist/es/node_modules/lodash-es/isArray.js +1 -0
  442. package/dist/es/node_modules/lodash-es/isObject.js +1 -0
  443. package/dist/es/node_modules/lodash-es/isObjectLike.js +1 -0
  444. package/dist/es/node_modules/lodash-es/isSymbol.js +1 -0
  445. package/dist/es/node_modules/lodash-es/toString.js +1 -0
  446. package/dist/es/node_modules/lodash-es/uniqueId.js +1 -0
  447. package/dist/es/node_modules/lucide-react/dist/esm/Icon.js +7 -0
  448. package/dist/es/node_modules/lucide-react/dist/esm/createLucideIcon.js +7 -0
  449. package/dist/es/node_modules/lucide-react/dist/esm/defaultAttributes.js +7 -0
  450. package/dist/es/node_modules/lucide-react/dist/esm/icons/calendar-1.js +7 -0
  451. package/dist/es/node_modules/lucide-react/dist/esm/icons/chevron-down.js +7 -0
  452. package/dist/es/node_modules/lucide-react/dist/esm/icons/circle-x.js +7 -0
  453. package/dist/es/node_modules/lucide-react/dist/esm/icons/eye.js +7 -0
  454. package/dist/es/node_modules/lucide-react/dist/esm/icons/info.js +7 -0
  455. package/dist/es/node_modules/lucide-react/dist/esm/icons/trash.js +7 -0
  456. package/dist/es/node_modules/lucide-react/dist/esm/shared/src/utils.js +7 -0
  457. package/dist/es/node_modules/overlayscrollbars/overlayscrollbars.js +10 -0
  458. package/dist/es/node_modules/overlayscrollbars/styles/overlayscrollbars.css.js +1 -0
  459. package/dist/es/node_modules/react-number-format/dist/react-number-format.es.js +1 -0
  460. package/dist/es/node_modules/rollup-plugin-node-globals/src/global.js +1 -0
  461. package/dist/es/node_modules/rollup-plugin-styles/dist/runtime/inject-css.js +1 -0
  462. package/dist/es/node_modules/uuid/dist/esm-browser/native.js +1 -0
  463. package/dist/es/node_modules/uuid/dist/esm-browser/rng.js +1 -0
  464. package/dist/es/node_modules/uuid/dist/esm-browser/stringify.js +1 -0
  465. package/dist/es/node_modules/uuid/dist/esm-browser/v4.js +1 -0
  466. package/dist/es/notification/container/Container.js +1 -0
  467. package/dist/es/notification/container/styled.js +26 -0
  468. package/dist/es/notification/context/NotificationsContext.js +1 -0
  469. package/dist/es/notification/index.js +1 -0
  470. package/dist/es/notification/item/Item.js +1 -0
  471. package/dist/es/notification/item/styled.js +42 -0
  472. package/dist/es/progress/index.js +1 -0
  473. package/dist/es/progress/styled.js +59 -0
  474. package/dist/es/radio/button/RadioButton.js +1 -0
  475. package/dist/es/radio/button/styled.js +133 -0
  476. package/dist/es/radio/group/Group.js +1 -0
  477. package/dist/es/radio/group/styled.js +7 -0
  478. package/dist/es/radio/index.js +1 -0
  479. package/dist/es/result/index.js +1 -0
  480. package/dist/es/result/styled.js +109 -0
  481. package/dist/es/select/dropdown/Dropdown.js +1 -0
  482. package/dist/es/select/dropdown/styled.js +239 -0
  483. package/dist/es/select/index.js +1 -0
  484. package/dist/es/select/option/Option.js +1 -0
  485. package/dist/es/select/option/styled.js +36 -0
  486. package/dist/es/select/style.settings.js +1 -0
  487. package/dist/es/select/styled.js +331 -0
  488. package/dist/es/select/toggle/Toggle.js +1 -0
  489. package/dist/es/select/toggle/label/Label.js +1 -0
  490. package/dist/es/select/toggle/label/styled.js +5 -0
  491. package/dist/es/select/toggle/styled.js +88 -0
  492. package/dist/es/spin/index.js +1 -0
  493. package/dist/es/spin/styled.js +74 -0
  494. package/dist/es/status/index.js +1 -0
  495. package/dist/es/status/styled.js +75 -0
  496. package/dist/es/switch/index.js +1 -0
  497. package/dist/es/switch/styled.js +209 -0
  498. package/dist/es/table/index.js +1 -0
  499. package/dist/es/table/styled.js +458 -0
  500. package/dist/es/tabs/index.js +1 -0
  501. package/dist/es/tabs/styles.js +96 -0
  502. package/dist/es/textarea/index.js +1 -0
  503. package/dist/es/textarea/styled.js +220 -0
  504. package/dist/es/tinyscrollbar/index.js +1 -0
  505. package/dist/es/tinyscrollbar/scroll.styled.js +21 -0
  506. package/dist/es/types/InputProps.js +1 -0
  507. package/dist/es/upload/index.js +1 -0
  508. package/dist/es/upload/styled.js +228 -0
  509. package/dist/es/utils/CommonStyledComponents.js +61 -0
  510. package/dist/es/utils/GetIconSizeBySize.js +1 -0
  511. package/dist/es/utils/GetSizeSlugBySize.js +1 -0
  512. package/dist/es/utils/InlineSVGCached.js +1 -0
  513. package/dist/form/context/FormContext.d.ts +3 -0
  514. package/dist/form/context/FormStore.d.ts +4 -1
  515. package/dist/form/item/Item.d.ts +0 -1
  516. package/dist/global.css +333 -113
  517. package/dist/helpers/index.d.ts +4 -0
  518. package/dist/helpers/theme/Color.d.ts +19 -0
  519. package/dist/helpers/theme/GenerateColorScale.d.ts +16 -0
  520. package/dist/helpers/theme/cssVariables.d.ts +30 -0
  521. package/dist/helpers/theme/dark.d.ts +1 -1
  522. package/dist/helpers/theme/index.d.ts +4 -0
  523. package/dist/helpers/theme/light.d.ts +1 -1
  524. package/dist/helpers/theme/tokens.d.ts +392 -0
  525. package/dist/index.d.mts +31 -7
  526. package/dist/index.d.ts +660 -128
  527. package/dist/input/style.settings.d.ts +9 -0
  528. package/dist/input/styled.d.ts +15 -17
  529. package/dist/locales/en/itd.json +13 -0
  530. package/dist/locales/itd.json +13 -0
  531. package/dist/locales/tr/itd.json +13 -0
  532. package/dist/radio/button/RadioButton.d.ts +1 -1
  533. package/dist/result/index.d.ts +1 -1
  534. package/dist/select/dropdown/Dropdown.d.ts +19 -0
  535. package/dist/select/dropdown/styled.d.ts +14 -0
  536. package/dist/select/option/Option.d.ts +10 -3
  537. package/dist/select/style.settings.d.ts +83 -26
  538. package/dist/select/styled.d.ts +4 -2
  539. package/dist/select/toggle/Toggle.d.ts +1 -1
  540. package/dist/select/toggle/label/{single/SingleLabel.d.ts → Label.d.ts} +5 -5
  541. package/dist/select/toggle/styled.d.ts +4 -4
  542. package/dist/stats.html +4949 -0
  543. package/dist/stories/Accordion.d.ts +0 -1
  544. package/dist/stories/Alert.stories.d.ts +15 -1
  545. package/dist/stories/AlertComposition.d.ts +2 -0
  546. package/dist/stories/AlertComposition.stories.d.ts +17 -0
  547. package/dist/stories/Button.d.ts +0 -1
  548. package/dist/stories/Button.stories.d.ts +8 -1
  549. package/dist/stories/Card.stories.d.ts +1 -0
  550. package/dist/stories/ColorScale.d.ts +10 -0
  551. package/dist/stories/ColorScale.stories.d.ts +24 -0
  552. package/dist/stories/ColorScaleCompare.d.ts +8 -0
  553. package/dist/stories/ColorScaleCompare.stories.d.ts +47 -0
  554. package/dist/stories/DatePicker.d.ts +0 -1
  555. package/dist/stories/Form.stories.d.ts +10 -1
  556. package/dist/stories/Header.d.ts +0 -1
  557. package/dist/stories/Input.d.ts +0 -1
  558. package/dist/stories/Input.stories.d.ts +9 -1
  559. package/dist/stories/ModalManager.d.ts +0 -1
  560. package/dist/stories/Page.d.ts +0 -1
  561. package/dist/stories/Select.d.ts +0 -1
  562. package/dist/stories/Select.stories.d.ts +13 -3
  563. package/dist/stories/Switch.stories.d.ts +8 -1
  564. package/dist/stories/TextArea.d.ts +0 -1
  565. package/dist/stories/TextArea.stories.d.ts +8 -1
  566. package/dist/stories/root/index.d.ts +0 -1
  567. package/dist/switch/styled.d.ts +1 -1
  568. package/dist/textarea/styled.d.ts +2 -5
  569. package/dist/types/AlertProps.d.ts +5 -4
  570. package/dist/types/ButtonProps.d.ts +2 -2
  571. package/dist/types/CalendarProps.d.ts +0 -1
  572. package/dist/types/CardProps.d.ts +4 -0
  573. package/dist/types/CheckboxProps.d.ts +5 -1
  574. package/dist/types/DatePickerProps.d.ts +2 -3
  575. package/dist/types/FormProps.d.ts +3 -0
  576. package/dist/types/ITDProps.d.ts +4 -2
  577. package/dist/types/InputProps.d.ts +0 -1
  578. package/dist/types/RadioProps.d.ts +1 -0
  579. package/dist/types/ResultProps.d.ts +1 -0
  580. package/dist/types/SelectProps.d.ts +5 -13
  581. package/dist/types/SwitchProps.d.ts +4 -1
  582. package/dist/types/TableProps.d.ts +1 -0
  583. package/dist/types/Theme.d.ts +75 -16
  584. package/dist/types/UploadProps.d.ts +2 -0
  585. package/dist/upload/index.d.ts +1 -1
  586. package/dist/upload/styled.d.ts +5 -2
  587. package/dist/utils/CommonStyledComponents.d.ts +17 -0
  588. package/package.json +47 -35
  589. package/dist/button/button.style.SVG.d.ts +0 -4
  590. package/dist/index.cjs.js +0 -5472
  591. package/dist/index.esm.js +0 -5472
  592. package/dist/select/menu/Menu.d.ts +0 -14
  593. package/dist/select/menu/styled.d.ts +0 -8
  594. package/dist/select/toggle/label/floating/FloatingLabel.d.ts +0 -12
  595. package/dist/select/toggle/label/floating/styled.d.ts +0 -8
  596. package/dist/stories/ButtonIcon.d.ts +0 -2
  597. /package/dist/select/toggle/label/{single/styled.d.ts → styled.d.ts} +0 -0
@@ -0,0 +1 @@
1
+ "use strict";var e=require("i18next"),r=require("react-i18next"),t=require("./locales/tr/itd.json.js"),s=require("./locales/en/itd.json.js"),o=require("./locales/tr/calendar.json.js"),i=require("./locales/en/calendar.json.js"),u=require("./context/ITDContext.js"),a=require("./context/ITDThemeProvider.js"),n=require("./helpers/theme/light.js"),l=require("./helpers/theme/dark.js"),d=require("./helpers/aspectratio/DetermineNewHeight.js"),p=require("./helpers/aspectratio/DetermineNewWidth.js"),x=require("./helpers/css/FindSelector.js"),c=require("./helpers/country/GetCountryCodeByCurrencyCode.js"),f=require("./helpers/country/GetCountryCodeByLanguage.js"),j=require("./helpers/currency/ConvertCurrency.js"),h=require("./helpers/currency/GetByCurrency.js"),q=require("./helpers/currency/GetCurrencyFormat.js"),m=require("./helpers/currency/GetCurrencySymbol.js"),C=require("./helpers/currency/GetDecimalByCurrency.js"),S=require("./helpers/theme/AddDefaultThemeStyle.js"),y=require("./helpers/theme/UpdateThemeStyle.js"),T=require("./helpers/theme/GenerateColorScale.js"),g=require("./helpers/theme/Color.js"),k=require("./helpers/theme/tokens.js"),A=require("./helpers/theme/cssVariables.js"),O=require("./helpers/json/IsValidJSON.js"),b=require("./helpers/math/AddZero.js"),D=require("./helpers/remover/RemoveUnits.js"),P=require("./helpers/array/ChunkArray.js"),F=require("./helpers/checker/FileChecker.js"),I=require("./helpers/checker/CheckFileURL.js"),E=require("./helpers/string/UniUpperCase.js"),N=require("./helpers/binary/FormatBytes.js"),B=require("./helpers/binary/GetTypeByFileType.js"),_=require("./helpers/promise/Wait.js"),G=require("./helpers/svg/SVGLoader.js"),R=require("./helpers/datetime/FormatDate.js"),U=require("./helpers/datetime/FormatDateTime.js"),L=require("./helpers/datetime/FormatSimpleDate.js"),K=require("./helpers/datetime/FormatSimpleDateTime.js"),M=require("./helpers/datetime/FormatTime.js"),w=require("./helpers/unit/AddDefaultUnit.js"),v=require("./helpers/base64/Base64Encode.js"),H=require("./helpers/base64/Base64Decode.js"),V=require("./helpers/format/ToKebabCase.js"),Z=require("./hooks/useReCaptcha.js"),z=require("./hooks/useConstructor.js"),Y=require("./hooks/useAddExternalCSS.js"),Q=require("./hooks/useOnClickOutside.js"),W=require("./hooks/useOnESCKeyDown.js"),J=require("./hooks/useSingleQuery.js"),X=require("./hooks/useMultiQuery.js"),$=require("./hooks/useOnResize.js"),ee=require("./hooks/useConnectionStatus.js"),re=require("./hooks/useComponentSize.js"),te=require("./hooks/useCoreFetch.js"),se=require("./hooks/useContextBridge.js"),oe=require("./hooks/useKeyboardShortcut.js"),ie=require("./hooks/useOrientation.js"),ue=require("./hooks/useAvoidCollision.js"),ae=require("./html/header/H1.js"),ne=require("./html/header/H2.js"),le=require("./html/header/H3.js"),de=require("./html/header/H4.js"),pe=require("./icons/Lock.js"),xe=require("./icons/Arrow.js"),ce=require("./icons/Upload.js"),fe=require("./icons/BackToTop.js"),je=require("./icons/Checkmark.js"),he=require("./icons/InlineSelectArrow.js"),qe=require("./icons/Trash.js"),me=require("./icons/ZoomIn.js"),Ce=require("./icons/ZoomOut.js"),Se=require("./icons/Picture.js"),ye=require("./icons/NoData.js"),Te=require("./utils/InlineSVGCached.js"),ge=require("./select/index.js"),ke=require("./form/index.js"),Ae=require("./checkbox/index.js"),Oe=require("./accordion/index.js"),be=require("./calendar/index.js"),De=require("./datepicker/index.js"),Pe=require("./input/index.js"),Fe=require("./textarea/index.js"),Ie=require("./switch/index.js"),Ee=require("./upload/index.js"),Ne=require("./modal/index.js"),Be=require("./notification/index.js"),_e=require("./radio/index.js"),Ge=require("./image/index.js"),Re=require("./logger/index.js"),Ue=require("./button/index.js"),Le=require("./alert/index.js"),Ke=require("./result/index.js"),Me=require("./alink/index.js"),we=require("./spin/index.js"),ve=require("./back-top/index.js"),He=require("./status/index.js"),Ve=require("./progress/index.js"),Ze=require("./tinyscrollbar/index.js"),ze=require("./tabs/index.js"),Ye=require("./card/index.js"),Qe=require("./table/index.js"),We=require("./flex/index.js"),Je=require("./enums/enum.js"),Xe=require("./alert/Title.js"),$e=require("./alert/Description.js");const er={tr:{itd:t.default,calendar:o.default},en:{itd:s.default,calendar:i.default}};e.use(r.initReactI18next).init({resources:er,preload:["en","tr"],fallbackLng:["en","tr"],lng:"en-US",load:"languageOnly",ns:["itd","calendar"],defaultNS:"itd",initImmediate:!1,debug:!1,interpolation:{escapeValue:!1}}),exports.ITDContext=u.default,exports.ITDProvider=u.ITDProvider,exports.ITDThemeProvider=a.default,exports.lightTheme=n.default,exports.darkTheme=l.default,exports.DetermineNewHeight=d.default,exports.DetermineNewWidth=p.default,exports.FindSelector=x.default,exports.GetCountryCodeByCurrencyCode=c.default,exports.GetCountryCodeByLanguage=f.default,exports.ConvertCurrency=j.default,exports.GetByCurrency=h.default,exports.GetCurrencyFormat=q.default,exports.GetCurrencySymbol=m.default,exports.GetDecimalByCurrency=C.default,exports.AddDefaultThemeStyle=S.default,exports.UpdateThemeStyle=y.default,exports.GenerateColorScale=T.generateColorScaleFromBase,exports.generateColorScaleFromBase=T.generateColorScaleFromBase,exports.getContrastText=g.getContrastText,exports.hexToRgba=g.hexToRgba,exports.withOpacity=g.withOpacity,exports.ALERT_TOKENS=k.ALERT_TOKENS,exports.BUTTON_SIZE_MAP=k.BUTTON_SIZE_MAP,exports.CARD_TOKENS=k.CARD_TOKENS,exports.ICON_TOKENS=k.ICON_TOKENS,exports.INPUT_SIZE_MAP=k.INPUT_SIZE_MAP,exports.MODAL_TOKENS=k.MODAL_TOKENS,exports.SELECT_SIZE_MAP=k.SELECT_SIZE_MAP,exports.SPACING_TOKENS=k.SPACING_TOKENS,exports.TYPOGRAPHY_TOKENS=k.TYPOGRAPHY_TOKENS,exports.CSS_VARIABLES_MAP=A.CSS_VARIABLES_MAP,exports.injectDesignTokens=A.injectDesignTokens,exports.injectThemeColors=A.injectThemeColors,exports.IsValidJSON=O.default,exports.AddZero=b.default,exports.RemoveUnits=D.default,exports.ChunkArray=P.default,exports.FileChecker=F.default,exports.CheckFileURL=I.default,exports.UniUpperCase=E.default,exports.FormatBytes=N.default,exports.GetTypeByFileType=B.default,exports.Wait=_.default,exports.SVGLoader=G.default,exports.FormatDate=R.default,exports.FormatDateTime=U.default,exports.FormatSimpleDate=L.default,exports.FormatSimpleDateTime=K.default,exports.FormatTime=M.default,exports.AddDefaultUnit=w.default,exports.Base64Encode=v.default,exports.Base64Decode=H.default,exports.toKebabCase=V.default,exports.useReCaptcha=Z.default,exports.useConstructor=z.default,exports.useAddExternalCSS=Y.default,exports.useOnClickOutside=Q.default,exports.useOnESCKeyDown=W.default,exports.useSingleQuery=J.default,exports.useMultiQuery=X.default,exports.useOnResize=$.default,exports.useConnectionStatus=ee.default,exports.useComponentSize=re.default,exports.useCoreFetch=te.default,exports.useContextBridge=se.default,exports.useKeyboardShortcut=oe.default,exports.useOrientation=ie.default,exports.useAvoidCollision=ue.default,exports.H1=ae.default,exports.H2=ne.default,exports.H3=le.default,exports.H4=de.default,exports.LockIcon=pe.default,exports.ArrowIcon=xe.default,exports.UploadIcon=ce.default,exports.BackToTop=fe.default,exports.Checkmark=je.default,exports.InlineSelectArrow=he.default,exports.Trash=qe.default,exports.ZoomIn=me.default,exports.ZoomOut=Ce.default,exports.Picture=Se.default,exports.NoData=ye.default,exports.InlineSVGCached=Te.default,exports.Select=ge.default,exports.Form=ke.default,exports.Checkbox=Ae.default,exports.Accordion=Oe.default,exports.Calendar=be.default,exports.DatePicker=De.default,exports.Input=Pe.default,exports.TextArea=Fe.default,exports.Switch=Ie.default,exports.Upload=Ee.default,exports.ModalManager=Ne.default,exports.Notification=Be.default,exports.Radio=_e.default,exports.Image=Ge.default,exports.ConsoleLog=Re.default,exports.Button=Ue.default,exports.Alert=Le.default,exports.Result=Ke.default,exports.ALink=Me.default,exports.Spin=we.default,exports.BackTop=ve.default,exports.Status=He.default,exports.Progress=Ve.default,exports.TinyScrollbar=Ze.default,exports.Tabs=ze.default,exports.Card=Ye.default,exports.Table=Qe.default,exports.Flex=We.default,Object.defineProperty(exports,"ComponentSizes",{enumerable:!0,get:function(){return Je.ComponentSizes}}),Object.defineProperty(exports,"ComponentSizesSlug",{enumerable:!0,get:function(){return Je.ComponentSizesSlug}}),Object.defineProperty(exports,"ComponentXPositions",{enumerable:!0,get:function(){return Je.ComponentXPositions}}),Object.defineProperty(exports,"ComponentYPositions",{enumerable:!0,get:function(){return Je.ComponentYPositions}}),Object.defineProperty(exports,"ConnectionStatus",{enumerable:!0,get:function(){return Je.ConnectionStatus}}),Object.defineProperty(exports,"FileExtensions",{enumerable:!0,get:function(){return Je.FileExtensions}}),Object.defineProperty(exports,"FileTypes",{enumerable:!0,get:function(){return Je.FileTypes}}),Object.defineProperty(exports,"FormValidationTypes",{enumerable:!0,get:function(){return Je.FormValidationTypes}}),Object.defineProperty(exports,"ModalState",{enumerable:!0,get:function(){return Je.ModalState}}),exports.AlertTitle=Xe.AlertTitle,exports.AlertDescription=$e.AlertDescription,exports.resources=er;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),t=require("react"),n=require("../node_modules/react-number-format/dist/react-number-format.es.js"),r=require("./styled.js"),u=require("../utils/CommonStyledComponents.js"),o=require("../utils/GetSizeSlugBySize.js"),s=require("../types/InputProps.js"),a=require("../enums/enum.js"),l=require("../node_modules/uuid/dist/esm-browser/v4.js");let i=!1,d=!1;const c=t.forwardRef(({id:c,placeholder:p="",value:f="",defaultValue:m="",type:h=s.InputTypes.TEXT,className:g="",size:x=a.ComponentSizes.DEFAULT,variant:y="default",prefix:v=null,suffix:w=null,addonBefore:E=null,addonAfter:j=null,status:N=null,locked:I=null,minValue:S=0,maxValue:D=-1,maxLength:T=-1,disabled:k=!1,autoComplete:C=!1,keepFocus:L=!1,mask:M=null,allowEmptyFormatting:b=!1,allowLeadingZeros:R=!1,decimalSeparator:B=".",thousandSeparator:P=",",decimalScale:F=2,focusRef:V=null,onChange:q=null,onUpdate:U=null,onFocus:A=null,onBlur:_=null,onPressEnter:z=null,onKeyDown:O=null,children:W=null},$)=>{const G=t.useRef(null),K=t.useRef(null),X=t.useMemo(()=>c||"itd-input-"+l.default(),[c]),[Z,H]=t.useState(h===s.InputTypes.NUMBER?0:""),[Y,J]=t.useState(""),[Q,ee]=t.useState(!1),[te,ne]=t.useState(!1),[re,ue]=t.useState(!1),[oe,se]=t.useState(!1),[ae,le]=t.useState(!0),ie=()=>{!C&&ae&&le(!1)},de=e=>{ie(),K.current&&!I&&(K.current.focus(),ne(!0)),e&&e.preventDefault&&e.preventDefault(),e&&e.stopPropagation&&e.stopPropagation()};t.useEffect(()=>{(()=>{if(i)return;i=!0,document.addEventListener("keydown",e=>{e&&"Tab"===e.key&&(d=!0)});const e=()=>{d=!1};document.addEventListener("mousedown",e,{passive:!0}),document.addEventListener("pointerdown",e,{passive:!0}),document.addEventListener("touchstart",e,{passive:!0})})(),ce();const e=e=>{try{const t=(K.current?.id||"").split("_")[0];e?.detail?.formId&&t&&e.detail.formId===t&&!C&&ae&&le(!1)}catch{}};return document.addEventListener("itd-input-unlock",e,{passive:!0}),m&&pe(m),()=>{document.removeEventListener("itd-input-unlock",e)}},[]),t.useEffect(()=>{if(!te)return;const e=e=>{G.current&&!G.current.contains(e.target)&&(ee(!1),ne(!1),L&&V?.current&&ue(V.current.contains(e.target)))};return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}},[te,L,V]),t.useEffect(()=>{pe(h===s.InputTypes.NUMBER?Number(f):String(f),!0,""!==f)},[f]);const ce=()=>{K.current&&G.current&&L&&K.current&&G.current&&(K.current?.focus(),ne(!0))},pe=(e,t=!0,n=!0)=>{H(e),U&&U(e,t,n)};t.useImperativeHandle($,()=>({setFocus(){(K.current||G.current)&&(ne(!0),K.current?.focus()),ue(!0)},reset(e=!0,t=!0){H(m||""),J(""),pe(h===s.InputTypes.NUMBER?0:"",e,t)},setValue(e,t=!0,n=!0){H(e),pe(e,t,n)},getValue:()=>Z,setError(e){J(e)},forceUpdate(){pe(Z)},clear(){H("")},scrollIntoView(e){K.current?.scrollIntoView(e)}}));const fe=e=>{const t="string"==typeof e&&M&&e.replace(/\D+/g,"").length<M.replace(/\D+/g,"").length;pe(e,!0,!t),q&&q(e)},me=e=>{fe(e.value)},he=e=>{K.current?.focus(),ne(!0),ee(!0===d),!C&&ae&&le(!1),A&&A(e)},ge=e=>{ne(!1),ee(!1),C||le(!0),L&&re&&K.current&&G.current&&(ne(!0),K.current.focus()),M&&"string"==typeof Z&&Z.replace(/\D+/g,"").length<M.replace(/\D+/g,"").length&&m&&pe(m,!0,!1),_?_(e):e.target.blur()},xe=e=>{"Tab"===e.key&&ee(!0),13===e.keyCode&&z&&z(e),O&&O(e)},ye=()=>{let t={id:X,placeholder:p,value:Z,type:h,spellCheck:"false",autoCorrect:"off",autoCapitalize:"none",className:De(),onFocus:he,onBlur:ge,onKeyDown:xe,disabled:k||I};return I&&(t["data-locked"]=!0),t=C?{...t,autoComplete:"on"}:{...t,autoComplete:"new-password",name:X,onMouseDown:ie,onPointerDown:ie,onTouchStart:ie,readOnly:ae},M?(t={...t,format:M,mask:"_",allowEmptyFormatting:b,onChange:e=>fe(e.target.value)},e.jsx(n.PatternFormat,{...t,getInputRef:K})):h===s.InputTypes.CURRENCY?(t={...t,maxLength:T,type:s.InputTypes.TEXT,allowLeadingZeros:R,decimalSeparator:B,thousandSeparator:P,decimalScale:F,getInputRef:K,onValueChange:me,onMouseDown:ie,isAllowed:e=>{const{floatValue:t}=e;return t>=S&&(t<=D||-1===D)||void 0===t}},e.jsx(n.NumericFormat,{...t})):h===s.InputTypes.NUMBER?(t={...t,type:s.InputTypes.NUMBER,maxLength:T,onMouseDown:ie,onChange:e=>{const t=Number(e.target.value.replace(/,/g,"."));t>=S&&-1===D||t>=S&&t<=D?fe(t):t<S?fe(S):t>D&&fe(D)},ref:K},e.jsx("input",{...t})):(t={...t,maxLength:T,onChange:e=>fe(e.target.value),onMouseDown:ie,ref:K},e.jsx("input",{...t}))},ve=()=>{if(E)return e.jsx(r.AddonBefore,{className:"itd-input-addon-before itd-input-"+o.default(x),onMouseDown:de,children:E})},we=()=>{if(j)return e.jsx(r.AddonAfter,{className:"itd-input-addon-after itd-input-"+o.default(x),onMouseDown:de,children:j})},Ee=()=>{if(v)return e.jsx(r.Prefix,{className:"itd-input-prefix",onMouseDown:de,children:v})},je=()=>{if(w||Y)return e.jsxs(r.Suffix,{className:"itd-input-suffix",onMouseDown:de,children:[Se(),w]})},Ne=()=>{if(I)return e.jsx(r.Locked,{className:"itd-input-locked",children:"boolean"!=typeof I?I:e.jsx(r.LockIconWrapper,{className:"itd-svg",width:"16",height:"16"})})},Ie=()=>{if(""!==Y&&!k&&!I)return e.jsx(u.ErrorBorder,{className:"itd-error-border"})},Se=()=>{if(""===Y||k||I)return;let t={className:"itd-input-failed itd-failed-status",onPointerOver:()=>se(!0),onPointerOut:()=>se(!1)};return e.jsxs(r.Failed,{...t,children:[oe?e.jsx(u.ErrorTooltip,{className:"itd-input-error-tooltip itd-error-tooltip",children:Y}):null,N||u.ErrorSVGIcon]})},De=()=>"itd-input-default-input",Te=t.useMemo(()=>{let e="itd-input itd-input-"+h;return e+=" itd-input-"+o.default(x),e+=" itd-input-"+y,M&&(e+=" itd-input-masked"),k&&(e+=" itd-input-disabled"),I&&(e+=" itd-input-locked"),Y&&(e+=" itd-input-error"),""!==g&&(e+=" "+g),te&&Q&&(e+=" keyboard-focus"),te&&(e+=" focused"),e},[M,y,x,Y,k,g,I,te,Q]);return(()=>{if(W)throw new Error("ITD Input Error: Remove the children!");return e.jsxs(r.Wrapper,{className:Te,ref:G,children:[ve(),e.jsxs(r.Content,{className:"itd-input-"+o.default(x),$hasPrefix:null!==v,$hasSuffix:null!==w,$hasError:""!==Y&&!k&&!I,children:[Ee(),e.jsxs(r.Middle,{className:"itd-input-middle",children:[ye(),Ie()]}),e.jsxs(r.IconsWrapper,{className:"itd-input-icons-wrapper",children:[je(),Ne()]})]}),we()]})})()});c.displayName="ITD-Input",exports.default=c;
@@ -0,0 +1 @@
1
+ "use strict";var I=require("../helpers/theme/tokens.js");const e={xs:I.INPUT_SIZE_MAP.xs,sm:I.INPUT_SIZE_MAP.sm,md:I.INPUT_SIZE_MAP.md,df:I.INPUT_SIZE_MAP.df,lg:I.INPUT_SIZE_MAP.lg,xlg:I.INPUT_SIZE_MAP.xlg};exports.getInputSizeBySize=I=>e[I]||e.df;
@@ -0,0 +1,430 @@
1
+ "use strict";var e=require("styled-components"),t=require("./style.settings.js"),i=require("../icons/Lock.js"),o=require("../enums/enum.js"),n=require("../helpers/theme/Color.js"),r=require("../utils/CommonStyledComponents.js");const d=e.div`
2
+
3
+ width : inherit;
4
+
5
+ position : relative;
6
+ display : flex;
7
+ align-items : center;
8
+ justify-content : space-between;
9
+
10
+ border-radius : calc( ${({theme:e})=>e.borderRadius} - 0.125rem);
11
+ border : 1px solid transparent;
12
+ outline : 0 solid transparent;
13
+ outline-offset : ${({theme:e})=>e.ringOffset};
14
+
15
+ transition : outline 100ms linear,
16
+ border-color ${({theme:e})=>e.transitionDuration} ${({theme:e})=>e.transitionTimingFunction},
17
+ background-color ${({theme:e})=>e.transitionDuration} ${({theme:e})=>e.transitionTimingFunction};
18
+
19
+ &.itd-input-default {
20
+ box-shadow : ${({theme:e})=>e.boxShadow};
21
+ }
22
+
23
+ &.itd-input-disabled, &.itd-input-locked {
24
+ cursor: not-allowed;
25
+ }
26
+
27
+ input {
28
+
29
+ background: none;
30
+ border-width: 0;
31
+ display: block;
32
+ width: 100%;
33
+ height: 100%;
34
+ border: none;
35
+
36
+ color: ${({theme:e})=>e.colorText};
37
+
38
+ &::placeholder {
39
+ color: ${({theme:e})=>e.colorPlaceholder};
40
+ }
41
+
42
+ &:disabled {
43
+ cursor: not-allowed;
44
+ }
45
+
46
+ &:-webkit-autofill {
47
+ -webkit-box-shadow: 0 0 0 1.875rem transparent inset;
48
+ -webkit-text-fill-color: ${({theme:e})=>e.colorText};
49
+ transition: background-color 5000s ease-in-out 0s;
50
+ }
51
+
52
+ &:-webkit-autofill::first-line {
53
+ font-size: inherit;
54
+ }
55
+
56
+ }
57
+
58
+ /* ------------------------ */
59
+ // VARIANT
60
+ /* ------------------------ */
61
+ ${()=>e.css`
62
+
63
+ /* FILLED */
64
+ &.itd-input-filled {
65
+
66
+ background-color: ${({theme:e})=>e.colorBackgroundAlt};
67
+
68
+ &:hover:not(&.focused, &.itd-input-disabled, &.itd-input-locked) {
69
+ background-color: ${({theme:e})=>e.colorBackgroundAltHover};
70
+ }
71
+
72
+ &.itd-input-disabled {
73
+
74
+ background-color: ${({theme:e})=>e.colorDisabledBg};
75
+ border: 1px solid ${({theme:e})=>e.colorDisabledBorder};
76
+
77
+ input,
78
+ .itd-input-addon-before, .itd-input-addon-after,
79
+ .itd-input-prefix, .itd-input-suffix {
80
+ color: ${({theme:e})=>e.colorDisabledText};
81
+ &::placeholder {
82
+ color: ${({theme:e})=>e.colorDisabledText};
83
+ }
84
+ }
85
+
86
+ }
87
+
88
+ }
89
+
90
+ /* DASHED */
91
+ &.itd-input-dashed {
92
+
93
+ .itd-error-border {
94
+ border-style: dashed;
95
+ }
96
+
97
+ &::after {
98
+ content: '';
99
+ position: absolute;
100
+ border: 1px dashed transparent;
101
+ width: calc(100% + 2px);
102
+ height: calc(100% + 2px);
103
+ border-radius: calc( ${({theme:e})=>e.borderRadius} - 2px);
104
+ top: -1px;
105
+ left: -1px;
106
+ pointer-events: none;
107
+ transition: border-color ${({theme:e})=>e.transitionDuration} ${({theme:e})=>e.transitionTimingFunction};
108
+ }
109
+
110
+ &::after {
111
+ border-color: ${({theme:e})=>e.colorBorder};
112
+ }
113
+
114
+ &:hover:not(&.focused, &.itd-input-disabled) {
115
+ &::after { border-color: ${({theme:e})=>e.colorBorderHover}; }
116
+ }
117
+
118
+ &.itd-input-disabled {
119
+
120
+ background-color: ${({theme:e})=>e.colorDisabledBg};
121
+
122
+ input,
123
+ .itd-input-addon-before, .itd-input-addon-after,
124
+ .itd-input-prefix, .itd-input-suffix {
125
+ color: ${({theme:e})=>e.colorDisabledText};
126
+ &::placeholder {
127
+ color: ${({theme:e})=>e.colorDisabledText};
128
+ }
129
+ }
130
+
131
+ &::after {
132
+ border-color: ${({theme:e})=>e.colorDisabledBorder};
133
+ }
134
+
135
+ }
136
+
137
+ }
138
+
139
+ /* DEFAULT */
140
+ &.itd-input-default {
141
+
142
+ border: 1px solid transparent;
143
+ border-color: ${({theme:e})=>e.colorBorder};
144
+
145
+ &:hover:not(&.focused, &.itd-input-disabled) {
146
+ border-color: ${({theme:e})=>e.colorBorderHover};
147
+ }
148
+
149
+ &.itd-input-disabled {
150
+
151
+ background-color: ${({theme:e})=>e.colorDisabledBg};
152
+ border: 1px solid ${({theme:e})=>e.colorDisabledBorder};
153
+
154
+ input,
155
+ .itd-input-addon-before, .itd-input-addon-after,
156
+ .itd-input-prefix, .itd-input-suffix {
157
+ color: ${({theme:e})=>e.colorDisabledText};
158
+ &::placeholder {
159
+ color: ${({theme:e})=>e.colorDisabledText};
160
+ }
161
+ }
162
+
163
+ }
164
+
165
+ }
166
+
167
+ &.itd-input-filled {
168
+ &.focused {
169
+ /* Mouse ile focus - sadece arka plan rengi değişir */
170
+ background-color: ${({theme:e})=>e.colorBackgroundAltHover};
171
+ }
172
+ }
173
+
174
+ &.itd-input-default, &.itd-input-filled, &.itd-input-dashed, &.itd-input-custom {
175
+
176
+ &.keyboard-focus {
177
+
178
+ /* Tab ile focus - outline göster */
179
+ &:not(.itd-input-error) {
180
+ outline: ${({theme:e})=>e.ringWidth} solid ${({theme:e})=>n.withOpacity(e.primaryScale[e.appearance===o.ThemeAppearances.LIGHT?400:900],.5)};
181
+ }
182
+ &.itd-input-error {
183
+ outline: ${({theme:e})=>e.ringWidth} solid ${({theme:e})=>n.withOpacity(e.colorErrorBorder,.5)};
184
+ }
185
+
186
+ }
187
+
188
+ }
189
+
190
+ &.itd-input-default, &.itd-input-dashed, &.itd-input-custom {
191
+ /* İç sınır da mavi olsun ki çift efekt görülsün */
192
+ &.focused, &.keyboard-focus {
193
+ border-color: ${({theme:e})=>e.primaryScale[e.appearance===o.ThemeAppearances.LIGHT?400:900]};
194
+ }
195
+ }
196
+
197
+ `}
198
+
199
+ /* ------------------------ */
200
+ // SIZE
201
+ /* ------------------------ */
202
+ ${()=>e.css`
203
+
204
+ /* X-SMALL */
205
+ &.itd-input-xs {
206
+
207
+ input,
208
+ .itd-input-addon-before, .itd-input-addon-after,
209
+ .itd-input-prefix, .itd-input-suffix {
210
+ font-size : ${t.getInputSizeBySize(o.ComponentSizesSlug.X_SMALL).fontSize};
211
+ line-height : ${t.getInputSizeBySize(o.ComponentSizesSlug.X_SMALL).lineHeight};
212
+ font-weight : ${t.getInputSizeBySize(o.ComponentSizesSlug.X_SMALL).fontWeight};
213
+ height : ${t.getInputSizeBySize(o.ComponentSizesSlug.X_SMALL).height};
214
+ }
215
+
216
+ }
217
+
218
+ /* SMALL */
219
+ &.itd-input-sm {
220
+
221
+ input,
222
+ .itd-input-addon-before, .itd-input-addon-after,
223
+ .itd-input-prefix, .itd-input-suffix {
224
+ font-size : ${t.getInputSizeBySize(o.ComponentSizesSlug.SMALL).fontSize};
225
+ line-height : ${t.getInputSizeBySize(o.ComponentSizesSlug.SMALL).lineHeight};
226
+ font-weight : ${t.getInputSizeBySize(o.ComponentSizesSlug.SMALL).fontWeight};
227
+ height : ${t.getInputSizeBySize(o.ComponentSizesSlug.SMALL).height};
228
+ }
229
+
230
+ }
231
+
232
+ /* MEDIUM */
233
+ &.itd-input-md {
234
+
235
+ input,
236
+ .itd-input-addon-before, .itd-input-addon-after,
237
+ .itd-input-prefix, .itd-input-suffix {
238
+ font-size : ${t.getInputSizeBySize(o.ComponentSizesSlug.MEDIUM).fontSize};
239
+ line-height : ${t.getInputSizeBySize(o.ComponentSizesSlug.MEDIUM).lineHeight};
240
+ font-weight : ${t.getInputSizeBySize(o.ComponentSizesSlug.MEDIUM).fontWeight};
241
+ height : ${t.getInputSizeBySize(o.ComponentSizesSlug.MEDIUM).height};
242
+ }
243
+
244
+ }
245
+
246
+ /* DEFAULT */
247
+ &.itd-input-df {
248
+
249
+ input,
250
+ .itd-input-addon-before, .itd-input-addon-after,
251
+ .itd-input-prefix, .itd-input-suffix {
252
+ font-size : ${t.getInputSizeBySize(o.ComponentSizesSlug.DEFAULT).fontSize};
253
+ line-height : ${t.getInputSizeBySize(o.ComponentSizesSlug.DEFAULT).lineHeight};
254
+ font-weight : ${t.getInputSizeBySize(o.ComponentSizesSlug.DEFAULT).fontWeight};
255
+ height : ${t.getInputSizeBySize(o.ComponentSizesSlug.DEFAULT).height};
256
+ }
257
+
258
+ }
259
+
260
+ /* LARGE */
261
+ &.itd-input-lg {
262
+
263
+ input,
264
+ .itd-input-addon-before, .itd-input-addon-after,
265
+ .itd-input-prefix, .itd-input-suffix {
266
+ font-size : ${t.getInputSizeBySize(o.ComponentSizesSlug.LARGE).fontSize};
267
+ line-height : ${t.getInputSizeBySize(o.ComponentSizesSlug.LARGE).lineHeight};
268
+ font-weight : ${t.getInputSizeBySize(o.ComponentSizesSlug.LARGE).fontWeight};
269
+ height : ${t.getInputSizeBySize(o.ComponentSizesSlug.LARGE).height};
270
+ }
271
+
272
+ }
273
+
274
+ /* X-LARGE */
275
+ &.itd-input-xlg {
276
+
277
+ input,
278
+ .itd-input-addon-before, .itd-input-addon-after,
279
+ .itd-input-prefix, .itd-input-suffix {
280
+ font-size : ${t.getInputSizeBySize(o.ComponentSizesSlug.LARGE).fontSize};
281
+ line-height : ${t.getInputSizeBySize(o.ComponentSizesSlug.LARGE).lineHeight};
282
+ font-weight : ${t.getInputSizeBySize(o.ComponentSizesSlug.LARGE).fontWeight};
283
+ height : ${t.getInputSizeBySize(o.ComponentSizesSlug.X_LARGE).height};
284
+ }
285
+
286
+ }
287
+
288
+ `}
289
+
290
+ `,p=e.div`
291
+
292
+ display : grid;
293
+ grid-auto-flow : column;
294
+ align-items : center;
295
+ width : 100%;
296
+ justify-content : flex-start;
297
+
298
+ ${t=>t.$hasPrefix&&t.$hasSuffix?e.css`
299
+ grid-template-columns: auto 1fr auto;
300
+ `:t.$hasPrefix&&!t.$hasSuffix?e.css`
301
+ grid-template-columns: auto 1fr;
302
+ `:!t.$hasPrefix&&t.$hasSuffix?e.css`
303
+ grid-template-columns: 1fr auto;
304
+ `:e.css`
305
+ grid-template-columns: 1fr;
306
+ `}
307
+
308
+ /* Dynamic horizontal padding by input size slug */
309
+ &.itd-input-xs input { padding: 0 ${t.getInputSizeBySize(o.ComponentSizesSlug.X_SMALL).paddingX}; }
310
+ &.itd-input-sm input { padding: 0 ${t.getInputSizeBySize(o.ComponentSizesSlug.SMALL).paddingX}; }
311
+ &.itd-input-md input { padding: 0 ${t.getInputSizeBySize(o.ComponentSizesSlug.MEDIUM).paddingX}; }
312
+ &.itd-input-df input { padding: 0 ${t.getInputSizeBySize(o.ComponentSizesSlug.DEFAULT).paddingX}; }
313
+ &.itd-input-lg input { padding: 0 ${t.getInputSizeBySize(o.ComponentSizesSlug.LARGE).paddingX}; }
314
+ &.itd-input-xlg input { padding: 0 ${t.getInputSizeBySize(o.ComponentSizesSlug.X_LARGE).paddingX}; }
315
+
316
+ `,u=e.div`
317
+
318
+ width: 100%;
319
+ height: 100%;
320
+ justify-self: flex-start;
321
+
322
+ `,l=e.div`
323
+
324
+ display : grid;
325
+ grid-auto-flow : column;
326
+ grid-template-columns : 1fr;
327
+ grid-gap : 0.3125rem;
328
+ justify-items : flex-end;
329
+ margin-right : 0.75rem;
330
+
331
+ `,s=e.div`
332
+
333
+ display: flex;
334
+ align-items: center;
335
+ height: 100%;
336
+ margin-left: 0.625rem;
337
+
338
+ span {
339
+ transition: color .3s ease-out;
340
+ }
341
+
342
+ `,a=e.div`
343
+
344
+ display: flex;
345
+ align-items: center;
346
+ height: 100%;
347
+ gap: 0.3125rem;
348
+
349
+ span {
350
+ transition: color .3s ease-out;
351
+ }
352
+
353
+ `,g=e.div`
354
+
355
+ display: flex;
356
+ align-items: center;
357
+ height: 100%;
358
+
359
+ `,S=e.div`
360
+
361
+ display: flex;
362
+ align-items: center;
363
+ justify-content: center;
364
+
365
+ color: ${({theme:e})=>e.colorTextNeutral};
366
+ background-color: ${({theme:e})=>e.colorBackgroundAltHover};
367
+ height: 100%;
368
+
369
+ span {
370
+ transition: color .3s ease-out;
371
+ }
372
+
373
+ `,c=e(S)`
374
+
375
+ border-radius: calc( ${({theme:e})=>e.borderRadius} - 0.1875rem) 0 0 calc( ${({theme:e})=>e.borderRadius} - 0.1875rem);
376
+
377
+ &.itd-input-xs { padding: 0 ${t.getInputSizeBySize(o.ComponentSizesSlug.X_SMALL).paddingX}; }
378
+ &.itd-input-sm { padding: 0 ${t.getInputSizeBySize(o.ComponentSizesSlug.SMALL).paddingX}; }
379
+ &.itd-input-md { padding: 0 ${t.getInputSizeBySize(o.ComponentSizesSlug.MEDIUM).paddingX}; }
380
+ &.itd-input-df { padding: 0 ${t.getInputSizeBySize(o.ComponentSizesSlug.DEFAULT).paddingX}; }
381
+ &.itd-input-lg { padding: 0 ${t.getInputSizeBySize(o.ComponentSizesSlug.LARGE).paddingX}; }
382
+ &.itd-input-xlg{ padding: 0 ${t.getInputSizeBySize(o.ComponentSizesSlug.X_LARGE).paddingX}; }
383
+ `,h=e(S)`
384
+
385
+ border-radius: 0 calc( ${({theme:e})=>e.borderRadius} - 0.1875rem) calc( ${({theme:e})=>e.borderRadius} - 0.1875rem) 0;
386
+
387
+ &.itd-input-xs { padding: 0 ${t.getInputSizeBySize(o.ComponentSizesSlug.X_SMALL).paddingX}; }
388
+ &.itd-input-sm { padding: 0 ${t.getInputSizeBySize(o.ComponentSizesSlug.SMALL).paddingX}; }
389
+ &.itd-input-md { padding: 0 ${t.getInputSizeBySize(o.ComponentSizesSlug.MEDIUM).paddingX}; }
390
+ &.itd-input-df { padding: 0 ${t.getInputSizeBySize(o.ComponentSizesSlug.DEFAULT).paddingX}; }
391
+ &.itd-input-lg { padding: 0 ${t.getInputSizeBySize(o.ComponentSizesSlug.LARGE).paddingX}; }
392
+ &.itd-input-xlg{ padding: 0 ${t.getInputSizeBySize(o.ComponentSizesSlug.X_LARGE).paddingX}; }
393
+ `,m=e(i.default)`
394
+
395
+ fill: ${({theme:e})=>e.colorIconMuted};
396
+
397
+ `,f=e.div`
398
+
399
+ display: flex;
400
+ align-items: center;
401
+ justify-content: center;
402
+
403
+ cursor: pointer;
404
+ position: relative;
405
+
406
+ &[data-icon="i"] {
407
+ &::before {
408
+ padding: 0.25rem;
409
+ border-radius: 3.125rem;
410
+ }
411
+ }
412
+
413
+ /* Error status icon colors (circle => colorError, path => colorErrorText) */
414
+ svg circle {
415
+ fill: ${({theme:e})=>e.colorError};
416
+ }
417
+ svg path {
418
+ fill: ${({theme:e})=>e.colorErrorText};
419
+ }
420
+
421
+ `;e(f)`
422
+
423
+ `,e(f)`
424
+
425
+ `;const z=e(f)`
426
+ color: ${({theme:e})=>e.colorText};
427
+ &::before {
428
+ background-color: ${({theme:e})=>e.colorError};
429
+ }
430
+ `;exports.ErrorBorder=r.ErrorBorder,exports.ErrorTooltip=r.ErrorTooltip,exports.AddonAfter=h,exports.AddonBefore=c,exports.Content=p,exports.Failed=z,exports.IconsWrapper=l,exports.LockIconWrapper=m,exports.Locked=g,exports.Middle=u,exports.Prefix=s,exports.Suffix=a,exports.Wrapper=d;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],r=["Su","Mo","Tu","We","Th","Fr","Sa"],a=["January","February","March","April","May","June","July","August","September","October","November","December"],t="MM/DD/YYYY",s={weekdaysLong:e,weekdaysShort:r,months:a,firstDay:0,format:t};exports.default=s,exports.firstDay=0,exports.format=t,exports.months=a,exports.weekdaysLong=e,exports.weekdaysShort=r;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e="Success",a="Error",i={noData:"No Data"},r={username:"Username",email:"E-Mail",password:"Password",confirmPassword:"Confirm password",typeYourNoteHere:"Type your note here",selectGender:"Select Gender",selectCurrency:"Select Currency",selectLanguage:"Select Language",selectCountry:"Select Country",birthday:"Birthday",multipleSelection:"Selected ({{- count}})"},n={enabledNotifications:"Enable Notifications",create:"Create",read:"Read",update:"Update",delete:"Delete",selectAll:"Select All",termsAndConditions:"I have read and accepted the <a href='/terms-and-conditions'>terms and conditions</a>",campaignTitle:"Sign Up and Get 10% Off",campaignDescription:"It's our first time here? Register and get 10% off your first order.",formTitle:"Sign Up",formDescription:"By registering, you can shop faster and easier."},t={all:"All",male:"Male",female:"Female",languages:{turkish:"Turkish",english:"English"}},o={submit:"Submit",reset:"Reset"},s={required:"This field is required!",minLength:"Should contain at least {{- length}} characters",maxLength:"Is too long. Max size is {{- length}}",passwordRule:"Your password must be at least 8 characters long, contain at least one digit, one uppercase letter, one lowercase letter, one special character, and must not contain spaces.",invalidEmailAddress:"Invalid email address",passwordsDontMatch:"The two passwords that you entered do not match!",usernameRule:"Only English letters, digits and symbols (-_.). No space is allowed",wrongTCIdentity:"Wrong TC Identity Number",fieldMustBeTheSame:"This field must be the same as: {{- fields}}",siteUsernameRule:"Only English lowercase letters, digits and symbols (-_.). No space is allowed, no uppercase letters are allowed",adminUsernameRule:"Only English letters and digits. No symbols (-_. vs) and no space is allowed",invalidURL:"Invalid URL",fieldMustBeDifferent:"This field must be different from: {{- fields}}",forbiddenWords:"You cannot use this word in this field."},l={header:"Drag and drop an file",hint:"or Browse to choose a file",fileUploading:"File uploading...",info:"Total: {{- total}} - {{- estimated}} s remaining.",delete:"Delete",preview:"Preview",error:"Error",fileFormatError:"You can only upload {{fileFormat}} file",fileSizeError:"File must smaller than {{fileSize}}",fileUploadSuccess:"File successfully uploaded.",fileUploadFailed:"File upload failed!",removeFileSuccess:"File successfully delete!",browserDoesntSupportDND:"Browser doesn't support drag and drop!",calculating:"Calculating...",removeFile:"Remove File",areYouSureToDeleteThisFile:"Are you sure to delete this file?",yes:"Yes",no:"No"},d={authentication:{title:"You Need To Sign In",subtitle:"You need to login to access this page. Please login by clicking the button below.",button:"LOGIN"}},u={TRY:"Turkish Lira",EUR:"Euro",USD:"Dollar",GBP:"British Pound",JPY:"Japanese Yen",CHF:"Swiss Franc",CAD:"Canadian Dollar",AUD:"Australian Dollar",NZD:"New Zealand Dollar",RUB:"Russian Ruble",INR:"Indian Rupee",BRL:"Brazilian Real",MXN:"Mexican Peso",ARS:"Argentine Peso",CLP:"Chilean Peso",COP:"Colombian Peso",PEN:"Peruvian Sol",ZAR:"South African Rand"},c={af:"Afghanistan",al:"Albania",dz:"Algeria",ad:"Andorra",ao:"Angola",ag:"Antigua and Barbuda",ar:"Argentina",am:"Armenia",au:"Australia",at:"Austria",az:"Azerbaijan",bs:"Bahamas",bh:"Bahrain",bd:"Bangladesh",bb:"Barbados",by:"Belarus",be:"Belgium",bz:"Belize",bj:"Benin",bt:"Bhutan",bo:"Bolivia",ba:"Bosnia and Herzegovina",bw:"Botswana",br:"Brazil",bn:"Brunei Darussalam",bg:"Bulgaria",bf:"Burkina Faso",bi:"Burundi",cv:"Cabo Verde",kh:"Cambodia",cm:"Cameroon",ca:"Canada",cf:"Central African Republic",td:"Chad",cl:"Chile",cn:"China",co:"Colombia",km:"Comoros",cg:"Congo",cd:"Congo, Democratic",cr:"Costa Rica",ci:"Côte d'Ivoire",hr:"Croatia",cu:"Cuba",cw:"Curacao",cy:"Cyprus",cz:"Czechia",dk:"Denmark",dj:"Djibouti",dm:"Dominica",do:"Dominican Republic",ec:"Ecuador",eg:"Egypt",sv:"El Salvador",gq:"Equatorial Guinea",er:"Eritrea",ee:"Estonia",sz:"Eswatini",et:"Ethiopia",fj:"Fiji",fi:"Finland",fr:"France",ga:"Gabon",gm:"Gambia",ge:"Georgia",de:"Germany",gh:"Ghana",gr:"Greece",gd:"Grenada",gt:"Guatemala",gn:"Guinea",gw:"Guinea-Bissau",gy:"Guyana",ht:"Haiti",hn:"Honduras",hu:"Hungary",is:"Iceland",in:"India",id:"Indonesia",ir:"Iran",iq:"Iraq",ie:"Ireland",il:"Israel",it:"Italy",jm:"Jamaica",jp:"Japan",jo:"Jordan",kz:"Kazakhstan",ke:"Kenya",ki:"Kiribati",kp:"North Korea",kr:"South Korea",kw:"Kuwait",kg:"Kyrgyzstan",la:"Lao People's",lv:"Latvia",lb:"Lebanon",ls:"Lesotho",lr:"Liberia",ly:"Libya",li:"Liechtenstein",lt:"Lithuania",lu:"Luxembourg",mg:"Madagascar",mw:"Malawi",my:"Malaysia",mv:"Maldives",ml:"Mali",mt:"Malta",mh:"Marshall Islands",mr:"Mauritania",mu:"Mauritius",mx:"Mexico",fm:"Micronesia",md:"Moldova, Republic of",mc:"Monaco",mn:"Mongolia",me:"Montenegro",ma:"Morocco",mz:"Mozambique",mm:"Myanmar",na:"Namibia",nr:"Nauru",np:"Nepal",nl:"Netherlands",nz:"New Zealand",ni:"Nicaragua",ne:"Niger",ng:"Nigeria",mk:"North Macedonia",no:"Norway",om:"Oman",pk:"Pakistan",pw:"Palau",pa:"Panama",pg:"Papua New Guinea",py:"Paraguay",pe:"Peru",ph:"Philippines",pl:"Poland",pt:"Portugal",qa:"Qatar",ro:"Romania",ru:"Russian Federation",rw:"Rwanda",kn:"Saint Kitts and Nevis",lc:"Saint Lucia",vc:"Saint Vincent",ws:"Samoa",sm:"San Marino",st:"Sao Tome and Principe",sa:"Saudi Arabia",sn:"Senegal",rs:"Serbia",sc:"Seychelles",sl:"Sierra Leone",sg:"Singapore",sk:"Slovakia",si:"Slovenia",sb:"Solomon Islands",so:"Somalia",za:"South Africa",ss:"South Sudan",es:"Spain",lk:"Sri Lanka",sd:"Sudan",sr:"Suriname",se:"Sweden",ch:"Switzerland",sy:"Syrian Arab Republic",tj:"Tajikistan",tw:"Taiwan",tz:"Tanzania",th:"Thailand",tl:"Timor-Leste",tg:"Togo",to:"Tonga",tt:"Trinidad and Tobago",tn:"Tunisia",tr:"Turkey",tm:"Turkmenistan",tv:"Tuvalu",ug:"Uganda",ua:"Ukraine",ae:"United Arab Emirates",gb:"United Kingdom",us:"United States of America",uy:"Uruguay",uz:"Uzbekistan",vu:"Vanuatu",ve:"Venezuela",vn:"Viet Nam",ye:"Yemen",zm:"Zambia",zw:"Zimbabwe"},m={weekdaysLong:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],weekdaysShort:["Su","Mo","Tu","We","Th","Fr","Sa"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],firstDay:0,format:"MM/DD/YYYY"},g={success:e,error:a,table:i,placeholders:r,texts:n,options:t,buttons:o,errors:s,uploader:l,results:d,currencies:u,countries:c,calendar:m};exports.buttons=o,exports.calendar=m,exports.countries=c,exports.currencies=u,exports.default=g,exports.error=a,exports.errors=s,exports.options=t,exports.placeholders=r,exports.results=d,exports.success=e,exports.table=i,exports.texts=n,exports.uploader=l;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var a=["Pazar","Pazartesi","Salı","Çarşamba","Perşembe","Cuma","Cumartesi"],e=["Pt","Sa","Ça","Pe","Cu","Ct","Pz"],t=["Ocak","Şubat","Mart","Nisan","Mayıs","Haziran","Temmuz","Ağustos","Eylül","Ekim","Kasım","Aralık"],r="DD/MM/YYYY",s={weekdaysLong:a,weekdaysShort:e,months:t,firstDay:1,format:r};exports.default=s,exports.firstDay=1,exports.format=r,exports.months=t,exports.weekdaysLong=a,exports.weekdaysShort=e;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var a="Başarılı",e="Hata",i={noData:"Veri Yok"},r={username:"Kullanıcı adı",email:"E-Posta",password:"Şifre",confirmPassword:"Şifre tekrar",typeYourNoteHere:"Notunuzu buraya yazınız",selectGender:"Cinsiyet Seçin",selectCurrency:"Para Birimi Seçin",selectLanguage:"Dil Seçin",selectCountry:"Ülke Seçin",birthday:"Doğum Tarihi",multipleSelection:"Seçili ({{- count}})"},n={enabledNotifications:"Bildirimleri Aç",create:"Oluştur",read:"Oku",update:"Güncelle",delete:"Sil",selectAll:"Hepsini Seç",termsAndConditions:"<a href='/terms-and-conditions'>Kullanım Koşulları</a>'nı okudum ve kabul ediyorum.",campaignTitle:"Kayıt Ol ve %10 İndirim Al",campaignDescription:"İlk defa mı geliyorsunuz? Kayıt olun ve ilk siparişinizde %10 indirim alın.",formTitle:"Üye Ol",formDescription:"Üye olarak daha hızlı ve kolay alışveriş yapabilirsiniz."},l={all:"Hepsi",male:"Erkek",female:"Kadın",languages:{turkish:"Türkçe",english:"İngilizce"}},s={submit:"Gönder",reset:"Temizle"},t={required:"Bu alan zorunludur!",minLength:"En az {{- length}} karakter olmalıdır",maxLength:"Çok uzun. Maks uzunluk {{- length}} karakter olmalıdır.",exactLength:"This field must be {{- length}} characters long.",passwordRule:"Şifreniz en az 8 harf olmalı, bir rakam, bir büyük ve bir küçük harf, bir özel karakter içermeli ve boşluk kullanılmamalıdır.",invalidEmailAddress:"Geçersiz e-posta adresi",passwordsDontMatch:"Girdiğiniz şifreler birbirleriyle uyuşmuyor!",usernameRule:"Sadece İngilizce harfler, rakamlar ve semboller (-_.) kullanılabilir. Boşluk karakterine izin verilmez.",wrongTCIdentity:"TC Kimlik Numarası Yanlış",fieldMustBeTheSame:"Bu alan şunlarla aynı olmalıdır: {{- fields}}",siteUsernameRule:"Sadece İngilizce küçük harfler, rakamlar ve semboller (-_.) kullanılabilir. Boşluk karakterine ve büyük harflere izin verilmez.",adminUsernameRule:"Sadece ingilizce harflerden ve rakamlardan oluşmalıdır. Semboller (-_. vs) ve boşluk karakteri kullanılamaz.",invalidURL:"Geçersiz URL",fieldMustBeDifferent:"Bu alan şunlarla aynı olmamalıdır: {{- fields}}",forbiddenWords:"Bu alan içerisinde bu kelimeyi kullanamazsınız."},o={header:"Bir resmi sürükleyip bırakın",hint:"ya da bir dosya seçmek için tıklayın.",fileUploading:"Dosya yükleniyor...",info:"Toplam: {{- total}} - {{- estimated}} sn kaldı.",delete:"Sil",preview:"Önizleme",error:"Hata",fileFormatError:"Yalnızca {{fileFormat}} dosyası yükleyebilirsiniz.",fileSizeError:"Dosya boyutu {{fileSize}}'den küçük olmalıdır.",fileUploadSuccess:"Dosya başarıyla yüklendi.",fileUploadFailed:"Dosya yüklenemedi!",removeFileSuccess:"Dosya başarıyla silindi!",browserDoesntSupportDND:"Tarayıcı taşı&bırak özelliğini desteklemiyor!",calculating:"Hesaplanıyor...",removeFile:"Dosya Silme",areYouSureToDeleteThisFile:"Bu dosyayı silmek istediğinize emin misiniz?",yes:"Evet",no:"Hayır"},u={authentication:{title:"Üye Girişi Gerekiyor",subtitle:"Bu bölüme ulaşmanız için üye girişi yapmanız gerekiyor. Aşağıdaki tuşa tıklayarak lütfen üye girişi yapınız.",button:"GİRİŞ YAP"}},m={TRY:"Türk Lirası",EUR:"Euro",USD:"Dolar",GBP:"İngiliz Sterlini",JPY:"Japon Yeni",CHF:"İsviçre Frangı",CAD:"Kanada Doları",AUD:"Avustralya Doları",NZD:"Yeni Zelanda Doları",RUB:"Rus Rublesi",INR:"Hindistan Rupisi",BRL:"Brezilya Reali",MXN:"Meksika Pesosu",ARS:"Arjantin Pesosu",CLP:"Şili Pesosu",COP:"Kolombya Pesosu",PEN:"Peru Solü",ZAR:"Güney Afrika Randı"},d={af:"Afganistan",al:"Arnavutluk",dz:"Cezayir",ad:"Andorra",ao:"Angola",ag:"Antigua ve Barbuda",ar:"Arjantin",am:"Ermenistan",au:"Avustralya",at:"Avusturya",az:"Azerbaycan",bs:"Bahamalar",bh:"Bahreyn",bd:"Bangladeş",bb:"Barbados",by:"Beyaz Rusya",be:"Belçika",bz:"Belize",bj:"Benin",bt:"Bhutan",bo:"Bolivya",ba:"Bosna-Hersek",bw:"Botsvana",br:"Brezilya",bn:"Brunei",bg:"Bulgaristan",bf:"Burkina Faso",bi:"Burundi",cv:"Yeşil Burun Adaları",kh:"Kamboçya",cm:"Kamerun",ca:"Kanada",cf:"Orta Afrika Cumhuriyeti",td:"Çad",cl:"Şili",cn:"Çin Halk Cumhuriyeti",co:"Kolombiya",km:"Komorlar",cg:"Kongo Cumhuriyeti",cd:"Demokratik Kongo",cr:"Kosta Rika",ci:"Fildişi Sahili",hr:"Hırvatistan",cu:"Küba",cw:"Curaçao",cy:"Güney Kıbrıs",cz:"Çek Cumhuriyeti",dk:"Danimarka",dj:"Cibuti",dm:"Dominika",do:"Dominik Cumhuriyeti",ec:"Ekvador",eg:"Mısır",sv:"El Salvador",gq:"Ekvator Ginesi",er:"Eritre",ee:"Estonya",sz:"Esvati̇ni̇",et:"Etiyopya",fj:"Fiji",fi:"Finlandiya",fr:"Fransa",ga:"Gabon",gm:"Gambia",ge:"Gürcistan",de:"Almanya",gh:"Gana",gr:"Yunanistan",gd:"Grenada",gt:"Guatemala",gn:"Gine",gw:"Guinea-Bissau",gy:"Guyana",ht:"Haiti",hn:"Honduras",hu:"Macaristan",is:"İzlanda",in:"Hindistan",id:"Endonezya",ir:"İran",iq:"Irak",ie:"Ireland",il:"İrlanda",it:"İtalya",jm:"Jamaika",jp:"Japonya",jo:"Ürdün",kz:"Kazakistan",ke:"Kenya",ki:"Kiribati",kp:"Kuzey Kore",kr:"Güney Kore",kw:"Kuveyt",kg:"Kırgızistan",la:"Laos",lv:"Letonya",lb:"Lübnan",ls:"Lesotho",lr:"Liberya",ly:"Libya",li:"Lihtenştayn",lt:"Litvanya",lu:"Lüksemburg",mg:"Madagaskar",mw:"Malavi",my:"Malezya",mv:"Maldivler",ml:"Mali",mt:"Malta",mh:"Marshall Adaları",mr:"Moritanya",mu:"Mauritius",mx:"Meksika",fm:"Mikronezya",md:"Moldova",mc:"Monako",mn:"Moğolistan",me:"Karadağ",ma:"Fas",mz:"Mozambik",mm:"Myanmar",na:"Namibya",nr:"Nauru",np:"Nepal",nl:"Hollanda",nz:"Yeni Zelanda",ni:"Nikaragua",ne:"Nijer",ng:"Nijerya",mk:"Makedonya",no:"Norveç",om:"Umman",pk:"Pakistan",pw:"Palau",pa:"Panama",pg:"Papua Yeni Gine",py:"Paraguay",pe:"Peru",ph:"Filipinler",pl:"Polonya",pt:"Portekiz",qa:"Katar",ro:"Romanya",ru:"Rusya",rw:"Ruanda",kn:"Saint Kitts ve Nevis",lc:"Saint Lucia",vc:"Saint Vincent",ws:"Samoa",sm:"San Marino",st:"Sao Tome and Principe",sa:"Suudi Arabistan",sn:"Senegal",rs:"Sırbistan",sc:"Seyşeller",sl:"Sierra Leone",sg:"Singapur",sk:"Slovakya",si:"Slovenya",sb:"Solomon Adaları",so:"Somali",za:"Güney Afrika",ss:"Güney Sudan",es:"İspanya",lk:"Sri Lanka",sd:"Sudan",sr:"Surinam",se:"İsveç",ch:"İsviçre",sy:"Suriye",tj:"Tacikistan",tw:"Tayvan",tz:"Tanzanya",th:"Tayland",tl:"Doğu Timor",tg:"Togo",to:"Tonga",tt:"Trinidad ve Tobago",tn:"Tunus",tr:"Türkiye",tm:"Türkmenistan",tv:"Tuvalu",ug:"Uganda",ua:"Ukrayna",ae:"Birleşik Arap Emirlikleri",gb:"Birleşik Krallık",us:"Amerika Birleşik Devletleri",uy:"Uruguay",uz:"Özbekistan",vu:"Vanuatu",ve:"Venezuela",vn:"Vietnam",ye:"Yemen",zm:"Zambiya",zw:"Zimbabve"},y={weekdaysLong:["Pazar","Pazartesi","Salı","Çarşamba","Perşembe","Cuma","Cumartesi"],weekdaysShort:["Pt","Sa","Ça","Pe","Cu","Ct","Pz"],months:["Ocak","Şubat","Mart","Nisan","Mayıs","Haziran","Temmuz","Ağustos","Eylül","Ekim","Kasım","Aralık"],firstDay:1,format:"DD/MM/YYYY"},k={success:a,error:e,table:i,placeholders:r,texts:n,options:l,buttons:s,errors:t,uploader:o,results:u,currencies:m,countries:d,calendar:y};exports.buttons=s,exports.calendar=y,exports.countries=d,exports.currencies=m,exports.default=k,exports.error=e,exports.errors=t,exports.options=l,exports.placeholders=r,exports.results=u,exports.success=a,exports.table=i,exports.texts=n,exports.uploader=o;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});const o=["background: #27C13A","color: #2b2b2b","line-height: 20px","border-radius: 20px"].join(";"),r=["background: #3598FE","color: #2B2B2B","line-height: 20px","border-radius: 20px"].join(";"),e=["background: #EAB62C","color: #2B2B2B","line-height: 20px","border-radius: 20px"].join(";"),c=["background: #C12727","color: #cccccc","line-height: 20px","border-radius: 20px"].join(";"),i=["background: #27C13A","color: #2B2B2B","line-height: 20px","border-radius: 20px"].join(";"),n=["background: #3598FE","color: #2B2B2B","line-height: 20px","border-radius: 20px"].join(";"),l=["background: #EAB62C","color: #2B2B2B","line-height: 20px","border-radius: 20px"].join(";"),d=["background: #C12727","color: #cccccc","line-height: 20px","border-radius: 20px"].join(";"),a=["background: #2B2B2B","color: #cccccc","line-height: 20px","border-radius: 20px"].join(";"),g=["background-image: url('//i.giphy.com/XKCdA6ERnXp6M.webp')","background-size: 280px 200px","background-repeat: no-repeat","color: #000000","padding: 0px 75px 0 0","line-height: 200px"].join(";");let p={single:(i,n="info")=>{if("fatal-error"!==n){var l="";"info"===n&&(l=o),"warning"===n&&(l=e),"debug"===n&&(l=r),"error"===n&&(l=c),console.log("%c "+i+" ",l)}else console.log("%c "+i,g)},double:(o,r,e="info")=>{if("fatal-error"!==e){var c="";"info"===e&&(c=i),"warning"===e&&(c=l),"debug"===e&&(c=n),"error"===e&&(c=d),console.log("%c "+o+": %c "+r+" ",c,a)}else console.log("%c "+o+": %c "+r+" ",c,g)},table:o=>{console.table(o)}};exports.default=p;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),t=require("react"),l=require("react-dom"),n=require("../modal/Modal.js"),r=require("./styled.js");const d="itd-modal-root";exports.default=({onShowModal:o,onHideModal:i,onRemoveModal:u,onModalEvent:s,modals:c,visibleModals:a,modalEvent:m})=>{const[h,g]=t.useState(null);t.useEffect(()=>{if(c.length>0&&!h){if(!document.getElementById(d)){let e=document.createElement("div");e.id=d,e.style.cssText="position:absolute;z-index:5",document.body.appendChild(e),g(e)}}else if(0===c.length&&0===a.length&&h)try{document.body.removeChild(h),g(null)}catch(e){}},[c,a,h]);const v=t.useRef(null),f=t.useRef(null);t.useEffect(()=>{const e=document.documentElement;if(a.length>0){if(null===v.current&&(v.current=e.style.overflowY||""),null===f.current){f.current=e.style.paddingRight||"";const t=window.innerWidth-e.clientWidth;if(t>0){const l=parseFloat(window.getComputedStyle(e).paddingRight||"0")||0;e.style.paddingRight=`${l+t}px`}}e.style.overflowY="hidden"}else null!==v.current&&(e.style.overflowY=v.current,v.current=null),null!==f.current?(e.style.paddingRight=f.current,f.current=null):(e.style.overflowY="",e.style.paddingRight="");return()=>{null!==v.current&&0===a.length&&(e.style.overflowY=v.current,v.current=null),null!==f.current&&0===a.length&&(e.style.paddingRight=f.current,f.current=null)}},[a.length]);const y=(e,t)=>{s(e,t)},p=e=>{o(e)},w=e=>{i(e)},M=t=>e.jsx(n.default,{onShowModal:p,onHideModal:()=>((e="")=>{setTimeout(()=>u(e),250)})(t.id),onRemoveModal:u,onModalEvent:y,isActive:c[c.length-1].id===t.id,modalEvent:m,hideModalFromProvider:w,isVisible:a.includes(String(t.id)),...t},t.id);return h?l.createPortal(e.jsx("div",{children:c.map(t=>{const l=a.includes(String(t.id));return e.jsxs(r.Wrapper,{id:t.id,className:"itd-modal",children:[e.jsx(r.Overlay,{className:"itd-modal-overlay",$show:l}),M(t)]},t.id)})}),h):null};
@@ -0,0 +1,27 @@
1
+ "use strict";var t=require("styled-components");const i=t.div`
2
+
3
+ width: 100vw;
4
+ height: 100vh;
5
+ position: fixed;
6
+ top: 0;
7
+ left: 0;
8
+
9
+ `,o=t.div`
10
+
11
+ background: #000000BF;
12
+ position: fixed;
13
+ top: 0;
14
+ left: 0;
15
+ width: 100vw;
16
+ height: 100%;
17
+ transition: opacity .25s ease-out;
18
+ opacity: 0;
19
+
20
+
21
+ ${({$show:i})=>i?t.css`
22
+ opacity: 1;
23
+ `:t.css`
24
+ opacity: 0;
25
+ `}
26
+
27
+ `;exports.Overlay=o,exports.Wrapper=i;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});const e=require("react").createContext({});e.displayName="ITDModalContext",exports.default=e;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),t=require("react"),o=require("./container/ModalContainer.js"),n=require("./context/ModalContext.js"),l=require("../enums/enum.js"),d=require("../node_modules/lodash-es/uniqueId.js");const s={id:"",className:"",title:null,width:"500px",closeOnClickOutside:!0,preventESC:!1,removeOthers:!1,showOkButton:!0,showCancelButton:!0,showCloseButton:!0,okButtonText:"OK",cancelButtonText:"Cancel",okButtonProps:null,cancelButtonProps:null,customProps:{},context:{},onOk:null,onCancel:null,useRef:!1,checkAutoRef:!1,content:null,outerPadding:"50px",contentPadding:"30px 20px",beforeContentPadding:"30px 20px 0",afterContentPadding:"0 20px 30px",addContentAfter:null,addContentBefore:null,onShow:null,onExit:null},a=()=>t.useContext(n.default),i={useModal:a};exports.ModalProvider=({children:a})=>{const[i,u]=t.useState([]),[r,c]=t.useState([]),[x,M]=t.useState({event:l.ModalState.NOT_SHOW,id:""}),f=(e,t)=>{e!==l.ModalState.NOT_SHOW&&M({event:e,id:t})},v=t.useCallback(e=>{const t={...s,...e};""===t.id&&(t.id=d.default("itd-modal-")),u(t.removeOthers?[t]:[...i,t]),c(t.removeOthers?[t.id]:[...r,t.id])},[i]),p=t.useCallback(e=>{const t=r.findIndex(t=>t===e);if(-1!==t){const e=[...r.slice(0,t),...r.slice(t+1)];c(e)}const o=i.findIndex(t=>t.id===e);if(-1!==o){const e=[...i.slice(0,o),...i.slice(o+1)];u(e)}},[i,r]),m=t.useCallback(e=>{const t=r.findIndex(t=>t===e);if(-1!==t){const e=[...r.slice(0,t),...r.slice(t+1)];c(e)}},[r]);return e.jsxs(n.default.Provider,{value:{showModal:v,hideModal:m,removeModal:p,removeAllModals:()=>{c([]),u([]),f(l.ModalState.ALL_REMOVED,"")},modalEvent:x,isVisible:e=>r.includes(e)},children:[a,e.jsx(o.default,{onShowModal:v,onHideModal:m,onRemoveModal:p,onModalEvent:f,modals:i,visibleModals:r,modalEvent:x})]})},exports.default=i,exports.useModal=a;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),t=require("react"),n=require("react-transition-group"),o=require("../../enums/enum.js");require("../../logger/index.js");var d=require("../../hooks/useOnClickOutside.js"),i=require("../../hooks/useOnESCKeyDown.js");require("react-router-dom"),require("axios");var a=require("../../button/index.js"),r=require("./closeicon.svg.js"),l=require("./styled.js"),s=require("../../utils/InlineSVGCached.js"),c=require("../../spin/index.js"),u=require("../../html/header/H4.js");require("../../html/header/styled.js");exports.default=m=>{const f=t.useRef(null),h=t.useRef(null),C=t.useRef(null),[M,p]=t.useState(!0),[E,v]=t.useState(!1),[S,x]=t.useState(!1),[j,g]=t.useState(!1),[y,O]=t.useState(!1);t.useEffect(()=>(m.onModalEvent(o.ModalState.BEGIN,m.id?m.id:""),()=>{m.onModalEvent(o.ModalState.REMOVED,m.id?m.id:"")}),[]),t.useEffect(()=>{v(M),M||m.onHideModal&&m.onHideModal(String(m.id))},[M]),d.default(h,()=>{!m.closeOnClickOutside||S||y||m.isActive&&(m.onModalEvent(o.ModalState.OUTSIDE_CLICK,m.id?m.id:""),R(),v(!1))}),i.default(()=>{m.preventESC||S||y||m.isActive&&(m.onModalEvent(o.ModalState.ESC_CLICK,m.id?m.id:""),R(),v(!1))});const N=()=>{m.isActive&&v(!1)},b=()=>{m.onRemoveModal&&m.onRemoveModal(String(m.id))},k=e=>{m.isActive&&(m.removeOthers,m.onShowModal(e))},I=e=>{g(!e)},A=e=>{x(e)},w=e=>{O(e)},q=()=>{m.onModalEvent(o.ModalState.CLOSE_CLICK,m.id?m.id:""),R(),m.hideModalFromProvider(m.id?m.id:""),v(!1)},B=()=>{m.isActive&&(m.onModalEvent(o.ModalState.OK_CLICK,m.id?m.id:""),P()&&(m.hideModalFromProvider(m.id?m.id:""),v(!1)))},L=()=>{m.isActive&&(m.onModalEvent(o.ModalState.CANCEL_CLICK,m.id?m.id:""),R()&&(m.hideModalFromProvider(m.id?m.id:""),v(!1)))},P=()=>{if(!f.current)return!m.onOk||m.onOk();f.current.onClickOK&&f.current.onClickOK()},R=()=>{if(!f.current)return!m.onCancel||m.onCancel();f.current.onClickCancel&&f.current.onClickCancel()},$=()=>{m.onModalEvent(o.ModalState.ENTERING,m.id?m.id:"")},K=()=>{m.onModalEvent(o.ModalState.ENTERED,m.id?m.id:""),m.onShow&&m.onShow()},T=()=>{m.onModalEvent(o.ModalState.EXITING,m.id?m.id:"")},_=()=>{m.onModalEvent(o.ModalState.EXITED,m.id?m.id:""),m.onExit&&m.onExit(),p(!1)},z=e=>{if(e.content&&Object(e.content).props&&Object.keys(Object(e.content).props).length>0)return{};let t={hideCurrentModal:N,removeCurrentModal:b,showAnotherModal:k,changeButtonsState:I,changeLoadingState:A,changeInnerLoadingState:w,modalProps:{...e.customProps},context:{...e.context}};return e.checkAutoRef&&e.content.type.hasOwnProperty("$$typeof")&&(console.log("(props.content as React.ReactElement).type['$$typeof']",e.content.type.$$typeof),"Symbol(react.forward_ref)"===e.content.type.$$typeof.toString()&&(t.ref=f)),e.useRef&&(t.ref=f),t},D=()=>{if(m.content)return e.jsx("div",{className:"itd-modal-middle-content-body",children:t.cloneElement(m.content,z(m))})},G=()=>{if(m.addContentBefore)return e.jsx(l.ModalInnerContentBefore,{className:"itd-modal-middle-content-before",$padding:m.beforeContentPadding,children:m.addContentBefore})},F=()=>{if(m.addContentAfter)return e.jsx(l.ModalInnerContentAfter,{className:"itd-modal-middle-content-after",$padding:m.afterContentPadding,children:m.addContentAfter})},H=()=>{let e=m.width;return"number"==typeof e&&(e=m.width+"px"),e};return t.useEffect(()=>{m.modalEvent.event===o.ModalState.EXITING&&m.modalEvent.id===m.id&&v(!1)},[m.modalEvent,m.id]),t.useEffect(()=>{!m.isVisible&&E&&v(!1)},[m.isVisible,E,m.id]),M?e.jsx("div",{className:"itd-modal-container".concat(" "+m.className),children:e.jsx(n.CSSTransition,{in:E,timeout:600,classNames:"modal",nodeRef:C,onEntering:$,onEntered:K,onExiting:T,onExited:_,unmountOnExit:!0,children:e.jsx(l.Wrapper,{className:"itd-modal-content-wrapper",ref:C,children:e.jsx(l.ModalInnerWrapper,{className:"itd-modal-inner-wrapper",$padding:m.outerPadding,children:e.jsx(l.ModalBody,{className:"itd-modal-body",$width:H(),children:e.jsx(l.ModalContent,{className:"itd-modal-content",ref:h,children:e.jsxs(c.default,{updating:y,children:[!1!==m.showCloseButton&&e.jsx(l.CloseButton,{className:"itd-modal-close-button",children:e.jsx(a.default,{size:o.ComponentSizes.X_SMALL,variant:"ghost",onClick:q,icon:e.jsx(s.default,{src:r.default}),disabled:S||y||!m.isActive})}),m.title?e.jsx(l.ModalHeader,{className:"itd-modal-header",children:"string"==typeof m.title?e.jsx(u.default,{children:m.title}):m.title}):null,G(),e.jsx(l.ModalInnerContent,{className:"itd-modal-middle-content",$padding:m.contentPadding,children:D()}),F(),m.showOkButton||m.showCancelButton?e.jsxs(l.ModalFooter,{className:"itd-modal-footer",children:[m.showCancelButton&&e.jsx(a.default,{variant:"solid",size:o.ComponentSizes.SMALL,type:"button",onClick:L,disabled:S||y||!m.isActive||j,...m.cancelButtonProps,children:m.cancelButtonText}),m.showOkButton&&e.jsx(a.default,{variant:"default",size:o.ComponentSizes.SMALL,type:"button",onClick:B,loading:S,disabled:y||!m.isActive||j,...m.okButtonProps,children:m.okButtonText})]}):null]})})})})})})}):null};
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.default="data:image/svg+xml,%3csvg width = '10px' height = '10px' viewBox = '0 0 329.26933 329' xmlns = 'http://www.w3.org/2000/svg'%3e %3cpath d='m194.800781 164.769531 128.210938-128.214843c8.34375-8.339844 8.34375-21.824219 0-30.164063-8.339844-8.339844-21.824219-8.339844-30.164063 0l-128.214844 128.214844-128.210937-128.214844c-8.34375-8.339844-21.824219-8.339844-30.164063 0-8.34375 8.339844-8.34375 21.824219 0 30.164063l128.210938 128.214843-128.210938 128.214844c-8.34375 8.339844-8.34375 21.824219 0 30.164063 4.15625 4.160156 9.621094 6.25 15.082032 6.25 5.460937 0 10.921875-2.089844 15.082031-6.25l128.210937-128.214844 128.214844 128.214844c4.160156 4.160156 9.621094 6.25 15.082032 6.25 5.460937 0 10.921874-2.089844 15.082031-6.25 8.34375-8.339844 8.34375-21.824219 0-30.164063zm0 0'%3e%3c/path%3e%3c/svg%3e";