@123usmanhaider321/ui 0.1.8 → 1.0.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 (545) hide show
  1. package/README.md +416 -31
  2. package/dist/images/icon/1LINK.svg +50 -0
  3. package/dist/images/icon/CreditCard.svg +83 -0
  4. package/dist/images/icon/Easypaisa.png +0 -0
  5. package/dist/images/icon/MobileWallet.png +0 -0
  6. package/dist/images/icon/Raast-Logo.png +0 -0
  7. package/dist/images/icon/VISA.png +0 -0
  8. package/dist/images/icon/add-circle-1.svg +5 -0
  9. package/dist/images/icon/check-circle-broken.svg +3 -0
  10. package/dist/images/icon/close-circle.svg +5 -0
  11. package/dist/images/icon/jazzcash.png +0 -0
  12. package/dist/images/icon/loading_icon.json +3347 -0
  13. package/dist/images/icon/mastercard-logo.webp +0 -0
  14. package/dist/images/icon/paymo.jpeg +0 -0
  15. package/dist/images/icon/preview-svgrepo-com.svg +36 -0
  16. package/dist/images/icon/trash.svg +7 -0
  17. package/dist/images/icon/unionpay-logo.svg +9 -0
  18. package/dist/index-87FQZHOs.js +11119 -0
  19. package/dist/index-87FQZHOs.js.map +1 -0
  20. package/dist/index-Tl9g213f.js +60475 -0
  21. package/dist/index-Tl9g213f.js.map +1 -0
  22. package/dist/index.d.ts +1 -10
  23. package/dist/index.es-CpgTaa1Y.js +16734 -0
  24. package/dist/index.es-CpgTaa1Y.js.map +1 -0
  25. package/dist/index.js +40 -12
  26. package/dist/index.js.map +1 -1
  27. package/dist/loading_icon-n5H5dQBl.js +3375 -0
  28. package/dist/loading_icon-n5H5dQBl.js.map +1 -0
  29. package/dist/src/components/Alert/ErrorAlert.d.ts +6 -0
  30. package/dist/src/components/Alert/SuccessAlert.d.ts +6 -0
  31. package/dist/{components → src/components}/FormBuilder/DiscountInput.d.ts +3 -6
  32. package/dist/{components → src/components}/FormBuilder/FormBuilder.d.ts +2 -11
  33. package/dist/{components → src/components}/FormBuilder/QuestionCard.d.ts +0 -5
  34. package/dist/{components → src/components}/FormBuilder/QuestionEditor.d.ts +0 -5
  35. package/dist/{components → src/components}/FormBuilder/SortableQuestionList.d.ts +0 -5
  36. package/dist/src/components/FormBuilder/questionIcons.d.ts +5 -0
  37. package/dist/{components/EventAddForm → src/components/NewAddEvent}/AddEventLayout.d.ts +2 -1
  38. package/dist/{components/EventAddForm → src/components/NewAddEvent}/AddEventStepper.d.ts +2 -2
  39. package/dist/{components/EventAddForm → src/components/NewAddEvent}/common/ConfirmationModal.d.ts +1 -1
  40. package/dist/src/components/NewAddEvent/components/EventSubmissionConfirmationModal.d.ts +14 -0
  41. package/dist/{components/EventAddForm → src/components/NewAddEvent}/components/StepTwo/TicketTierSection.d.ts +1 -1
  42. package/dist/{components/EventAddForm → src/components/NewAddEvent}/components/TicketTierForm.d.ts +1 -1
  43. package/dist/{components/EventAddForm → src/components/NewAddEvent}/hooks/useStepperForm.d.ts +22 -22
  44. package/dist/{components/EventAddForm → src/components/NewAddEvent}/hooks/useTicketTierForm.d.ts +63 -15
  45. package/dist/src/components/NewAddEvent/schemas/step1.d.ts +211 -0
  46. package/dist/src/components/NewAddEvent/schemas/step2.d.ts +411 -0
  47. package/dist/{components/EventAddForm → src/components/NewAddEvent}/schemas/utils.d.ts +8 -2
  48. package/dist/{components/EventAddForm → src/components/NewAddEvent}/steps/IndividualFormStep.d.ts +1 -1
  49. package/dist/{components/EventAddForm → src/components/NewAddEvent}/steps/SocialProfilesStep.d.ts +1 -1
  50. package/dist/{components/EventAddForm → src/components/NewAddEvent}/steps/TeamFormStep.d.ts +1 -1
  51. package/dist/src/components/Spinner/spinner.d.ts +4 -0
  52. package/dist/src/components/TicketlyUIProvider.d.ts +35 -0
  53. package/dist/src/components/common/Loader/index.d.ts +8 -0
  54. package/dist/src/components/common/Modals/ConfirmationModal.d.ts +7 -0
  55. package/dist/{components/FormInput → src/components/ui}/FormInput.d.ts +1 -1
  56. package/dist/src/components/ui/Loader.d.ts +4 -0
  57. package/dist/{components/Button/Button.d.ts → src/components/ui/button.d.ts} +1 -1
  58. package/dist/src/index.d.ts +10 -0
  59. package/dist/{lib → src/lib}/actions.d.ts +0 -126
  60. package/dist/src/lib/dom-utils.d.ts +2 -0
  61. package/dist/src/lib/storage-utils.d.ts +5 -0
  62. package/dist/src/lib/types.d.ts +258 -0
  63. package/dist/src/redux/baseQuery.d.ts +16 -0
  64. package/dist/{services → src/redux/features}/eventApi.d.ts +1053 -1745
  65. package/dist/src/redux/features/globalSlice.d.ts +17 -0
  66. package/dist/{services → src/redux/features/single-event}/single-event-api.d.ts +856 -1190
  67. package/dist/src/redux/types.d.ts +2 -0
  68. package/dist/src/services/library-services.d.ts +15 -0
  69. package/dist/src/services/remote-config.d.ts +27 -0
  70. package/dist/{services → src/services}/utils.d.ts +1 -1
  71. package/dist/src/theme/colors.d.ts +127 -0
  72. package/dist/src/theme/typography.d.ts +13 -0
  73. package/dist/src/types/api.d.ts +18 -0
  74. package/dist/style.css +2984 -0
  75. package/dist/styles.css +3758 -4012
  76. package/package.json +78 -68
  77. package/dist/_virtual/_commonjsHelpers.js +0 -9
  78. package/dist/_virtual/_commonjsHelpers.js.map +0 -1
  79. package/dist/_virtual/customParseFormat.js +0 -5
  80. package/dist/_virtual/customParseFormat.js.map +0 -1
  81. package/dist/_virtual/dayjs.min.js +0 -5
  82. package/dist/_virtual/dayjs.min.js.map +0 -1
  83. package/dist/_virtual/duration.js +0 -5
  84. package/dist/_virtual/duration.js.map +0 -1
  85. package/dist/_virtual/index.js +0 -5
  86. package/dist/_virtual/index.js.map +0 -1
  87. package/dist/_virtual/isBetween.js +0 -5
  88. package/dist/_virtual/isBetween.js.map +0 -1
  89. package/dist/_virtual/relativeTime.js +0 -5
  90. package/dist/_virtual/relativeTime.js.map +0 -1
  91. package/dist/_virtual/use-sync-external-store-shim.development.js +0 -5
  92. package/dist/_virtual/use-sync-external-store-shim.development.js.map +0 -1
  93. package/dist/_virtual/use-sync-external-store-shim.production.js +0 -5
  94. package/dist/_virtual/use-sync-external-store-shim.production.js.map +0 -1
  95. package/dist/_virtual/with-selector.development.js +0 -5
  96. package/dist/_virtual/with-selector.development.js.map +0 -1
  97. package/dist/_virtual/with-selector.js +0 -5
  98. package/dist/_virtual/with-selector.js.map +0 -1
  99. package/dist/_virtual/with-selector.production.js +0 -5
  100. package/dist/_virtual/with-selector.production.js.map +0 -1
  101. package/dist/components/Alert/Alert.js +0 -51
  102. package/dist/components/Alert/Alert.js.map +0 -1
  103. package/dist/components/Button/Button.js +0 -52
  104. package/dist/components/Button/Button.js.map +0 -1
  105. package/dist/components/Button/Button.test.d.ts +0 -1
  106. package/dist/components/Button/index.d.ts +0 -1
  107. package/dist/components/Checkbox/Checkbox.js +0 -50
  108. package/dist/components/Checkbox/Checkbox.js.map +0 -1
  109. package/dist/components/Checkbox/Checkbox.test.d.ts +0 -1
  110. package/dist/components/Checkbox/index.d.ts +0 -1
  111. package/dist/components/CheckboxGroup/CheckboxGroup.d.ts +0 -25
  112. package/dist/components/CheckboxGroup/CheckboxGroup.js +0 -99
  113. package/dist/components/CheckboxGroup/CheckboxGroup.js.map +0 -1
  114. package/dist/components/ConfirmationModal/ConfirmationModal.d.ts +0 -15
  115. package/dist/components/ConfirmationModal/ConfirmationModal.js +0 -136
  116. package/dist/components/ConfirmationModal/ConfirmationModal.js.map +0 -1
  117. package/dist/components/ConfirmationModal/index.d.ts +0 -2
  118. package/dist/components/CustomSelect/CustomSelect.js +0 -259
  119. package/dist/components/CustomSelect/CustomSelect.js.map +0 -1
  120. package/dist/components/EventAddForm/AddEventLayout.js +0 -227
  121. package/dist/components/EventAddForm/AddEventLayout.js.map +0 -1
  122. package/dist/components/EventAddForm/AddEventStepper.js +0 -719
  123. package/dist/components/EventAddForm/AddEventStepper.js.map +0 -1
  124. package/dist/components/EventAddForm/common/ConfirmationModal.js +0 -136
  125. package/dist/components/EventAddForm/common/ConfirmationModal.js.map +0 -1
  126. package/dist/components/EventAddForm/common/DescriptionModal.js +0 -70
  127. package/dist/components/EventAddForm/common/DescriptionModal.js.map +0 -1
  128. package/dist/components/EventAddForm/components/AnimatedBackground.d.ts +0 -8
  129. package/dist/components/EventAddForm/components/ApprovalConfirmationModal.d.ts +0 -7
  130. package/dist/components/EventAddForm/components/CheckboxGroup.js +0 -92
  131. package/dist/components/EventAddForm/components/CheckboxGroup.js.map +0 -1
  132. package/dist/components/EventAddForm/components/CustomMeetingForm.js +0 -237
  133. package/dist/components/EventAddForm/components/CustomMeetingForm.js.map +0 -1
  134. package/dist/components/EventAddForm/components/DateTimeField.js +0 -173
  135. package/dist/components/EventAddForm/components/DateTimeField.js.map +0 -1
  136. package/dist/components/EventAddForm/components/EventSubmissionConfirmationModal.d.ts +0 -33
  137. package/dist/components/EventAddForm/components/EventSubmissionConfirmationModal.js +0 -366
  138. package/dist/components/EventAddForm/components/EventSubmissionConfirmationModal.js.map +0 -1
  139. package/dist/components/EventAddForm/components/FileUpload.js +0 -412
  140. package/dist/components/EventAddForm/components/FileUpload.js.map +0 -1
  141. package/dist/components/EventAddForm/components/FormBuilderProceedModal.js +0 -197
  142. package/dist/components/EventAddForm/components/FormBuilderProceedModal.js.map +0 -1
  143. package/dist/components/EventAddForm/components/GoogleMapsAutocompleteInput.js +0 -1179
  144. package/dist/components/EventAddForm/components/GoogleMapsAutocompleteInput.js.map +0 -1
  145. package/dist/components/EventAddForm/components/InputField.d.ts +0 -15
  146. package/dist/components/EventAddForm/components/RadioGroupButton.d.ts +0 -14
  147. package/dist/components/EventAddForm/components/SelectField.d.ts +0 -19
  148. package/dist/components/EventAddForm/components/SingleDateTimeInput.js +0 -102
  149. package/dist/components/EventAddForm/components/SingleDateTimeInput.js.map +0 -1
  150. package/dist/components/EventAddForm/components/StepTwo/CustomFormSection.js +0 -277
  151. package/dist/components/EventAddForm/components/StepTwo/CustomFormSection.js.map +0 -1
  152. package/dist/components/EventAddForm/components/StepTwo/TicketTierSection.js +0 -148
  153. package/dist/components/EventAddForm/components/StepTwo/TicketTierSection.js.map +0 -1
  154. package/dist/components/EventAddForm/components/TicketTierForm.js +0 -418
  155. package/dist/components/EventAddForm/components/TicketTierForm.js.map +0 -1
  156. package/dist/components/EventAddForm/components/TicketTypeSelection.js +0 -93
  157. package/dist/components/EventAddForm/components/TicketTypeSelection.js.map +0 -1
  158. package/dist/components/EventAddForm/hooks/useStepperForm.js +0 -371
  159. package/dist/components/EventAddForm/hooks/useStepperForm.js.map +0 -1
  160. package/dist/components/EventAddForm/hooks/useTicketTierForm.js +0 -237
  161. package/dist/components/EventAddForm/hooks/useTicketTierForm.js.map +0 -1
  162. package/dist/components/EventAddForm/index.d.ts +0 -3
  163. package/dist/components/EventAddForm/index.js +0 -41
  164. package/dist/components/EventAddForm/index.js.map +0 -1
  165. package/dist/components/EventAddForm/schemas/index.d.ts +0 -2
  166. package/dist/components/EventAddForm/schemas/step1.d.ts +0 -47
  167. package/dist/components/EventAddForm/schemas/step1.js +0 -135
  168. package/dist/components/EventAddForm/schemas/step1.js.map +0 -1
  169. package/dist/components/EventAddForm/schemas/step2.d.ts +0 -138
  170. package/dist/components/EventAddForm/schemas/step2.js +0 -94
  171. package/dist/components/EventAddForm/schemas/step2.js.map +0 -1
  172. package/dist/components/EventAddForm/schemas/utils.js +0 -28
  173. package/dist/components/EventAddForm/schemas/utils.js.map +0 -1
  174. package/dist/components/EventAddForm/steps/IndividualFormStep.js +0 -85
  175. package/dist/components/EventAddForm/steps/IndividualFormStep.js.map +0 -1
  176. package/dist/components/EventAddForm/steps/SocialProfilesStep.js +0 -123
  177. package/dist/components/EventAddForm/steps/SocialProfilesStep.js.map +0 -1
  178. package/dist/components/EventAddForm/steps/StepOne.js +0 -462
  179. package/dist/components/EventAddForm/steps/StepOne.js.map +0 -1
  180. package/dist/components/EventAddForm/steps/StepTwo.js +0 -173
  181. package/dist/components/EventAddForm/steps/StepTwo.js.map +0 -1
  182. package/dist/components/EventAddForm/steps/TeamFormStep.js +0 -13
  183. package/dist/components/EventAddForm/steps/TeamFormStep.js.map +0 -1
  184. package/dist/components/FormBuilder/CategoryList.js +0 -242
  185. package/dist/components/FormBuilder/CategoryList.js.map +0 -1
  186. package/dist/components/FormBuilder/DiscountInput.js +0 -366
  187. package/dist/components/FormBuilder/DiscountInput.js.map +0 -1
  188. package/dist/components/FormBuilder/FormBuilder.js +0 -918
  189. package/dist/components/FormBuilder/FormBuilder.js.map +0 -1
  190. package/dist/components/FormBuilder/OptionList.js +0 -120
  191. package/dist/components/FormBuilder/OptionList.js.map +0 -1
  192. package/dist/components/FormBuilder/PaymentPreview.d.ts +0 -12
  193. package/dist/components/FormBuilder/PaymentPreview.js +0 -70
  194. package/dist/components/FormBuilder/PaymentPreview.js.map +0 -1
  195. package/dist/components/FormBuilder/PreviewInput.d.ts +0 -10
  196. package/dist/components/FormBuilder/PreviewInput.js +0 -143
  197. package/dist/components/FormBuilder/PreviewInput.js.map +0 -1
  198. package/dist/components/FormBuilder/QuestionCard.js +0 -252
  199. package/dist/components/FormBuilder/QuestionCard.js.map +0 -1
  200. package/dist/components/FormBuilder/QuestionEditor.js +0 -166
  201. package/dist/components/FormBuilder/QuestionEditor.js.map +0 -1
  202. package/dist/components/FormBuilder/RequiredToggle.js +0 -43
  203. package/dist/components/FormBuilder/RequiredToggle.js.map +0 -1
  204. package/dist/components/FormBuilder/SortableQuestionList.js +0 -137
  205. package/dist/components/FormBuilder/SortableQuestionList.js.map +0 -1
  206. package/dist/components/FormBuilder/index.d.ts +0 -4
  207. package/dist/components/FormBuilder/utils.js +0 -229
  208. package/dist/components/FormBuilder/utils.js.map +0 -1
  209. package/dist/components/FormInput/FormInput.js +0 -126
  210. package/dist/components/FormInput/FormInput.js.map +0 -1
  211. package/dist/components/FormInput/FormInput.test.d.ts +0 -1
  212. package/dist/components/FormInput/index.d.ts +0 -2
  213. package/dist/components/ImageCropModal/index.js +0 -464
  214. package/dist/components/ImageCropModal/index.js.map +0 -1
  215. package/dist/components/InformationPopover/InformationPopover.d.ts +0 -7
  216. package/dist/components/InformationPopover/InformationPopover.js +0 -19
  217. package/dist/components/InformationPopover/InformationPopover.js.map +0 -1
  218. package/dist/components/InformationPopover.js +0 -19
  219. package/dist/components/InformationPopover.js.map +0 -1
  220. package/dist/components/InputErrorMessage/InputErrorMessage.js +0 -21
  221. package/dist/components/InputErrorMessage/InputErrorMessage.js.map +0 -1
  222. package/dist/components/Modal/Modal.d.ts +0 -15
  223. package/dist/components/Modal/Modal.js +0 -73
  224. package/dist/components/Modal/Modal.js.map +0 -1
  225. package/dist/components/Radio/Radio.js +0 -35
  226. package/dist/components/Radio/Radio.js.map +0 -1
  227. package/dist/components/Spinner/spinner.d.ts +0 -2
  228. package/dist/components/Spinner/spinner.js +0 -22
  229. package/dist/components/Spinner/spinner.js.map +0 -1
  230. package/dist/components/Toggle/Toggle.d.ts +0 -16
  231. package/dist/components/Toggle/index.d.ts +0 -2
  232. package/dist/components/Tooltip/Tooltip.d.ts +0 -12
  233. package/dist/components/Tooltip/Tooltip.js +0 -134
  234. package/dist/components/Tooltip/Tooltip.js.map +0 -1
  235. package/dist/components/common/FallbackImage.js +0 -47
  236. package/dist/components/common/FallbackImage.js.map +0 -1
  237. package/dist/components/ui/Calendar/calendar-utils.js +0 -51
  238. package/dist/components/ui/Calendar/calendar-utils.js.map +0 -1
  239. package/dist/components/ui/Calendar/index.js +0 -142
  240. package/dist/components/ui/Calendar/index.js.map +0 -1
  241. package/dist/components/ui/Checkbox.d.ts +0 -9
  242. package/dist/components/ui/Checkbox.js +0 -50
  243. package/dist/components/ui/Checkbox.js.map +0 -1
  244. package/dist/components/ui/DatePicker/index.js +0 -188
  245. package/dist/components/ui/DatePicker/index.js.map +0 -1
  246. package/dist/components/ui/FormInput.js +0 -129
  247. package/dist/components/ui/FormInput.js.map +0 -1
  248. package/dist/components/ui/InputErrorMessage.d.ts +0 -7
  249. package/dist/components/ui/InputErrorMessage.js +0 -21
  250. package/dist/components/ui/InputErrorMessage.js.map +0 -1
  251. package/dist/components/ui/Modal/index.js +0 -73
  252. package/dist/components/ui/Modal/index.js.map +0 -1
  253. package/dist/components/ui/Radio.d.ts +0 -6
  254. package/dist/components/ui/Radio.js +0 -35
  255. package/dist/components/ui/Radio.js.map +0 -1
  256. package/dist/components/ui/RichTextEditor.js +0 -242
  257. package/dist/components/ui/RichTextEditor.js.map +0 -1
  258. package/dist/components/ui/TimePicker/index.js +0 -215
  259. package/dist/components/ui/TimePicker/index.js.map +0 -1
  260. package/dist/components/ui/TimeSelector/index.js +0 -138
  261. package/dist/components/ui/TimeSelector/index.js.map +0 -1
  262. package/dist/components/ui/Tooltip.d.ts +0 -12
  263. package/dist/components/ui/Tooltip.js +0 -136
  264. package/dist/components/ui/Tooltip.js.map +0 -1
  265. package/dist/hooks/useDropdownPosition.d.ts +0 -11
  266. package/dist/hooks/useFirebaseAuthState.d.ts +0 -6
  267. package/dist/hooks/useFirebaseAuthState.js +0 -23
  268. package/dist/hooks/useFirebaseAuthState.js.map +0 -1
  269. package/dist/hooks/useTicketTierForm.d.ts +0 -61
  270. package/dist/lib/actions.js +0 -32
  271. package/dist/lib/actions.js.map +0 -1
  272. package/dist/lib/cropImage.js +0 -113
  273. package/dist/lib/cropImage.js.map +0 -1
  274. package/dist/lib/imageAnalysis.js +0 -58
  275. package/dist/lib/imageAnalysis.js.map +0 -1
  276. package/dist/lib/utils.js +0 -9
  277. package/dist/lib/utils.js.map +0 -1
  278. package/dist/node_modules/@dnd-kit/accessibility/dist/accessibility.esm.js +0 -60
  279. package/dist/node_modules/@dnd-kit/accessibility/dist/accessibility.esm.js.map +0 -1
  280. package/dist/node_modules/@dnd-kit/core/dist/core.esm.js +0 -3458
  281. package/dist/node_modules/@dnd-kit/core/dist/core.esm.js.map +0 -1
  282. package/dist/node_modules/@dnd-kit/sortable/dist/sortable.esm.js +0 -593
  283. package/dist/node_modules/@dnd-kit/sortable/dist/sortable.esm.js.map +0 -1
  284. package/dist/node_modules/@dnd-kit/utilities/dist/utilities.esm.js +0 -302
  285. package/dist/node_modules/@dnd-kit/utilities/dist/utilities.esm.js.map +0 -1
  286. package/dist/node_modules/@firebase/app/dist/esm/index.esm.js +0 -768
  287. package/dist/node_modules/@firebase/app/dist/esm/index.esm.js.map +0 -1
  288. package/dist/node_modules/@firebase/component/dist/esm/index.esm.js +0 -340
  289. package/dist/node_modules/@firebase/component/dist/esm/index.esm.js.map +0 -1
  290. package/dist/node_modules/@firebase/logger/dist/esm/index.esm.js +0 -123
  291. package/dist/node_modules/@firebase/logger/dist/esm/index.esm.js.map +0 -1
  292. package/dist/node_modules/@firebase/storage/dist/index.esm.js +0 -2623
  293. package/dist/node_modules/@firebase/storage/dist/index.esm.js.map +0 -1
  294. package/dist/node_modules/@firebase/util/dist/index.esm.js +0 -658
  295. package/dist/node_modules/@firebase/util/dist/index.esm.js.map +0 -1
  296. package/dist/node_modules/@firebase/util/dist/postinstall.js +0 -5
  297. package/dist/node_modules/@firebase/util/dist/postinstall.js.map +0 -1
  298. package/dist/node_modules/@fortawesome/fontawesome-svg-core/index.js +0 -3179
  299. package/dist/node_modules/@fortawesome/fontawesome-svg-core/index.js.map +0 -1
  300. package/dist/node_modules/@fortawesome/free-solid-svg-icons/index.js +0 -60
  301. package/dist/node_modules/@fortawesome/free-solid-svg-icons/index.js.map +0 -1
  302. package/dist/node_modules/@fortawesome/react-fontawesome/dist/index.js +0 -400
  303. package/dist/node_modules/@fortawesome/react-fontawesome/dist/index.js.map +0 -1
  304. package/dist/node_modules/@heroicons/react/20/solid/esm/CheckIcon.js +0 -27
  305. package/dist/node_modules/@heroicons/react/20/solid/esm/CheckIcon.js.map +0 -1
  306. package/dist/node_modules/@heroicons/react/20/solid/esm/ChevronDownIcon.js +0 -27
  307. package/dist/node_modules/@heroicons/react/20/solid/esm/ChevronDownIcon.js.map +0 -1
  308. package/dist/node_modules/@heroicons/react/24/outline/esm/ArrowRightIcon.js +0 -29
  309. package/dist/node_modules/@heroicons/react/24/outline/esm/ArrowRightIcon.js.map +0 -1
  310. package/dist/node_modules/@heroicons/react/24/outline/esm/ClockIcon.js +0 -29
  311. package/dist/node_modules/@heroicons/react/24/outline/esm/ClockIcon.js.map +0 -1
  312. package/dist/node_modules/@heroicons/react/24/outline/esm/DocumentDuplicateIcon.js +0 -29
  313. package/dist/node_modules/@heroicons/react/24/outline/esm/DocumentDuplicateIcon.js.map +0 -1
  314. package/dist/node_modules/@heroicons/react/24/outline/esm/InformationCircleIcon.js +0 -29
  315. package/dist/node_modules/@heroicons/react/24/outline/esm/InformationCircleIcon.js.map +0 -1
  316. package/dist/node_modules/@heroicons/react/24/outline/esm/LinkIcon.js +0 -29
  317. package/dist/node_modules/@heroicons/react/24/outline/esm/LinkIcon.js.map +0 -1
  318. package/dist/node_modules/@heroicons/react/24/outline/esm/MagnifyingGlassIcon.js +0 -29
  319. package/dist/node_modules/@heroicons/react/24/outline/esm/MagnifyingGlassIcon.js.map +0 -1
  320. package/dist/node_modules/@heroicons/react/24/outline/esm/MapPinIcon.js +0 -33
  321. package/dist/node_modules/@heroicons/react/24/outline/esm/MapPinIcon.js.map +0 -1
  322. package/dist/node_modules/@heroicons/react/24/outline/esm/VideoCameraIcon.js +0 -29
  323. package/dist/node_modules/@heroicons/react/24/outline/esm/VideoCameraIcon.js.map +0 -1
  324. package/dist/node_modules/@heroicons/react/24/outline/esm/XMarkIcon.js +0 -29
  325. package/dist/node_modules/@heroicons/react/24/outline/esm/XMarkIcon.js.map +0 -1
  326. package/dist/node_modules/@tiptap/core/dist/index.js +0 -5446
  327. package/dist/node_modules/@tiptap/core/dist/index.js.map +0 -1
  328. package/dist/node_modules/@tiptap/core/dist/jsx-runtime/jsx-runtime.js +0 -21
  329. package/dist/node_modules/@tiptap/core/dist/jsx-runtime/jsx-runtime.js.map +0 -1
  330. package/dist/node_modules/@tiptap/extension-blockquote/dist/index.js +0 -78
  331. package/dist/node_modules/@tiptap/extension-blockquote/dist/index.js.map +0 -1
  332. package/dist/node_modules/@tiptap/extension-bold/dist/index.js +0 -100
  333. package/dist/node_modules/@tiptap/extension-bold/dist/index.js.map +0 -1
  334. package/dist/node_modules/@tiptap/extension-code/dist/index.js +0 -70
  335. package/dist/node_modules/@tiptap/extension-code/dist/index.js.map +0 -1
  336. package/dist/node_modules/@tiptap/extension-code-block/dist/index.js +0 -317
  337. package/dist/node_modules/@tiptap/extension-code-block/dist/index.js.map +0 -1
  338. package/dist/node_modules/@tiptap/extension-document/dist/index.js +0 -16
  339. package/dist/node_modules/@tiptap/extension-document/dist/index.js.map +0 -1
  340. package/dist/node_modules/@tiptap/extension-hard-break/dist/index.js +0 -66
  341. package/dist/node_modules/@tiptap/extension-hard-break/dist/index.js.map +0 -1
  342. package/dist/node_modules/@tiptap/extension-heading/dist/index.js +0 -86
  343. package/dist/node_modules/@tiptap/extension-heading/dist/index.js.map +0 -1
  344. package/dist/node_modules/@tiptap/extension-horizontal-rule/dist/index.js +0 -80
  345. package/dist/node_modules/@tiptap/extension-horizontal-rule/dist/index.js.map +0 -1
  346. package/dist/node_modules/@tiptap/extension-italic/dist/index.js +0 -98
  347. package/dist/node_modules/@tiptap/extension-italic/dist/index.js.map +0 -1
  348. package/dist/node_modules/@tiptap/extension-link/dist/index.js +0 -423
  349. package/dist/node_modules/@tiptap/extension-link/dist/index.js.map +0 -1
  350. package/dist/node_modules/@tiptap/extension-list/dist/index.js +0 -1039
  351. package/dist/node_modules/@tiptap/extension-list/dist/index.js.map +0 -1
  352. package/dist/node_modules/@tiptap/extension-paragraph/dist/index.js +0 -61
  353. package/dist/node_modules/@tiptap/extension-paragraph/dist/index.js.map +0 -1
  354. package/dist/node_modules/@tiptap/extension-placeholder/dist/index.js +0 -7
  355. package/dist/node_modules/@tiptap/extension-placeholder/dist/index.js.map +0 -1
  356. package/dist/node_modules/@tiptap/extension-strike/dist/index.js +0 -79
  357. package/dist/node_modules/@tiptap/extension-strike/dist/index.js.map +0 -1
  358. package/dist/node_modules/@tiptap/extension-text/dist/index.js +0 -16
  359. package/dist/node_modules/@tiptap/extension-text/dist/index.js.map +0 -1
  360. package/dist/node_modules/@tiptap/extension-underline/dist/index.js +0 -76
  361. package/dist/node_modules/@tiptap/extension-underline/dist/index.js.map +0 -1
  362. package/dist/node_modules/@tiptap/extensions/dist/index.js +0 -376
  363. package/dist/node_modules/@tiptap/extensions/dist/index.js.map +0 -1
  364. package/dist/node_modules/@tiptap/react/dist/index.js +0 -650
  365. package/dist/node_modules/@tiptap/react/dist/index.js.map +0 -1
  366. package/dist/node_modules/@tiptap/starter-kit/dist/index.js +0 -97
  367. package/dist/node_modules/@tiptap/starter-kit/dist/index.js.map +0 -1
  368. package/dist/node_modules/dayjs/dayjs.min.js +0 -283
  369. package/dist/node_modules/dayjs/dayjs.min.js.map +0 -1
  370. package/dist/node_modules/dayjs/plugin/customParseFormat.js +0 -130
  371. package/dist/node_modules/dayjs/plugin/customParseFormat.js.map +0 -1
  372. package/dist/node_modules/dayjs/plugin/duration.js +0 -137
  373. package/dist/node_modules/dayjs/plugin/duration.js.map +0 -1
  374. package/dist/node_modules/dayjs/plugin/isBetween.js +0 -20
  375. package/dist/node_modules/dayjs/plugin/isBetween.js.map +0 -1
  376. package/dist/node_modules/dayjs/plugin/relativeTime.js +0 -49
  377. package/dist/node_modules/dayjs/plugin/relativeTime.js.map +0 -1
  378. package/dist/node_modules/fast-equals/dist/es/index.js +0 -442
  379. package/dist/node_modules/fast-equals/dist/es/index.js.map +0 -1
  380. package/dist/node_modules/idb/build/index.js +0 -70
  381. package/dist/node_modules/idb/build/index.js.map +0 -1
  382. package/dist/node_modules/idb/build/wrap-idb-value.js +0 -149
  383. package/dist/node_modules/idb/build/wrap-idb-value.js.map +0 -1
  384. package/dist/node_modules/linkifyjs/dist/linkify.js +0 -1159
  385. package/dist/node_modules/linkifyjs/dist/linkify.js.map +0 -1
  386. package/dist/node_modules/orderedmap/dist/index.js +0 -120
  387. package/dist/node_modules/orderedmap/dist/index.js.map +0 -1
  388. package/dist/node_modules/prosemirror-commands/dist/index.js +0 -527
  389. package/dist/node_modules/prosemirror-commands/dist/index.js.map +0 -1
  390. package/dist/node_modules/prosemirror-dropcursor/dist/index.js +0 -137
  391. package/dist/node_modules/prosemirror-dropcursor/dist/index.js.map +0 -1
  392. package/dist/node_modules/prosemirror-gapcursor/dist/index.js +0 -221
  393. package/dist/node_modules/prosemirror-gapcursor/dist/index.js.map +0 -1
  394. package/dist/node_modules/prosemirror-history/dist/index.js +0 -357
  395. package/dist/node_modules/prosemirror-history/dist/index.js.map +0 -1
  396. package/dist/node_modules/prosemirror-keymap/dist/index.js +0 -84
  397. package/dist/node_modules/prosemirror-keymap/dist/index.js.map +0 -1
  398. package/dist/node_modules/prosemirror-model/dist/index.js +0 -3209
  399. package/dist/node_modules/prosemirror-model/dist/index.js.map +0 -1
  400. package/dist/node_modules/prosemirror-schema-list/dist/index.js +0 -131
  401. package/dist/node_modules/prosemirror-schema-list/dist/index.js.map +0 -1
  402. package/dist/node_modules/prosemirror-state/dist/index.js +0 -936
  403. package/dist/node_modules/prosemirror-state/dist/index.js.map +0 -1
  404. package/dist/node_modules/prosemirror-transform/dist/index.js +0 -1881
  405. package/dist/node_modules/prosemirror-transform/dist/index.js.map +0 -1
  406. package/dist/node_modules/prosemirror-view/dist/index.js +0 -5232
  407. package/dist/node_modules/prosemirror-view/dist/index.js.map +0 -1
  408. package/dist/node_modules/rope-sequence/dist/index.js +0 -184
  409. package/dist/node_modules/rope-sequence/dist/index.js.map +0 -1
  410. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.development.js +0 -82
  411. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.development.js.map +0 -1
  412. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.js +0 -78
  413. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.js.map +0 -1
  414. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.js +0 -78
  415. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.js.map +0 -1
  416. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js +0 -63
  417. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js.map +0 -1
  418. package/dist/node_modules/use-sync-external-store/shim/index.js +0 -13
  419. package/dist/node_modules/use-sync-external-store/shim/index.js.map +0 -1
  420. package/dist/node_modules/use-sync-external-store/shim/with-selector.js +0 -13
  421. package/dist/node_modules/use-sync-external-store/shim/with-selector.js.map +0 -1
  422. package/dist/node_modules/w3c-keyname/index.js +0 -106
  423. package/dist/node_modules/w3c-keyname/index.js.map +0 -1
  424. package/dist/node_modules/zod/v4/classic/coerce.js +0 -10
  425. package/dist/node_modules/zod/v4/classic/coerce.js.map +0 -1
  426. package/dist/node_modules/zod/v4/classic/compat.js +0 -8
  427. package/dist/node_modules/zod/v4/classic/compat.js.map +0 -1
  428. package/dist/node_modules/zod/v4/classic/errors.js +0 -45
  429. package/dist/node_modules/zod/v4/classic/errors.js.map +0 -1
  430. package/dist/node_modules/zod/v4/classic/iso.js +0 -44
  431. package/dist/node_modules/zod/v4/classic/iso.js.map +0 -1
  432. package/dist/node_modules/zod/v4/classic/parse.js +0 -30
  433. package/dist/node_modules/zod/v4/classic/parse.js.map +0 -1
  434. package/dist/node_modules/zod/v4/classic/schemas.js +0 -711
  435. package/dist/node_modules/zod/v4/classic/schemas.js.map +0 -1
  436. package/dist/node_modules/zod/v4/core/api.js +0 -588
  437. package/dist/node_modules/zod/v4/core/api.js.map +0 -1
  438. package/dist/node_modules/zod/v4/core/checks.js +0 -411
  439. package/dist/node_modules/zod/v4/core/checks.js.map +0 -1
  440. package/dist/node_modules/zod/v4/core/core.js +0 -75
  441. package/dist/node_modules/zod/v4/core/core.js.map +0 -1
  442. package/dist/node_modules/zod/v4/core/doc.js +0 -38
  443. package/dist/node_modules/zod/v4/core/doc.js.map +0 -1
  444. package/dist/node_modules/zod/v4/core/errors.js +0 -73
  445. package/dist/node_modules/zod/v4/core/errors.js.map +0 -1
  446. package/dist/node_modules/zod/v4/core/json-schema-processors.js +0 -359
  447. package/dist/node_modules/zod/v4/core/json-schema-processors.js.map +0 -1
  448. package/dist/node_modules/zod/v4/core/parse.js +0 -96
  449. package/dist/node_modules/zod/v4/core/parse.js.map +0 -1
  450. package/dist/node_modules/zod/v4/core/regexes.js +0 -84
  451. package/dist/node_modules/zod/v4/core/regexes.js.map +0 -1
  452. package/dist/node_modules/zod/v4/core/registries.js +0 -52
  453. package/dist/node_modules/zod/v4/core/registries.js.map +0 -1
  454. package/dist/node_modules/zod/v4/core/schemas.js +0 -1391
  455. package/dist/node_modules/zod/v4/core/schemas.js.map +0 -1
  456. package/dist/node_modules/zod/v4/core/to-json-schema.js +0 -363
  457. package/dist/node_modules/zod/v4/core/to-json-schema.js.map +0 -1
  458. package/dist/node_modules/zod/v4/core/util.js +0 -431
  459. package/dist/node_modules/zod/v4/core/util.js.map +0 -1
  460. package/dist/node_modules/zod/v4/core/versions.js +0 -9
  461. package/dist/node_modules/zod/v4/core/versions.js.map +0 -1
  462. package/dist/redux/baseQuery.d.ts +0 -1
  463. package/dist/redux/baseQuery.js +0 -24
  464. package/dist/redux/baseQuery.js.map +0 -1
  465. package/dist/services/eventApi.js +0 -411
  466. package/dist/services/eventApi.js.map +0 -1
  467. package/dist/services/helpers.js +0 -115
  468. package/dist/services/helpers.js.map +0 -1
  469. package/dist/services/initialize-firebase.d.ts +0 -2
  470. package/dist/services/initialize-firebase.js +0 -20
  471. package/dist/services/initialize-firebase.js.map +0 -1
  472. package/dist/services/process-image-on-server.js +0 -30
  473. package/dist/services/process-image-on-server.js.map +0 -1
  474. package/dist/services/remote-config.d.ts +0 -5
  475. package/dist/services/remote-config.js +0 -9
  476. package/dist/services/remote-config.js.map +0 -1
  477. package/dist/services/single-event-api.js +0 -301
  478. package/dist/services/single-event-api.js.map +0 -1
  479. package/dist/services/utils.js +0 -107
  480. package/dist/services/utils.js.map +0 -1
  481. package/dist/setupTests.d.ts +0 -1
  482. package/dist/stories/Alert.stories.d.ts +0 -10
  483. package/dist/stories/Button.stories.d.ts +0 -13
  484. package/dist/types/redux-types.d.ts +0 -15
  485. package/dist/types/types.d.ts +0 -60
  486. package/dist/types/types.js +0 -10
  487. package/dist/types/types.js.map +0 -1
  488. package/dist/utils/cn.d.ts +0 -6
  489. package/dist/utils/cn.js +0 -9
  490. package/dist/utils/cn.js.map +0 -1
  491. package/dist/utils/date-range.d.ts +0 -4
  492. package/dist/utils/date-range.js +0 -13
  493. package/dist/utils/date-range.js.map +0 -1
  494. package/dist/utils/single-event-helpers.d.ts +0 -50
  495. package/dist/utils/single-event-helpers.js +0 -18
  496. package/dist/utils/single-event-helpers.js.map +0 -1
  497. package/dist/utils/social-validation.js +0 -42
  498. package/dist/utils/social-validation.js.map +0 -1
  499. package/dist/utils/utils.js +0 -20
  500. package/dist/utils/utils.js.map +0 -1
  501. /package/dist/{components/Alert/Alert.d.ts → src/components/Alert/index.d.ts} +0 -0
  502. /package/dist/{components → src/components}/FormBuilder/CategoryList.d.ts +0 -0
  503. /package/dist/{components → src/components}/FormBuilder/OptionList.d.ts +0 -0
  504. /package/dist/{components → src/components}/FormBuilder/RequiredToggle.d.ts +0 -0
  505. /package/dist/{components → src/components}/FormBuilder/types.d.ts +0 -0
  506. /package/dist/{components → src/components}/FormBuilder/utils.d.ts +0 -0
  507. /package/dist/{components → src/components}/ImageCropModal/index.d.ts +0 -0
  508. /package/dist/{components → src/components}/InformationPopover.d.ts +0 -0
  509. /package/dist/{components/EventAddForm → src/components/NewAddEvent}/common/DescriptionModal.d.ts +0 -0
  510. /package/dist/{components/ui/FormInput.d.ts → src/components/NewAddEvent/components/AddEventFormInput.d.ts} +0 -0
  511. /package/dist/{components/EventAddForm → src/components/NewAddEvent}/components/CheckboxGroup.d.ts +0 -0
  512. /package/dist/{components/EventAddForm → src/components/NewAddEvent}/components/CustomMeetingForm.d.ts +0 -0
  513. /package/dist/{components/EventAddForm → src/components/NewAddEvent}/components/DateTimeField.d.ts +0 -0
  514. /package/dist/{components/EventAddForm → src/components/NewAddEvent}/components/FileUpload.d.ts +0 -0
  515. /package/dist/{components/EventAddForm → src/components/NewAddEvent}/components/FormBuilderProceedModal.d.ts +0 -0
  516. /package/dist/{components/EventAddForm → src/components/NewAddEvent}/components/GoogleMapsAutocompleteInput.d.ts +0 -0
  517. /package/dist/{components/EventAddForm → src/components/NewAddEvent}/components/SingleDateTimeInput.d.ts +0 -0
  518. /package/dist/{components/EventAddForm → src/components/NewAddEvent}/components/StepTwo/CustomFormSection.d.ts +0 -0
  519. /package/dist/{components/EventAddForm → src/components/NewAddEvent}/components/TicketTypeSelection.d.ts +0 -0
  520. /package/dist/{components/EventAddForm → src/components/NewAddEvent}/steps/StepOne.d.ts +0 -0
  521. /package/dist/{components/EventAddForm → src/components/NewAddEvent}/steps/StepTwo.d.ts +0 -0
  522. /package/dist/{components/EventAddForm → src/components/NewAddEvent}/types.d.ts +0 -0
  523. /package/dist/{components → src/components}/common/FallbackImage.d.ts +0 -0
  524. /package/dist/{components → src/components}/ui/Calendar/calendar-utils.d.ts +0 -0
  525. /package/dist/{components → src/components}/ui/Calendar/index.d.ts +0 -0
  526. /package/dist/{components/Checkbox → src/components/ui}/Checkbox.d.ts +0 -0
  527. /package/dist/{components/CustomSelect → src/components/ui}/CustomSelect.d.ts +0 -0
  528. /package/dist/{components → src/components}/ui/DatePicker/index.d.ts +0 -0
  529. /package/dist/{components/InputErrorMessage → src/components/ui}/InputErrorMessage.d.ts +0 -0
  530. /package/dist/{components → src/components}/ui/Modal/index.d.ts +0 -0
  531. /package/dist/{components/Radio → src/components/ui}/Radio.d.ts +0 -0
  532. /package/dist/{components → src/components}/ui/RichTextEditor.d.ts +0 -0
  533. /package/dist/{components → src/components}/ui/TimePicker/index.d.ts +0 -0
  534. /package/dist/{components → src/components}/ui/TimeSelector/index.d.ts +0 -0
  535. /package/dist/{components → src/components}/ui/Tooltip/index.d.ts +0 -0
  536. /package/dist/{lib → src/lib}/constants.d.ts +0 -0
  537. /package/dist/{lib → src/lib}/cropImage.d.ts +0 -0
  538. /package/dist/{lib → src/lib}/imageAnalysis.d.ts +0 -0
  539. /package/dist/{utils → src/lib}/social-validation.d.ts +0 -0
  540. /package/dist/{lib/utils.d.ts → src/lib/tailwind-merge.d.ts} +0 -0
  541. /package/dist/{utils → src/lib}/utils.d.ts +0 -0
  542. /package/dist/{services → src/redux/features/single-event}/helpers.d.ts +0 -0
  543. /package/dist/{services → src/services}/process-image-on-server.d.ts +0 -0
  544. /package/dist/{types → src/types}/events.d.ts +0 -0
  545. /package/dist/{types → src/types}/question.d.ts +0 -0
