@bikdotai/bik-component-library 1.0.0-beta.1 → 1.1.1-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (789) hide show
  1. package/dist/cjs/assets/icons/vertical_dots.svg.js +1 -1
  2. package/dist/cjs/bundle.css +0 -2
  3. package/dist/cjs/components/QueryBuilder/Filters/Event/components/EventFilter.js +1 -1
  4. package/dist/cjs/components/QueryBuilder/Filters/Segment/components/SegmentFilter.js +1 -1
  5. package/dist/cjs/components/QueryBuilder/Filters/UserProperty/components/UserPropertyFilter.js +1 -1
  6. package/dist/cjs/components/QueryBuilder/Triggers/components/BaseTriggerQueryBuilderNode.js +1 -1
  7. package/dist/cjs/components/QueryBuilder/components/AllowedListDropdown.js +1 -1
  8. package/dist/cjs/components/QueryBuilder/components/Connectors/Components/EmojiPicker.js +1 -1
  9. package/dist/cjs/components/QueryBuilder/components/Connectors/Components/FreeText.js +1 -1
  10. package/dist/cjs/components/QueryBuilder/components/Connectors/Components/FrequencyIntegerPositiveSingle.js +1 -1
  11. package/dist/cjs/components/QueryBuilder/components/Connectors/Components/IgPicker.d.ts +2 -4
  12. package/dist/cjs/components/QueryBuilder/components/Connectors/Components/IgPicker.js +1 -1
  13. package/dist/cjs/components/QueryBuilder/components/Connectors/Components/IgPicker.stories.d.ts +5 -0
  14. package/dist/cjs/components/QueryBuilder/components/Connectors/Components/MultiselectDropdownFreeText.js +1 -1
  15. package/dist/cjs/components/QueryBuilder/components/Connectors/Components/SingleDate.js +1 -1
  16. package/dist/cjs/components/QueryBuilder/components/Connectors/Components/TwoDate.js +1 -1
  17. package/dist/cjs/components/QueryBuilder/components/Connectors/Connector.js +1 -1
  18. package/dist/cjs/components/QueryBuilder/components/DropdownWrapper.d.ts +0 -1
  19. package/dist/cjs/components/QueryBuilder/components/DropdownWrapper.js +1 -1
  20. package/dist/cjs/components/QueryBuilder/components/InputLoader.js +1 -1
  21. package/dist/cjs/components/QueryBuilder/components/QueryBuilderNode/Property/PropertyNode.js +1 -1
  22. package/dist/cjs/components/QueryBuilder/components/QueryBuilderNode/Property/PropertyNodeUIWrapper.js +1 -1
  23. package/dist/cjs/components/QueryBuilder/components/QueryBuilderNode/Property/PropertyNodes.js +1 -1
  24. package/dist/cjs/components/QueryBuilder/components/QueryBuilderNodes.js +1 -1
  25. package/dist/cjs/components/QueryBuilder/constants/connector.d.ts +9 -33
  26. package/dist/cjs/components/QueryBuilder/constants/connector.js +1 -1
  27. package/dist/cjs/components/QueryBuilder/constants/connectorPosition.d.ts +2 -17
  28. package/dist/cjs/components/QueryBuilder/constants/connectorPosition.js +1 -1
  29. package/dist/cjs/components/QueryBuilder/helpers/ApiResponse.helper.d.ts +0 -3
  30. package/dist/cjs/components/QueryBuilder/helpers/ApiResponse.helper.js +1 -1
  31. package/dist/cjs/components/QueryBuilder/helpers/Connector.helper.d.ts +1 -1
  32. package/dist/cjs/components/QueryBuilder/types/QueryBuilder.type.d.ts +2 -8
  33. package/dist/cjs/components/QueryBuilder/types/QueryBuilder.type.js +1 -1
  34. package/dist/cjs/components/QueryBuilder/types/QueryBuilderConnector.type.d.ts +1 -11
  35. package/dist/cjs/components/QueryBuilder/types/QueryBuilderOperator.type.d.ts +5 -22
  36. package/dist/cjs/components/QueryBuilder/types/QueryBuilderOperator.type.js +1 -1
  37. package/dist/cjs/components/QueryBuilder/types/QueryBuilderPropertyProps.d.ts +1 -4
  38. package/dist/cjs/components/QueryBuilder/types/QueryBuilderProps.type.d.ts +0 -1
  39. package/dist/cjs/components/TypographyStyle.d.ts +17 -72
  40. package/dist/cjs/components/TypographyStyle.js +78 -148
  41. package/dist/cjs/components/analytics-card/AnalyticsCard.d.ts +0 -1
  42. package/dist/cjs/components/analytics-card/AnalyticsCard.js +1 -1
  43. package/dist/cjs/components/analytics-card/AnalyticsCard.styled.js +1 -1
  44. package/dist/cjs/components/analytics-chips-and-dropdowns/AnalyticsChip.d.ts +1 -1
  45. package/dist/cjs/components/analytics-chips-and-dropdowns/AnalyticsChip.js +1 -1
  46. package/dist/cjs/components/analytics-chips-and-dropdowns/AnalyticsDropdown.d.ts +0 -1
  47. package/dist/cjs/components/analytics-chips-and-dropdowns/AnalyticsDropdown.js +1 -1
  48. package/dist/cjs/components/analytics-chips-and-dropdowns/CommonStyles.d.ts +0 -6
  49. package/dist/cjs/components/analytics-chips-and-dropdowns/CommonStyles.js +1 -1
  50. package/dist/cjs/components/analytics-chips-and-dropdowns/index.d.ts +0 -11
  51. package/dist/cjs/components/button/Button.js +1 -1
  52. package/dist/cjs/components/button/Button.styled.js +1 -1
  53. package/dist/cjs/components/button/model.d.ts +1 -1
  54. package/dist/cjs/components/button/themes.d.ts +2 -5
  55. package/dist/cjs/components/button/themes.js +1 -1
  56. package/dist/cjs/components/curtain/Curtain.d.ts +1 -2
  57. package/dist/cjs/components/curtain/Curtain.js +1 -1
  58. package/dist/cjs/components/curtain/Curtain.styled.js +4 -4
  59. package/dist/cjs/components/curtain/CurtainHelper.d.ts +1 -12
  60. package/dist/cjs/components/curtain/CurtainHelper.js +1 -1
  61. package/dist/cjs/components/datePicker/DatePicker.d.ts +0 -1
  62. package/dist/cjs/components/datePicker/DatePicker.js +1 -1
  63. package/dist/cjs/components/datePicker/DatePicker.styled.js +1 -1
  64. package/dist/cjs/components/dropShadow/DropShadow.d.ts +0 -1
  65. package/dist/cjs/components/dropShadow/DropShadow.js +1 -1
  66. package/dist/cjs/components/dropdown/Dropdown.d.ts +0 -1
  67. package/dist/cjs/components/dropdown/Dropdown.js +1 -1
  68. package/dist/cjs/components/dropdown/DropdownPopover/index.d.ts +0 -1
  69. package/dist/cjs/components/dropdown/DropdownPopover/index.js +1 -1
  70. package/dist/cjs/components/dropdown/OpenedDropdown/components/OpennedDropdown.js +1 -1
  71. package/dist/cjs/components/dropdown/OpenedDropdown/components/OpennedDropdown.styled.d.ts +0 -1
  72. package/dist/cjs/components/dropdown/OpenedDropdown/components/OpennedDropdown.styled.js +0 -2
  73. package/dist/cjs/components/dropdown/OpenedDropdown/components/menu/MenuItem.d.ts +0 -1
  74. package/dist/cjs/components/dropdown/OpenedDropdown/components/menu/MenuItem.js +2 -2
  75. package/dist/cjs/components/dropdown/OpenedDropdown/components/menu/MenuList.js +1 -1
  76. package/dist/cjs/components/dropdown/OpenedDropdown/components/menu/MenuList.styled.d.ts +1 -4
  77. package/dist/cjs/components/dropdown/OpenedDropdown/components/searchbox/SearchBox.js +1 -1
  78. package/dist/cjs/components/dropdown/OpenedDropdown/components/searchbox/SearchZeroState.js +1 -1
  79. package/dist/cjs/components/dropdown/OpenedDropdown/utils/iterationOnOptions.d.ts +0 -2
  80. package/dist/cjs/components/dropdown/index.d.ts +0 -1
  81. package/dist/cjs/components/dropdown/type.d.ts +0 -4
  82. package/dist/cjs/components/image-compress/ImageCompress.d.ts +1 -5
  83. package/dist/cjs/components/image-compress/ImageCompress.js +1 -1
  84. package/dist/cjs/components/input/Input.d.ts +3 -12
  85. package/dist/cjs/components/input/Input.js +1 -1
  86. package/dist/cjs/components/input/Input.styled.js +1 -1
  87. package/dist/cjs/components/list-item/themes.js +1 -1
  88. package/dist/cjs/components/modals/Modal.d.ts +1 -2
  89. package/dist/cjs/components/modals/Modal.js +1 -1
  90. package/dist/cjs/components/modals/modal.styled.js +1 -1
  91. package/dist/cjs/components/modals/styledModal.d.ts +2 -3
  92. package/dist/cjs/components/modals/styledModal.js +1 -1
  93. package/dist/cjs/components/postPicker/PostPicker.styled.d.ts +1 -4
  94. package/dist/cjs/components/postPicker/PostPicker.styled.js +8 -6
  95. package/dist/cjs/components/postPicker/postPicker.js +1 -1
  96. package/dist/cjs/components/radioButton/RadioButton.js +1 -1
  97. package/dist/cjs/components/spinner/Spinner.js +1 -1
  98. package/dist/cjs/components/states/StateComponent.d.ts +2 -3
  99. package/dist/cjs/components/states-modal/StateModalComponent.d.ts +1 -3
  100. package/dist/cjs/components/states-modal/index.d.ts +0 -1
  101. package/dist/cjs/components/switch/Switch.d.ts +8 -16
  102. package/dist/cjs/components/tag/Tag.styled.d.ts +2 -6
  103. package/dist/cjs/components/tag/Tag.styled.js +28 -1
  104. package/dist/cjs/components/template-context-mapper/TemplateContextMapper.d.ts +1 -2
  105. package/dist/cjs/components/template-context-mapper/TemplateContextMapper.js +1 -1
  106. package/dist/cjs/components/template-context-mapper/modalElements/DesktopPreview.js +4 -4
  107. package/dist/cjs/components/template-context-mapper/modalElements/EditWhatsAppTemplateMediaV2.js +1 -1
  108. package/dist/cjs/components/template-context-mapper/modalElements/MobilePreview.js +3 -3
  109. package/dist/cjs/components/template-context-mapper/modalElements/VariableConnector.js +3 -3
  110. package/dist/cjs/components/template-context-mapper/modalElements/VariableConnectorsPanel.js +2 -2
  111. package/dist/cjs/components/template-context-mapper/utils/validateIsUrl.js +1 -1
  112. package/dist/cjs/components/template-preview/EmailTemplatePreview.styled.d.ts +0 -4
  113. package/dist/cjs/components/template-preview/EmailTemplatePreview.styled.js +12 -25
  114. package/dist/cjs/components/template-preview/EmailTemplateThumbnailPreview.js +1 -1
  115. package/dist/cjs/components/template-preview/WhatsApp/ChatBtn.js +1 -1
  116. package/dist/cjs/components/template-preview/WhatsApp/ChatUI.js +2 -2
  117. package/dist/cjs/components/template-preview/WhatsApp/ChatUI.style.d.ts +1 -4
  118. package/dist/cjs/components/template-preview/WhatsAppTemplatePreview.js +1 -1
  119. package/dist/cjs/components/template-preview/constants/regexPatterns.js +1 -1
  120. package/dist/cjs/components/template-preview/helpers/TemplateCreatorHelper.d.ts +1 -1
  121. package/dist/cjs/components/template-preview/helpers/TemplateCreatorHelper.js +1 -1
  122. package/dist/cjs/components/template-preview/index.d.ts +0 -4
  123. package/dist/cjs/components/template-preview/models/WhatsAppTemplate.d.ts +0 -4
  124. package/dist/cjs/components/toaster/Toaster.d.ts +1 -1
  125. package/dist/cjs/components/toaster/Toaster.js +1 -1
  126. package/dist/cjs/components/toaster/Toaster.styled.js +1 -1
  127. package/dist/cjs/components/tooltips/Tooltip.js +1 -1
  128. package/dist/cjs/components/zeroState/ZeroState.js +1 -1
  129. package/dist/cjs/constants/Theme.d.ts +0 -4
  130. package/dist/cjs/constants/Theme.js +1 -1
  131. package/dist/cjs/index.d.ts +1 -26
  132. package/dist/cjs/index.js +1 -1
  133. package/dist/esm/assets/icons/vertical_dots.svg.js +1 -1
  134. package/dist/esm/bundle.css +0 -2
  135. package/dist/esm/components/QueryBuilder/Filters/Event/components/EventFilter.js +1 -1
  136. package/dist/esm/components/QueryBuilder/Filters/Segment/components/SegmentFilter.js +1 -1
  137. package/dist/esm/components/QueryBuilder/Filters/UserProperty/components/UserPropertyFilter.js +1 -1
  138. package/dist/esm/components/QueryBuilder/Triggers/components/BaseTriggerQueryBuilderNode.js +1 -1
  139. package/dist/esm/components/QueryBuilder/components/AllowedListDropdown.js +1 -1
  140. package/dist/esm/components/QueryBuilder/components/Connectors/Components/EmojiPicker.js +1 -1
  141. package/dist/esm/components/QueryBuilder/components/Connectors/Components/FreeText.js +1 -1
  142. package/dist/esm/components/QueryBuilder/components/Connectors/Components/FrequencyIntegerPositiveSingle.js +1 -1
  143. package/dist/esm/components/QueryBuilder/components/Connectors/Components/IgPicker.d.ts +2 -4
  144. package/dist/esm/components/QueryBuilder/components/Connectors/Components/IgPicker.js +1 -1
  145. package/dist/esm/components/QueryBuilder/components/Connectors/Components/IgPicker.stories.d.ts +5 -0
  146. package/dist/esm/components/QueryBuilder/components/Connectors/Components/MultiselectDropdownFreeText.js +1 -1
  147. package/dist/esm/components/QueryBuilder/components/Connectors/Components/SingleDate.js +1 -1
  148. package/dist/esm/components/QueryBuilder/components/Connectors/Components/TwoDate.js +1 -1
  149. package/dist/esm/components/QueryBuilder/components/Connectors/Connector.js +1 -1
  150. package/dist/esm/components/QueryBuilder/components/DropdownWrapper.d.ts +0 -1
  151. package/dist/esm/components/QueryBuilder/components/DropdownWrapper.js +1 -1
  152. package/dist/esm/components/QueryBuilder/components/InputLoader.js +1 -1
  153. package/dist/esm/components/QueryBuilder/components/QueryBuilderNode/Property/PropertyNode.js +1 -1
  154. package/dist/esm/components/QueryBuilder/components/QueryBuilderNode/Property/PropertyNodeUIWrapper.js +1 -1
  155. package/dist/esm/components/QueryBuilder/components/QueryBuilderNode/Property/PropertyNodes.js +1 -1
  156. package/dist/esm/components/QueryBuilder/components/QueryBuilderNodes.js +1 -1
  157. package/dist/esm/components/QueryBuilder/constants/connector.d.ts +9 -33
  158. package/dist/esm/components/QueryBuilder/constants/connector.js +1 -1
  159. package/dist/esm/components/QueryBuilder/constants/connectorPosition.d.ts +2 -17
  160. package/dist/esm/components/QueryBuilder/constants/connectorPosition.js +1 -1
  161. package/dist/esm/components/QueryBuilder/helpers/ApiResponse.helper.d.ts +0 -3
  162. package/dist/esm/components/QueryBuilder/helpers/ApiResponse.helper.js +1 -1
  163. package/dist/esm/components/QueryBuilder/helpers/Connector.helper.d.ts +1 -1
  164. package/dist/esm/components/QueryBuilder/types/QueryBuilder.type.d.ts +2 -8
  165. package/dist/esm/components/QueryBuilder/types/QueryBuilder.type.js +1 -1
  166. package/dist/esm/components/QueryBuilder/types/QueryBuilderConnector.type.d.ts +1 -11
  167. package/dist/esm/components/QueryBuilder/types/QueryBuilderOperator.type.d.ts +5 -22
  168. package/dist/esm/components/QueryBuilder/types/QueryBuilderOperator.type.js +1 -1
  169. package/dist/esm/components/QueryBuilder/types/QueryBuilderPropertyProps.d.ts +1 -4
  170. package/dist/esm/components/QueryBuilder/types/QueryBuilderProps.type.d.ts +0 -1
  171. package/dist/esm/components/TypographyStyle.d.ts +17 -72
  172. package/dist/esm/components/TypographyStyle.js +82 -152
  173. package/dist/esm/components/analytics-card/AnalyticsCard.d.ts +0 -1
  174. package/dist/esm/components/analytics-card/AnalyticsCard.js +1 -1
  175. package/dist/esm/components/analytics-card/AnalyticsCard.styled.js +1 -1
  176. package/dist/esm/components/analytics-chips-and-dropdowns/AnalyticsChip.d.ts +1 -1
  177. package/dist/esm/components/analytics-chips-and-dropdowns/AnalyticsChip.js +1 -1
  178. package/dist/esm/components/analytics-chips-and-dropdowns/AnalyticsDropdown.d.ts +0 -1
  179. package/dist/esm/components/analytics-chips-and-dropdowns/AnalyticsDropdown.js +1 -1
  180. package/dist/esm/components/analytics-chips-and-dropdowns/CommonStyles.d.ts +0 -6
  181. package/dist/esm/components/analytics-chips-and-dropdowns/CommonStyles.js +1 -1
  182. package/dist/esm/components/analytics-chips-and-dropdowns/index.d.ts +0 -11
  183. package/dist/esm/components/button/Button.js +1 -1
  184. package/dist/esm/components/button/Button.styled.js +1 -1
  185. package/dist/esm/components/button/model.d.ts +1 -1
  186. package/dist/esm/components/button/themes.d.ts +2 -5
  187. package/dist/esm/components/button/themes.js +1 -1
  188. package/dist/esm/components/curtain/Curtain.d.ts +1 -2
  189. package/dist/esm/components/curtain/Curtain.js +1 -1
  190. package/dist/esm/components/curtain/Curtain.styled.js +1 -1
  191. package/dist/esm/components/curtain/CurtainHelper.d.ts +1 -12
  192. package/dist/esm/components/curtain/CurtainHelper.js +1 -1
  193. package/dist/esm/components/datePicker/DatePicker.d.ts +0 -1
  194. package/dist/esm/components/datePicker/DatePicker.js +1 -1
  195. package/dist/esm/components/datePicker/DatePicker.styled.js +1 -1
  196. package/dist/esm/components/dropShadow/DropShadow.d.ts +0 -1
  197. package/dist/esm/components/dropShadow/DropShadow.js +1 -1
  198. package/dist/esm/components/dropdown/Dropdown.d.ts +0 -1
  199. package/dist/esm/components/dropdown/Dropdown.js +1 -1
  200. package/dist/esm/components/dropdown/DropdownPopover/index.d.ts +0 -1
  201. package/dist/esm/components/dropdown/DropdownPopover/index.js +1 -1
  202. package/dist/esm/components/dropdown/OpenedDropdown/components/OpennedDropdown.js +1 -1
  203. package/dist/esm/components/dropdown/OpenedDropdown/components/OpennedDropdown.styled.d.ts +0 -1
  204. package/dist/esm/components/dropdown/OpenedDropdown/components/OpennedDropdown.styled.js +3 -5
  205. package/dist/esm/components/dropdown/OpenedDropdown/components/menu/MenuItem.d.ts +0 -1
  206. package/dist/esm/components/dropdown/OpenedDropdown/components/menu/MenuItem.js +1 -1
  207. package/dist/esm/components/dropdown/OpenedDropdown/components/menu/MenuList.js +1 -1
  208. package/dist/esm/components/dropdown/OpenedDropdown/components/menu/MenuList.styled.d.ts +1 -4
  209. package/dist/esm/components/dropdown/OpenedDropdown/components/searchbox/SearchBox.js +1 -1
  210. package/dist/esm/components/dropdown/OpenedDropdown/components/searchbox/SearchZeroState.js +1 -1
  211. package/dist/esm/components/dropdown/OpenedDropdown/utils/iterationOnOptions.d.ts +0 -2
  212. package/dist/esm/components/dropdown/index.d.ts +0 -1
  213. package/dist/esm/components/dropdown/type.d.ts +0 -4
  214. package/dist/esm/components/image-compress/ImageCompress.d.ts +1 -5
  215. package/dist/esm/components/image-compress/ImageCompress.js +1 -1
  216. package/dist/esm/components/input/Input.d.ts +3 -12
  217. package/dist/esm/components/input/Input.js +1 -1
  218. package/dist/esm/components/input/Input.styled.js +1 -1
  219. package/dist/esm/components/list-item/themes.js +1 -1
  220. package/dist/esm/components/modals/Modal.d.ts +1 -2
  221. package/dist/esm/components/modals/Modal.js +1 -1
  222. package/dist/esm/components/modals/modal.styled.js +1 -1
  223. package/dist/esm/components/modals/styledModal.d.ts +2 -3
  224. package/dist/esm/components/modals/styledModal.js +1 -1
  225. package/dist/esm/components/postPicker/PostPicker.styled.d.ts +1 -4
  226. package/dist/esm/components/postPicker/PostPicker.styled.js +3 -1
  227. package/dist/esm/components/postPicker/postPicker.js +1 -1
  228. package/dist/esm/components/radioButton/RadioButton.js +1 -1
  229. package/dist/esm/components/spinner/Spinner.js +1 -1
  230. package/dist/esm/components/states/StateComponent.d.ts +2 -3
  231. package/dist/esm/components/states-modal/StateModalComponent.d.ts +1 -3
  232. package/dist/esm/components/states-modal/index.d.ts +0 -1
  233. package/dist/esm/components/switch/Switch.d.ts +8 -16
  234. package/dist/esm/components/tag/Tag.styled.d.ts +2 -6
  235. package/dist/esm/components/tag/Tag.styled.js +28 -1
  236. package/dist/esm/components/template-context-mapper/TemplateContextMapper.d.ts +1 -2
  237. package/dist/esm/components/template-context-mapper/TemplateContextMapper.js +1 -1
  238. package/dist/esm/components/template-context-mapper/modalElements/DesktopPreview.js +6 -6
  239. package/dist/esm/components/template-context-mapper/modalElements/EditWhatsAppTemplateMediaV2.js +1 -1
  240. package/dist/esm/components/template-context-mapper/modalElements/MobilePreview.js +2 -2
  241. package/dist/esm/components/template-context-mapper/modalElements/VariableConnector.js +2 -2
  242. package/dist/esm/components/template-context-mapper/modalElements/VariableConnectorsPanel.js +2 -2
  243. package/dist/esm/components/template-context-mapper/utils/validateIsUrl.js +1 -1
  244. package/dist/esm/components/template-preview/EmailTemplatePreview.styled.d.ts +0 -4
  245. package/dist/esm/components/template-preview/EmailTemplatePreview.styled.js +11 -24
  246. package/dist/esm/components/template-preview/EmailTemplateThumbnailPreview.js +1 -1
  247. package/dist/esm/components/template-preview/WhatsApp/ChatBtn.js +1 -1
  248. package/dist/esm/components/template-preview/WhatsApp/ChatUI.js +1 -1
  249. package/dist/esm/components/template-preview/WhatsApp/ChatUI.style.d.ts +1 -4
  250. package/dist/esm/components/template-preview/WhatsAppTemplatePreview.js +1 -1
  251. package/dist/esm/components/template-preview/constants/regexPatterns.js +1 -1
  252. package/dist/esm/components/template-preview/helpers/TemplateCreatorHelper.d.ts +1 -1
  253. package/dist/esm/components/template-preview/helpers/TemplateCreatorHelper.js +1 -1
  254. package/dist/esm/components/template-preview/index.d.ts +0 -4
  255. package/dist/esm/components/template-preview/models/WhatsAppTemplate.d.ts +0 -4
  256. package/dist/esm/components/toaster/Toaster.d.ts +1 -1
  257. package/dist/esm/components/toaster/Toaster.js +1 -1
  258. package/dist/esm/components/toaster/Toaster.styled.js +1 -1
  259. package/dist/esm/components/tooltips/Tooltip.js +1 -1
  260. package/dist/esm/components/zeroState/ZeroState.js +4 -4
  261. package/dist/esm/constants/Theme.d.ts +0 -4
  262. package/dist/esm/constants/Theme.js +1 -1
  263. package/dist/esm/index.d.ts +1 -26
  264. package/dist/esm/index.js +1 -1
  265. package/package.json +1 -8
  266. package/dist/cjs/_virtual/_commonjsHelpers.js +0 -1
  267. package/dist/cjs/assets/icons/Bik_logo.svg.js +0 -1
  268. package/dist/cjs/assets/icons/alert_triangle.svg.js +0 -1
  269. package/dist/cjs/assets/icons/arrow_down.svg.js +0 -1
  270. package/dist/cjs/assets/icons/arrow_up.svg.js +0 -1
  271. package/dist/cjs/assets/icons/bold.svg.js +0 -1
  272. package/dist/cjs/assets/icons/box.svg.js +0 -1
  273. package/dist/cjs/assets/icons/chevronLeft.svg.js +0 -1
  274. package/dist/cjs/assets/icons/chevronRight.svg.js +0 -1
  275. package/dist/cjs/assets/icons/clock.svg.js +0 -1
  276. package/dist/cjs/assets/icons/cursor.svg.js +0 -1
  277. package/dist/cjs/assets/icons/errorIcon.svg.js +0 -1
  278. package/dist/cjs/assets/icons/file.svg.js +0 -1
  279. package/dist/cjs/assets/icons/horizontal_dots.svg.js +0 -1
  280. package/dist/cjs/assets/icons/italic.svg.js +0 -1
  281. package/dist/cjs/assets/icons/log_out.svg.js +0 -1
  282. package/dist/cjs/assets/icons/searchIcon.d.ts +0 -2
  283. package/dist/cjs/assets/icons/searchIcon.js +0 -1
  284. package/dist/cjs/assets/icons/strikeThrough.svg.js +0 -1
  285. package/dist/cjs/assets/icons/successIcon.svg.js +0 -1
  286. package/dist/cjs/assets/icons/triangle_error.svg.js +0 -1
  287. package/dist/cjs/assets/icons/upload.svg.js +0 -1
  288. package/dist/cjs/assets/icons/warningIcon.svg.js +0 -1
  289. package/dist/cjs/components/QueryBuilder/components/Connectors/Components/InTheLast.d.ts +0 -4
  290. package/dist/cjs/components/QueryBuilder/components/Connectors/Components/InTheLast.js +0 -1
  291. package/dist/cjs/components/QueryBuilder/components/Connectors/Components/SingleselectDropdownFreeText.d.ts +0 -4
  292. package/dist/cjs/components/QueryBuilder/components/Connectors/Components/SingleselectDropdownFreeText.js +0 -1
  293. package/dist/cjs/components/QueryBuilder/components/Connectors/Components/StringSingleValue.d.ts +0 -4
  294. package/dist/cjs/components/QueryBuilder/components/Connectors/Components/StringSingleValue.js +0 -1
  295. package/dist/cjs/components/TablePagination/TablePagination.d.ts +0 -11
  296. package/dist/cjs/components/TablePagination/TablePagination.js +0 -1
  297. package/dist/cjs/components/TablePagination/TablePagination.styled.d.ts +0 -6
  298. package/dist/cjs/components/TablePagination/TablePagination.styled.js +0 -38
  299. package/dist/cjs/components/TablePagination/TablePaginationCard.d.ts +0 -7
  300. package/dist/cjs/components/TablePagination/TablePaginationCard.js +0 -1
  301. package/dist/cjs/components/TablePagination/index.d.ts +0 -2
  302. package/dist/cjs/components/WhatsAppTextEditor/CustomEditor.styled.d.ts +0 -15
  303. package/dist/cjs/components/WhatsAppTextEditor/CustomEditor.styled.js +0 -1
  304. package/dist/cjs/components/WhatsAppTextEditor/WhatsAppTextEditor.d.ts +0 -40
  305. package/dist/cjs/components/WhatsAppTextEditor/WhatsAppTextEditor.js +0 -1
  306. package/dist/cjs/components/WhatsAppTextEditor/WhatsAppTextEditorHeader.d.ts +0 -14
  307. package/dist/cjs/components/WhatsAppTextEditor/WhatsAppTextEditorHeader.js +0 -1
  308. package/dist/cjs/components/WhatsAppTextEditor/index.d.ts +0 -2
  309. package/dist/cjs/components/accordion/Accordion.d.ts +0 -9
  310. package/dist/cjs/components/accordion/Accordion.js +0 -1
  311. package/dist/cjs/components/accordion/Accordion.style.d.ts +0 -6
  312. package/dist/cjs/components/accordion/Accordion.style.js +0 -28
  313. package/dist/cjs/components/accordion/AccordionArrow.d.ts +0 -3
  314. package/dist/cjs/components/accordion/AccordionArrow.js +0 -1
  315. package/dist/cjs/components/accordion/index.d.ts +0 -1
  316. package/dist/cjs/components/alerts/Alert.d.ts +0 -12
  317. package/dist/cjs/components/alerts/Alert.js +0 -1
  318. package/dist/cjs/components/alerts/Alert.styled.d.ts +0 -4
  319. package/dist/cjs/components/alerts/Alert.styled.js +0 -8
  320. package/dist/cjs/components/alerts/AlertHelper.d.ts +0 -24
  321. package/dist/cjs/components/alerts/AlertHelper.js +0 -1
  322. package/dist/cjs/components/alerts/index.d.ts +0 -2
  323. package/dist/cjs/components/analytics-chips-and-dropdowns/AnalyticsMetric.d.ts +0 -10
  324. package/dist/cjs/components/analytics-chips-and-dropdowns/AnalyticsMetric.js +0 -1
  325. package/dist/cjs/components/analytics-chips-and-dropdowns/AnalyticsTrend.d.ts +0 -17
  326. package/dist/cjs/components/analytics-chips-and-dropdowns/AnalyticsTrend.js +0 -1
  327. package/dist/cjs/components/analytics-chips-and-dropdowns/chart/HorizontalBarGraph/HorizontalGraph.d.ts +0 -3
  328. package/dist/cjs/components/analytics-chips-and-dropdowns/chart/HorizontalBarGraph/HorizontalGraph.js +0 -1
  329. package/dist/cjs/components/analytics-chips-and-dropdowns/chart/HorizontalBarGraph/HorizontalGraph.styles.d.ts +0 -3
  330. package/dist/cjs/components/analytics-chips-and-dropdowns/chart/HorizontalBarGraph/HorizontalGraph.styles.js +0 -4
  331. package/dist/cjs/components/analytics-chips-and-dropdowns/chart/Legend/Legend.d.ts +0 -6
  332. package/dist/cjs/components/analytics-chips-and-dropdowns/chart/Legend/Legend.js +0 -1
  333. package/dist/cjs/components/analytics-chips-and-dropdowns/chart/LineChart/LineChart.d.ts +0 -25
  334. package/dist/cjs/components/analytics-chips-and-dropdowns/chart/LineChart/LineChart.js +0 -1
  335. package/dist/cjs/components/analytics-chips-and-dropdowns/chart/LineChart/LineChart.styled.d.ts +0 -17
  336. package/dist/cjs/components/analytics-chips-and-dropdowns/chart/LineChart/LineChart.styled.js +0 -1
  337. package/dist/cjs/components/analytics-chips-and-dropdowns/chart/Pie/PieChart.d.ts +0 -3
  338. package/dist/cjs/components/analytics-chips-and-dropdowns/chart/Pie/PieChart.js +0 -15
  339. package/dist/cjs/components/analytics-chips-and-dropdowns/chart/Pie/PieChartAnalytics.d.ts +0 -4
  340. package/dist/cjs/components/analytics-chips-and-dropdowns/chart/Pie/PieChartAnalytics.js +0 -1
  341. package/dist/cjs/components/analytics-chips-and-dropdowns/chart/Pie/PieChartInputData.d.ts +0 -10
  342. package/dist/cjs/components/analytics-chips-and-dropdowns/chart/StackedBarChart/StackedBarChart.d.ts +0 -3
  343. package/dist/cjs/components/analytics-chips-and-dropdowns/chart/StackedBarChart/StackedBarChart.js +0 -1
  344. package/dist/cjs/components/analytics-chips-and-dropdowns/chart/StackedBarChart/StackedBarChart.styles.d.ts +0 -3
  345. package/dist/cjs/components/analytics-chips-and-dropdowns/chart/StackedBarChart/StackedBarChart.styles.js +0 -5
  346. package/dist/cjs/components/analytics-chips-and-dropdowns/chart/VerticalBarAndLinearGraph/VerticalBarAndLinearGraph.d.ts +0 -3
  347. package/dist/cjs/components/analytics-chips-and-dropdowns/chart/VerticalBarAndLinearGraph/VerticalBarAndLinearGraph.js +0 -1
  348. package/dist/cjs/components/analytics-chips-and-dropdowns/chart/VerticalBarAndLinearGraph/VerticalBarAndLinearGraph.styles.d.ts +0 -1
  349. package/dist/cjs/components/analytics-chips-and-dropdowns/chart/VerticalBarAndLinearGraph/VerticalBarAndLinearGraph.styles.js +0 -4
  350. package/dist/cjs/components/analytics-chips-and-dropdowns/chart/VerticalBarAndLinearGraph/VerticalBarAndLinearGraphModel.d.ts +0 -20
  351. package/dist/cjs/components/analytics-chips-and-dropdowns/chart/VerticalBarGraph/VerticalGraph.d.ts +0 -3
  352. package/dist/cjs/components/analytics-chips-and-dropdowns/chart/VerticalBarGraph/VerticalGraph.js +0 -1
  353. package/dist/cjs/components/analytics-chips-and-dropdowns/chart/VerticalBarGraph/VerticalGraph.styles.d.ts +0 -3
  354. package/dist/cjs/components/analytics-chips-and-dropdowns/chart/VerticalBarGraph/VerticalGraph.styles.js +0 -4
  355. package/dist/cjs/components/analytics-chips-and-dropdowns/chart/heatmap/HeatMap.d.ts +0 -27
  356. package/dist/cjs/components/analytics-chips-and-dropdowns/chart/heatmap/HeatMap.js +0 -1
  357. package/dist/cjs/components/analytics-chips-and-dropdowns/chart/heatmap/HeatMapStyled.d.ts +0 -9
  358. package/dist/cjs/components/analytics-chips-and-dropdowns/chart/heatmap/HeatMapStyled.js +0 -1
  359. package/dist/cjs/components/analytics-chips-and-dropdowns/chart/linearChipGroupedChart/Chip.d.ts +0 -7
  360. package/dist/cjs/components/analytics-chips-and-dropdowns/chart/linearChipGroupedChart/Chip.js +0 -1
  361. package/dist/cjs/components/analytics-chips-and-dropdowns/chart/linearChipGroupedChart/HorinzontalBar.d.ts +0 -6
  362. package/dist/cjs/components/analytics-chips-and-dropdowns/chart/linearChipGroupedChart/HorinzontalBar.js +0 -1
  363. package/dist/cjs/components/analytics-chips-and-dropdowns/chart/linearChipGroupedChart/LinearChipGroupedChart.d.ts +0 -27
  364. package/dist/cjs/components/analytics-chips-and-dropdowns/chart/linearChipGroupedChart/LinearChipGroupedChart.js +0 -1
  365. package/dist/cjs/components/analytics-chips-and-dropdowns/chart/linearChipGroupedChart/LinearChipGroupedChart.styled.d.ts +0 -25
  366. package/dist/cjs/components/analytics-chips-and-dropdowns/chart/linearChipGroupedChart/LinearChipGroupedChart.styled.js +0 -1
  367. package/dist/cjs/components/analytics-chips-and-dropdowns/chart/linearChipGroupedChart/index.d.ts +0 -1
  368. package/dist/cjs/components/analytics-chips-and-dropdowns/chart/utils/calcPercentage.d.ts +0 -1
  369. package/dist/cjs/components/analytics-chips-and-dropdowns/chart/utils/calcPercentage.js +0 -1
  370. package/dist/cjs/components/bik-layout/BikHeader.d.ts +0 -9
  371. package/dist/cjs/components/bik-layout/BikHeader.js +0 -1
  372. package/dist/cjs/components/bik-layout/BikLayout.d.ts +0 -15
  373. package/dist/cjs/components/bik-layout/BikLayout.js +0 -1
  374. package/dist/cjs/components/bik-layout/BikProfile.d.ts +0 -12
  375. package/dist/cjs/components/bik-layout/BikProfile.js +0 -1
  376. package/dist/cjs/components/bik-layout/BikSidebar.d.ts +0 -23
  377. package/dist/cjs/components/bik-layout/BikSidebar.js +0 -1
  378. package/dist/cjs/components/bik-layout/CommonStyles.d.ts +0 -93
  379. package/dist/cjs/components/bik-layout/CommonStyles.js +0 -1
  380. package/dist/cjs/components/bik-layout/FeatureModal.d.ts +0 -9
  381. package/dist/cjs/components/bik-layout/FeatureModal.js +0 -1
  382. package/dist/cjs/components/bik-layout/MockMenus.d.ts +0 -61
  383. package/dist/cjs/components/bik-layout/PageLoader.d.ts +0 -6
  384. package/dist/cjs/components/bik-layout/PageLoader.js +0 -1
  385. package/dist/cjs/components/bik-layout/SidebarSkeleton.d.ts +0 -9
  386. package/dist/cjs/components/bik-layout/SidebarSkeleton.js +0 -1
  387. package/dist/cjs/components/bik-layout/SidebarStyles.d.ts +0 -21
  388. package/dist/cjs/components/bik-layout/SidebarStyles.js +0 -1
  389. package/dist/cjs/components/bik-layout/SimpleSidebar.d.ts +0 -22
  390. package/dist/cjs/components/bik-layout/SimpleSidebar.js +0 -1
  391. package/dist/cjs/components/bik-layout/index.d.ts +0 -7
  392. package/dist/cjs/components/buttonGroup/ButtonGroup.d.ts +0 -19
  393. package/dist/cjs/components/buttonGroup/ButtonGroup.js +0 -1
  394. package/dist/cjs/components/buttonGroup/ButtonGroupStyle.d.ts +0 -10
  395. package/dist/cjs/components/buttonGroup/ButtonGroupStyle.js +0 -32
  396. package/dist/cjs/components/buttonGroup/index.d.ts +0 -1
  397. package/dist/cjs/components/card-selection-modal/CardSelectionModal.d.ts +0 -17
  398. package/dist/cjs/components/card-selection-modal/CardSelectionModal.js +0 -1
  399. package/dist/cjs/components/card-selection-modal/CardSelectionModal.styled.d.ts +0 -9
  400. package/dist/cjs/components/card-selection-modal/CardSelectionModal.styled.js +0 -1
  401. package/dist/cjs/components/card-selection-modal/index.d.ts +0 -1
  402. package/dist/cjs/components/carousel/carousel.d.ts +0 -3
  403. package/dist/cjs/components/carousel/carousel.js +0 -22
  404. package/dist/cjs/components/carousel/index.d.ts +0 -1
  405. package/dist/cjs/components/carousel-secondary/CarouselSecondary.d.ts +0 -6
  406. package/dist/cjs/components/carousel-secondary/CarouselSecondary.js +0 -1
  407. package/dist/cjs/components/carousel-secondary/CarouselSecondary.style.d.ts +0 -29
  408. package/dist/cjs/components/carousel-secondary/CarouselSecondary.style.js +0 -1
  409. package/dist/cjs/components/carousel-secondary/index.d.ts +0 -1
  410. package/dist/cjs/components/colourInput/ColourInput.d.ts +0 -8
  411. package/dist/cjs/components/colourInput/ColourInput.js +0 -1
  412. package/dist/cjs/components/colourInput/ColourInput.styled.d.ts +0 -9
  413. package/dist/cjs/components/colourInput/ColourInput.styled.js +0 -1
  414. package/dist/cjs/components/colourInput/index.d.ts +0 -1
  415. package/dist/cjs/components/country-code-picker/CountryCodePicker.d.ts +0 -11
  416. package/dist/cjs/components/country-code-picker/CountryCodePicker.js +0 -1
  417. package/dist/cjs/components/country-code-picker/CountryCodePicker.modal.d.ts +0 -6
  418. package/dist/cjs/components/country-code-picker/CountryCodePicker.modal.js +0 -1
  419. package/dist/cjs/components/country-code-picker/CountryCodePicker.styled.d.ts +0 -11
  420. package/dist/cjs/components/country-code-picker/CountryCodePicker.styled.js +0 -1
  421. package/dist/cjs/components/country-code-picker/index.d.ts +0 -2
  422. package/dist/cjs/components/custom-date-time/CustomDateTime.d.ts +0 -11
  423. package/dist/cjs/components/custom-date-time/CustomDateTime.js +0 -1
  424. package/dist/cjs/components/custom-date-time/CustomDateTime.styled.d.ts +0 -5
  425. package/dist/cjs/components/custom-date-time/CustomDateTime.styled.js +0 -1
  426. package/dist/cjs/components/custom-date-time/DateSelector/DateSelector.d.ts +0 -8
  427. package/dist/cjs/components/custom-date-time/DateSelector/DateSelector.js +0 -1
  428. package/dist/cjs/components/custom-date-time/index.d.ts +0 -1
  429. package/dist/cjs/components/discount-modal/CouponExpiration/CouponExpiration.d.ts +0 -12
  430. package/dist/cjs/components/discount-modal/CouponExpiration/CouponExpiration.js +0 -1
  431. package/dist/cjs/components/discount-modal/DiscountModal.d.ts +0 -21
  432. package/dist/cjs/components/discount-modal/DiscountModal.js +0 -1
  433. package/dist/cjs/components/discount-modal/DiscountModal.styled.d.ts +0 -19
  434. package/dist/cjs/components/discount-modal/DiscountModal.styled.js +0 -1
  435. package/dist/cjs/components/discount-modal/DiscountUtils.d.ts +0 -2
  436. package/dist/cjs/components/discount-modal/DiscountUtils.js +0 -1
  437. package/dist/cjs/components/discount-modal/DynamicCoupon/DynamicCoupon.d.ts +0 -29
  438. package/dist/cjs/components/discount-modal/DynamicCoupon/DynamicCoupon.js +0 -1
  439. package/dist/cjs/components/discount-modal/StaticCoupon/StaticCoupon.d.ts +0 -10
  440. package/dist/cjs/components/discount-modal/StaticCoupon/StaticCoupon.js +0 -1
  441. package/dist/cjs/components/discount-modal/index.d.ts +0 -3
  442. package/dist/cjs/components/discount-modal/type.d.ts +0 -49
  443. package/dist/cjs/components/discount-modal/type.js +0 -1
  444. package/dist/cjs/components/dropdown/MenuItem/MenuItem.d.ts +0 -8
  445. package/dist/cjs/components/dropdown/MenuItem/MenuItem.js +0 -5
  446. package/dist/cjs/components/file-uploader/FileUploader.d.ts +0 -3
  447. package/dist/cjs/components/file-uploader/FileUploader.js +0 -1
  448. package/dist/cjs/components/file-uploader/FileUploaderStyle.d.ts +0 -7
  449. package/dist/cjs/components/file-uploader/FileUploaderStyle.js +0 -166
  450. package/dist/cjs/components/file-uploader/Models.d.ts +0 -34
  451. package/dist/cjs/components/file-uploader/index.d.ts +0 -1
  452. package/dist/cjs/components/file-uploader/useMockUrlUpload.d.ts +0 -8
  453. package/dist/cjs/components/image-cropper/BikImageCropper.d.ts +0 -10
  454. package/dist/cjs/components/image-cropper/BikImageCropper.js +0 -1
  455. package/dist/cjs/components/image-cropper/BikImagePipeline/BikImagePipeline.d.ts +0 -30
  456. package/dist/cjs/components/image-cropper/BikImagePipeline/BikImagePipeline.js +0 -1
  457. package/dist/cjs/components/image-cropper/index.d.ts +0 -2
  458. package/dist/cjs/components/image-cropper/useMockFileUpload.d.ts +0 -8
  459. package/dist/cjs/components/input/Input-helper.d.ts +0 -6
  460. package/dist/cjs/components/input/Input-helper.js +0 -1
  461. package/dist/cjs/components/plans/DurationSelector.d.ts +0 -9
  462. package/dist/cjs/components/plans/DurationSelectorStyles.d.ts +0 -5
  463. package/dist/cjs/components/plans/SubscriptionPlan.d.ts +0 -30
  464. package/dist/cjs/components/plans/SubscriptionPlan.js +0 -1
  465. package/dist/cjs/components/plans/SubscriptionPlanSelector.d.ts +0 -13
  466. package/dist/cjs/components/plans/SubscriptionPlanSelector.js +0 -1
  467. package/dist/cjs/components/plans/SubscriptionPlanStyled.d.ts +0 -7
  468. package/dist/cjs/components/plans/SubscriptionPlanStyled.js +0 -1
  469. package/dist/cjs/components/plans/index.d.ts +0 -2
  470. package/dist/cjs/components/product-picker/ProductPicker.styled.d.ts +0 -9
  471. package/dist/cjs/components/product-picker/ProductPicker.styled.js +0 -1
  472. package/dist/cjs/components/product-picker/ProductPickerModal.d.ts +0 -4
  473. package/dist/cjs/components/product-picker/ProductPickerModal.js +0 -1
  474. package/dist/cjs/components/product-picker/index.d.ts +0 -1
  475. package/dist/cjs/components/product-picker/type.d.ts +0 -57
  476. package/dist/cjs/components/product-picker-v2/collectionScreen.d.ts +0 -23
  477. package/dist/cjs/components/product-picker-v2/collectionScreen.js +0 -1
  478. package/dist/cjs/components/product-picker-v2/index.d.ts +0 -1
  479. package/dist/cjs/components/product-picker-v2/modal.d.ts +0 -47
  480. package/dist/cjs/components/product-picker-v2/modal.js +0 -1
  481. package/dist/cjs/components/product-picker-v2/productScreen.d.ts +0 -39
  482. package/dist/cjs/components/product-picker-v2/productScreen.js +0 -1
  483. package/dist/cjs/components/product-picker-v2/reducers.d.ts +0 -17
  484. package/dist/cjs/components/product-picker-v2/reducers.js +0 -1
  485. package/dist/cjs/components/product-picker-v2/selectedScreen.d.ts +0 -14
  486. package/dist/cjs/components/product-picker-v2/selectedScreen.js +0 -1
  487. package/dist/cjs/components/product-picker-v2/style.d.ts +0 -14
  488. package/dist/cjs/components/product-picker-v2/style.js +0 -69
  489. package/dist/cjs/components/searchBar/index.d.ts +0 -1
  490. package/dist/cjs/components/searchBar/searchBar.d.ts +0 -13
  491. package/dist/cjs/components/searchBar/searchBar.js +0 -1
  492. package/dist/cjs/components/shimmer/ShimmerComponent/BikShimmer.d.ts +0 -13
  493. package/dist/cjs/components/shimmer/ShimmerComponent/BikShimmer.js +0 -1
  494. package/dist/cjs/components/shimmer/ShimmerComponent/ShimmerStyled.d.ts +0 -7
  495. package/dist/cjs/components/shimmer/ShimmerComponent/ShimmerStyled.js +0 -9
  496. package/dist/cjs/components/shimmer/index.d.ts +0 -1
  497. package/dist/cjs/components/shimmer-image/ShimmerImage.d.ts +0 -10
  498. package/dist/cjs/components/shimmer-image/ShimmerImage.js +0 -1
  499. package/dist/cjs/components/shimmer-image/ShimmerImage.stories.d.ts +0 -6
  500. package/dist/cjs/components/shimmer-image/index.d.ts +0 -1
  501. package/dist/cjs/components/states/StateComponent.js +0 -1
  502. package/dist/cjs/components/states/StateComponent.styled.js +0 -26
  503. package/dist/cjs/components/states-modal/DeleteConfirmationModal.d.ts +0 -9
  504. package/dist/cjs/components/states-modal/DeleteConfirmationModal.js +0 -1
  505. package/dist/cjs/components/states-modal/StateModalComponent.js +0 -1
  506. package/dist/cjs/components/switch/Switch.js +0 -1
  507. package/dist/cjs/components/switch/index.d.ts +0 -1
  508. package/dist/cjs/components/tabs/Tabs.d.ts +0 -4
  509. package/dist/cjs/components/tabs/Tabs.js +0 -1
  510. package/dist/cjs/components/tabs/Tabs.model.d.ts +0 -47
  511. package/dist/cjs/components/tabs/Tabs.styles.d.ts +0 -38
  512. package/dist/cjs/components/tabs/Tabs.styles.js +0 -1
  513. package/dist/cjs/components/tabs/index.d.ts +0 -1
  514. package/dist/cjs/components/template-context-mapper/utils/getFormattedMonthDate.d.ts +0 -1
  515. package/dist/cjs/components/template-context-mapper/utils/getFormattedMonthDate.js +0 -1
  516. package/dist/cjs/components/template-preview/WhatsApp/ChatUiV2.d.ts +0 -3
  517. package/dist/cjs/components/template-preview/WhatsApp/ChatUiV2.js +0 -19
  518. package/dist/cjs/components/template-preview/WhatsApp/WhatsAppLikePreviewV2.d.ts +0 -3
  519. package/dist/cjs/components/template-preview/WhatsApp/WhatsAppLikePreviewV2.js +0 -12
  520. package/dist/cjs/components/template-preview/helpers/VariableEditorHelper.d.ts +0 -7
  521. package/dist/cjs/components/template-preview/helpers/VariableEditorHelper.js +0 -1
  522. package/dist/cjs/helpers/BaseWhatsappContentLang.helper.d.ts +0 -41
  523. package/dist/cjs/helpers/BaseWhatsappContentLang.helper.js +0 -1
  524. package/dist/cjs/helpers/index.d.ts +0 -1
  525. package/dist/cjs/node_modules/lodash.debounce/index.js +0 -1
  526. package/dist/cjs/utils/isAlphanumeric.d.ts +0 -1
  527. package/dist/cjs/utils/isAlphanumeric.js +0 -1
  528. package/dist/esm/_virtual/_commonjsHelpers.js +0 -1
  529. package/dist/esm/assets/icons/Bik_logo.svg.js +0 -1
  530. package/dist/esm/assets/icons/alert_triangle.svg.js +0 -1
  531. package/dist/esm/assets/icons/arrow_down.svg.js +0 -1
  532. package/dist/esm/assets/icons/arrow_up.svg.js +0 -1
  533. package/dist/esm/assets/icons/bold.svg.js +0 -1
  534. package/dist/esm/assets/icons/box.svg.js +0 -1
  535. package/dist/esm/assets/icons/chevronLeft.svg.js +0 -1
  536. package/dist/esm/assets/icons/chevronRight.svg.js +0 -1
  537. package/dist/esm/assets/icons/clock.svg.js +0 -1
  538. package/dist/esm/assets/icons/cursor.svg.js +0 -1
  539. package/dist/esm/assets/icons/errorIcon.svg.js +0 -1
  540. package/dist/esm/assets/icons/file.svg.js +0 -1
  541. package/dist/esm/assets/icons/horizontal_dots.svg.js +0 -1
  542. package/dist/esm/assets/icons/italic.svg.js +0 -1
  543. package/dist/esm/assets/icons/log_out.svg.js +0 -1
  544. package/dist/esm/assets/icons/searchIcon.d.ts +0 -2
  545. package/dist/esm/assets/icons/searchIcon.js +0 -1
  546. package/dist/esm/assets/icons/strikeThrough.svg.js +0 -1
  547. package/dist/esm/assets/icons/successIcon.svg.js +0 -1
  548. package/dist/esm/assets/icons/triangle_error.svg.js +0 -1
  549. package/dist/esm/assets/icons/upload.svg.js +0 -1
  550. package/dist/esm/assets/icons/warningIcon.svg.js +0 -1
  551. package/dist/esm/components/QueryBuilder/components/Connectors/Components/InTheLast.d.ts +0 -4
  552. package/dist/esm/components/QueryBuilder/components/Connectors/Components/InTheLast.js +0 -1
  553. package/dist/esm/components/QueryBuilder/components/Connectors/Components/SingleselectDropdownFreeText.d.ts +0 -4
  554. package/dist/esm/components/QueryBuilder/components/Connectors/Components/SingleselectDropdownFreeText.js +0 -1
  555. package/dist/esm/components/QueryBuilder/components/Connectors/Components/StringSingleValue.d.ts +0 -4
  556. package/dist/esm/components/QueryBuilder/components/Connectors/Components/StringSingleValue.js +0 -1
  557. package/dist/esm/components/TablePagination/TablePagination.d.ts +0 -11
  558. package/dist/esm/components/TablePagination/TablePagination.js +0 -1
  559. package/dist/esm/components/TablePagination/TablePagination.styled.d.ts +0 -6
  560. package/dist/esm/components/TablePagination/TablePagination.styled.js +0 -38
  561. package/dist/esm/components/TablePagination/TablePaginationCard.d.ts +0 -7
  562. package/dist/esm/components/TablePagination/TablePaginationCard.js +0 -1
  563. package/dist/esm/components/TablePagination/index.d.ts +0 -2
  564. package/dist/esm/components/WhatsAppTextEditor/CustomEditor.styled.d.ts +0 -15
  565. package/dist/esm/components/WhatsAppTextEditor/CustomEditor.styled.js +0 -1
  566. package/dist/esm/components/WhatsAppTextEditor/WhatsAppTextEditor.d.ts +0 -40
  567. package/dist/esm/components/WhatsAppTextEditor/WhatsAppTextEditor.js +0 -1
  568. package/dist/esm/components/WhatsAppTextEditor/WhatsAppTextEditorHeader.d.ts +0 -14
  569. package/dist/esm/components/WhatsAppTextEditor/WhatsAppTextEditorHeader.js +0 -1
  570. package/dist/esm/components/WhatsAppTextEditor/index.d.ts +0 -2
  571. package/dist/esm/components/accordion/Accordion.d.ts +0 -9
  572. package/dist/esm/components/accordion/Accordion.js +0 -1
  573. package/dist/esm/components/accordion/Accordion.style.d.ts +0 -6
  574. package/dist/esm/components/accordion/Accordion.style.js +0 -28
  575. package/dist/esm/components/accordion/AccordionArrow.d.ts +0 -3
  576. package/dist/esm/components/accordion/AccordionArrow.js +0 -1
  577. package/dist/esm/components/accordion/index.d.ts +0 -1
  578. package/dist/esm/components/alerts/Alert.d.ts +0 -12
  579. package/dist/esm/components/alerts/Alert.js +0 -1
  580. package/dist/esm/components/alerts/Alert.styled.d.ts +0 -4
  581. package/dist/esm/components/alerts/Alert.styled.js +0 -8
  582. package/dist/esm/components/alerts/AlertHelper.d.ts +0 -24
  583. package/dist/esm/components/alerts/AlertHelper.js +0 -1
  584. package/dist/esm/components/alerts/index.d.ts +0 -2
  585. package/dist/esm/components/analytics-chips-and-dropdowns/AnalyticsMetric.d.ts +0 -10
  586. package/dist/esm/components/analytics-chips-and-dropdowns/AnalyticsMetric.js +0 -1
  587. package/dist/esm/components/analytics-chips-and-dropdowns/AnalyticsTrend.d.ts +0 -17
  588. package/dist/esm/components/analytics-chips-and-dropdowns/AnalyticsTrend.js +0 -1
  589. package/dist/esm/components/analytics-chips-and-dropdowns/chart/HorizontalBarGraph/HorizontalGraph.d.ts +0 -3
  590. package/dist/esm/components/analytics-chips-and-dropdowns/chart/HorizontalBarGraph/HorizontalGraph.js +0 -1
  591. package/dist/esm/components/analytics-chips-and-dropdowns/chart/HorizontalBarGraph/HorizontalGraph.styles.d.ts +0 -3
  592. package/dist/esm/components/analytics-chips-and-dropdowns/chart/HorizontalBarGraph/HorizontalGraph.styles.js +0 -4
  593. package/dist/esm/components/analytics-chips-and-dropdowns/chart/Legend/Legend.d.ts +0 -6
  594. package/dist/esm/components/analytics-chips-and-dropdowns/chart/Legend/Legend.js +0 -1
  595. package/dist/esm/components/analytics-chips-and-dropdowns/chart/LineChart/LineChart.d.ts +0 -25
  596. package/dist/esm/components/analytics-chips-and-dropdowns/chart/LineChart/LineChart.js +0 -1
  597. package/dist/esm/components/analytics-chips-and-dropdowns/chart/LineChart/LineChart.styled.d.ts +0 -17
  598. package/dist/esm/components/analytics-chips-and-dropdowns/chart/LineChart/LineChart.styled.js +0 -1
  599. package/dist/esm/components/analytics-chips-and-dropdowns/chart/Pie/PieChart.d.ts +0 -3
  600. package/dist/esm/components/analytics-chips-and-dropdowns/chart/Pie/PieChart.js +0 -15
  601. package/dist/esm/components/analytics-chips-and-dropdowns/chart/Pie/PieChartAnalytics.d.ts +0 -4
  602. package/dist/esm/components/analytics-chips-and-dropdowns/chart/Pie/PieChartAnalytics.js +0 -1
  603. package/dist/esm/components/analytics-chips-and-dropdowns/chart/Pie/PieChartInputData.d.ts +0 -10
  604. package/dist/esm/components/analytics-chips-and-dropdowns/chart/StackedBarChart/StackedBarChart.d.ts +0 -3
  605. package/dist/esm/components/analytics-chips-and-dropdowns/chart/StackedBarChart/StackedBarChart.js +0 -1
  606. package/dist/esm/components/analytics-chips-and-dropdowns/chart/StackedBarChart/StackedBarChart.styles.d.ts +0 -3
  607. package/dist/esm/components/analytics-chips-and-dropdowns/chart/StackedBarChart/StackedBarChart.styles.js +0 -5
  608. package/dist/esm/components/analytics-chips-and-dropdowns/chart/VerticalBarAndLinearGraph/VerticalBarAndLinearGraph.d.ts +0 -3
  609. package/dist/esm/components/analytics-chips-and-dropdowns/chart/VerticalBarAndLinearGraph/VerticalBarAndLinearGraph.js +0 -1
  610. package/dist/esm/components/analytics-chips-and-dropdowns/chart/VerticalBarAndLinearGraph/VerticalBarAndLinearGraph.styles.d.ts +0 -1
  611. package/dist/esm/components/analytics-chips-and-dropdowns/chart/VerticalBarAndLinearGraph/VerticalBarAndLinearGraph.styles.js +0 -4
  612. package/dist/esm/components/analytics-chips-and-dropdowns/chart/VerticalBarAndLinearGraph/VerticalBarAndLinearGraphModel.d.ts +0 -20
  613. package/dist/esm/components/analytics-chips-and-dropdowns/chart/VerticalBarGraph/VerticalGraph.d.ts +0 -3
  614. package/dist/esm/components/analytics-chips-and-dropdowns/chart/VerticalBarGraph/VerticalGraph.js +0 -1
  615. package/dist/esm/components/analytics-chips-and-dropdowns/chart/VerticalBarGraph/VerticalGraph.styles.d.ts +0 -3
  616. package/dist/esm/components/analytics-chips-and-dropdowns/chart/VerticalBarGraph/VerticalGraph.styles.js +0 -4
  617. package/dist/esm/components/analytics-chips-and-dropdowns/chart/heatmap/HeatMap.d.ts +0 -27
  618. package/dist/esm/components/analytics-chips-and-dropdowns/chart/heatmap/HeatMap.js +0 -1
  619. package/dist/esm/components/analytics-chips-and-dropdowns/chart/heatmap/HeatMapStyled.d.ts +0 -9
  620. package/dist/esm/components/analytics-chips-and-dropdowns/chart/heatmap/HeatMapStyled.js +0 -1
  621. package/dist/esm/components/analytics-chips-and-dropdowns/chart/linearChipGroupedChart/Chip.d.ts +0 -7
  622. package/dist/esm/components/analytics-chips-and-dropdowns/chart/linearChipGroupedChart/Chip.js +0 -1
  623. package/dist/esm/components/analytics-chips-and-dropdowns/chart/linearChipGroupedChart/HorinzontalBar.d.ts +0 -6
  624. package/dist/esm/components/analytics-chips-and-dropdowns/chart/linearChipGroupedChart/HorinzontalBar.js +0 -1
  625. package/dist/esm/components/analytics-chips-and-dropdowns/chart/linearChipGroupedChart/LinearChipGroupedChart.d.ts +0 -27
  626. package/dist/esm/components/analytics-chips-and-dropdowns/chart/linearChipGroupedChart/LinearChipGroupedChart.js +0 -1
  627. package/dist/esm/components/analytics-chips-and-dropdowns/chart/linearChipGroupedChart/LinearChipGroupedChart.styled.d.ts +0 -25
  628. package/dist/esm/components/analytics-chips-and-dropdowns/chart/linearChipGroupedChart/LinearChipGroupedChart.styled.js +0 -1
  629. package/dist/esm/components/analytics-chips-and-dropdowns/chart/linearChipGroupedChart/index.d.ts +0 -1
  630. package/dist/esm/components/analytics-chips-and-dropdowns/chart/utils/calcPercentage.d.ts +0 -1
  631. package/dist/esm/components/analytics-chips-and-dropdowns/chart/utils/calcPercentage.js +0 -1
  632. package/dist/esm/components/bik-layout/BikHeader.d.ts +0 -9
  633. package/dist/esm/components/bik-layout/BikHeader.js +0 -1
  634. package/dist/esm/components/bik-layout/BikLayout.d.ts +0 -15
  635. package/dist/esm/components/bik-layout/BikLayout.js +0 -1
  636. package/dist/esm/components/bik-layout/BikProfile.d.ts +0 -12
  637. package/dist/esm/components/bik-layout/BikProfile.js +0 -1
  638. package/dist/esm/components/bik-layout/BikSidebar.d.ts +0 -23
  639. package/dist/esm/components/bik-layout/BikSidebar.js +0 -1
  640. package/dist/esm/components/bik-layout/CommonStyles.d.ts +0 -93
  641. package/dist/esm/components/bik-layout/CommonStyles.js +0 -1
  642. package/dist/esm/components/bik-layout/FeatureModal.d.ts +0 -9
  643. package/dist/esm/components/bik-layout/FeatureModal.js +0 -1
  644. package/dist/esm/components/bik-layout/MockMenus.d.ts +0 -61
  645. package/dist/esm/components/bik-layout/PageLoader.d.ts +0 -6
  646. package/dist/esm/components/bik-layout/PageLoader.js +0 -1
  647. package/dist/esm/components/bik-layout/SidebarSkeleton.d.ts +0 -9
  648. package/dist/esm/components/bik-layout/SidebarSkeleton.js +0 -1
  649. package/dist/esm/components/bik-layout/SidebarStyles.d.ts +0 -21
  650. package/dist/esm/components/bik-layout/SidebarStyles.js +0 -1
  651. package/dist/esm/components/bik-layout/SimpleSidebar.d.ts +0 -22
  652. package/dist/esm/components/bik-layout/SimpleSidebar.js +0 -1
  653. package/dist/esm/components/bik-layout/index.d.ts +0 -7
  654. package/dist/esm/components/buttonGroup/ButtonGroup.d.ts +0 -19
  655. package/dist/esm/components/buttonGroup/ButtonGroup.js +0 -1
  656. package/dist/esm/components/buttonGroup/ButtonGroupStyle.d.ts +0 -10
  657. package/dist/esm/components/buttonGroup/ButtonGroupStyle.js +0 -32
  658. package/dist/esm/components/buttonGroup/index.d.ts +0 -1
  659. package/dist/esm/components/card-selection-modal/CardSelectionModal.d.ts +0 -17
  660. package/dist/esm/components/card-selection-modal/CardSelectionModal.js +0 -1
  661. package/dist/esm/components/card-selection-modal/CardSelectionModal.styled.d.ts +0 -9
  662. package/dist/esm/components/card-selection-modal/CardSelectionModal.styled.js +0 -1
  663. package/dist/esm/components/card-selection-modal/index.d.ts +0 -1
  664. package/dist/esm/components/carousel/carousel.d.ts +0 -3
  665. package/dist/esm/components/carousel/carousel.js +0 -22
  666. package/dist/esm/components/carousel/index.d.ts +0 -1
  667. package/dist/esm/components/carousel-secondary/CarouselSecondary.d.ts +0 -6
  668. package/dist/esm/components/carousel-secondary/CarouselSecondary.js +0 -1
  669. package/dist/esm/components/carousel-secondary/CarouselSecondary.style.d.ts +0 -29
  670. package/dist/esm/components/carousel-secondary/CarouselSecondary.style.js +0 -1
  671. package/dist/esm/components/carousel-secondary/index.d.ts +0 -1
  672. package/dist/esm/components/colourInput/ColourInput.d.ts +0 -8
  673. package/dist/esm/components/colourInput/ColourInput.js +0 -1
  674. package/dist/esm/components/colourInput/ColourInput.styled.d.ts +0 -9
  675. package/dist/esm/components/colourInput/ColourInput.styled.js +0 -1
  676. package/dist/esm/components/colourInput/index.d.ts +0 -1
  677. package/dist/esm/components/country-code-picker/CountryCodePicker.d.ts +0 -11
  678. package/dist/esm/components/country-code-picker/CountryCodePicker.js +0 -1
  679. package/dist/esm/components/country-code-picker/CountryCodePicker.modal.d.ts +0 -6
  680. package/dist/esm/components/country-code-picker/CountryCodePicker.modal.js +0 -1
  681. package/dist/esm/components/country-code-picker/CountryCodePicker.styled.d.ts +0 -11
  682. package/dist/esm/components/country-code-picker/CountryCodePicker.styled.js +0 -1
  683. package/dist/esm/components/country-code-picker/index.d.ts +0 -2
  684. package/dist/esm/components/custom-date-time/CustomDateTime.d.ts +0 -11
  685. package/dist/esm/components/custom-date-time/CustomDateTime.js +0 -1
  686. package/dist/esm/components/custom-date-time/CustomDateTime.styled.d.ts +0 -5
  687. package/dist/esm/components/custom-date-time/CustomDateTime.styled.js +0 -1
  688. package/dist/esm/components/custom-date-time/DateSelector/DateSelector.d.ts +0 -8
  689. package/dist/esm/components/custom-date-time/DateSelector/DateSelector.js +0 -1
  690. package/dist/esm/components/custom-date-time/index.d.ts +0 -1
  691. package/dist/esm/components/discount-modal/CouponExpiration/CouponExpiration.d.ts +0 -12
  692. package/dist/esm/components/discount-modal/CouponExpiration/CouponExpiration.js +0 -1
  693. package/dist/esm/components/discount-modal/DiscountModal.d.ts +0 -21
  694. package/dist/esm/components/discount-modal/DiscountModal.js +0 -1
  695. package/dist/esm/components/discount-modal/DiscountModal.styled.d.ts +0 -19
  696. package/dist/esm/components/discount-modal/DiscountModal.styled.js +0 -1
  697. package/dist/esm/components/discount-modal/DiscountUtils.d.ts +0 -2
  698. package/dist/esm/components/discount-modal/DiscountUtils.js +0 -1
  699. package/dist/esm/components/discount-modal/DynamicCoupon/DynamicCoupon.d.ts +0 -29
  700. package/dist/esm/components/discount-modal/DynamicCoupon/DynamicCoupon.js +0 -1
  701. package/dist/esm/components/discount-modal/StaticCoupon/StaticCoupon.d.ts +0 -10
  702. package/dist/esm/components/discount-modal/StaticCoupon/StaticCoupon.js +0 -1
  703. package/dist/esm/components/discount-modal/index.d.ts +0 -3
  704. package/dist/esm/components/discount-modal/type.d.ts +0 -49
  705. package/dist/esm/components/discount-modal/type.js +0 -1
  706. package/dist/esm/components/dropdown/MenuItem/MenuItem.d.ts +0 -8
  707. package/dist/esm/components/dropdown/MenuItem/MenuItem.js +0 -5
  708. package/dist/esm/components/file-uploader/FileUploader.d.ts +0 -3
  709. package/dist/esm/components/file-uploader/FileUploader.js +0 -1
  710. package/dist/esm/components/file-uploader/FileUploaderStyle.d.ts +0 -7
  711. package/dist/esm/components/file-uploader/FileUploaderStyle.js +0 -166
  712. package/dist/esm/components/file-uploader/Models.d.ts +0 -34
  713. package/dist/esm/components/file-uploader/index.d.ts +0 -1
  714. package/dist/esm/components/file-uploader/useMockUrlUpload.d.ts +0 -8
  715. package/dist/esm/components/image-cropper/BikImageCropper.d.ts +0 -10
  716. package/dist/esm/components/image-cropper/BikImageCropper.js +0 -1
  717. package/dist/esm/components/image-cropper/BikImagePipeline/BikImagePipeline.d.ts +0 -30
  718. package/dist/esm/components/image-cropper/BikImagePipeline/BikImagePipeline.js +0 -1
  719. package/dist/esm/components/image-cropper/index.d.ts +0 -2
  720. package/dist/esm/components/image-cropper/useMockFileUpload.d.ts +0 -8
  721. package/dist/esm/components/input/Input-helper.d.ts +0 -6
  722. package/dist/esm/components/input/Input-helper.js +0 -1
  723. package/dist/esm/components/plans/DurationSelector.d.ts +0 -9
  724. package/dist/esm/components/plans/DurationSelectorStyles.d.ts +0 -5
  725. package/dist/esm/components/plans/SubscriptionPlan.d.ts +0 -30
  726. package/dist/esm/components/plans/SubscriptionPlan.js +0 -1
  727. package/dist/esm/components/plans/SubscriptionPlanSelector.d.ts +0 -13
  728. package/dist/esm/components/plans/SubscriptionPlanSelector.js +0 -1
  729. package/dist/esm/components/plans/SubscriptionPlanStyled.d.ts +0 -7
  730. package/dist/esm/components/plans/SubscriptionPlanStyled.js +0 -1
  731. package/dist/esm/components/plans/index.d.ts +0 -2
  732. package/dist/esm/components/product-picker/ProductPicker.styled.d.ts +0 -9
  733. package/dist/esm/components/product-picker/ProductPicker.styled.js +0 -1
  734. package/dist/esm/components/product-picker/ProductPickerModal.d.ts +0 -4
  735. package/dist/esm/components/product-picker/ProductPickerModal.js +0 -1
  736. package/dist/esm/components/product-picker/index.d.ts +0 -1
  737. package/dist/esm/components/product-picker/type.d.ts +0 -57
  738. package/dist/esm/components/product-picker-v2/collectionScreen.d.ts +0 -23
  739. package/dist/esm/components/product-picker-v2/collectionScreen.js +0 -1
  740. package/dist/esm/components/product-picker-v2/index.d.ts +0 -1
  741. package/dist/esm/components/product-picker-v2/modal.d.ts +0 -47
  742. package/dist/esm/components/product-picker-v2/modal.js +0 -1
  743. package/dist/esm/components/product-picker-v2/productScreen.d.ts +0 -39
  744. package/dist/esm/components/product-picker-v2/productScreen.js +0 -1
  745. package/dist/esm/components/product-picker-v2/reducers.d.ts +0 -17
  746. package/dist/esm/components/product-picker-v2/reducers.js +0 -1
  747. package/dist/esm/components/product-picker-v2/selectedScreen.d.ts +0 -14
  748. package/dist/esm/components/product-picker-v2/selectedScreen.js +0 -1
  749. package/dist/esm/components/product-picker-v2/style.d.ts +0 -14
  750. package/dist/esm/components/product-picker-v2/style.js +0 -69
  751. package/dist/esm/components/searchBar/index.d.ts +0 -1
  752. package/dist/esm/components/searchBar/searchBar.d.ts +0 -13
  753. package/dist/esm/components/searchBar/searchBar.js +0 -1
  754. package/dist/esm/components/shimmer/ShimmerComponent/BikShimmer.d.ts +0 -13
  755. package/dist/esm/components/shimmer/ShimmerComponent/BikShimmer.js +0 -1
  756. package/dist/esm/components/shimmer/ShimmerComponent/ShimmerStyled.d.ts +0 -7
  757. package/dist/esm/components/shimmer/ShimmerComponent/ShimmerStyled.js +0 -9
  758. package/dist/esm/components/shimmer/index.d.ts +0 -1
  759. package/dist/esm/components/shimmer-image/ShimmerImage.d.ts +0 -10
  760. package/dist/esm/components/shimmer-image/ShimmerImage.js +0 -1
  761. package/dist/esm/components/shimmer-image/ShimmerImage.stories.d.ts +0 -6
  762. package/dist/esm/components/shimmer-image/index.d.ts +0 -1
  763. package/dist/esm/components/states/StateComponent.js +0 -1
  764. package/dist/esm/components/states/StateComponent.styled.js +0 -26
  765. package/dist/esm/components/states-modal/DeleteConfirmationModal.d.ts +0 -9
  766. package/dist/esm/components/states-modal/DeleteConfirmationModal.js +0 -1
  767. package/dist/esm/components/states-modal/StateModalComponent.js +0 -1
  768. package/dist/esm/components/switch/Switch.js +0 -1
  769. package/dist/esm/components/switch/index.d.ts +0 -1
  770. package/dist/esm/components/tabs/Tabs.d.ts +0 -4
  771. package/dist/esm/components/tabs/Tabs.js +0 -1
  772. package/dist/esm/components/tabs/Tabs.model.d.ts +0 -47
  773. package/dist/esm/components/tabs/Tabs.styles.d.ts +0 -38
  774. package/dist/esm/components/tabs/Tabs.styles.js +0 -1
  775. package/dist/esm/components/tabs/index.d.ts +0 -1
  776. package/dist/esm/components/template-context-mapper/utils/getFormattedMonthDate.d.ts +0 -1
  777. package/dist/esm/components/template-context-mapper/utils/getFormattedMonthDate.js +0 -1
  778. package/dist/esm/components/template-preview/WhatsApp/ChatUiV2.d.ts +0 -3
  779. package/dist/esm/components/template-preview/WhatsApp/ChatUiV2.js +0 -19
  780. package/dist/esm/components/template-preview/WhatsApp/WhatsAppLikePreviewV2.d.ts +0 -3
  781. package/dist/esm/components/template-preview/WhatsApp/WhatsAppLikePreviewV2.js +0 -12
  782. package/dist/esm/components/template-preview/helpers/VariableEditorHelper.d.ts +0 -7
  783. package/dist/esm/components/template-preview/helpers/VariableEditorHelper.js +0 -1
  784. package/dist/esm/helpers/BaseWhatsappContentLang.helper.d.ts +0 -41
  785. package/dist/esm/helpers/BaseWhatsappContentLang.helper.js +0 -1
  786. package/dist/esm/helpers/index.d.ts +0 -1
  787. package/dist/esm/node_modules/lodash.debounce/index.js +0 -1
  788. package/dist/esm/utils/isAlphanumeric.d.ts +0 -1
  789. package/dist/esm/utils/isAlphanumeric.js +0 -1
@@ -1,30 +0,0 @@
1
- /// <reference types="react" />
2
- import { CompressImageOptions } from "../../image-compress";
3
- import { BikImageCropperProps } from "..";
4
- /**
5
- * Todos
6
- * - Add option to pass https url in the src / edit an image
7
- */
8
- export interface BikImagePipelineProps {
9
- cropOptions?: Partial<BikImageCropperProps>;
10
- compressionOptions?: CompressImageOptions;
11
- currentImage: {
12
- src?: string;
13
- };
14
- options: {
15
- upload: boolean;
16
- crop?: boolean;
17
- compress?: boolean;
18
- uploadToFirestorage?: boolean;
19
- };
20
- onCancel: () => void;
21
- onFinish: (base64String: string, file?: File, url?: string) => void;
22
- fileUploadOptions?: {
23
- path: string;
24
- uploadProgress: number;
25
- uploadFile: (file: File, path: string) => Promise<string>;
26
- error?: string;
27
- success?: boolean;
28
- };
29
- }
30
- export declare const BikImagePipeline: ({ cropOptions, compressionOptions, currentImage, options, onFinish, onCancel, fileUploadOptions, }: BikImagePipelineProps) => JSX.Element;
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),o=require("react"),s=require("../../image-compress/ImageCompress.js"),r=require("../../states/StateComponent.js"),t=require("../../states-modal/StateModalComponent.js");require("../../modals/styledModal.js");var a=require("../BikImageCropper.js");exports.BikImagePipeline=i=>{let{cropOptions:n,compressionOptions:l,currentImage:p,options:c,onFinish:u,onCancel:d,fileUploadOptions:m}=i;const g=o.useRef(null),[h,j]=o.useState(),[C,f]=o.useState(p),[x,I]=o.useState(!1);o.useEffect((()=>{c.upload?(j("upload"),setTimeout((()=>{F()}),500)):c.crop?j("crop"):c.compress?j("compress"):c.uploadToFirestorage?j("cloud-upload"):I(!0)}),[c.upload,c.crop,c.compress,c.uploadToFirestorage]);const S=o.useCallback(((e,o)=>{if(!c.uploadToFirestorage)return u(e,o),void I(!0);j("cloud-upload"),m&&m.uploadFile(o,m.path).then((s=>{u(e,o,s),I(!0)})).catch((e=>{console.log("starting err process with ")}))}),[]),v=e=>{e||d();const o=s.ImageService.base64ToImage(e);c.compress?(j("compress"),s.ImageService.compressImage(o,l).then((e=>{if(!e)return I(!0),void d();S(e.base64,e.compressedFile)}))):S(e,o)},F=()=>{g.current.click()};return x?e.jsx(e.Fragment,{}):"cloud-upload"===h?!m||m.success?e.jsx(e.Fragment,{}):m.error?e.jsx("div",{children:e.jsx(t.StateModalComponent,{states:r.StateInterface.ERROR,heading:"Error while uploading",subline:"Please check your image and try again",isButtonEnabled:!1,width:300,onClose:()=>{I(!0),d()}})}):e.jsx("div",{children:e.jsx(t.StateModalComponent,{states:r.StateInterface.LOADING,heading:"Uploading your photo",subline:"Please wait while we upload your photo",isButtonEnabled:!1,width:300})}):e.jsxs(e.Fragment,{children:[c.upload&&e.jsx("input",{ref:g,type:"file",accept:"image/*",style:{display:"none"},onChange:e=>{const o=e.target.files[0],s=new FileReader;s.onload=()=>{var e;f({src:s.result}),e=s.result,c.crop?j("crop"):v(e)},o&&s.readAsDataURL(o)}}),"crop"===h&&e.jsx(a.BikImageCropper,{src:C.src,onCropComplete:e=>{f({src:e}),v(e)},aspectRatio:n.aspectRatio,onCancel:d})]})};
@@ -1,2 +0,0 @@
1
- export * from './BikImageCropper';
2
- export * from './BikImagePipeline/BikImagePipeline';
@@ -1,8 +0,0 @@
1
- interface FileUploadOptions {
2
- uploadProgress: number;
3
- uploadFile: (file: File, path: string) => Promise<string>;
4
- error?: string;
5
- success?: boolean;
6
- }
7
- declare const useMockFileUpload: () => FileUploadOptions;
8
- export default useMockFileUpload;
@@ -1,6 +0,0 @@
1
- import { InputTypeI } from "./Input";
2
- export declare const isFunction: (fn: any) => boolean;
3
- export declare const validateInput: (inputText: string | number, type: InputTypeI, rangeValidation?: {
4
- min?: number;
5
- max?: number;
6
- }) => [boolean, string];
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("phone");exports.isFunction=e=>e&&"function"==typeof e,exports.validateInput=function(n,r){let t,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const a=["phonenumber","zip","number"].includes(r),u=a?n?Number(n):null:n;if(null==u||""===u)return[!0,""];if(a&&String(u).length&&(i.min&&u<i.min||i.max&&u>i.max))return[!1,`Enter valid number between ${i.min} and ${i.max}`];if("email"===r)return t=/(.+)@(.+){2,}\.(.+){2,}/,u.match(t)?[!0,""]:[!1,"Enter a valid email id"];if("url"===r)return t=/^https?:\/\/(?:www\.)?[-a-zA-Z0-9@:%._\+~#=]{1,256}\.[a-zA-Z0-9()]{1,6}\b(?:[-a-zA-Z0-9()@:%_\+.~#?&\/=]*)$/,u.match(t)?[!0,""]:[!1,"Enter a valid url"];if("number"===r)return u>=0?[!0,""]:[!1,"Enter a valid number"];if("zip"===r)return 6===String(u).trim().length?[!0,""]:[!1,"Enter a valid zip code"];if("phonenumber"===r){const{isValid:n}=e.phone("+"+String(u));return n?[!0,""]:[!1,"Enter a valid phonenumber"]}return(null==u?void 0:u.trim().length)>0?[!0,""]:[!1,"Enter a valid data"]};
@@ -1,9 +0,0 @@
1
- import { FunctionComponent } from 'react';
2
- interface OwnProps {
3
- isMonthlySelected: boolean;
4
- yearlyDiscount: string;
5
- onToggle: (isMonthlySelected: boolean) => void;
6
- }
7
- type Props = OwnProps;
8
- declare const DurationSelector: FunctionComponent<Props>;
9
- export default DurationSelector;
@@ -1,5 +0,0 @@
1
- /// <reference types="react" />
2
- export declare const DurationSelectorStyled: import("@emotion/styled").StyledComponent<{
3
- theme?: import("@emotion/react").Theme | undefined;
4
- as?: import("react").ElementType<any> | undefined;
5
- }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
@@ -1,30 +0,0 @@
1
- import { FunctionComponent } from 'react';
2
- interface PlanPrice {
3
- price: number;
4
- discount: number;
5
- }
6
- interface PlanFeature {
7
- detail: string;
8
- }
9
- export interface SubscriptionPlanProps {
10
- code: string;
11
- isMostPopular?: boolean;
12
- isDisabled?: boolean;
13
- isSelected?: boolean;
14
- planName: string;
15
- monthlyPlan: PlanPrice;
16
- showTrialOptions: boolean;
17
- yearlyPlan: PlanPrice;
18
- features: PlanFeature[];
19
- showMonthly: boolean;
20
- planDescription: string;
21
- planDescriptionDiscount: string;
22
- onPlanSelect: (code: string) => void;
23
- bottomDescription?: string;
24
- freeTrialMessages?: string;
25
- extraBlockMessage?: string;
26
- isLoading?: boolean;
27
- }
28
- type Props = SubscriptionPlanProps;
29
- export declare const SubscriptionPlan: FunctionComponent<Props>;
30
- export {};
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),s=require("../../assets/icons/check.svg.js"),t=require("../button/Button.js"),i=require("./SubscriptionPlanStyled.js"),a=require("../TypographyStyle.js"),n=require("../../constants/Theme.js");exports.SubscriptionPlan=r=>{const c=r.showMonthly?r.monthlyPlan:r.yearlyPlan,l=!r.isDisabled&&r.isMostPopular;return e.jsxs(i.SubscriptionPlanStyled,Object.assign({isSelected:r.isSelected||!1,style:{marginTop:l?0:24}},{children:[l&&e.jsx("div",Object.assign({className:"most-popular"},{children:e.jsx(a.Caption,Object.assign({className:"text"},{children:"Most popular ⭐️"}))})),e.jsxs("div",Object.assign({className:`box ${r.isSelected?"selected":""} ${r.isDisabled?"disabled":""} ${l?"":"rounded-corners"}\n\t\t\t\t`},{children:[e.jsxs("div",{children:[e.jsx(a.TitleRegular,Object.assign({style:{color:n.COLORS.content.secondary,marginBottom:4}},{children:r.planName})),e.jsxs("div",Object.assign({className:"price-block"},{children:[e.jsxs(a.TitleLarge,Object.assign({style:{color:n.COLORS.content.primary}},{children:["$ ",c.price]})),e.jsxs(a.BodyPrimary,Object.assign({style:{color:n.COLORS.content.secondary,marginLeft:4}},{children:["/ ",r.showMonthly?"month":"year"]}))]})),e.jsxs("div",Object.assign({className:"per-message-price"},{children:[e.jsx(a.BodyCaption,Object.assign({style:{color:n.COLORS.content.secondary}},{children:r.planDescription})),e.jsx(a.BodyCaption,Object.assign({style:{color:n.COLORS.background.positive.vibrant,marginLeft:4}},{children:r.planDescriptionDiscount}))]})),r.showTrialOptions&&e.jsxs(a.Caption,Object.assign({className:"trial "+(r.isSelected?"selected":"")},{children:["7 day free trial with ",r.freeTrialMessages," messages"]})),r.extraBlockMessage&&e.jsx(a.Caption,Object.assign({className:"trial "+(r.isSelected?"selected":"")},{children:r.extraBlockMessage})),e.jsx("div",Object.assign({className:"features"},{children:r.features.map(((t,i)=>e.jsxs("div",Object.assign({className:"feature"},{children:[e.jsx(s.default,{height:16,width:16,color:n.COLORS.content.primary}),e.jsx(a.BodyPrimary,Object.assign({className:"feature-text"},{children:t.detail}),i)]}),t.detail)))}))]}),e.jsx("div",Object.assign({className:"button-box"},{children:r.isLoading?e.jsx(t.Button,{isLoading:!0,buttonType:"primary",buttonText:"Selected Plan",size:"medium",matchParentWidth:!0}):e.jsxs(e.Fragment,{children:[r.isSelected&&e.jsx(t.Button,{LeadingIcon:s.default,buttonType:"tertiary",size:"medium",matchParentWidth:!0,buttonText:"Selected Plan",disabled:!1}),r.isDisabled&&e.jsx(t.Button,{disabled:!0,buttonType:"primary",size:"medium",matchParentWidth:!0,buttonText:"Choose plan"}),!r.isSelected&&!r.isDisabled&&e.jsx(t.Button,{buttonType:"primary",size:"medium",onClick:()=>r.onPlanSelect(r.code),matchParentWidth:!0,buttonText:"Choose plan"})]})}))]})),e.jsx("div",Object.assign({className:`plan-bottom-information\n\t\t\t\t\t${r.isDisabled?"disabled":""}\n\t\t\t\t\t${r.isSelected?"selected":""}\n\t\t\t\t`},{children:e.jsx(a.Caption,Object.assign({className:"text",style:{color:n.COLORS.background.inverse}},{children:r.bottomDescription}))}))]}))};
@@ -1,13 +0,0 @@
1
- import { FunctionComponent } from 'react';
2
- import { SubscriptionPlanProps } from "./SubscriptionPlan";
3
- type Props = {
4
- plans: SubscriptionPlanProps[];
5
- onPlanSelect: (code: string) => void;
6
- onClose: () => void;
7
- subHeader?: string;
8
- warningDescription?: string;
9
- showTrialOptions?: boolean;
10
- header?: string;
11
- };
12
- export declare const SubscriptionPlanSelector: FunctionComponent<Props>;
13
- export {};
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var c=require("@emotion/styled/base"),l=require("react"),b=require("react/jsx-runtime"),I=require("../modals/styledModal.js"),e=require("./SubscriptionPlan.js"),i=require("../../constants/Theme.js");function n(c){return c&&"object"==typeof c&&"default"in c?c:{default:c}}var d=n(c);const g=d.default("div","production"===process.env.NODE_ENV?{target:"e1s1pw0f1"}:{target:"e1s1pw0f1",label:"PlanWrapper"})("production"===process.env.NODE_ENV?{name:"z72o5x",styles:"display:flex;column-gap:22px;align-items:stretch;padding:24px"}:{name:"z72o5x",styles:"display:flex;column-gap:22px;align-items:stretch;padding:24px",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlN1YnNjcmlwdGlvblBsYW5TZWxlY3Rvci50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkF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ICAgICAgICAgIHdpZHRoOiAxMDAwLFxyXG4gICAgICAgIH0sIG9wZW46IHRydWUsIGhlYWRpbmdUaXRsZTogcHJvcHMuaGVhZGVyIHx8ICdTZWxlY3QgYSBwbGFuIHRvIHByb2NlZWQnLCBoZWFkaW5nU3VidGl0bGU6IHByb3BzLnN1YkhlYWRlciB8fCAnJywgY2xvc2VPbk91dHNpZGVDbGljazogdHJ1ZSwgb25DbG9zZTogcHJvcHMub25DbG9zZSB9LCB7IGNoaWxkcmVuOiBbcHJvcHMud2FybmluZ0Rlc2NyaXB0aW9uICYmIChfanN4KFdhcm5pbmcsIHsgY2hpbGRyZW46IHByb3BzLndhcm5pbmdEZXNjcmlwdGlvbiB9KSksIF9qc3goUGxhbldyYXBwZXIsIHsgY2hpbGRyZW46IHByb3BzLnBsYW5zLm1hcCgocHJvcCkgPT4ge1xyXG4gICAgICAgICAgICAgICAgICAgIHJldHVybiAoX2NyZWF0ZUVsZW1lbnQoU3Vic2NyaXB0aW9uUGxhbiwgT2JqZWN0LmFzc2lnbih7fSwgcHJvcCwgeyBzaG93VHJpYWxPcHRpb25zOiBwcm9wcy5zaG93VHJpYWxPcHRpb25zIHx8IGZhbHNlLCBvblBsYW5TZWxlY3Q6IHByb3BzLm9uUGxhblNlbGVjdCwga2V5OiBwcm9wLnBsYW5OYW1lLCBzaG93TW9udGhseTogdHJ1ZSB9KSkpO1xyXG4gICAgICAgICAgICAgICAgfSkgfSldIH0pKSk7XHJcbn07XHJcbi8vIyBzb3VyY2VNYXBwaW5nVVJMPVN1YnNjcmlwdGlvblBsYW5TZWxlY3Rvci5qcy5tYXAiXX0= */",toString:function(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}}),s=d.default("div","production"===process.env.NODE_ENV?{target:"e1s1pw0f0"}:{target:"e1s1pw0f0",label:"Warning"})("color:",i.COLORS.content.negative,";padding:0px 24px;"+("production"===process.env.N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({centralContainerStyles:{width:1e3},open:!0,headingTitle:c.header||"Select a plan to proceed",headingSubtitle:c.subHeader||"",closeOnOutsideClick:!0,onClose:c.onClose},{children:[c.warningDescription&&b.jsx(s,{children:c.warningDescription}),b.jsx(g,{children:c.plans.map((b=>l.createElement(e.SubscriptionPlan,Object.assign({},b,{showTrialOptions:c.showTrialOptions||!1,onPlanSelect:c.onPlanSelect,key:b.planName,showMonthly:!0}))))})]}));
@@ -1,7 +0,0 @@
1
- /// <reference types="react" />
2
- export declare const SubscriptionPlanStyled: import("@emotion/styled").StyledComponent<{
3
- theme?: import("@emotion/react").Theme | undefined;
4
- as?: import("react").ElementType<any> | undefined;
5
- } & {
6
- isSelected: boolean;
7
- }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var c=require("@emotion/styled/base"),d=require("../../constants/Theme.js");function b(c){return c&&"object"==typeof c&&"default"in c?c:{default:c}}const t=b(c).default("div","production"===process.env.NODE_ENV?{target:"e4062250"}:{target:"e4062250",label:"SubscriptionPlanStyled"})("border:1px solid ",d.COLORS.stroke.primary,";border:1px solid ",(c=>c.isSelected?d.COLORS.text.altSecondary:d.COLORS.stroke.primary),";box-shadow:0px 2px 8px rgba(0, 0, 0, 0.12);border-radius:4px;.box{height:400px;padding:24px;background-color:",d.COLORS.surface.standard,";display:flex;flex-direction:column;.button-box{margin-top:auto;display:flex;}}.box.selected{background-color:",d.COLORS.background.brandLight,";}.rounded-corners{border-top-left-radius:4px;border-top-right-radius:4px;}width:100%;.most-popular{background:linear-gradient(90.05deg, #743979 1.22%, #526dca 99.95%),#4b1583;padding:4px;border-top-left-radius:4px;border-top-right-radius:4px;display:flex;justify-content:center;align-items:center;.text{color:",d.COLORS.surface.standard,";}}.trial{margin-top:16px;margin-bottom:12px;padding:4px 8px;border-radius:4px;color:",d.COLORS.content.secondary,";background-color:",d.COLORS.surface.hovered,";}.trial.selected{background-color:",d.COLORS.surface.standard,";}.feature{display:flex;align-items:center;margin-top:12px;.feature-text{margin-left:12px;color:",d.COLORS.content.secondary,";}}.price-block{display:flex;margin-bottom:4px;align-items:center;}.per-message-price{display:flex;}.plan-bottom-information{margin-top:auto;text-align:center;background:",d.COLORS.background.brandLight,";padding:4px;border-bottom-left-radius:4px;border-bottom-right-radius:4px;.text{color:",d.COLORS.background.inverse,";}}.disabled{*{color:",d.COLORS.content.inactive,"!important;}}.plan-bottom-information.disabled{background:",d.COLORS.background.base,";}.plan-bottom-information.selected{background:",d.COLORS.surface.standard,";color:",d.COLORS.content.placeholder,";}"+("production"===process.env.NODE_ENV?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlN1YnNjcmlwdGlvblBsYW5TdHlsZWQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUVpRCIsImZpbGUiOiJTdWJzY3JpcHRpb25QbGFuU3R5bGVkLnRzeCIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBzdHlsZWQgZnJvbSAnQGVtb3Rpb24vc3R5bGVkJztcclxuaW1wb3J0IHsgQ09MT1JTIH0gZnJvbSBcIi4uLy4uL2NvbnN0YW50cy9UaGVtZVwiO1xyXG5leHBvcnQgY29uc3QgU3Vic2NyaXB0aW9uUGxhblN0eWxlZCA9IHN0eWxlZC5kaXYgYFxuXHRib3JkZXI6IDFweCBzb2xpZCAke0NPTE9SUy5zdHJva2UucHJpbWFyeX07XG5cdGJvcmRlcjogMXB4IHNvbGlkXG5cdFx0JHsocHJvcHMpID0+IHByb3BzLmlzU2VsZWN0ZWQgPyBDT0xPUlMudGV4dC5hbHRTZWNvbmRhcnkgOiBDT0xPUlMuc3Ryb2tlLnByaW1hcnl9O1xuXG5cdGJveC1zaGFkb3c6IDBweCAycHggOHB4IHJnYmEoMCwgMCwgMCwgMC4xMik7XG5cdGJvcmRlci1y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3JvdW5kLmludmVyc2V9O1xuXHRcdH1cblxuXHRcdGJvcmRlci1ib3R0b20tbGVmdC1yYWRpdXM6IDRweDtcblx0XHRib3JkZXItYm90dG9tLXJpZ2h0LXJhZGl1czogNHB4O1xuXHR9XG5cblx0LmRpc2FibGVkIHtcblx0XHQqIHtcblx0XHRcdGNvbG9yOiAke0NPTE9SUy5jb250ZW50LmluYWN0aXZlfSAhaW1wb3J0YW50O1xuXHRcdH1cblx0fVxuXG5cdC5wbGFuLWJvdHRvbS1pbmZvcm1hdGlvbi5kaXNhYmxlZCB7XG5cdFx0YmFja2dyb3VuZDogJHtDT0xPUlMuYmFja2dyb3VuZC5iYXNlfTtcblx0fVxuXG5cdC5wbGFuLWJvdHRvbS1pbmZvcm1hdGlvbi5zZWxlY3RlZCB7XG5cdFx0YmFja2dyb3VuZDogJHtDT0xPUlMuc3VyZmFjZS5zdGFuZGFyZH07XG5cdFx0Y29sb3I6ICR7Q09MT1JTLmNvbnRlbnQucGxhY2Vob2xkZXJ9O1xuXHR9XG5gO1xyXG4vLyMgc291cmNlTWFwcGluZ1VSTD1TdWJzY3JpcHRpb25QbGFuU3R5bGVkLmpzLm1hcCJdfQ== */"));exports.SubscriptionPlanStyled=t;
@@ -1,2 +0,0 @@
1
- export * from './SubscriptionPlan';
2
- export * from './SubscriptionPlanSelector';
@@ -1,9 +0,0 @@
1
- /// <reference types="react" />
2
- export declare const StyledZeroState: import("@emotion/styled").StyledComponent<{
3
- theme?: import("@emotion/react").Theme | undefined;
4
- as?: import("react").ElementType<any> | undefined;
5
- }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
6
- export declare const StyledProductPickerContainer: import("@emotion/styled").StyledComponent<{
7
- theme?: import("@emotion/react").Theme | undefined;
8
- as?: import("react").ElementType<any> | undefined;
9
- }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var c=require("@emotion/styled/base"),d=require("../../constants/Theme.js");function X(c){return c&&"object"==typeof c&&"default"in c?c:{default:c}}var l=X(c);const b=l.default("div","production"===process.env.NODE_ENV?{target:"e1h66m5c1"}:{target:"e1h66m5c1",label:"StyledZeroState"})("height:364px;background-color:",d.DEFAULT_THEME.colorsV2.surface.standard,";display:flex;align-items:center;justify-content:center;gap:8px;flex-direction:column;.icon__container{height:48px;width:48px;border-radius:50%;background-color:",d.DEFAULT_THEME.colorsV2.background.base,";display:flex;align-items:center;justify-content:center;}"+("production"===process.env.NODE_ENV?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlByb2R1Y3RQaWNrZXIuc3R5bGVkLnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFFMEMiLCJmaWxlIjoiUHJvZHVjdFBpY2tlci5zdHlsZWQudHN4Iiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHN0eWxlZCBmcm9tICdAZW1vdGlvbi9zdHlsZWQnO1xyXG5pbXBvcnQgeyBERUZBVUxUX1RIRU1FIH0gZnJvbSBcIi4uLy4uL2NvbnN0YW50cy9UaGVtZVwiO1xyXG5leHBvcnQgY29uc3QgU3R5bGVkWmVyb1N0YXRlID0gc3R5bGVkLmRpdiBgXG5cdGhlaWdodDogMzY0cHg7XG5cdGJhY2tncm91bmQtY29sb3I6ICR7REVGQVVMVF9USEVNRS5jb2xvcnNWMi5zdXJmYWNlLnN0YW5kYXJkfTtcblx0ZGlzcGxheTogZmxleDtcblx0YWxpZ24taXRlbXM6IGNlbnRlcjtcblx0anVzdGlmeS1jb250ZW50OiBjZW50ZXI7XG5cdGdhcDogOHB4O1xuXHRmbGV4LWRpcmVjdGlvbjogY29sdW1uO1xuXG5cdC5pY29uX19jb250YWluZXIge1xuXHRcdGhlaWdodDogNDhweDtcblx0XHR3aWR0aDogNDhweDtcblx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TAwJTtcblx0XHRtYXJnaW4tdG9wOiA0cHg7XG5cdFx0ZGlzcGxheTogZmxleDtcblx0XHRhbGlnbi1pdGVtczogY2VudGVyO1xuXHRcdGp1c3RpZnktY29udGVudDogY2VudGVyO1xuXHR9XG5cdC5wcm9kdWN0X193cmFwcGVyIHtcblx0XHRwYWRkaW5nOiAxMnB4O1xuXHRcdGRpc3BsYXk6IGZsZXg7XG5cdFx0ZmxleC1kaXJlY3Rpb246IHJvdztcblx0XHRhbGlnbi1pdGVtczogY2VudGVyO1xuXHRcdGdhcDogMTlweDtcblx0XHRib3JkZXItYm90dG9tOiAxcHggc29saWQgJHtERUZBVUxUX1RIRU1FLmNvbG9yc1YyLnN0cm9rZS5wcmltYXJ5fTtcblx0fVxuXHQucHJvZHVjdF9faW5mby13cmFwcGVyIHtcblx0XHRkaXNwbGF5OiBmbGV4O1xuXHRcdGdhcDogMTZweDtcblx0XHRhbGlnbi1pdGVtczogY2VudGVyO1xuXHRcdG9yZGVyOiAyO1xuXHR9XG5cdC5wcm9kdWN0X19pbWFnZSB7XG5cdFx0aGVpZ2h0OiA0MHB4O1xuXHRcdHdpZHRoOiA0MHB4O1xuXHRcdG9iamVjdC1maXQ6IGNvdmVyO1xuXHRcdGJvcmRlci1yYWRpdXM6IDRweDtcblx0fVxuYDtcclxuLy8jIHNvdXJjZU1hcHBpbmdVUkw9UHJvZHVjdFBpY2tlci5zdHlsZWQuanMubWFwIl19 */")),x=l.default("div","production"===process.env.NODE_ENV?{target:"e1h66m5c0"}:{target:"e1h66m5c0",label:"StyledProductPickerContainer"})("margin-top:8px;.post__wrapper{margin-top:8px;border-top:1px solid ",d.DEFAULT_THEME.colorsV2.stroke.primary,";background-color:",d.DEFAULT_THEME.colorsV2.background.warning.light,";padding:12px 16px;display:flex;align-items:center;gap:16px;}.post__thumbnail{height:68px;width:68px;object-fit:cover;border-radius:4px;}.post__info-wrapper{display:flex;gap:8px;flex-direction:column;width:350px;}.loader__wrapper{height:350px;width:100%;margin-top:4px;display:flex;align-items:center;justify-content:center;}.product__wrapper{padding:12px;display:flex;flex-direction:row;align-items:center;gap:19px;border-bottom:1px solid ",d.DEFAULT_THEME.colorsV2.stroke.primary,";}.product__info-wrapper{display:flex;gap:16px;align-items:center;order:2;}.product__image{height:40px;width:40px;object-fit:cover;border-radius:4px;}"+("production"===process.env.NODE_ENV?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlByb2R1Y3RQaWNrZXIuc3R5bGVkLnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFxQnVEIiwiZmlsZSI6IlByb2R1Y3RQaWNrZXIuc3R5bGVkLnRzeCIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBzdHlsZWQgZnJvbSAnQGVtb3Rpb24vc3R5bGVkJztcclxuaW1wb3J0IHsgREVGQVVMVF9USEVNRSB9IGZyb20gXCIuLi8uLi9jb25zdGFudHMvVGhlbWVcIjtcclxuZXhwb3J0IGNvbnN0IFN0eWxlZFplcm9TdGF0ZSA9IHN0eWxlZC5kaXYgYFxuXHRoZWlnaHQ6IDM2NHB4O1xuXHRiYWNrZ3JvdW5kLWNvbG9yOiAke0RFRkFVTFRfVEhFTUUuY29sb3JzVjIuc3VyZmFjZS5zdGFuZGFyZH07XG5cdGRpc3BsYXk6IGZsZXg7XG5cdGFsaWduLWl0ZW1zOiBjZW50ZXI7XG5cdGp1c3RpZnktY29udGVudDogY2VudGVyO1xuXHRnYXA6IDhweDtcblx0ZmxleC1kaXJlY3Rpb246IGNvbHVtbjtcblxuXHQuaWNvbl9fY29udGFpbmVyIHtcblx0XHRoZWlnaHQ6IDQ4cHg7XG5cdFx0d2lkdGg6IDQ4cHg7XG5cdFx0Ym9yZGVyLXJhZGl1czogNTAlO1xuXHRcdGJhY2tncm91bmQtY29sb3I6ICR7REVGQVVMVF9USEVNRS5jb2xvcnNWMi5iYWNrZ3JvdW5kLmJhc2V9O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tcblx0XHRqdXN0aWZ5LWNvbnRlbnQ6IGNlbnRlcjtcblx0fVxuXHQucHJvZHVjdF9fd3JhcHBlciB7XG5cdFx0cGFkZGluZzogMTJweDtcblx0XHRkaXNwbGF5OiBmbGV4O1xuXHRcdGZsZXgtZGlyZWN0aW9uOiByb3c7XG5cdFx0YWxpZ24taXRlbXM6IGNlbnRlcjtcblx0XHRnYXA6IDE5cHg7XG5cdFx0Ym9yZGVyLWJvdHRvbTogMXB4IHNvbGlkICR7REVGQVVMVF9USEVNRS5jb2xvcnNWMi5zdHJva2UucHJpbWFyeX07XG5cdH1cblx0LnByb2R1Y3RfX2luZm8td3JhcHBlciB7XG5cdFx0ZGlzcGxheTogZmxleDtcblx0XHRnYXA6IDE2cHg7XG5cdFx0YWxpZ24taXRlbXM6IGNlbnRlcjtcblx0XHRvcmRlcjogMjtcblx0fVxuXHQucHJvZHVjdF9faW1hZ2Uge1xuXHRcdGhlaWdodDogNDBweDtcblx0XHR3aWR0aDogNDBweDtcblx0XHRvYmplY3QtZml0OiBjb3Zlcjtcblx0XHRib3JkZXItcmFkaXVzOiA0cHg7XG5cdH1cbmA7XHJcbi8vIyBzb3VyY2VNYXBwaW5nVVJMPVByb2R1Y3RQaWNrZXIuc3R5bGVkLmpzLm1hcCJdfQ== */"));exports.StyledProductPickerContainer=x,exports.StyledZeroState=b;
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- import { ProductPickerProps } from "./type";
3
- export declare const ProductPickerContent: React.FC<ProductPickerProps>;
4
- export declare const PricePleaseProductPicker: React.FC<ProductPickerProps>;
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),t=require("../../node_modules/lodash.debounce/index.js"),s=require("react"),o=require("../bik-layout/PageLoader.js"),r=require("../checkBox/CheckBox.js"),n=require("../input/Input.js"),c=require("../modals/styledModal.js"),l=require("./ProductPicker.styled.js"),i=require("../TypographyStyle.js"),a=require("../../utils/DateUtils.js"),d=require("../../constants/Theme.js"),u=require("../../assets/icons/alert_triangle.svg.js"),p=require("../../assets/icons/search.svg.js");const h="https://jkfenner.com/wp-content/uploads/2019/11/default.jpg",j=t=>{let{text:s,styleProps:o}=t;return e.jsxs(l.StyledZeroState,{children:[e.jsx("div",Object.assign({className:"icon__container",style:Object.assign({},o)},{children:e.jsx(u.default,{width:24,height:24,color:d.DEFAULT_THEME.colorsV2.content.secondary})})),e.jsx(i.TitleRegular,{children:"No results found"}),e.jsx(i.BodySecondary,Object.assign({style:{color:d.DEFAULT_THEME.colorsV2.content.secondary,textAlign:"center"}},{children:`Sorry we could not find any results for "${s}"`}))]})},g=c=>{var u,g,x,P;const y=c.instaPost?a.default.dateFormat(new Date(c.instaPost.timestamp),"•",!0):"",[m,v]=s.useState(c.products),[E,_]=s.useState(!1),[b,T]=s.useState(""),f=s.useCallback(t.default((e=>{e?(v([]),c.onSearchKeyChange(e).then((e=>{v(e),_(!1)}))):(v(c.products),_(!1))}),700),[]);return e.jsxs(l.StyledProductPickerContainer,{children:[c.instaPost&&e.jsxs("div",Object.assign({className:"post__wrapper"},{children:[e.jsx("img",{alt:"Ig Media",onError:e=>{e.target.onerror=null,e.target.src=h},src:null===(u=c.instaPost)||void 0===u?void 0:u.media_url,className:"post__thumbnail"}),e.jsxs("div",Object.assign({className:"post__info-wrapper"},{children:[e.jsx(i.BodyPrimary,Object.assign({style:{textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap",color:c.instaPost.caption?d.DEFAULT_THEME.colorsV2.content.primary:d.DEFAULT_THEME.colorsV2.content.secondary}},{children:(null===(g=c.instaPost)||void 0===g?void 0:g.caption)?null===(x=c.instaPost)||void 0===x?void 0:x.caption:"No caption"})),e.jsx(i.Caption,Object.assign({style:{color:d.DEFAULT_THEME.colorsV2.content.placeholder}},{children:y}))]}))]})),e.jsx("div",Object.assign({style:{borderTop:c.instaPost?`1px solid ${d.DEFAULT_THEME.colorsV2.stroke.primary}`:"none",borderBottom:`1px solid ${d.DEFAULT_THEME.colorsV2.stroke.primary}`,padding:c.instaPost?"16px":"0px 16px 16px 16px"}},{children:e.jsx(n.Input,{placeholder:null!==(P=c.searchPlaceholder)&&void 0!==P?P:"Search products..",onChangeText:e=>{var t;T(e),(null===(t=e.trim())||void 0===t?void 0:t.length)>0?(_(!0),f(e)):(_(!1),v(c.products))},rightIcon:{icon:p.default}})})),e.jsxs("div",Object.assign({style:{maxHeight:350,overflowY:"scroll"}},{children:[E&&e.jsx("div",Object.assign({className:"loader__wrapper"},{children:e.jsx(o.PageLoader,{})})),0!==m.length||E?m.map((t=>{var s;const o=c.selectedProducts.find((e=>e.id===t.id));return e.jsxs("div",Object.assign({className:"product__wrapper"},{children:[e.jsxs("div",Object.assign({className:"product__info-wrapper"},{children:[e.jsx("img",{alt:"Product",onError:e=>{e.target.onerror=null,e.target.src=h},src:null!==(s=t.image)&&void 0!==s?s:h,className:"product__image"}),e.jsx(i.TitleRegular,{children:t.name})]})),e.jsx("div",Object.assign({style:{order:1}},{children:e.jsx(r.CheckBox,{isChecked:void 0!==o,onValueChange:e=>{((e,t)=>{const s=c.selectedProducts.find((e=>e.id===t.id));if(e&&!s){const e=[...c.selectedProducts,t];c.setSelectedProducts(e)}else if(s){const e=[...c.selectedProducts];let s=-1;c.selectedProducts.forEach(((e,o)=>{e.id===t.id&&(s=o)})),e.splice(s,1),c.setSelectedProducts(e)}})(e,t)}})}))]}),t.id)})):e.jsx(j,{text:b})]}))]})};exports.PricePleaseProductPicker=t=>{var o;const[r,n]=s.useState([]);return s.useEffect((()=>{var e;n(null!==(e=t.selectedProducts)&&void 0!==e?e:[])}),[null===(o=t.selectedProducts)||void 0===o?void 0:o.length]),e.jsx(c.StyledModal,Object.assign({open:t.show,onClose:()=>{t.onClose()},footerLeftCustomElement:r.length>10?e.jsx(i.Caption,Object.assign({style:{color:d.DEFAULT_THEME.colorsV2.content.negative}},{children:"Can't add more than 10 products"})):e.jsx(i.Caption,Object.assign({style:{color:d.DEFAULT_THEME.colorsV2.content.placeholder}},{children:r?`${r.length} selected`:""})),headingTitle:t.title,primaryButton:{disabled:r.length>10||0===r.length,buttonType:"primary",buttonText:"Select",size:"small",onClick:()=>{t.setSelectedProducts(r),t.onClose()}},secondaryButton:t.secondaryButtonProps,footerShadow:!0},{children:e.jsx(g,Object.assign({},t,{selectedProducts:r,setSelectedProducts:n}))}))},exports.ProductPickerContent=g;
@@ -1 +0,0 @@
1
- export * from './ProductPickerModal';
@@ -1,57 +0,0 @@
1
- import React from 'react';
2
- import { ButtonProps } from "../button/model";
3
- export interface IInstaPost {
4
- caption?: string;
5
- comments_count: number;
6
- id: string;
7
- ig_id: string;
8
- media_type: string;
9
- timestamp: string;
10
- media_url: string;
11
- permalink: string;
12
- products: Product[];
13
- }
14
- export interface ProductPickerProps {
15
- show: boolean;
16
- products: Product[];
17
- onClose: () => void;
18
- title: string;
19
- onSave: (productIds: Product[]) => void;
20
- onSearchKeyChange: (key: string) => Promise<Product[]>;
21
- instaPost?: IInstaPost;
22
- searchPlaceholder?: string;
23
- selectedProducts: Product[];
24
- setSelectedProducts: React.Dispatch<React.SetStateAction<Product[]>>;
25
- secondaryButtonProps?: ButtonProps;
26
- }
27
- export interface Product {
28
- image: string;
29
- variants: Variant[];
30
- id: string;
31
- combinations: Combination[];
32
- photos: Photo[];
33
- isNew: boolean;
34
- currency: string;
35
- isDiscounted: boolean;
36
- isLimited: boolean;
37
- catalogId: string;
38
- isOutOfStock: boolean;
39
- isHidden: boolean;
40
- tags: string;
41
- description: string;
42
- name: string;
43
- handle: string;
44
- }
45
- export interface Variant {
46
- values: string[];
47
- name: string;
48
- type: string;
49
- }
50
- export interface Combination {
51
- id: string;
52
- price: number;
53
- discountedPrice: number;
54
- }
55
- export interface Photo {
56
- photoUrl: string;
57
- }
@@ -1,23 +0,0 @@
1
- /// <reference types="react" />
2
- import { Collection, CollectionFetcherReturn, SelectedItems } from '.';
3
- import { CollectionsActions, SelectedCollectionsActions } from './reducers';
4
- export declare const truncate: (str: string, n: number, useWordBoundary: boolean) => string;
5
- interface CollectionsScreenInterface {
6
- collections: {
7
- [key: string]: Collection;
8
- };
9
- selectedCollections: SelectedItems;
10
- collectionFetcher: (offset: number, storeId: string) => CollectionFetcherReturn;
11
- storeId: string;
12
- selectedCollectionsDispatch: React.Dispatch<SelectedCollectionsActions>;
13
- setCollectionId: React.Dispatch<React.SetStateAction<string>>;
14
- setScreen: React.Dispatch<React.SetStateAction<string>>;
15
- collectionsDispatch: React.Dispatch<CollectionsActions>;
16
- setSaveDisabled: React.Dispatch<boolean>;
17
- pagingControls: {
18
- curPage: number;
19
- setCurPage: React.Dispatch<React.SetStateAction<number>>;
20
- };
21
- }
22
- export declare const CollectionsScreen: (props: CollectionsScreenInterface) => JSX.Element;
23
- export {};
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),t=require("../../assets/icons/chevronRight.svg.js"),s=require("react"),r=require("../checkBox/CheckBox.js"),i=require("../icon-button/IconButton.js"),c=require("../shimmer/ShimmerComponent/BikShimmer.js"),o=require("../tag/Tag.js"),n=require("../TypographyStyle.js"),l=require("./style.js");const a=(e,t,s)=>{if(e.length<=t)return e;const r=e.slice(0,t-1);return(s?r.slice(0,r.lastIndexOf(" ")):r)+"..."},d=s=>{const{data:c,selectedCollectionsDispatch:d,setCollectionId:u,isPartiallyChecked:h,setScreen:j,id:x,isChecked:p,isDisabled:C}=s;return e.jsxs(l.CollectionCardStyle,Object.assign({isDisabled:C},{children:[e.jsxs(l.CollectionCardInfoStyle,{children:[e.jsx(r.CheckBox,{isDisabled:C,isChecked:p,isPartiallyChecked:h,onValueChange:function(e,t){d(e?{type:"selected",data:{id:x,val:c}}:{type:"unselected",data:{id:x}}),u(e?x:"")}}),e.jsx(l.CollectionCardDetailStyle,{children:e.jsxs(l.CollectionNameHolder,{children:[e.jsx(n.TitleRegular,{children:a(c.name,40,!0)}),c.isSmartCollection?e.jsx(o.Tag,{tagText:"Smart Collection",type:"warning"}):e.jsx(e.Fragment,{})]})})]}),e.jsx(i.IconButton,{onClick:()=>{C||(u(x),j("products"))},Icon:t.default})]}))};exports.CollectionsScreen=t=>{const{collections:r,selectedCollectionsDispatch:i,setCollectionId:o,selectedCollections:n,setScreen:l,collectionFetcher:a,collectionsDispatch:u,pagingControls:h,storeId:j,setSaveDisabled:x}=t,p=s.useRef(null),C=s.useRef(h.curPage),v=(null==n?void 0:n.isCustom)||!1,[g,m]=s.useState(!1);s.useEffect((()=>{C.current=h.curPage}),[h.curPage]),s.useEffect((()=>{const e=new IntersectionObserver((e=>{e[0].isIntersecting&&C.current>0&&(x(!0),m(!0),a(C.current,j).then((e=>{u({type:"paged",data:(null==e?void 0:e.collections)||{}}),h.setCurPage(C.current+1),m(!1),x(!1)})).catch())}),{threshold:1});return p.current&&e.observe(p.current),()=>{p.current&&e.unobserve(p.current)}}),[p]);const b=e=>{var t,s;let i=0,c=0;if(n[e]){const o=null===(t=r[e])||void 0===t?void 0:t.products;o&&Object.keys(o).forEach((e=>{var t;const s=null===(t=o[e])||void 0===t?void 0:t.variants;s&&Object.keys(s).forEach((e=>i+=1))}));const l=null===(s=n[e])||void 0===s?void 0:s.products;return l&&Object.keys(l).forEach((e=>{var t;const s=null===(t=l[e])||void 0===t?void 0:t.variants;s&&Object.keys(s).forEach((e=>c+=1))})),!(i<=0&&c>0)&&(c>0&&i!==c)}return!1};return e.jsxs("div",{children:[Object.keys(r).length?Object.keys(r).map((t=>e.jsx(d,{data:r[t],isDisabled:v&&!(null==n?void 0:n[t]),isChecked:!!(null==n?void 0:n[t]),isPartiallyChecked:b(t),selectedCollectionsDispatch:i,setCollectionId:o,setScreen:l,id:t},t))):[1,2,3,4,5,6,7,8,9,10].map(((t,s)=>e.jsx("div",Object.assign({style:{borderBottom:"1px solid #E0E0E0"}},{children:e.jsx(c.BikShimmer,{boxes:[{height:"64px",width:"100%",marginTop:"0px"}]})}),s))),e.jsx("div",{ref:p}),g&&[1,2,3,4,5].map(((t,s)=>e.jsx("div",Object.assign({style:{borderBottom:"1px solid #E0E0E0"}},{children:e.jsx(c.BikShimmer,{boxes:[{height:"64px",width:"100%",marginTop:"0px"}]})}),s)))]})},exports.truncate=a;
@@ -1 +0,0 @@
1
- export * from './modal';
@@ -1,47 +0,0 @@
1
- /// <reference types="react" />
2
- export interface ProductVariant {
3
- name: string;
4
- price: string;
5
- image: string;
6
- }
7
- export interface Product {
8
- name: string;
9
- image: string;
10
- variants?: {
11
- [key: string]: ProductVariant;
12
- };
13
- }
14
- export interface Collection {
15
- name: string;
16
- image: string;
17
- isSmartCollection: boolean;
18
- products?: {
19
- [key: string]: Product;
20
- };
21
- }
22
- export type SelectedItems = {
23
- [key: string]: Collection;
24
- };
25
- export type CollectionFetcherReturn = Promise<{
26
- collections: {
27
- [key: string]: {
28
- image: string;
29
- name: string;
30
- isSmartCollection: string;
31
- };
32
- };
33
- }>;
34
- export type ProductFetcherReturn = Promise<{
35
- [key: string]: Product;
36
- }>;
37
- export interface ProductPickerInterface {
38
- collectionFetcher: (offset: number, storeId: string) => CollectionFetcherReturn;
39
- productFetcher: (collectionId: string, storeId: string) => ProductFetcherReturn;
40
- storeId: string;
41
- selectedItems: SelectedItems;
42
- onAdd: (items: SelectedItems) => void;
43
- onClose: () => void;
44
- visible: boolean;
45
- zIndex?: number;
46
- }
47
- export declare const ProductPickerModal: (props: ProductPickerInterface) => JSX.Element;
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),t=require("react"),c=require("../button/Button.js"),o=require("../modals/styledModal.js"),s=require("./collectionScreen.js"),l=require("./productScreen.js"),r=require("./reducers.js"),d=require("./selectedScreen.js"),n=require("./style.js");exports.ProductPickerModal=i=>{const{storeId:u,selectedItems:a,onClose:h,visible:p,zIndex:j}=i,[v,S]=t.useReducer(r.collectionsReducer,{}),[y,x]=t.useState("collections"),[C,b]=t.useState(""),[f,g]=t.useState(0),[q,I]=t.useReducer(r.selectedColectionsReducer,Object.keys(a).length?a:{}),[P,k]=t.useState(!1),[m,D]=t.useState(0);return t.useEffect((()=>{let e=0;Object.keys(q||[]).forEach((t=>{var c;Object.keys((null===(c=q[t])||void 0===c?void 0:c.products)||[]).forEach((c=>{var o,s;Object.keys((null===(s=null===(o=q[t].products)||void 0===o?void 0:o[c])||void 0===s?void 0:s.variants)||[]).forEach((t=>{e+=1}))}))})),D(e)})),t.useEffect((()=>{k(!0),i.collectionFetcher(f,u).then((e=>{S({type:"fetched",data:(null==e?void 0:e.collections)||{}}),k(!1),g((e=>e+1))})).catch()}),[]),t.useEffect((()=>{var e;C&&!(null===(e=null==v?void 0:v[C])||void 0===e?void 0:e.products)&&(k(!0),i.productFetcher(C,u).then((e=>{Object.keys(e).length&&(S({type:"productsFetched",data:{collectionId:C,products:e}}),k(!1))})).catch())}),[C]),e.jsx(o.StyledModal,Object.assign({zIndex:j,open:p,onClose:h,headingTitle:"collections"===y?"Select Products":"products"===y?v[C].name:"view"===y?"Selected Products":void 0,footerShadow:!0,centralContainerStyles:{width:"480px"},primaryButton:{buttonText:P?"Loading...":"Add",disabled:P,onClick:()=>i.onAdd(q)},footerLeftCustomElement:e.jsx(e.Fragment,{children:m>0?e.jsx(c.Button,{onClick:()=>{x("view")},buttonText:`${m} products selected`,buttonType:"tertiaryGray"}):e.jsx(c.Button,{disabled:!0,buttonText:`${m} products selected`,buttonType:"tertiaryGray"})})},{children:e.jsx(n.ContainerStyle,{children:e.jsxs(n.ScrollContainerStyle,{children:["collections"===y&&e.jsx(s.CollectionsScreen,{collections:v,selectedCollectionsDispatch:I,setCollectionId:b,setScreen:x,selectedCollections:q,collectionFetcher:i.collectionFetcher,storeId:u,collectionsDispatch:S,setSaveDisabled:k,pagingControls:{curPage:f,setCurPage:g}}),"products"===y&&C&&e.jsx(r.CollectionIdContext.Provider,Object.assign({value:C},{children:e.jsx(l.ProductsScreen,{productFetcher:i.productFetcher,setScreen:x,storeId:u,data:v[C],collectionsDispatch:S,selectedCollectionsDispatch:I,selectedData:q,setSaveDisabled:k})})),"view"===y&&e.jsx(d.SelectedScreen,{selectedCollections:q||{},selectedCollectionsDispatch:I,upliftAdditions:null,setScreen:x,collections:v})]})})}))};
@@ -1,39 +0,0 @@
1
- /// <reference types="react" />
2
- import { Collection, Product, ProductFetcherReturn, ProductVariant, SelectedItems } from '.';
3
- import { CollectionsActions, SelectedCollectionsActions } from './reducers';
4
- interface ProductsScreenInterface {
5
- data: Collection;
6
- collectionsDispatch: React.Dispatch<CollectionsActions>;
7
- selectedData: SelectedItems;
8
- selectedCollectionsDispatch: React.Dispatch<SelectedCollectionsActions>;
9
- productFetcher: (collectionId: string, storeId: string) => ProductFetcherReturn;
10
- storeId: string;
11
- setScreen: React.Dispatch<React.SetStateAction<string>>;
12
- setSaveDisabled: React.Dispatch<React.SetStateAction<boolean>>;
13
- }
14
- export declare const ProductsScreen: (props: ProductsScreenInterface) => JSX.Element;
15
- interface ProductGroupInterface {
16
- collectionId: string;
17
- productId: string;
18
- data: Product;
19
- selectedData: SelectedItems;
20
- selectedCollectionsDispatch: React.Dispatch<SelectedCollectionsActions>;
21
- upliftAdditions: any;
22
- viewOnly: boolean;
23
- isProductPartiallyChecked?: boolean;
24
- }
25
- export declare const ProductGroup: (props: ProductGroupInterface) => JSX.Element;
26
- interface ProductCardInterface {
27
- isVariant: boolean;
28
- data: Product | ProductVariant;
29
- productId: string;
30
- collectionId: string;
31
- variantId?: string;
32
- isSelected: boolean;
33
- selectedCollectionsDispatch: React.Dispatch<SelectedCollectionsActions>;
34
- upliftAdditions: any;
35
- viewOnly: boolean;
36
- isPartiallyChecked?: boolean;
37
- }
38
- export declare const ProductCard: (props: ProductCardInterface) => JSX.Element;
39
- export {};
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),t=require("../../assets/icons/arrow_left.svg.js"),i=require("../../assets/icons/box.svg.js"),d=require("lodash"),o=require("react"),l=require("../../constants/Theme.js"),c=require("../checkBox/CheckBox.js"),s=require("../icon-button/IconButton.js"),r=require("../shimmer/ShimmerComponent/BikShimmer.js"),n=require("../shimmer-image/ShimmerImage.js"),a=require("../TypographyStyle.js"),u=require("./collectionScreen.js"),v=require("./reducers.js"),p=require("./style.js");const h=t=>{const{collectionId:i,productId:d,data:o,selectedData:l,selectedCollectionsDispatch:c,upliftAdditions:s,viewOnly:r,isProductPartiallyChecked:n}=t,a=e=>{var t,o,c,s,r,n;if(!(null===(o=null===(t=null==l?void 0:l[i])||void 0===t?void 0:t.products)||void 0===o?void 0:o[d]))return!1;return!!(null===(n=null===(r=null===(s=null===(c=null==l?void 0:l[i])||void 0===c?void 0:c.products)||void 0===s?void 0:s[d])||void 0===r?void 0:r.variants)||void 0===n?void 0:n[e])};return e.jsxs("div",{children:[e.jsx(j,{isVariant:!1,data:o,productId:d,collectionId:i,isSelected:!!(null===(v=null===(u=null==l?void 0:l[i])||void 0===u?void 0:u.products)||void 0===v?void 0:v[d]),isPartiallyChecked:n,selectedCollectionsDispatch:c,upliftAdditions:s,viewOnly:r},d),Object.keys(o.variants||[]).map((t=>e.jsx(j,{isVariant:!0,data:o.variants[t],variantId:t,productId:d,viewOnly:r,collectionId:i,isSelected:a(t),selectedCollectionsDispatch:c,upliftAdditions:s},t)))]});var u,v},j=t=>{const{isVariant:i,data:d,productId:o,collectionId:l,variantId:s,isSelected:r,selectedCollectionsDispatch:v,upliftAdditions:h,viewOnly:j,isPartiallyChecked:y}=t;return e.jsxs(p.ProductCardStyle,Object.assign({isVariant:i},{children:[j?e.jsx(e.Fragment,{}):e.jsx(c.CheckBox,{isChecked:r,isPartiallyChecked:y||!1,onValueChange:function(e){i?e?h("variantSelected",{productId:o,variantId:s,collectionId:l,variant:d}):v({type:"variantUnselected",data:{productId:o,variantId:s,collectionId:l}}):e?h("productSelected",{productId:o,collectionId:l,product:d}):v({type:"productUnselected",data:{productId:o,collectionId:l}})}}),e.jsx("div",{children:e.jsx(n.ShimmerImage,{width:40,height:40,imageUrl:d.image,alt:"Item",borderRadius:4})}),e.jsx(a.TitleRegular,{children:u.truncate(d.name,40,!0)})]}))};exports.ProductCard=j,exports.ProductGroup=h,exports.ProductsScreen=n=>{const u=o.useContext(v.CollectionIdContext),{data:j,collectionsDispatch:y,selectedData:x,selectedCollectionsDispatch:m,productFetcher:I,storeId:g,setScreen:C,setSaveDisabled:O}=n,[b]=o.useState(j),k=j.isSmartCollection||!1,f=e=>{var t,i,d,o,l,c,s,r;let n=0,a=0;return!!((null===(i=null===(t=null==x?void 0:x[u])||void 0===t?void 0:t.products)||void 0===i?void 0:i[e])&&(null===(l=Object.keys((null===(o=null===(d=null==j?void 0:j.products)||void 0===d?void 0:d[e])||void 0===o?void 0:o.variants)||[]))||void 0===l||l.forEach((()=>a++)),Object.keys((null===(r=null===(s=null===(c=null==x?void 0:x[u])||void 0===c?void 0:c.products)||void 0===s?void 0:s[e])||void 0===r?void 0:r.variants)||[]).forEach((()=>n++)),n>0&&a!==n))};o.useEffect((()=>{(null==j?void 0:j.products)||(O(!0),I(u,g).then((e=>{Object.keys(e).length&&y({type:"productsFetched",data:{collectionId:u,products:e}}),O(!1)})).catch())}),[]);const S=(e,t)=>{const i=d.cloneDeep(j);if(delete i.products,(t=Object.assign(Object.assign({},t),{catalogOnlyData:i})).productId&&j.products){const e=d.cloneDeep(j.products[t.productId]);(null==e?void 0:e.variants)&&delete e.variants,t=Object.assign(Object.assign({},t),{catalogOnlyData:i,productOnlyData:e})}m({type:e,data:t})};return e.jsxs("div",{children:[e.jsxs(p.ProductScreenHeader,{children:[e.jsx(s.IconButton,{Icon:t.default,height:16,onClick:()=>{C("collections")}}),e.jsx(a.BodyCaption,Object.assign({style:{color:l.COLORS.content.secondary}},{children:j.name}))]}),e.jsxs("div",{children:[e.jsxs(p.ProductScreenCollectionCardStyle,{children:[k?e.jsx(e.Fragment,{}):e.jsx(c.CheckBox,{isChecked:!!(null==x?void 0:x[u]),isPartiallyChecked:(e=>{var t;let i=0,d=0;if(x[e]){const o=null==j?void 0:j.products;o&&Object.keys(o).forEach((e=>{var t;const d=null===(t=o[e])||void 0===t?void 0:t.variants;d&&Object.keys(d).forEach((e=>i+=1))}));const l=null===(t=x[e])||void 0===t?void 0:t.products;return l&&Object.keys(l).forEach((e=>{var t;const i=null===(t=l[e])||void 0===t?void 0:t.variants;i&&Object.keys(i).forEach((()=>d+=1))})),d>0&&i!==d}return!1})(u),onValueChange:function(e){m(e?{type:"selected",data:{id:u,val:j}}:{type:"unselected",data:{id:u}})}}),e.jsx("div",Object.assign({style:{width:40,height:40}},{children:e.jsx(i.default,{})})),e.jsx(a.TitleRegular,{children:"All Products"})]}),Object.keys((null==b?void 0:b.products)||[]).length?Object.keys(b.products||[]).map((t=>e.jsx(h,{collectionId:u,isProductPartiallyChecked:f(t),productId:t,data:b.products[t],selectedData:x,selectedCollectionsDispatch:m,upliftAdditions:S,viewOnly:!!k},t))):[1,2,3,4,5,6,7,8,9,10].map(((t,i)=>e.jsx("div",Object.assign({style:{borderBottom:"1px solid #E0E0E0"}},{children:e.jsx(r.BikShimmer,{boxes:[{height:"64px",width:"100%",marginTop:"0px"}]})}),i)))]})]})};
@@ -1,17 +0,0 @@
1
- /// <reference types="react" />
2
- import { Collection, SelectedItems } from '.';
3
- export interface SelectedCollectionsActions {
4
- type: string;
5
- data: {
6
- [key: string]: any;
7
- };
8
- }
9
- export declare function selectedColectionsReducer(collections: SelectedItems, action: SelectedCollectionsActions): SelectedItems;
10
- export interface CollectionsActions {
11
- type: string;
12
- data: {
13
- [key: string]: any;
14
- };
15
- }
16
- export declare function collectionsReducer(collections: Collection, action: CollectionsActions): any;
17
- export declare const CollectionIdContext: import("react").Context<string>;
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t=require("lodash");const e=require("react").createContext("");exports.CollectionIdContext=e,exports.collectionsReducer=function(t,e){let a={};switch(e.type){case"fetched":return a=Object.assign({},e.data),a;case"productsFetched":return a=Object.assign({},t),a[e.data.collectionId].products=e.data.products,a;case"paged":return a=Object.assign(Object.assign({},t),e.data),a;default:return{}}},exports.selectedColectionsReducer=function(e,a){var d,o,c,l,s,r;let n={},u="",i="",p="";switch(a.type){case"selected":return n=t.cloneDeep(e),a.data.val.isSmartCollection&&(n={},n.isCustom=!0),n[a.data.id]=a.data.val,n;case"unselected":return n=t.cloneDeep(e),(null==n?void 0:n.isCustom)&&(n.isCustom=!1),delete n[a.data.id],n;case"productUnselected":return n=t.cloneDeep(e),u=a.data.productId,i=a.data.collectionId,delete n[i].products[u],Object.keys(n[i].products).length||((null==n?void 0:n.isCustom)&&(n.isCustom=!1),delete n[i]),n;case"productSelected":return n=t.cloneDeep(e),u=a.data.productId,i=a.data.collectionId,(null==n?void 0:n[i])||(n[i]=a.data.catalogOnlyData,(null===(d=a.data.catalogOnlyData)||void 0===d?void 0:d.isSmartCollection)&&(n={},n.isCustom=!0),n[i].products={}),n[i].products[u]=a.data.product,n;case"variantSelected":return n=t.cloneDeep(e),u=a.data.productId,i=a.data.collectionId,p=a.data.variantId,(null==n?void 0:n[i])||((null===(o=a.data.catalogOnlyData)||void 0===o?void 0:o.isSmartCollection)&&(n={},n.isCustom=!0),n[i]=a.data.catalogOnlyData,n[i].products={},n[i].products[u]=a.data.productOnlyData,n[i].products[u].variants={}),(null===(l=null===(c=null==n?void 0:n[i])||void 0===c?void 0:c.products)||void 0===l?void 0:l[u])||((null===(s=null==n?void 0:n[i])||void 0===s?void 0:s.products)||(n[i].products={}),n[i].products[u]=a.data.productOnlyData,n[i].products[u].variants={}),n[i].products[u].variants[p]=a.data.variant,n;case"variantUnselected":return n=t.cloneDeep(e),u=a.data.productId,i=a.data.collectionId,p=a.data.variantId,delete n[i].products[u].variants[p],Object.keys(n[i].products[u].variants).length||(delete n[i].products[u],Object.keys(n[i].products).length||((null===(r=n[i])||void 0===r?void 0:r.isSmartCollection)&&(n.isCustom=!1),delete n[i])),n;default:return e}};
@@ -1,14 +0,0 @@
1
- /// <reference types="react" />
2
- import { Collection, SelectedItems } from '.';
3
- import { SelectedCollectionsActions } from './reducers';
4
- interface SelectedScreenInterface {
5
- selectedCollections: SelectedItems;
6
- selectedCollectionsDispatch: React.Dispatch<SelectedCollectionsActions>;
7
- upliftAdditions: any;
8
- setScreen: React.Dispatch<React.SetStateAction<string>>;
9
- collections: {
10
- [key: string]: Collection;
11
- };
12
- }
13
- export declare const SelectedScreen: (props: SelectedScreenInterface) => JSX.Element;
14
- export {};
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),o=require("../../assets/icons/arrow_left.svg.js"),l=require("../icon-button/IconButton.js"),t=require("../TypographyStyle.js"),i=require("./productScreen.js"),d=require("./style.js");exports.SelectedScreen=r=>{const{selectedCollections:s,selectedCollectionsDispatch:c,upliftAdditions:n,setScreen:u,collections:v}=r,a=(e,o)=>{var l,t,i,d,r,c,n,u,a;let p=0,j=0;return!!((null===(t=null===(l=null==s?void 0:s[e])||void 0===l?void 0:l.products)||void 0===t?void 0:t[o])&&(null===(c=Object.keys((null===(r=null===(d=null===(i=null==v?void 0:v[e])||void 0===i?void 0:i.products)||void 0===d?void 0:d[o])||void 0===r?void 0:r.variants)||[]))||void 0===c||c.forEach((()=>j++)),Object.keys((null===(a=null===(u=null===(n=null==s?void 0:s[e])||void 0===n?void 0:n.products)||void 0===u?void 0:u[o])||void 0===a?void 0:a.variants)||[]).forEach((()=>p++)),p>0&&j!==p))};return e.jsxs("div",{children:[e.jsxs(d.SelectedScreenHeader,{children:[e.jsx(l.IconButton,{Icon:o.default,onClick:()=>{u("collections")}}),e.jsx(t.BodyCaption,{children:"Selected Products"})]}),e.jsx("div",{children:Object.keys(s).map((o=>{var l;return Object.keys((null===(l=null==s?void 0:s[o])||void 0===l?void 0:l.products)||[]).map((l=>{let t=!1;return(null==s?void 0:s.isCustom)&&(t=!0),e.jsx(i.ProductGroup,{collectionId:o,productId:l,data:s[o].products[l],isProductPartiallyChecked:a(o,l),selectedData:s,selectedCollectionsDispatch:c,upliftAdditions:n,viewOnly:t},l)}))}))})]})};
@@ -1,14 +0,0 @@
1
- export declare const ContainerStyle: import("styled-components").StyledComponent<"div", any, {}, never>;
2
- export declare const ScrollContainerStyle: import("styled-components").StyledComponent<"div", any, {}, never>;
3
- export declare const CollectionCardStyle: import("styled-components").StyledComponent<"div", any, {
4
- isDisabled: boolean;
5
- }, never>;
6
- export declare const CollectionCardInfoStyle: import("styled-components").StyledComponent<"div", any, {}, never>;
7
- export declare const CollectionCardDetailStyle: import("styled-components").StyledComponent<"div", any, {}, never>;
8
- export declare const ProductScreenHeader: import("styled-components").StyledComponent<"div", any, {}, never>;
9
- export declare const ProductScreenCollectionCardStyle: import("styled-components").StyledComponent<"div", any, {}, never>;
10
- export declare const ProductCardStyle: import("styled-components").StyledComponent<"div", any, {
11
- isVariant: boolean;
12
- }, never>;
13
- export declare const SelectedScreenHeader: import("styled-components").StyledComponent<"div", any, {}, never>;
14
- export declare const CollectionNameHolder: import("styled-components").StyledComponent<"div", any, {}, never>;
@@ -1,69 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("styled-components"),t=require("../../constants/Theme.js");function o(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var i=o(e);const l=i.default.div`
2
- display: flex;
3
- background-color: white;
4
- max-height: 600px;
5
- min-height: 600px;
6
- flex-direction: column;
7
- `,r=i.default.div`
8
- overflow-y: scroll;
9
- overflow-x: hidden;
10
- `,n=i.default.div`
11
- height: 64px;
12
- background-color: ${e=>e.isDisabled?"#F0F0F0":"white"};
13
- border-bottom: 1px solid #e0e0e0;
14
- padding: 12px 24px;
15
- display: flex;
16
- flex-direction: row;
17
- column-gap: 16px;
18
- justify-content: space-between;
19
- align-items: center;
20
- `,d=i.default.div`
21
- display: flex;
22
- flex-direction: row;
23
- justify-content: center;
24
- align-items: center;
25
- column-gap: 18px;
26
- `,a=i.default.div`
27
- display: flex;
28
- flex-direction: column;
29
- justify-content: center;
30
- `,c=i.default.div`
31
- display: flex;
32
- flex-direction: row;
33
- max-height: 32px;
34
- min-height: 32px;
35
- background-color: ${t.COLORS.background.base};
36
- justify-content: flex-start;
37
- align-items: center;
38
- padding: 8px 16px;
39
- `,x=i.default.div`
40
- display: flex;
41
- flex-direction: row;
42
- column-gap: 16px;
43
- padding: 12px 16px;
44
- border-bottom: 1px solid #e0e0e0;
45
- align-items: center;
46
- `,p=i.default.div`
47
- height: 64px;
48
- background-color: white;
49
- border-bottom: 1px solid #e0e0e0;
50
- padding: 12px 16px;
51
- display: flex;
52
- flex-direction: row;
53
- column-gap: 16px;
54
- justify-content: flex-start;
55
- align-items: center;
56
- padding-left: ${e=>e.isVariant?"42px":"16px"};
57
- `,s=i.default.div`
58
- display: flex;
59
- flex-direction: row;
60
- max-height: 32px;
61
- min-height: 32px;
62
- background-color: ${t.COLORS.background.base};
63
- justify-content: flex-start;
64
- align-items: center;
65
- padding: 8px 16px;
66
- `,f=i.default.div`
67
- display: flex;
68
- flex-direction: column;
69
- `;exports.CollectionCardDetailStyle=a,exports.CollectionCardInfoStyle=d,exports.CollectionCardStyle=n,exports.CollectionNameHolder=f,exports.ContainerStyle=l,exports.ProductCardStyle=p,exports.ProductScreenCollectionCardStyle=x,exports.ProductScreenHeader=c,exports.ScrollContainerStyle=r,exports.SelectedScreenHeader=s;
@@ -1 +0,0 @@
1
- export * from './searchBar';
@@ -1,13 +0,0 @@
1
- /// <reference types="react" />
2
- import { InputVariant } from '../input/Input';
3
- export interface SearchBarProps {
4
- width: string;
5
- isEnabled: boolean;
6
- onChange: (searchText: string) => void;
7
- onEnter: (searchText: string) => void;
8
- placeholder: string;
9
- variant: InputVariant;
10
- validate?: (input?: string | number) => [boolean, string];
11
- initialValue?: string;
12
- }
13
- export declare const SearchBar: (props: SearchBarProps) => JSX.Element;
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),t=require("../../assets/icons/searchIcon.js"),a=require("react"),n=require("../../assets/icons/cross.svg.js"),s=require("../input/Input.js");exports.SearchBar=r=>{const{isEnabled:o,onEnter:c,placeholder:i,width:l,variant:u,validate:d}=r,[h,v]=a.useState("search"),[f,p]=a.useState("default"),[g,j]=a.useState(o?"none":"disabled"),[I,S]=a.useState(r.initialValue||"");a.useEffect((()=>{j(o?"none":"disabled")}),[o]);const b=e=>{o&&c(e)};return e.jsx(s.Input,{validate:d,onFocus:()=>{"default"===f&&o&&(p("clicked"),j("active"))},width:l,state:g,leftIcon:"search"===h&&"default"===f?{icon:t.SearchIcon}:void 0,rightIcon:"cross"===h?{icon:n.default,callback:()=>{v("search"),p("default"),S(""),r.onChange(""),j("none"),c("")}}:void 0,onChangeText:(e,t)=>{r.onChange(e),S(e),"keydown"!==(null==t?void 0:t.type)||13!==t.which&&13!==t.keyCode?e.trim().length?v("cross"):v("search"):b(e)},placeholder:i,variant:u,value:I,onBlur:()=>{I.length||p("default"),j("none")}})};
@@ -1,13 +0,0 @@
1
- import { FunctionComponent } from 'react';
2
- interface ShimmerBox {
3
- height: string;
4
- width: string;
5
- marginTop?: string;
6
- }
7
- interface OwnProps {
8
- boxes: ShimmerBox[];
9
- isBrand?: boolean;
10
- }
11
- type Props = OwnProps;
12
- export declare const BikShimmer: FunctionComponent<Props>;
13
- export default BikShimmer;
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),i=require("./ShimmerStyled.js");const r=r=>e.jsx(i.ShimmerStyled,Object.assign({isBrand:r.isBrand},{children:r.boxes.map(((i,r)=>e.jsx("div",{className:"shine",style:{width:i.width,height:i.height,marginTop:i.marginTop||"16px"}},r)))}));exports.BikShimmer=r,exports.default=r;