package/README.md CHANGED
@@ -1,53 +1,438 @@
1
- # @ticketly/ui
1
+ # @123usmanhaider321/ui
2
2
 
3
- A production-grade, enterprise-ready UI component library designed for the Ticketly ecosystem. This package provides a centralized design system to ensure visual consistency and logic reuse across multiple organization and admin portals.
3
+ Ticketly's shared UI component library — a Vite-built React package designed to be consumed inside **Next.js** applications. Ships the full `AddEventStepper` flow (multi-step event creation/editing), Redux RTK Query APIs, utilities, and a provider for injecting auth services and environment config.
4
4
 
5
- ## 🏗️ Architecture & Tech Stack
5
+ ---
6
+
7
+ ## Table of Contents
8
+
9
+ - [Installation](#installation)
10
+ - [Peer Dependencies](#peer-dependencies)
11
+ - [Next.js Integration](#nextjs-integration)
12
+ - [1. transpilePackages](#1-transpilepackages)
13
+ - [2. Import styles](#2-import-styles)
14
+ - [3. Tailwind config](#3-tailwind-config)
15
+ - [4. Redux store](#4-redux-store)
16
+ - [5. Provider setup](#5-provider-setup)
17
+ - [Components](#components)
18
+ - [AddEventStepper](#addeventstepper)
19
+ - [Configuration Reference](#configuration-reference)
20
+ - [Services Interface](#services-interface)
21
+ - [Exported Utilities](#exported-utilities)
22
+ - [Redux API Hooks](#redux-api-hooks)
23
+ - [Development — Playground](#development--playground)
24
+
25
+ ---
26
+
27
+ ## Installation
28
+
29
+ **From npm:**
30
+ ```bash
31
+ npm install @123usmanhaider321/ui
32
+ ```
6
33
 
7
- - **Core**: React 19 + TypeScript 5
8
- - **Bundling**: [Vite](https://vitejs.dev/) + [Rollup](https://rollupjs.org/) (ESM + Tree-shaking)
9
- - **Styling**: [Tailwind CSS 4](https://tailwindcss.com/) with a standalone PostCSS pipeline.
10
- - **Documentation**: [Storybook 8](https://storybook.js.org/) for interactive component development.
11
- - **Type Safety**: Automatic `.d.ts` generation via `vite-plugin-dts`.
34
+ **Local file link (monorepo / sibling directory):**
35
+ ```json
36
+ "dependencies": {
37
+ "@123usmanhaider321/ui": "file:../ticketly-shared-ui"
38
+ }
39
+ ```
12
40
 
13
- ## 🛠️ Key Features
41
+ ---
14
42
 
15
- - **Prop-Based Decoupling**: Components are extracted from legacy Redux states and rely entirely on prop-based injection, making them compatible with any React host.
16
- - **Production-Ready Bundle**: Optimized build targets with separate CSS extraction to prevent style-cascading issues.
17
- - **Advanced Form Tools**: Includes high-level abstractions like `StepperForm` and `FormBuilder` designed for complex industrial ticketing workflows.
18
- - **Component Integrity**: Rigidly tested named exports to ensure consistent consumption in both Vite and Next.js (including Turbopack) environments.
43
+ ## Peer Dependencies
19
44
 
20
- ## 🚀 Installation
45
+ These must be installed in the consuming app. They are **not** bundled.
21
46
 
22
47
  ```bash
23
- npm install @ticketly/ui
48
+ npm install react react-dom @reduxjs/toolkit react-redux redux-persist framer-motion next
49
+ ```
50
+
51
+ | Package | Required version |
52
+ |---|---|
53
+ | `react` | `^18.0.0` |
54
+ | `react-dom` | `^18.0.0` |
55
+ | `@reduxjs/toolkit` | `^2.0.0` |
56
+ | `react-redux` | `^9.0.0` |
57
+ | `redux-persist` | `^6.0.0` |
58
+ | `framer-motion` | `^11.0.0` |
59
+ | `next` | `^14.0.0` |
60
+
61
+ ---
62
+
63
+ ## Next.js Integration
64
+
65
+ ### 1. transpilePackages
66
+
67
+ The package is published as ESM. Add it to `transpilePackages` so Next.js compiles it instead of loading it raw, and alias shared singletons to prevent duplicate-React/duplicate-framer-motion errors:
68
+
69
+ ```js
70
+ // next.config.js
71
+ const path = require('path');
72
+
73
+ /** @type {import('next').NextConfig} */
74
+ const nextConfig = {
75
+ transpilePackages: ['@123usmanhaider321/ui'],
76
+ webpack: (config) => {
77
+ config.resolve.alias = {
78
+ ...config.resolve.alias,
79
+ react: path.resolve('node_modules/react'),
80
+ 'react-dom': path.resolve('node_modules/react-dom'),
81
+ 'framer-motion': path.resolve('node_modules/framer-motion'),
82
+ next: path.resolve('node_modules/next'),
83
+ };
84
+ return config;
85
+ },
86
+ };
87
+
88
+ module.exports = nextConfig;
89
+ ```
90
+
91
+ > If you see `TypeError: Cannot read properties of null (reading 'useContext')` it means there are two copies of React. The alias above forces both the app and the library to share the same one.
92
+
93
+ ### 2. Import styles
94
+
95
+ **For Tailwind v3 consumers:** Import the pre-built stylesheet once at the root of your app:
96
+
97
+ ```tsx
98
+ // app/layout.tsx (App Router)
99
+ import '@123usmanhaider321/ui/dist/styles.css';
100
+ ```
101
+
102
+ **For Tailwind v4 consumers:** Import the pre-built stylesheet inside a cascade layer within your global CSS file (or a scoped CSS file). This prevents the unlayered Tailwind 3 package CSS from overriding your Tailwind 4 utility classes:
103
+
104
+ ```css
105
+ /* app/globals.css */
106
+ @import "tailwindcss";
107
+ @import "@123usmanhaider321/ui/dist/styles.css" layer(components);
108
+ ```
109
+
110
+ > The CSS file contains all Tailwind utility classes used by the library. It is independent of the consuming app's Tailwind build.
111
+
112
+ ### 3. Tailwind config
113
+
114
+ If you want the library's Tailwind classes generated by **your** app's build (instead of the pre-built CSS), add the compiled dist to your `content` array:
115
+
116
+ ```ts
117
+ // tailwind.config.ts
118
+ export default {
119
+ content: [
120
+ './app/**/*.{ts,tsx}',
121
+ './components/**/*.{ts,tsx}',
122
+ './node_modules/@123usmanhaider321/ui/dist/**/*.js',
123
+ ],
124
+ };
125
+ ```
126
+
127
+ ### 4. Redux store
128
+
129
+ The library exposes two RTK Query APIs that **must** be registered in your store. It also reads from a `state.event` key — this must exist to avoid a runtime crash in `EventSubmissionConfirmationModal`.
130
+
131
+ ```ts
132
+ // store/index.ts
133
+ 'use client';
134
+
135
+ import { configureStore, createSlice } from '@reduxjs/toolkit';
136
+ import { singleEventApi, eventApi } from '@123usmanhaider321/ui';
137
+
138
+ // Required — EventSubmissionConfirmationModal selects these flags from state.event.
139
+ // Replace with your own event slice if you have one.
140
+ const eventSlice = createSlice({
141
+ name: 'event',
142
+ initialState: {
143
+ addLoading: false,
144
+ addError: null as string | null,
145
+ addSuccess: false,
146
+ updateLoading: false,
147
+ updateError: null as string | null,
148
+ updateSuccess: false,
149
+ },
150
+ reducers: {},
151
+ });
152
+
153
+ export const store = configureStore({
154
+ reducer: {
155
+ // ...your own reducers
156
+ [singleEventApi.reducerPath]: singleEventApi.reducer,
157
+ [eventApi.reducerPath]: eventApi.reducer,
158
+ event: eventSlice.reducer,
159
+ },
160
+ middleware: (getDefaultMiddleware) =>
161
+ getDefaultMiddleware({ serializableCheck: false })
162
+ .concat(singleEventApi.middleware)
163
+ .concat(eventApi.middleware),
164
+ });
165
+
166
+ export type RootState = ReturnType<typeof store.getState>;
167
+ export type AppDispatch = typeof store.dispatch;
168
+ ```
169
+
170
+ Wrap your app with a `"use client"` Provider component:
171
+
172
+ ```tsx
173
+ // app/providers.tsx
174
+ 'use client';
175
+ import { Provider } from 'react-redux';
176
+ import { store } from '@/store';
177
+
178
+ export function StoreProvider({ children }: { children: React.ReactNode }) {
179
+ return <Provider store={store}>{children}</Provider>;
180
+ }
181
+ ```
182
+
183
+ ### 5. Provider setup
184
+
185
+ `TicketlyUIProvider` injects auth services and environment config into the library. It must sit inside a `"use client"` component, **below** the Redux `<Provider>`.
186
+
187
+ ```tsx
188
+ // app/providers.tsx
189
+ 'use client';
190
+
191
+ import { Provider } from 'react-redux';
192
+ import { TicketlyUIProvider } from '@123usmanhaider321/ui';
193
+ import { store } from '@/store';
194
+ import { auth } from '@/lib/firebase'; // your app's Firebase Auth instance
195
+ import { onAuthStateChanged } from 'firebase/auth';
196
+
197
+ export function Providers({ children }: { children: React.ReactNode }) {
198
+ const services = {
199
+ getAuthToken: () =>
200
+ auth.currentUser?.getIdToken() ?? Promise.resolve(null),
201
+ onAuthStateChanged: (cb: (user: any) => void) => {
202
+ return onAuthStateChanged(auth, cb);
203
+ },
204
+ getUserId: () => auth.currentUser?.uid ?? null,
205
+ isAuthenticated: () => !!auth.currentUser,
206
+ };
207
+
208
+ return (
209
+ <Provider store={store}>
210
+ <TicketlyUIProvider
211
+ services={services}
212
+ config={{
213
+ BASE_URL: process.env.NEXT_PUBLIC_API_URL!,
214
+ FIREBASE_API_KEY: process.env.NEXT_PUBLIC_FIREBASE_API_KEY!,
215
+ FIREBASE_AUTH_DOMAIN: process.env.NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN!,
216
+ FIREBASE_PROJECT_ID: process.env.NEXT_PUBLIC_FIREBASE_PROJECT_ID!,
217
+ FIREBASE_STORAGE_BUCKET: process.env.NEXT_PUBLIC_FIREBASE_STORAGE_BUCKET!,
218
+ FIREBASE_MESSAGING_SENDER_ID: process.env.NEXT_PUBLIC_FIREBASE_MESSAGING_SENDER_ID!,
219
+ FIREBASE_APP_ID: process.env.NEXT_PUBLIC_FIREBASE_APP_ID!,
220
+ GOOGLE_MAPS_API_KEY: process.env.NEXT_PUBLIC_GOOGLE_MAPS_API_KEY!,
221
+ PAYFAST_MERCHANT_ID: process.env.NEXT_PUBLIC_PAYFAST_MERCHANT_ID!,
222
+ PAYFAST_CHECKOUT_URL: process.env.NEXT_PUBLIC_PAYFAST_CHECKOUT_URL!,
223
+ PAYFAST_API_URL: process.env.NEXT_PUBLIC_PAYFAST_API_URL!,
224
+ HEADER_KEY: process.env.NEXT_PUBLIC_HEADER_KEY!,
225
+ BODY_KEY: process.env.NEXT_PUBLIC_BODY_KEY!,
226
+ VENDOR_API_KEY: process.env.NEXT_PUBLIC_VENDOR_API_KEY!,
227
+ VENDOR_API_SECRET: process.env.NEXT_PUBLIC_VENDOR_API_SECRET!,
228
+ }}
229
+ >
230
+ {children}
231
+ </TicketlyUIProvider>
232
+ </Provider>
233
+ );
234
+ }
24
235
  ```
25
236
 
26
- ## 📖 Usage
237
+ Then in your root layout:
27
238
 
28
- ### Importing Components:
29
239
  ```tsx
30
- import { Button, Alert } from '@ticketly/ui';
31
- import '@ticketly/ui/styles.css';
240
+ // app/layout.tsx
241
+ import '@123usmanhaider321/ui/dist/styles.css';
242
+ import { Providers } from './providers';
32
243
 
33
- function App() {
244
+ export default function RootLayout({ children }: { children: React.ReactNode }) {
34
245
  return (
35
- <>
36
- <Button variant="primary">Click Me</Button>
37
- <Alert type="success" message="Success!" isVisible={true} />
38
- </>
246
+ <html lang="en">
247
+ <body>
248
+ <Providers>{children}</Providers>
249
+ </body>
250
+ </html>
39
251
  );
40
252
  }
41
253
  ```
42
254
 
43
- ## 👨‍💻 Development & Integration
255
+ > **Sticky layout warning:** Do not put `overflow: hidden` or `overflow-x: hidden` on any element that wraps these components. It breaks `position: sticky` used by the file upload sidebar inside the stepper. Use `overflow: clip` instead if you need to contain horizontal bleed.
44
256
 
45
- This library was built with a **"Resilient Development"** philosophy. To bypass modern filesystem-root security restrictions in Turbopack/Next.js 16, it supports physical mirroring via `npm install --install-links`, ensuring zero-friction development on Windows and local environments.
257
+ ---
258
+
259
+ ## Components
260
+
261
+ ### AddEventStepper
262
+
263
+ The primary export. A fully self-contained multi-step form for creating and editing events. All steps, validation, API calls, and navigation guards are internal.
264
+
265
+ ```tsx
266
+ // app/events/create/page.tsx
267
+ 'use client';
268
+
269
+ import { AddEventStepper } from '@123usmanhaider321/ui';
270
+
271
+ export default function CreateEventPage() {
272
+ return (
273
+ <AddEventStepper
274
+ organizer_id="org-123"
275
+ onEventCreated={(eventId) => {
276
+ console.log('Event created:', eventId);
277
+ }}
278
+ />
279
+ );
280
+ }
281
+ ```
282
+
283
+ **Edit mode:**
284
+
285
+ ```tsx
286
+ <AddEventStepper
287
+ edit
288
+ id="existing-event-id"
289
+ organizer_id="org-123"
290
+ onEventCreated={(id) => router.push(`/events/${id}`)}
291
+ />
292
+ ```
293
+
294
+ **Restricted modes** — open on a specific step group only:
295
+
296
+ ```tsx
297
+ // Jump straight to the questions editor
298
+ <AddEventStepper organizer_id="org-123" id="event-id" mode="questions" />
299
+
300
+ // Jump straight to the social profiles step
301
+ <AddEventStepper organizer_id="org-123" id="event-id" mode="social" />
302
+ ```
303
+
304
+ **Persisting in-progress state across page reloads:**
305
+
306
+ ```tsx
307
+ <AddEventStepper
308
+ organizer_id="org-123"
309
+ SCOPED_ID_KEY="create_event_id"
310
+ SCOPED_FORM_KEY="create_event_form"
311
+ onEventCreated={(id) => router.push(`/events/${id}`)}
312
+ />
313
+ ```
314
+
315
+ #### Props
316
+
317
+ | Prop | Type | Default | Description |
318
+ |---|---|---|---|
319
+ | `organizer_id` | `string` | **required** | The organizer's ID — attached to all event API payloads. |
320
+ | `edit` | `boolean` | `false` | Edit mode — loads the event specified by `id`. |
321
+ | `id` | `string` | — | Event ID to fetch in edit mode, or to resume an in-progress creation. |
322
+ | `onEventCreated` | `(id: string) => void` | — | Callback after a successful create or update. |
323
+ | `isClearing` | `boolean` | `false` | Renders a global loading overlay while the parent is resetting state. |
324
+ | `SCOPED_ID_KEY` | `string` | `""` | `localStorage` key for persisting the in-progress event ID between page reloads. |
325
+ | `SCOPED_FORM_KEY` | `string` | `""` | `localStorage` key for persisting form state between page reloads. |
326
+ | `isSameQuestionTitleAllowed` | `boolean` | — | Allow duplicate question titles in the custom form builder. |
327
+ | `closed_loop_id` | `string` | — | Attaches a closed-loop ID to the event payload. |
328
+ | `initialStep` | `number` | — | Force the stepper to open at a specific step number on mount. |
329
+ | `mode` | `"questions" \| "social" \| null` | `null` | Restrict the stepper to only the questions steps or only the social profiles step. |
330
+ | `test` | `boolean` | `false` | **Dev only.** Enables free click-navigation between all steps, bypassing validation and event ID guards. |
331
+
332
+ ---
333
+
334
+ ## Configuration Reference
335
+
336
+ All keys are passed to `TicketlyUIProvider` via the `config` prop and stored in a singleton. Defaults are empty strings except `BASE_URL`.
46
337
 
47
- ### Scripts:
48
- - `npm run dev`: Start Vite development server.
49
- - `npm run build`: Generate optimized production bundle and CSS.
50
- - `npm run storybook`: Launch interactive documentation.
338
+ | Key | Description |
339
+ |---|---|
340
+ | `BASE_URL` | Base URL for all API calls. Default: `http://localhost:8080` |
341
+ | `FIREBASE_API_KEY` | Firebase project API key |
342
+ | `FIREBASE_AUTH_DOMAIN` | Firebase auth domain |
343
+ | `FIREBASE_PROJECT_ID` | Firebase project ID |
344
+ | `FIREBASE_STORAGE_BUCKET` | Firebase Storage bucket |
345
+ | `FIREBASE_MESSAGING_SENDER_ID` | Firebase Cloud Messaging sender ID |
346
+ | `FIREBASE_APP_ID` | Firebase app ID |
347
+ | `FIREBASE_MEASUREMENT_ID` | Firebase Analytics measurement ID |
348
+ | `GOOGLE_MAPS_API_KEY` | Google Maps API key (venue autocomplete) |
349
+ | `PAYFAST_MERCHANT_ID` | PayFast merchant ID |
350
+ | `PAYFAST_CHECKOUT_URL` | PayFast checkout callback URL |
351
+ | `PAYFAST_API_URL` | PayFast API endpoint |
352
+ | `PAYMO_PG_PAYFAST_CHECKOUT_URL` | Paymo PG PayFast callback URL |
353
+ | `HEADER_KEY` | Request encryption header key |
354
+ | `BODY_KEY` | Request encryption body key |
355
+ | `TICKETING_PORTAL_HEADER_KEY` | Ticketing portal encryption header key |
356
+ | `TICKETING_PORTAL_BODY_KEY` | Ticketing portal encryption body key |
357
+ | `VENDOR_API_KEY` | Vendor API key |
358
+ | `VENDOR_API_SECRET` | Vendor API secret |
359
+ | `INSTAGRAM_URL` | Instagram URL used in social profile links |
51
360
 
52
361
  ---
53
- *Created with a focus on Frontend Systems Architecture and scalable component design.*
362
+
363
+ ## Services Interface
364
+
365
+ ```ts
366
+ interface TicketlyUIServices {
367
+ // Returns a valid Firebase ID token for authenticated API requests
368
+ getAuthToken: () => Promise<string | null>;
369
+
370
+ // Subscribe to auth state changes; returns an unsubscribe function
371
+ onAuthStateChanged: (callback: (user: any) => void) => () => void;
372
+
373
+ // Returns the current user's UID, or null if unauthenticated
374
+ getUserId: () => string | null;
375
+
376
+ // Returns whether the current user is authenticated
377
+ isAuthenticated: () => boolean;
378
+ }
379
+ ```
380
+
381
+ ---
382
+
383
+ ## Exported Utilities
384
+
385
+ ```ts
386
+ import {
387
+ cn, // clsx + tailwind-merge
388
+ formatDateForApi, // formats a Date to the API-expected string
389
+ formatDate, // human-readable date string
390
+ formatDateTime, // human-readable date + time string
391
+ isSameDay, // compares two dates by calendar day
392
+ isDefaultDateRange, // checks if a range is still the default placeholder
393
+ toDate, // parses multiple input types to a Date
394
+ extractDateAndTime, // splits a datetime string → { date, time }
395
+ convertDateFormat, // converts between date format conventions
396
+ getDateRange, // builds a { start, end } range object
397
+ getCurrentTierAndMember, // resolves the active ticket tier and member info
398
+ encrypt, // AES-encrypt a string using HEADER_KEY / BODY_KEY
399
+ decrypt, // AES-decrypt a string
400
+ fetchWrapper, // typed fetch wrapper used internally by all API calls
401
+ } from '@123usmanhaider321/ui';
402
+ ```
403
+
404
+ ---
405
+
406
+ ## Redux API Hooks
407
+
408
+ Re-exported from the library for use alongside the stepper in your own components:
409
+
410
+ ```ts
411
+ import {
412
+ useAddEventMutation,
413
+ useUpdateEventMutation,
414
+ useGetEventDetailsByIdQuery,
415
+ useUpdateEventSocialProfilesMutation,
416
+ useSubmitEventForApprovalMutation,
417
+ } from '@123usmanhaider321/ui';
418
+ ```
419
+
420
+ ---
421
+
422
+ ## Development — Playground
423
+
424
+ A standalone Vite playground lets you develop and test components without a Next.js app.
425
+
426
+ ```bash
427
+ npm run playground
428
+ # → http://127.0.0.1:5173
429
+ ```
430
+
431
+ The playground mocks `next/navigation`, `next/image`, `next/link`, and `next/dynamic` via Vite aliases in `playground/vite.config.ts` — no Next.js install required.
432
+
433
+ Edit `playground/App.tsx` to swap in different components and configs.
434
+
435
+ ```bash
436
+ npm run build # build the library → dist/ (ESM + type declarations)
437
+ npm run build:css # compile Tailwind → dist/styles.css
438
+ ```
@@ -0,0 +1,50 @@
1
+ <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
+ <!-- Created with Inkscape (http://www.inkscape.org/) -->
3
+
4
+ <svg
5
+ width="87.136124mm"
6
+ height="81.138878mm"
7
+ viewBox="0 0 87.136124 81.138878"
8
+ version="1.1"
9
+ id="svg1"
10
+ xml:space="preserve"
11
+ inkscape:version="1.3.2 (091e20e, 2023-11-25, custom)"
12
+ sodipodi:docname="1LINK_logo.svg"
13
+ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
14
+ xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
15
+ xmlns="http://www.w3.org/2000/svg"
16
+ xmlns:svg="http://www.w3.org/2000/svg"><sodipodi:namedview
17
+ id="namedview1"
18
+ pagecolor="#ffffff"
19
+ bordercolor="#000000"
20
+ borderopacity="0.25"
21
+ inkscape:showpageshadow="2"
22
+ inkscape:pageopacity="0.0"
23
+ inkscape:pagecheckerboard="0"
24
+ inkscape:deskcolor="#d1d1d1"
25
+ inkscape:document-units="mm"
26
+ inkscape:zoom="0.70911897"
27
+ inkscape:cx="209.41479"
28
+ inkscape:cy="136.78946"
29
+ inkscape:window-width="1920"
30
+ inkscape:window-height="992"
31
+ inkscape:window-x="-8"
32
+ inkscape:window-y="-8"
33
+ inkscape:window-maximized="1"
34
+ inkscape:current-layer="layer1" /><defs
35
+ id="defs1" /><g
36
+ inkscape:label="Layer 1"
37
+ inkscape:groupmode="layer"
38
+ id="layer1"
39
+ transform="translate(-49.710835,-112.40795)"><g
40
+ id="g1"
41
+ transform="translate(-11.566581,4.4773869)"><path
42
+ style="fill:#fbfcfb"
43
+ d="m 61.347516,184.21875 -0.0701,-5.02708 h 5.291667 5.291667 v -1.21861 -1.2186 l -2.38125,-0.10432 -2.38125,-0.10431 -0.10013,-3.79236 -0.100129,-3.79236 H 64.273782 61.64957 l -0.108372,5.02708 c -0.0596,2.7649 -0.121719,-4.18041 -0.138032,-15.43402 -0.01631,-11.25361 0.0367,-20.06424 0.117806,-19.57917 0.380423,2.27516 1.727581,5.51674 3.261044,7.84685 7.35462,11.17541 24.005478,17.80485 42.885684,17.07468 13.97438,-0.54044 26.2655,-5.2027 33.79029,-12.81731 3.51317,-3.5551 5.48982,-6.82996 6.4077,-10.61608 0.43188,-1.78143 0.4925,0.94225 0.51846,23.2945 0.0193,16.65894 -0.0912,25.3118 -0.32339,25.3118 -0.20159,0 -0.35278,-1.05833 -0.35278,-2.46944 v -2.46945 H 104.68454 61.661108 l -0.121748,2.55764 c -0.06696,1.4067 -0.153291,0.29545 -0.191844,-2.46944 z m 30.268795,-10.14236 v -5.11528 h -2.822223 -2.822222 v 5.11528 5.11528 h 2.822222 2.822223 z m 20.461109,3.66602 v -1.44926 l 1.14653,1.43105 c 1.11571,1.39259 1.20579,1.43154 3.35139,1.44926 l 2.20486,0.0182 v -5.11528 -5.11528 h -2.64583 -2.64584 l -0.0158,1.67569 -0.0158,1.6757 -1.50259,-1.6757 c -1.45899,-1.62707 -1.56088,-1.67569 -3.51197,-1.67569 h -2.00938 v 5.11528 5.11528 h 2.82222 2.82222 z m 27.23448,-0.48112 0.1058,-1.93038 0.88195,0.43968 c 0.54028,0.26935 1.08273,1.01718 1.40023,1.93038 l 0.51829,1.4907 h 2.7449 c 2.47894,0 2.74491,-0.0661 2.74491,-0.68259 0,-1.09252 -0.68109,-2.59609 -1.62366,-3.58437 -0.81073,-0.85004 -0.83045,-0.95102 -0.27568,-1.41111 0.75683,-0.62766 1.54656,-2.4962 1.54656,-3.65921 0,-0.8756 -0.0518,-0.89328 -2.6178,-0.89328 -2.601,0 -2.61924,0.007 -2.84222,1.02175 -0.23324,1.06194 -0.9771,1.88924 -2.03651,2.26495 -0.5345,0.18955 -0.61736,-0.0163 -0.61736,-1.53388 v -1.75282 h -2.82222 -2.82222 v 5.11528 5.11528 h 2.80462 2.80461 z m -78.005089,-56.54254 -0.02939,-12.78819 18.256251,0.0342 c 16.583221,0.031 17.979141,0.0774 15.232403,0.50558 -14.505432,2.26137 -26.314985,9.19464 -31.021898,18.21264 -0.775378,1.48555 -1.634373,3.62868 -1.908877,4.7625 -0.460417,1.90173 -0.501375,1.07042 -0.528488,-10.7267 z m 86.618639,10.84891 c -0.7885,-4.93098 -5.85072,-11.49008 -11.85914,-15.36582 -6.13299,-3.95611 -14.32877,-6.90862 -21.89646,-7.88815 -1.4304,-0.18514 4.47755,-0.3102 15.98744,-0.3384 l 18.25625,-0.0447 v 12.52361 c 0,6.88798 -0.0591,12.52361 -0.1313,12.52361 -0.0722,0 -0.23278,-0.63456 -0.35679,-1.41012 z"
44
+ id="path3" /><path
45
+ style="fill:#f8a01a"
46
+ d="m 138.91639,171.57755 c 0.0169,-0.41097 0.10052,-0.49456 0.21313,-0.21314 0.10191,0.25466 0.0894,0.55893 -0.0279,0.67616 -0.11722,0.11722 -0.2006,-0.0911 -0.18528,-0.46302 z m 0,-1.41112 c 0.0169,-0.41096 0.10052,-0.49455 0.21313,-0.21313 0.10191,0.25466 0.0894,0.55893 -0.0279,0.67616 -0.11722,0.11722 -0.2006,-0.0911 -0.18528,-0.46303 z m -39.009801,-9.69465 c -15.63299,-1.34152 -28.534082,-8.80606 -32.330297,-18.70622 -0.932057,-2.43072 -1.247617,-7.00231 -0.658057,-9.53343 0.681379,-2.92533 2.770324,-6.58914 5.265118,-9.23452 13.060472,-13.84878 42.794247,-15.98182 60.324757,-4.32756 2.91261,1.9363 6.92241,6.08217 8.40055,8.68562 2.94477,5.18664 3.00363,11.30843 0.16104,16.75158 -5.64597,10.81124 -23.44021,17.8854 -41.163111,16.36453 z m 14.287501,-24.319 v -19.05 h -6.66453 -6.66454 l -0.21067,0.83938 c -0.11587,0.46167 -0.934353,1.6443 -1.818851,2.62807 -2.605896,2.89838 -6.311294,4.33515 -12.422661,4.81689 l -3.263194,0.25723 v 3.66671 3.66672 h 6.879167 6.879167 v 11.1125 11.1125 h 8.643052 8.64306 z"
47
+ id="path2" /><path
48
+ style="fill:#084b24"
49
+ d="m 61.630198,186.6 v -2.46945 h 43.038892 43.03889 V 186.6 189.06944 H 104.66909 61.630198 Z m 0,-12.52361 v -5.11528 h 2.645833 2.645834 v 3.88056 3.88055 h 2.469444 2.469445 v 1.23472 1.23473 h -5.115278 -5.115278 z m 24.341668,0 v -5.11528 h 2.822222 2.822223 v 5.11528 5.11528 h -2.822223 -2.822222 z m 20.461114,0 v -5.11528 h 1.92087 c 1.83201,0 1.99485,0.0775 3.5196,1.67569 l 1.59873,1.6757 0.008,-1.6757 0.008,-1.67569 h 2.64584 2.64583 v 5.11528 5.11528 h -2.07562 c -1.97414,0 -2.13798,-0.069 -3.35138,-1.41213 l -1.27578,-1.41213 v 1.41213 1.41213 h -2.82222 -2.82222 z m 27.16389,-0.0148 v -5.13012 l 2.71983,0.10304 2.71983,0.10303 0.0142,1.5875 c 0.0124,1.3887 0.10255,1.57247 0.71975,1.46747 1.03224,-0.17562 1.86912,-1.04593 2.1247,-2.20961 0.2234,-1.01714 0.23642,-1.02175 2.88867,-1.02175 h 2.66425 l -0.19104,1.42432 c -0.10507,0.78337 -0.5959,1.95512 -1.09073,2.60387 l -0.89969,1.17956 0.74019,0.65932 c 0.84492,0.7526 1.70115,2.58803 1.70115,3.6466 0,0.65972 -0.22061,0.71689 -2.76638,0.71689 h -2.76638 l -0.41024,-1.36927 c -0.45034,-1.50308 -0.92382,-2.02848 -1.9945,-2.21318 -0.64177,-0.11072 -0.69612,0.0457 -0.60116,1.73036 l 0.1044,1.85209 h -2.83843 -2.83842 z M 97.470313,163.65952 c -17.279315,-1.97763 -31.545998,-10.85681 -35.155859,-21.88003 -1.215021,-3.71024 -1.174573,-8.66563 0.09846,-12.06193 1.304663,-3.48069 2.959392,-6.04628 5.743678,-8.90536 6.223736,-6.39093 17.235367,-11.24819 28.457943,-12.55288 5.496435,-0.639 16.534655,-0.26611 21.107345,0.71303 23.52514,5.03738 35.85506,20.37867 28.5579,35.53273 -4.26517,8.85752 -16.10424,16.12687 -30.32179,18.61798 -3.95296,0.69261 -14.45952,0.99748 -18.487672,0.53646 z m 15.489057,-3.5572 c 5.88692,-0.72582 12.87226,-3.02663 17.4625,-5.75176 8.42026,-4.99893 12.7,-11.18782 12.7,-18.36537 0,-5.11916 -1.59003,-8.74506 -5.75989,-13.13483 -14.92369,-15.71077 -50.298665,-15.63085 -65.178627,0.14725 -2.494794,2.64538 -4.583739,6.30919 -5.265118,9.23452 -0.58956,2.53112 -0.274,7.10271 0.658057,9.53343 2.657321,6.93003 10.27009,13.11435 19.99152,16.24032 8.047379,2.58768 16.048898,3.24832 25.391558,2.09644 z M 96.907978,144.09028 v -11.1125 h -6.879167 -6.879167 v -3.66672 -3.66671 l 3.263194,-0.25723 c 6.111367,-0.48174 9.816765,-1.91851 12.422661,-4.81689 0.884498,-0.98377 1.702981,-2.1664 1.818851,-2.62807 l 0.21067,-0.83938 h 6.66454 6.66453 v 19.05 19.05 h -8.64306 -8.643052 z"
50
+ id="path1" /></g></g></svg>
@@ -0,0 +1,83 @@
1
+ <?xml version="1.0" encoding="iso-8859-1"?>
2
+ <!-- Uploaded to: SVG Repo, www.svgrepo.com, Generator: SVG Repo Mixer Tools -->
3
+ <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
4
+ viewBox="0 0 512 512" xml:space="preserve">
5
+ <path style="fill:#61B8CC;" d="M503.792,386.62c0,14.586-11.934,26.52-26.52,26.52H34.727c-14.586,0-26.52-11.934-26.52-26.52
6
+ V125.38c0-14.586,11.934-26.52,26.52-26.52h442.545c14.586,0,26.52,11.934,26.52,26.52V386.62z"/>
7
+ <rect x="8.208" y="145.496" style="fill:#333E48;" width="495.582" height="31.383"/>
8
+ <path style="fill:#FED771;" d="M462.189,267.934c0,5.835-4.773,10.609-10.608,10.609h-57.017c-5.833,0-10.608-4.774-10.608-10.609
9
+ v-34.476c0-5.834,4.775-10.607,10.608-10.607h57.017c5.835,0,10.608,4.773,10.608,10.607V267.934z"/>
10
+ <ellipse style="fill:#E5AB46;" cx="423.07" cy="250.697" rx="29.143" ry="20.377"/>
11
+ <rect x="47.818" y="222.408" style="fill:#99DAEA;" width="181.664" height="56.587"/>
12
+ <path style="fill:#1E252B;" d="M180.55,324.565c-7.056,0-11.884,4.78-11.884,11.019v0.091c0,6.146,4.508,10.108,11.292,10.108
13
+ c3.416,0,5.873-1.458,7.468-3.368c-0.183,5.871-3.005,10.016-7.696,10.016c-2.187,0-3.961-0.637-5.829-1.958
14
+ c-0.455-0.274-0.956-0.455-1.549-0.455c-1.458,0-2.641,1.093-2.641,2.55c0,1.046,0.5,1.821,1.274,2.321
15
+ c2.368,1.594,5.008,2.642,8.605,2.642c8.605,0,13.66-7.102,13.66-17.348v-0.092c0-6.284-1.503-9.789-3.825-12.156
16
+ C187.154,325.703,184.559,324.565,180.55,324.565z M187.244,335.356c0,3.096-2.413,5.736-6.465,5.736
17
+ c-3.962,0-6.511-2.366-6.511-5.69v-0.091c0-3.279,2.367-5.919,6.329-5.919c4.052,0,6.647,2.55,6.647,5.872v0.092H187.244z
18
+ M58.699,324.701h-0.091c-0.82,0-1.64,0.183-2.733,0.501l-4.826,1.547c-1.139,0.318-1.867,1.229-1.867,2.413
19
+ c0,1.275,1.139,2.368,2.459,2.368c0.274,0,0.683-0.047,1.001-0.137l3.28-1.002v24.041c0,1.55,1.275,2.777,2.777,2.777
20
+ c1.549,0,2.777-1.228,2.777-2.777v-26.955C61.477,325.93,60.293,324.701,58.699,324.701z M144.396,340.456
21
+ c2.687-1.412,4.644-3.551,4.644-7.102v-0.092c0-4.917-4.689-8.604-11.064-8.604s-11.064,3.734-11.064,8.604v0.092
22
+ c0,3.551,1.959,5.691,4.644,7.102c-3.597,1.503-5.738,3.915-5.738,7.74v0.09c0,5.51,5.192,9.153,12.157,9.153
23
+ c6.967,0,12.157-3.552,12.157-9.243v-0.092C150.133,344.326,147.902,342.049,144.396,340.456z M132.284,333.763
24
+ c0-2.414,2.277-4.418,5.692-4.418c3.416,0,5.692,2.004,5.692,4.462v0.091c0,2.733-2.413,4.69-5.692,4.69s-5.692-1.958-5.692-4.734
25
+ C132.284,333.854,132.284,333.763,132.284,333.763z M144.669,347.968c0,2.642-2.504,4.781-6.693,4.781s-6.648-2.185-6.648-4.781
26
+ v-0.091c0-2.914,2.868-4.825,6.648-4.825s6.693,1.911,6.693,4.825V347.968z M477.273,90.652H34.727C15.578,90.652,0,106.23,0,125.38
27
+ V386.62c0,19.149,15.578,34.727,34.727,34.727h442.545c19.148,0,34.727-15.578,34.727-34.727V125.38
28
+ C512,106.23,496.421,90.652,477.273,90.652z M495.585,386.62c0,10.098-8.214,18.312-18.312,18.312H34.727
29
+ c-10.097,0-18.312-8.215-18.312-18.312V185.091h479.169V386.62z M495.585,168.676H16.415v-14.968h479.169V168.676z M495.585,137.293
30
+ H16.415V125.38c0-10.098,8.214-18.312,18.312-18.312h442.545c10.098,0,18.312,8.215,18.312,18.312V137.293z M108.332,324.565
31
+ c-7.056,0-11.884,4.78-11.884,11.019v0.091c0,6.146,4.508,10.108,11.292,10.108c3.416,0,5.873-1.458,7.468-3.368
32
+ c-0.183,5.871-3.005,10.016-7.696,10.016c-2.185,0-3.961-0.637-5.829-1.958c-0.455-0.274-0.956-0.455-1.549-0.455
33
+ c-1.458,0-2.641,1.093-2.641,2.55c0,1.046,0.501,1.821,1.274,2.321c2.368,1.594,5.008,2.642,8.605,2.642
34
+ c8.605,0,13.66-7.102,13.66-17.348v-0.092c0-6.284-1.501-9.789-3.825-12.156C114.934,325.703,112.34,324.565,108.332,324.565z
35
+ M115.025,335.356c0,3.096-2.413,5.736-6.465,5.736c-3.962,0-6.511-2.366-6.511-5.69v-0.091c0-3.279,2.367-5.919,6.329-5.919
36
+ c4.052,0,6.647,2.55,6.647,5.872v0.092H115.025z M88.889,352.066H75.958l6.556-5.464c5.646-4.597,8.288-7.33,8.288-12.339v-0.09
37
+ c0-5.692-4.28-9.515-10.518-9.515c-5.009,0-7.968,1.913-10.563,5.144c-0.41,0.501-0.637,1.138-0.637,1.731
38
+ c0,1.411,1.137,2.549,2.55,2.549c0.911,0,1.549-0.409,1.958-0.866c1.958-2.366,3.734-3.55,6.284-3.55
39
+ c2.914,0,5.145,1.82,5.145,4.963c0,2.867-1.594,4.916-5.964,8.604l-9.789,8.332c-0.956,0.774-1.458,1.685-1.458,2.779
40
+ c0,1.639,1.276,2.64,3.005,2.64H88.89c1.366,0,2.458-1.092,2.458-2.458C91.346,353.159,90.254,352.066,88.889,352.066z
41
+ M356.637,354.07c2.595,2.003,5.873,3.46,10.199,3.46c6.829,0,11.655-4.326,11.655-10.79v-0.092c0-6.739-4.872-10.017-11.109-10.017
42
+ c-2.141,0-3.551,0.363-5.055,0.912l0.501-7.468h11.975c1.366,0,2.504-1.092,2.504-2.458c0-1.365-1.138-2.504-2.504-2.504h-14.434
43
+ c-1.367,0-2.46,1.047-2.551,2.504l-0.683,11.473c-0.046,1.048,0.272,1.867,1.092,2.458c1.092,0.775,1.776,1.093,2.642,1.093
44
+ c0.865,0,2.367-1.093,5.463-1.093c3.871,0,6.602,2.005,6.602,5.28v0.092c0,3.371-2.595,5.51-6.192,5.51
45
+ c-2.504,0-4.735-0.911-6.921-2.688c-0.455-0.362-0.956-0.545-1.639-0.545c-1.457,0-2.687,1.23-2.687,2.686
46
+ C355.498,352.795,355.954,353.523,356.637,354.07z M257.644,356.983h18.076c1.366,0,2.459-1.092,2.459-2.458
47
+ c0-1.366-1.093-2.459-2.459-2.459h-12.931l6.556-5.464c5.646-4.597,8.288-7.33,8.288-12.339v-0.09c0-5.692-4.28-9.515-10.518-9.515
48
+ c-5.009,0-7.968,1.913-10.563,5.143c-0.41,0.501-0.637,1.138-0.637,1.731c0,1.411,1.137,2.549,2.55,2.549
49
+ c0.911,0,1.547-0.409,1.958-0.866c1.959-2.366,3.734-3.55,6.284-3.55c2.914,0,5.145,1.82,5.145,4.963
50
+ c0,2.867-1.593,4.916-5.964,8.604l-9.789,8.332c-0.956,0.774-1.457,1.685-1.457,2.779
51
+ C254.639,355.983,255.914,356.983,257.644,356.983z M394.564,286.75h57.017c10.375,0,18.815-8.441,18.815-18.816v-34.476
52
+ c0-10.375-8.441-18.814-18.815-18.814h-57.017c-10.375,0-18.815,8.441-18.815,18.814v34.476
53
+ C375.749,278.309,384.189,286.75,394.564,286.75z M392.164,233.458c0-1.301,1.099-2.399,2.4-2.399h57.017
54
+ c1.301,0,2.4,1.099,2.4,2.399v34.476c0,1.301-1.099,2.401-2.4,2.401h-57.017c-1.301,0-2.4-1.1-2.4-2.401V233.458z M338.467,357.439
55
+ c6.967,0,12.157-3.552,12.157-9.243v-0.092c0-3.779-2.23-6.055-5.737-7.649c2.687-1.412,4.644-3.551,4.644-7.102v-0.092
56
+ c0-4.917-4.69-8.604-11.064-8.604c-6.375,0-11.064,3.734-11.064,8.604v0.092c0,3.551,1.958,5.691,4.643,7.102
57
+ c-3.597,1.503-5.737,3.915-5.737,7.74v0.09C326.31,353.796,331.501,357.439,338.467,357.439z M332.775,333.763
58
+ c0-2.414,2.277-4.418,5.692-4.418c3.415,0,5.692,2.004,5.692,4.462v0.091c0,2.733-2.413,4.69-5.692,4.69s-5.692-1.958-5.692-4.734
59
+ V333.763z M331.819,347.877c0-2.914,2.869-4.825,6.648-4.825s6.693,1.911,6.693,4.825v0.091c0,2.642-2.504,4.781-6.693,4.781
60
+ s-6.648-2.185-6.648-4.781V347.877z M308.232,345.783c3.415,0,5.873-1.458,7.467-3.368c-0.183,5.871-3.005,10.016-7.694,10.016
61
+ c-2.187,0-3.96-0.637-5.829-1.958c-0.455-0.274-0.956-0.455-1.549-0.455c-1.457,0-2.641,1.093-2.641,2.55
62
+ c0,1.046,0.5,1.821,1.275,2.321c2.368,1.594,5.008,2.642,8.605,2.642c8.606,0,13.66-7.102,13.66-17.348v-0.092
63
+ c0-6.284-1.503-9.789-3.825-12.156c-2.276-2.231-4.872-3.37-8.879-3.37c-7.056,0-11.884,4.78-11.884,11.019v0.091
64
+ C296.939,341.822,301.448,345.783,308.232,345.783z M302.541,335.31c0-3.279,2.367-5.919,6.329-5.919
65
+ c4.052,0,6.647,2.55,6.647,5.872v0.092c0,3.096-2.414,5.736-6.465,5.736c-3.962,0-6.511-2.366-6.511-5.69v-0.091H302.541z
66
+ M407.771,345.236h-2.459v-17.894c0-1.503-1.229-2.686-2.732-2.686c-1.639,0-2.414,0.637-3.417,1.821l-14.98,17.758
67
+ c-0.82,0.955-1.229,1.866-1.229,2.958c0,1.547,1.229,2.641,2.732,2.641h14.251v4.735c0,1.503,1.185,2.641,2.688,2.641
68
+ s2.686-1.138,2.686-2.641v-4.735h2.459c1.321,0,2.322-1.001,2.322-2.276C410.093,346.283,409.092,345.236,407.771,345.236z
69
+ M399.939,345.236h-10.472l10.472-12.611V345.236z M228.044,327.57c0,1.321,1.093,2.413,2.459,2.413h11.565l-7.468,7.968
70
+ c-0.865,0.866-1.184,1.549-1.184,2.275c0,1.321,1.092,2.414,2.414,2.414h1.138c4.463,0,7.331,1.776,7.331,4.917v0.091
71
+ c0,2.914-2.368,4.827-5.51,4.827c-2.959,0-5.235-1.047-7.239-3.052c-0.455-0.408-1.047-0.727-1.867-0.727
72
+ c-1.457,0-2.687,1.229-2.687,2.684c0,0.822,0.409,1.594,0.911,2.005c2.596,2.504,6.102,4.143,10.792,4.143
73
+ c6.647,0,11.155-4.235,11.155-10.108v-0.091c0-5.875-4.554-8.334-9.38-8.925l7.513-7.785c0.956-0.956,1.593-1.73,1.593-3.051
74
+ c0-1.503-1.185-2.458-2.777-2.458h-16.301C229.138,325.112,228.044,326.204,228.044,327.57z M216.614,340.456
75
+ c2.687-1.412,4.644-3.551,4.644-7.102v-0.092c0-4.917-4.689-8.604-11.064-8.604s-11.064,3.734-11.064,8.604v0.092
76
+ c0,3.551,1.959,5.691,4.644,7.102c-3.597,1.503-5.738,3.915-5.738,7.74v0.09c0,5.51,5.192,9.153,12.157,9.153
77
+ c6.967,0,12.157-3.552,12.157-9.243v-0.092C222.352,344.326,220.12,342.049,216.614,340.456z M204.504,333.763
78
+ c0-2.414,2.276-4.418,5.691-4.418c3.416,0,5.692,2.004,5.692,4.462v0.091c0,2.733-2.413,4.69-5.692,4.69s-5.691-1.958-5.691-4.734
79
+ V333.763z M216.887,347.968c0,2.642-2.504,4.781-6.693,4.781s-6.647-2.185-6.647-4.781v-0.091c0-2.914,2.868-4.825,6.647-4.825
80
+ c3.78,0,6.693,1.911,6.693,4.825V347.968z M47.818,287.199h181.66c4.533,0,8.208-3.674,8.208-8.208v-56.587
81
+ c0-4.534-3.675-8.208-8.208-8.208H47.818c-4.533,0-8.208,3.674-8.208,8.208v56.587C39.61,283.524,43.285,287.199,47.818,287.199z
82
+ M56.026,230.611H221.27v40.172H56.026V230.611z"/>
83
+ </svg>
Binary file
Binary file
Binary file
@@ -0,0 +1,5 @@
1
+ <svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M9.99984 18.3337C14.5832 18.3337 18.3332 14.5837 18.3332 10.0003C18.3332 5.41699 14.5832 1.66699 9.99984 1.66699C5.4165 1.66699 1.6665 5.41699 1.6665 10.0003C1.6665 14.5837 5.4165 18.3337 9.99984 18.3337Z" stroke="#1F7A7A" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
3
+ <path d="M6.6665 10H13.3332" stroke="#1F7A7A" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
4
+ <path d="M10 13.3337V6.66699" stroke="#1F7A7A" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
5
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M22 11.0857V12.0057C21.9988 14.1621 21.3005 16.2604 20.0093 17.9875C18.7182 19.7147 16.9033 20.9782 14.8354 21.5896C12.7674 22.201 10.5573 22.1276 8.53447 21.3803C6.51168 20.633 4.78465 19.2518 3.61096 17.4428C2.43727 15.6338 1.87979 13.4938 2.02168 11.342C2.16356 9.19029 2.99721 7.14205 4.39828 5.5028C5.79935 3.86354 7.69279 2.72111 9.79619 2.24587C11.8996 1.77063 14.1003 1.98806 16.07 2.86572M22 4L12 14.01L9 11.01" stroke="#039855" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
3
+ </svg>
@@ -0,0 +1,5 @@
1
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M12 22C17.5 22 22 17.5 22 12C22 6.5 17.5 2 12 2C6.5 2 2 6.5 2 12C2 17.5 6.5 22 12 22Z" stroke="#98A2B3" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
3
+ <path d="M9.16992 14.83L14.8299 9.17" stroke="#98A2B3" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
4
+ <path d="M14.8299 14.83L9.16992 9.17" stroke="#98A2B3" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
5
+ </svg>
Binary file