@bikdotai/bik-component-library 0.0.687-beta.8 → 0.0.687-beta.9

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 (766) hide show
  1. package/dist/cjs/_virtual/_commonjsHelpers.js +1 -0
  2. package/dist/cjs/_virtual/bik-store.js +1 -0
  3. package/dist/cjs/amplitude/index.d.ts +21 -0
  4. package/dist/cjs/amplitude/index.js +1 -0
  5. package/dist/cjs/amplitude/model.d.ts +51 -0
  6. package/dist/cjs/amplitude/model.js +1 -0
  7. package/dist/cjs/assets/bundle-c485438b.css +333 -0
  8. package/dist/cjs/assets/icons/Bik_logo.svg.js +1 -0
  9. package/dist/cjs/assets/icons/ChartBar.svg.js +1 -0
  10. package/dist/cjs/assets/icons/ChartPie.svg.js +1 -0
  11. package/dist/cjs/assets/icons/PlusIcon.js +1 -0
  12. package/dist/cjs/assets/icons/RCS_PDF.svg.js +1 -0
  13. package/dist/cjs/assets/icons/RedirectToNew.svg.js +1 -0
  14. package/dist/cjs/assets/icons/WhiteStarFilled.svg.js +1 -0
  15. package/dist/cjs/assets/icons/alert.svg.js +1 -0
  16. package/dist/cjs/assets/icons/alert_triangle.svg.js +1 -0
  17. package/dist/cjs/assets/icons/arrow_back.svg.js +1 -0
  18. package/dist/cjs/assets/icons/arrow_down.svg.js +1 -0
  19. package/dist/cjs/assets/icons/arrow_left.svg.js +1 -0
  20. package/dist/cjs/assets/icons/arrow_up.svg.js +1 -0
  21. package/dist/cjs/assets/icons/back_icon.svg.js +1 -0
  22. package/dist/cjs/assets/icons/bik_livechat.svg.js +1 -0
  23. package/dist/cjs/assets/icons/bold.svg.js +1 -0
  24. package/dist/cjs/assets/icons/box.svg.js +1 -0
  25. package/dist/cjs/assets/icons/boxV2.svg.js +1 -0
  26. package/dist/cjs/assets/icons/box_round.svg.js +1 -0
  27. package/dist/cjs/assets/icons/broken_media_image.svg.js +1 -0
  28. package/dist/cjs/assets/icons/calendar.svg.js +1 -0
  29. package/dist/cjs/assets/icons/card_footer_arraw.svg.js +1 -0
  30. package/dist/cjs/assets/icons/chat-channel.svg.js +1 -0
  31. package/dist/cjs/assets/icons/check.svg.js +1 -0
  32. package/dist/cjs/assets/icons/checkCircle.svg.js +1 -0
  33. package/dist/cjs/assets/icons/checklistIcon.svg.js +1 -0
  34. package/dist/cjs/assets/icons/chevronDown.svg.js +1 -0
  35. package/dist/cjs/assets/icons/chevronDownOutline.svg.js +1 -0
  36. package/dist/cjs/assets/icons/chevronLeft.svg.js +1 -0
  37. package/dist/cjs/assets/icons/chevronLeft2.svg.js +1 -0
  38. package/dist/cjs/assets/icons/chevronRight.svg.js +1 -0
  39. package/dist/cjs/assets/icons/chevronRight2.svg.js +1 -0
  40. package/dist/cjs/assets/icons/chevronRightAlt.svg.js +1 -0
  41. package/dist/cjs/assets/icons/chevronUpOutline.svg.js +1 -0
  42. package/dist/cjs/assets/icons/click.svg.js +1 -0
  43. package/dist/cjs/assets/icons/clock.svg.js +1 -0
  44. package/dist/cjs/assets/icons/copy-code-icon.svg.js +1 -0
  45. package/dist/cjs/assets/icons/cross.svg.js +1 -0
  46. package/dist/cjs/assets/icons/cubeIcon.svg.js +1 -0
  47. package/dist/cjs/assets/icons/cursor.svg.js +1 -0
  48. package/dist/cjs/assets/icons/delete.svg.js +1 -0
  49. package/dist/cjs/assets/icons/desktop_custom.svg.js +1 -0
  50. package/dist/cjs/assets/icons/document_pdf.svg.js +1 -0
  51. package/dist/cjs/assets/icons/drag_handle.svg.js +1 -0
  52. package/dist/cjs/assets/icons/edit.svg.js +1 -0
  53. package/dist/cjs/assets/icons/email-channel.svg.js +1 -0
  54. package/dist/cjs/assets/icons/emoji.svg.js +1 -0
  55. package/dist/cjs/assets/icons/errorIcon.svg.js +1 -0
  56. package/dist/cjs/assets/icons/errorInfo.svg.js +1 -0
  57. package/dist/cjs/assets/icons/facebook_channel.svg.js +1 -0
  58. package/dist/cjs/assets/icons/file.svg.js +1 -0
  59. package/dist/cjs/assets/icons/filePdf.svg.js +1 -0
  60. package/dist/cjs/assets/icons/gift_icon.svg.js +1 -0
  61. package/dist/cjs/assets/icons/gmail.svg.js +1 -0
  62. package/dist/cjs/assets/icons/graph.svg.js +1 -0
  63. package/dist/cjs/assets/icons/halfRectangle.svg.js +1 -0
  64. package/dist/cjs/assets/icons/help.svg.js +1 -0
  65. package/dist/cjs/assets/icons/horizontal_dots.svg.js +1 -0
  66. package/dist/cjs/assets/icons/image.svg.js +1 -0
  67. package/dist/cjs/assets/icons/info.svg.js +1 -0
  68. package/dist/cjs/assets/icons/instagram-channel.svg.js +1 -0
  69. package/dist/cjs/assets/icons/instagram.svg.js +1 -0
  70. package/dist/cjs/assets/icons/italic.svg.js +1 -0
  71. package/dist/cjs/assets/icons/locked.svg.js +1 -0
  72. package/dist/cjs/assets/icons/log_out.svg.js +1 -0
  73. package/dist/cjs/assets/icons/lto_icon.svg.js +1 -0
  74. package/dist/cjs/assets/icons/maximize.svg.js +1 -0
  75. package/dist/cjs/assets/icons/mobile_custom.svg.js +1 -0
  76. package/dist/cjs/assets/icons/more_vertical.svg.js +1 -0
  77. package/dist/cjs/assets/icons/openai.svg.js +1 -0
  78. package/dist/cjs/assets/icons/percentage_icon.svg.js +1 -0
  79. package/dist/cjs/assets/icons/phone.svg.js +1 -0
  80. package/dist/cjs/assets/icons/plus.svg.js +1 -0
  81. package/dist/cjs/assets/icons/qrb.svg.js +1 -0
  82. package/dist/cjs/assets/icons/question-mark.svg.js +1 -0
  83. package/dist/cjs/assets/icons/quotes.svg.js +1 -0
  84. package/dist/cjs/assets/icons/redirect.svg.js +1 -0
  85. package/dist/cjs/assets/icons/refresh.svg.js +1 -0
  86. package/dist/cjs/assets/icons/retryIcon.svg.js +1 -0
  87. package/dist/cjs/assets/icons/search.svg.js +1 -0
  88. package/dist/cjs/assets/icons/searchIcon.js +1 -0
  89. package/dist/cjs/assets/icons/send_template.svg.js +1 -0
  90. package/dist/cjs/assets/icons/shipping_icon.svg.js +1 -0
  91. package/dist/cjs/assets/icons/similar.svg.js +1 -0
  92. package/dist/cjs/assets/icons/sparkle.svg.js +1 -0
  93. package/dist/cjs/assets/icons/starEmpty.svg.js +1 -0
  94. package/dist/cjs/assets/icons/starFilled.svg.js +1 -0
  95. package/dist/cjs/assets/icons/starFilledV2.svg.js +1 -0
  96. package/dist/cjs/assets/icons/state_icon.svg.js +1 -0
  97. package/dist/cjs/assets/icons/strikeThrough.svg.js +1 -0
  98. package/dist/cjs/assets/icons/sub_category.svg.js +1 -0
  99. package/dist/cjs/assets/icons/successIcon.svg.js +1 -0
  100. package/dist/cjs/assets/icons/sync.svg.js +1 -0
  101. package/dist/cjs/assets/icons/task.svg.js +1 -0
  102. package/dist/cjs/assets/icons/text_t9.svg.js +1 -0
  103. package/dist/cjs/assets/icons/tick.svg.js +1 -0
  104. package/dist/cjs/assets/icons/tick_double.svg.js +1 -0
  105. package/dist/cjs/assets/icons/triangle_error.svg.js +1 -0
  106. package/dist/cjs/assets/icons/undo.svg.js +1 -0
  107. package/dist/cjs/assets/icons/union.svg.js +1 -0
  108. package/dist/cjs/assets/icons/upload.svg.js +1 -0
  109. package/dist/cjs/assets/icons/user_icon.svg.js +1 -0
  110. package/dist/cjs/assets/icons/vertical_dots.svg.js +1 -0
  111. package/dist/cjs/assets/icons/videoRecorder.svg.js +1 -0
  112. package/dist/cjs/assets/icons/warning.svg.js +1 -0
  113. package/dist/cjs/assets/icons/warningIcon.svg.js +1 -0
  114. package/dist/cjs/assets/icons/website.svg.js +1 -0
  115. package/dist/cjs/assets/icons/whatsapp-channel.svg.js +1 -0
  116. package/dist/cjs/assets/icons/whatsapp_color.svg.js +1 -0
  117. package/dist/cjs/components/InfiniteScroll/InfiniteScroll.js +1 -0
  118. package/dist/cjs/components/QueryBuilder/Filters/CustomField/components/CustomField.js +1 -0
  119. package/dist/cjs/components/QueryBuilder/Filters/Event/components/EventFilter.js +1 -0
  120. package/dist/cjs/components/QueryBuilder/Filters/Segment/components/SegmentFilter.js +1 -0
  121. package/dist/cjs/components/QueryBuilder/Filters/UserProperty/components/UserPropertyFilter.js +1 -0
  122. package/dist/cjs/components/QueryBuilder/QueryBuilder.d.ts +12 -0
  123. package/dist/cjs/components/QueryBuilder/QueryBuilder.js +1 -0
  124. package/dist/cjs/components/QueryBuilder/Triggers/EVENTS/components/EventsTrigger.js +1 -0
  125. package/dist/cjs/components/QueryBuilder/Triggers/IG/components/IGTrigger.js +1 -0
  126. package/dist/cjs/components/QueryBuilder/Triggers/components/BaseTriggerQueryBuilderNode.js +1 -0
  127. package/dist/cjs/components/QueryBuilder/components/AddNodeButton.js +1 -0
  128. package/dist/cjs/components/QueryBuilder/components/AllowedListDropdown.js +1 -0
  129. package/dist/cjs/components/QueryBuilder/components/Connectors/Components/EmojiPicker.js +14 -0
  130. package/dist/cjs/components/QueryBuilder/components/Connectors/Components/FreeText.js +1 -0
  131. package/dist/cjs/components/QueryBuilder/components/Connectors/Components/FrequencyIntegerPositiveSingle.js +6 -0
  132. package/dist/cjs/components/QueryBuilder/components/Connectors/Components/IgPicker.js +234 -0
  133. package/dist/cjs/components/QueryBuilder/components/Connectors/Components/InTheLast.js +5 -0
  134. package/dist/cjs/components/QueryBuilder/components/Connectors/Components/InTheLastAgo.js +1 -0
  135. package/dist/cjs/components/QueryBuilder/components/Connectors/Components/InTwoLast.js +6 -0
  136. package/dist/cjs/components/QueryBuilder/components/Connectors/Components/IntegerPositiveSingle.js +1 -0
  137. package/dist/cjs/components/QueryBuilder/components/Connectors/Components/IntegerSingleValue.js +1 -0
  138. package/dist/cjs/components/QueryBuilder/components/Connectors/Components/MultiselectDropdownFreeText.js +1 -0
  139. package/dist/cjs/components/QueryBuilder/components/Connectors/Components/NoInput.js +1 -0
  140. package/dist/cjs/components/QueryBuilder/components/Connectors/Components/NumberTime.js +1 -0
  141. package/dist/cjs/components/QueryBuilder/components/Connectors/Components/SingleDate.js +1 -0
  142. package/dist/cjs/components/QueryBuilder/components/Connectors/Components/SingleselectDropdownFreeText.js +1 -0
  143. package/dist/cjs/components/QueryBuilder/components/Connectors/Components/StringSingleValue.js +1 -0
  144. package/dist/cjs/components/QueryBuilder/components/Connectors/Components/TwoDate.js +1 -0
  145. package/dist/cjs/components/QueryBuilder/components/Connectors/Components/TwoNumberInputsSeperatedByAnd.js +1 -0
  146. package/dist/cjs/components/QueryBuilder/components/Connectors/Connector.js +1 -0
  147. package/dist/cjs/components/QueryBuilder/components/Connectors/Connector.styled.js +6 -0
  148. package/dist/cjs/components/QueryBuilder/components/DeleteButton.js +1 -0
  149. package/dist/cjs/components/QueryBuilder/components/DropdownWrapper.js +1 -0
  150. package/dist/cjs/components/QueryBuilder/components/InputLoader.js +11 -0
  151. package/dist/cjs/components/QueryBuilder/components/QueryBuilderNode/Base/BaseQueryBuilderNode.d.ts +25 -0
  152. package/dist/cjs/components/QueryBuilder/components/QueryBuilderNode/Base/BaseQueryBuilderNode.js +9 -0
  153. package/dist/cjs/components/QueryBuilder/components/QueryBuilderNode/Property/AddPropertyButton.js +1 -0
  154. package/dist/cjs/components/QueryBuilder/components/QueryBuilderNode/Property/PropertyNode.d.ts +20 -0
  155. package/dist/cjs/components/QueryBuilder/components/QueryBuilderNode/Property/PropertyNode.js +1 -0
  156. package/dist/cjs/components/QueryBuilder/components/QueryBuilderNode/Property/PropertyNode.styled.js +6 -0
  157. package/dist/cjs/components/QueryBuilder/components/QueryBuilderNode/Property/PropertyNodeUIWrapper.js +1 -0
  158. package/dist/cjs/components/QueryBuilder/components/QueryBuilderNode/Property/PropertyNodeUIWrapper.styled.js +17 -0
  159. package/dist/cjs/components/QueryBuilder/components/QueryBuilderNode/Property/PropertyNodes.js +1 -0
  160. package/dist/cjs/components/QueryBuilder/components/QueryBuilderNode/QueryBuilderNode.js +1 -0
  161. package/dist/cjs/components/QueryBuilder/components/QueryBuilderNodes.js +1 -0
  162. package/dist/cjs/components/QueryBuilder/components/QueryBuilderNodes.styled.js +16 -0
  163. package/dist/cjs/components/QueryBuilder/constants/DATE_OPERATORS_OPTIONS.js +1 -0
  164. package/dist/cjs/components/QueryBuilder/constants/connector.js +1 -0
  165. package/dist/cjs/components/QueryBuilder/constants/connectorPosition.js +1 -0
  166. package/dist/cjs/components/QueryBuilder/constants/operators.js +1 -0
  167. package/dist/cjs/components/QueryBuilder/helpers/ApiResponse.helper.js +1 -0
  168. package/dist/cjs/components/QueryBuilder/helpers/Connector.helper.js +1 -0
  169. package/dist/cjs/components/QueryBuilder/hooks/useQueryBuilder.js +1 -0
  170. package/dist/cjs/components/QueryBuilder/hooks/useQueryBuilderCache.js +1 -0
  171. package/dist/cjs/components/QueryBuilder/redux/queryBuilder.reducer.d.ts +56 -0
  172. package/dist/cjs/components/QueryBuilder/redux/queryBuilder.reducer.js +1 -0
  173. package/dist/cjs/components/QueryBuilder/redux/queryBuilderCache.reducer.d.ts +22 -0
  174. package/dist/cjs/components/QueryBuilder/redux/queryBuilderCache.reducer.js +1 -0
  175. package/dist/cjs/components/QueryBuilder/redux/selectors/useQueryBuilderCacheSelector.js +1 -0
  176. package/dist/cjs/components/QueryBuilder/types/QueryBuilder.type.d.ts +90 -0
  177. package/dist/cjs/components/QueryBuilder/types/QueryBuilder.type.js +1 -0
  178. package/dist/cjs/components/QueryBuilder/types/QueryBuilderAPI.type.d.ts +21 -0
  179. package/dist/cjs/components/QueryBuilder/types/QueryBuilderConnector.type.d.ts +54 -0
  180. package/dist/cjs/components/QueryBuilder/types/QueryBuilderNodeProps.type.d.ts +14 -0
  181. package/dist/cjs/components/QueryBuilder/types/QueryBuilderOperator.type.d.ts +130 -0
  182. package/dist/cjs/components/QueryBuilder/types/QueryBuilderOperator.type.js +1 -0
  183. package/dist/cjs/components/QueryBuilder/types/QueryBuilderPropertyProps.d.ts +39 -0
  184. package/dist/cjs/components/QueryBuilder/types/QueryBuilderProps.type.d.ts +55 -0
  185. package/dist/cjs/components/SearchFilter/components/DatePickerButton.js +1 -0
  186. package/dist/cjs/components/SearchFilter/components/DateRangeOnlyButton.js +1 -0
  187. package/dist/cjs/components/SearchFilter/components/FilterChipListRenderer.js +1 -0
  188. package/dist/cjs/components/SearchFilter/components/SearchFilterItem.js +1 -0
  189. package/dist/cjs/components/SearchFilter/index.d.ts +6 -0
  190. package/dist/cjs/components/SearchFilter/index.js +1 -0
  191. package/dist/cjs/components/SearchFilter/types/SearchFilter.type.d.ts +41 -0
  192. package/dist/cjs/components/SearchFilter/types/SearchFilter.type.js +1 -0
  193. package/dist/cjs/components/TablePagination/TablePagination.d.ts +17 -0
  194. package/dist/cjs/components/TablePagination/TablePagination.js +1 -0
  195. package/dist/cjs/components/TablePagination/TablePagination.styled.js +39 -0
  196. package/dist/cjs/components/TablePagination/TablePaginationCard.d.ts +14 -0
  197. package/dist/cjs/components/TablePagination/TablePaginationCard.js +9 -0
  198. package/dist/cjs/components/TypographyStyle.d.ts +117 -0
  199. package/dist/cjs/components/TypographyStyle.js +295 -0
  200. package/dist/cjs/components/WhatsAppTextEditor/CustomEditor.styled.js +22 -0
  201. package/dist/cjs/components/WhatsAppTextEditor/WhatsAppTextEditor.d.ts +46 -0
  202. package/dist/cjs/components/WhatsAppTextEditor/WhatsAppTextEditor.js +1 -0
  203. package/dist/cjs/components/WhatsAppTextEditor/WhatsAppTextEditorHeader.d.ts +24 -0
  204. package/dist/cjs/components/WhatsAppTextEditor/WhatsAppTextEditorHeader.js +34 -0
  205. package/dist/cjs/components/access-token-troubleshoot-dialog/AccessTokenTroubleshootDialog.d.ts +23 -0
  206. package/dist/cjs/components/access-token-troubleshoot-dialog/AccessTokenTroubleshootDialog.js +1 -0
  207. package/dist/cjs/components/access-token-troubleshoot-dialog/AccessTokenTroubleshootDialog.styles.js +50 -0
  208. package/dist/cjs/components/accordion/Accordion.d.ts +31 -0
  209. package/dist/cjs/components/accordion/Accordion.js +1 -0
  210. package/dist/cjs/components/accordion/Accordion.style.js +43 -0
  211. package/dist/cjs/components/accordion/AccordionArrow.js +1 -0
  212. package/dist/cjs/components/action-button/ActionButton.styled.js +23 -0
  213. package/dist/cjs/components/action-button/ActionButtons.d.ts +14 -0
  214. package/dist/cjs/components/action-button/ActionButtons.js +1 -0
  215. package/dist/cjs/components/add-variableV2/AddVariableBox.styled.js +25 -0
  216. package/dist/cjs/components/add-variableV2/AddVariableV2.d.ts +61 -0
  217. package/dist/cjs/components/add-variableV2/AddVariableV2.js +1 -0
  218. package/dist/cjs/components/add-variableV2/AddVariableV2.styled.js +164 -0
  219. package/dist/cjs/components/add-variableV2/AddVariableV2SideModal.d.ts +23 -0
  220. package/dist/cjs/components/add-variableV2/AddVariableV2SideModal.js +1 -0
  221. package/dist/cjs/components/add-variableV2/types.d.ts +8 -0
  222. package/dist/cjs/components/ai-modals/ActivateBikAI.d.ts +12 -0
  223. package/dist/cjs/components/ai-modals/ActivateBikAI.js +1 -0
  224. package/dist/cjs/components/ai-modals/AiCreditsExhausted.d.ts +11 -0
  225. package/dist/cjs/components/ai-modals/AiCreditsExhausted.js +1 -0
  226. package/dist/cjs/components/ai-modals/AiCreditsLow.d.ts +10 -0
  227. package/dist/cjs/components/ai-modals/AiCreditsLow.js +1 -0
  228. package/dist/cjs/components/ai-modals/AiSyncProgress.d.ts +11 -0
  229. package/dist/cjs/components/ai-modals/AiSyncProgress.js +1 -0
  230. package/dist/cjs/components/alerts/Alert.d.ts +25 -0
  231. package/dist/cjs/components/alerts/Alert.js +1 -0
  232. package/dist/cjs/components/alerts/Alert.styled.js +17 -0
  233. package/dist/cjs/components/alerts/AlertHelper.d.ts +42 -0
  234. package/dist/cjs/components/alerts/AlertHelper.js +1 -0
  235. package/dist/cjs/components/analytics-card/AnalyticsCard.d.ts +14 -0
  236. package/dist/cjs/components/analytics-card/AnalyticsCard.js +1 -0
  237. package/dist/cjs/components/analytics-card/AnalyticsCard.styled.d.ts +21 -0
  238. package/dist/cjs/components/analytics-card/AnalyticsCard.styled.js +46 -0
  239. package/dist/cjs/components/analytics-chips-and-dropdowns/AnalyticsChip.d.ts +23 -0
  240. package/dist/cjs/components/analytics-chips-and-dropdowns/AnalyticsChip.js +1 -0
  241. package/dist/cjs/components/analytics-chips-and-dropdowns/AnalyticsChipChannelFooter.js +1 -0
  242. package/dist/cjs/components/analytics-chips-and-dropdowns/AnalyticsDropdown.d.ts +52 -0
  243. package/dist/cjs/components/analytics-chips-and-dropdowns/AnalyticsDropdown.js +1 -0
  244. package/dist/cjs/components/analytics-chips-and-dropdowns/AnalyticsMetric.d.ts +21 -0
  245. package/dist/cjs/components/analytics-chips-and-dropdowns/AnalyticsMetric.js +5 -0
  246. package/dist/cjs/components/analytics-chips-and-dropdowns/AnalyticsMultiChip.d.ts +9 -0
  247. package/dist/cjs/components/analytics-chips-and-dropdowns/AnalyticsMultiChip.js +1 -0
  248. package/dist/cjs/components/analytics-chips-and-dropdowns/AnalyticsTrend.d.ts +37 -0
  249. package/dist/cjs/components/analytics-chips-and-dropdowns/AnalyticsTrend.js +1 -0
  250. package/dist/cjs/components/analytics-chips-and-dropdowns/CommonStyles.js +113 -0
  251. package/dist/cjs/components/analytics-chips-and-dropdowns/chart/HorizontalBarGraph/HorizontalGraph.d.ts +49 -0
  252. package/dist/cjs/components/analytics-chips-and-dropdowns/chart/HorizontalBarGraph/HorizontalGraph.js +1 -0
  253. package/dist/cjs/components/analytics-chips-and-dropdowns/chart/HorizontalBarGraph/HorizontalGraph.styles.js +4 -0
  254. package/dist/cjs/components/analytics-chips-and-dropdowns/chart/Legend/Legend.js +19 -0
  255. package/dist/cjs/components/analytics-chips-and-dropdowns/chart/LineChart/LineChart.d.ts +58 -0
  256. package/dist/cjs/components/analytics-chips-and-dropdowns/chart/LineChart/LineChart.js +1 -0
  257. package/dist/cjs/components/analytics-chips-and-dropdowns/chart/LineChart/LineChart.styled.js +16 -0
  258. package/dist/cjs/components/analytics-chips-and-dropdowns/chart/Pie/PieChart.d.ts +6 -0
  259. package/dist/cjs/components/analytics-chips-and-dropdowns/chart/Pie/PieChart.js +28 -0
  260. package/dist/cjs/components/analytics-chips-and-dropdowns/chart/Pie/PieChartAnalytics.d.ts +8 -0
  261. package/dist/cjs/components/analytics-chips-and-dropdowns/chart/Pie/PieChartAnalytics.js +5 -0
  262. package/dist/cjs/components/analytics-chips-and-dropdowns/chart/Pie/PieChartInputData.d.ts +23 -0
  263. package/dist/cjs/components/analytics-chips-and-dropdowns/chart/StackedBarChart/StackedBarChart.d.ts +6 -0
  264. package/dist/cjs/components/analytics-chips-and-dropdowns/chart/StackedBarChart/StackedBarChart.js +1 -0
  265. package/dist/cjs/components/analytics-chips-and-dropdowns/chart/StackedBarChart/StackedBarChart.model.d.ts +90 -0
  266. package/dist/cjs/components/analytics-chips-and-dropdowns/chart/StackedBarChart/StackedBarChart.model.js +1 -0
  267. package/dist/cjs/components/analytics-chips-and-dropdowns/chart/StackedBarChart/StackedBarChart.styles.js +35 -0
  268. package/dist/cjs/components/analytics-chips-and-dropdowns/chart/StackedBarChart/StackedBarDistributionChart.d.ts +6 -0
  269. package/dist/cjs/components/analytics-chips-and-dropdowns/chart/StackedBarChart/StackedBarDistributionChart.js +1 -0
  270. package/dist/cjs/components/analytics-chips-and-dropdowns/chart/StackedBarChart/StackedBarDistributionChart.model.d.ts +51 -0
  271. package/dist/cjs/components/analytics-chips-and-dropdowns/chart/StackedBarChart/StackedBarDistributionChart.model.js +1 -0
  272. package/dist/cjs/components/analytics-chips-and-dropdowns/chart/VerticalBarAndLinearGraph/VerticalBarAndLinearGraph.d.ts +6 -0
  273. package/dist/cjs/components/analytics-chips-and-dropdowns/chart/VerticalBarAndLinearGraph/VerticalBarAndLinearGraph.js +1 -0
  274. package/dist/cjs/components/analytics-chips-and-dropdowns/chart/VerticalBarAndLinearGraph/VerticalBarAndLinearGraph.styles.js +4 -0
  275. package/dist/cjs/components/analytics-chips-and-dropdowns/chart/VerticalBarAndLinearGraph/VerticalBarAndLinearGraphModel.d.ts +24 -0
  276. package/dist/cjs/components/analytics-chips-and-dropdowns/chart/VerticalBarGraph/FunnelVerticalBarGraph.d.ts +18 -0
  277. package/dist/cjs/components/analytics-chips-and-dropdowns/chart/VerticalBarGraph/FunnelVerticalBarGraph.js +1 -0
  278. package/dist/cjs/components/analytics-chips-and-dropdowns/chart/VerticalBarGraph/VerticalGraph.d.ts +49 -0
  279. package/dist/cjs/components/analytics-chips-and-dropdowns/chart/VerticalBarGraph/VerticalGraph.js +1 -0
  280. package/dist/cjs/components/analytics-chips-and-dropdowns/chart/VerticalBarGraph/VerticalGraph.styles.js +4 -0
  281. package/dist/cjs/components/analytics-chips-and-dropdowns/chart/heatmap/HeatMap.d.ts +35 -0
  282. package/dist/cjs/components/analytics-chips-and-dropdowns/chart/heatmap/HeatMap.js +1 -0
  283. package/dist/cjs/components/analytics-chips-and-dropdowns/chart/heatmap/HeatMapStyled.js +38 -0
  284. package/dist/cjs/components/analytics-chips-and-dropdowns/chart/heatmap/HeatMapVertical.d.ts +20 -0
  285. package/dist/cjs/components/analytics-chips-and-dropdowns/chart/heatmap/HeatMapVertical.js +32 -0
  286. package/dist/cjs/components/analytics-chips-and-dropdowns/chart/linearChipGroupedChart/Chip.js +1 -0
  287. package/dist/cjs/components/analytics-chips-and-dropdowns/chart/linearChipGroupedChart/HorinzontalBar.js +1 -0
  288. package/dist/cjs/components/analytics-chips-and-dropdowns/chart/linearChipGroupedChart/LinearChipGroupedChart.d.ts +30 -0
  289. package/dist/cjs/components/analytics-chips-and-dropdowns/chart/linearChipGroupedChart/LinearChipGroupedChart.js +1 -0
  290. package/dist/cjs/components/analytics-chips-and-dropdowns/chart/linearChipGroupedChart/LinearChipGroupedChart.styled.js +31 -0
  291. package/dist/cjs/components/analytics-chips-and-dropdowns/chart/utils/calcPercentage.d.ts +22 -0
  292. package/dist/cjs/components/analytics-chips-and-dropdowns/chart/utils/calcPercentage.js +1 -0
  293. package/dist/cjs/components/avatar/Avatar.d.ts +53 -0
  294. package/dist/cjs/components/avatar/Avatar.js +1 -0
  295. package/dist/cjs/components/avatar/Avatar.styled.js +10 -0
  296. package/dist/cjs/components/avatar/AvatarHelper.d.ts +24 -0
  297. package/dist/cjs/components/avatar/AvatarHelper.js +1 -0
  298. package/dist/cjs/components/bik-layout/BikHeader.d.ts +19 -0
  299. package/dist/cjs/components/bik-layout/BikHeader.js +1 -0
  300. package/dist/cjs/components/bik-layout/BikLayout.d.ts +27 -0
  301. package/dist/cjs/components/bik-layout/BikLayout.js +1 -0
  302. package/dist/cjs/components/bik-layout/BikProfile.d.ts +14 -0
  303. package/dist/cjs/components/bik-layout/BikProfile.js +1 -0
  304. package/dist/cjs/components/bik-layout/BikSidebar.d.ts +37 -0
  305. package/dist/cjs/components/bik-layout/BikSidebar.js +1 -0
  306. package/dist/cjs/components/bik-layout/CommonStyles.js +366 -0
  307. package/dist/cjs/components/bik-layout/FeatureModal.d.ts +16 -0
  308. package/dist/cjs/components/bik-layout/FeatureModal.js +1 -0
  309. package/dist/cjs/components/bik-layout/FeatureModalV2.d.ts +15 -0
  310. package/dist/cjs/components/bik-layout/FeatureModalV2.js +1 -0
  311. package/dist/cjs/components/bik-layout/PageLoader.js +1 -0
  312. package/dist/cjs/components/bik-layout/ShowShopifyRestrictedModal.d.ts +15 -0
  313. package/dist/cjs/components/bik-layout/ShowShopifyRestrictedModal.js +1 -0
  314. package/dist/cjs/components/bik-layout/SidebarPopup.js +1 -0
  315. package/dist/cjs/components/bik-layout/SidebarSkeleton.d.ts +12 -0
  316. package/dist/cjs/components/bik-layout/SidebarSkeleton.js +1 -0
  317. package/dist/cjs/components/bik-layout/SidebarStyles.js +271 -0
  318. package/dist/cjs/components/bik-layout/SimpleSidebar.d.ts +31 -0
  319. package/dist/cjs/components/bik-layout/SimpleSidebar.js +1 -0
  320. package/dist/cjs/components/button/Button.d.ts +6 -0
  321. package/dist/cjs/components/button/Button.js +1 -0
  322. package/dist/cjs/components/button/Button.styled.js +61 -0
  323. package/dist/cjs/components/button/model.d.ts +78 -0
  324. package/dist/cjs/components/button/themes.js +1 -0
  325. package/dist/cjs/components/buttonGroup/ButtonGroup.d.ts +26 -0
  326. package/dist/cjs/components/buttonGroup/ButtonGroup.js +1 -0
  327. package/dist/cjs/components/buttonGroup/ButtonGroupStyle.js +32 -0
  328. package/dist/cjs/components/card-selection-modal/CardSelectionModal.d.ts +21 -0
  329. package/dist/cjs/components/card-selection-modal/CardSelectionModal.js +1 -0
  330. package/dist/cjs/components/card-selection-modal/CardSelectionModal.styled.js +41 -0
  331. package/dist/cjs/components/card-selector/CardSelector.d.ts +20 -0
  332. package/dist/cjs/components/card-selector/CardSelector.js +1 -0
  333. package/dist/cjs/components/card-selector/CardSelector.styled.js +19 -0
  334. package/dist/cjs/components/card-selector/CardSelectorGroup.d.ts +14 -0
  335. package/dist/cjs/components/card-selector/CardSelectorGroup.js +1 -0
  336. package/dist/cjs/components/carousel/carousel.d.ts +6 -0
  337. package/dist/cjs/components/carousel/carousel.js +22 -0
  338. package/dist/cjs/components/carousel-preview/CarouselPreview.d.ts +16 -0
  339. package/dist/cjs/components/carousel-preview/CarouselPreview.js +1 -0
  340. package/dist/cjs/components/carousel-preview/CarouselPreview.style.js +86 -0
  341. package/dist/cjs/components/carousel-preview/CarouselPreviewCard.js +1 -0
  342. package/dist/cjs/components/carousel-preview/CustomCarouselArrows.js +1 -0
  343. package/dist/cjs/components/carousel-secondary/CarouselSecondary.d.ts +15 -0
  344. package/dist/cjs/components/carousel-secondary/CarouselSecondary.js +1 -0
  345. package/dist/cjs/components/carousel-secondary/CarouselSecondary.style.js +42 -0
  346. package/dist/cjs/components/carousel-secondary/model.d.ts +6 -0
  347. package/dist/cjs/components/carousel-secondary/model.js +1 -0
  348. package/dist/cjs/components/checkBox/CheckBox.d.ts +24 -0
  349. package/dist/cjs/components/checkBox/CheckBox.js +1 -0
  350. package/dist/cjs/components/checkBox/CheckBox.styled.js +40 -0
  351. package/dist/cjs/components/checkList/CheckList.d.ts +17 -0
  352. package/dist/cjs/components/checkList/CheckList.js +1 -0
  353. package/dist/cjs/components/checkList/CheckList.styled.js +10 -0
  354. package/dist/cjs/components/colourInput/ColourInput.d.ts +12 -0
  355. package/dist/cjs/components/colourInput/ColourInput.js +1 -0
  356. package/dist/cjs/components/colourInput/ColourInput.styled.js +29 -0
  357. package/dist/cjs/components/country-code-picker/CountryCodePicker.d.ts +22 -0
  358. package/dist/cjs/components/country-code-picker/CountryCodePicker.js +1 -0
  359. package/dist/cjs/components/country-code-picker/CountryCodePicker.modal.d.ts +10 -0
  360. package/dist/cjs/components/country-code-picker/CountryCodePicker.modal.js +1 -0
  361. package/dist/cjs/components/country-code-picker/CountryCodePicker.styled.js +31 -0
  362. package/dist/cjs/components/curtain/Curtain.d.ts +27 -0
  363. package/dist/cjs/components/curtain/Curtain.js +1 -0
  364. package/dist/cjs/components/curtain/Curtain.styled.js +29 -0
  365. package/dist/cjs/components/curtain/CurtainHelper.d.ts +26 -0
  366. package/dist/cjs/components/curtain/CurtainHelper.js +1 -0
  367. package/dist/cjs/components/custom-date-time/CustomDateTime.d.ts +16 -0
  368. package/dist/cjs/components/custom-date-time/CustomDateTime.js +1 -0
  369. package/dist/cjs/components/custom-date-time/CustomDateTime.styled.js +25 -0
  370. package/dist/cjs/components/custom-date-time/DateSelector/DateSelector.js +1 -0
  371. package/dist/cjs/components/dashboard-review-popup/DashboardReviewPopUp.d.ts +21 -0
  372. package/dist/cjs/components/dashboard-review-popup/DashboardReviewPopUp.js +1 -0
  373. package/dist/cjs/components/dashboard-review-popup/DashboardReviewPopUp.styled.js +26 -0
  374. package/dist/cjs/components/dashboard-review-popup/components/FiveStar.js +1 -0
  375. package/dist/cjs/components/dashboard-review-popup/components/FiveStar.styled.js +18 -0
  376. package/dist/cjs/components/dashboard-review-popup/components/Form.js +1 -0
  377. package/dist/cjs/components/dashboard-review-popup/components/Form.styled.js +49 -0
  378. package/dist/cjs/components/dashboard-review-popup/components/ZeroState.js +5 -0
  379. package/dist/cjs/components/data-source-panel/DataSourceInfoFooter.js +1 -0
  380. package/dist/cjs/components/data-source-panel/DataSourcePanel.d.ts +39 -0
  381. package/dist/cjs/components/data-source-panel/DataSourcePanel.js +1 -0
  382. package/dist/cjs/components/data-source-panel/DataSourcePanel.style.js +169 -0
  383. package/dist/cjs/components/data-source-panel/IntentConfig.js +1 -0
  384. package/dist/cjs/components/data-source-panel/Modals/DescriptionModal.js +48 -0
  385. package/dist/cjs/components/data-source-panel/model.d.ts +144 -0
  386. package/dist/cjs/components/data-source-panel/model.js +1 -0
  387. package/dist/cjs/components/datePicker/DatePicker.d.ts +16 -0
  388. package/dist/cjs/components/datePicker/DatePicker.js +1 -0
  389. package/dist/cjs/components/datePicker/DatePicker.styled.js +159 -0
  390. package/dist/cjs/components/datePicker/DatePickerWrapper.d.ts +19 -0
  391. package/dist/cjs/components/datePicker/DatePickerWrapper.js +1 -0
  392. package/dist/cjs/components/datePicker/DatePickerWrapper.styled.js +69 -0
  393. package/dist/cjs/components/datePicker/model.d.ts +6 -0
  394. package/dist/cjs/components/datePicker/model.js +1 -0
  395. package/dist/cjs/components/discount-modal/CouponExpiration/CouponExpiration.d.ts +14 -0
  396. package/dist/cjs/components/discount-modal/CouponExpiration/CouponExpiration.js +1 -0
  397. package/dist/cjs/components/discount-modal/DiscountModal.d.ts +43 -0
  398. package/dist/cjs/components/discount-modal/DiscountModal.js +1 -0
  399. package/dist/cjs/components/discount-modal/DiscountModal.styled.js +69 -0
  400. package/dist/cjs/components/discount-modal/DiscountUtils.js +1 -0
  401. package/dist/cjs/components/discount-modal/DynamicCoupon/DynamicCoupon.js +1 -0
  402. package/dist/cjs/components/discount-modal/DynamicCoupon/DynamicCoupon.styled.js +76 -0
  403. package/dist/cjs/components/discount-modal/DynamicCoupon/MinimumRequirementComponent.js +1 -0
  404. package/dist/cjs/components/discount-modal/DynamicCoupon/ZeroState.js +16 -0
  405. package/dist/cjs/components/discount-modal/StaticCoupon/StaticCoupon.js +1 -0
  406. package/dist/cjs/components/discount-modal/type.d.ts +111 -0
  407. package/dist/cjs/components/discount-modal/type.js +1 -0
  408. package/dist/cjs/components/dropShadow/DropShadow.d.ts +10 -0
  409. package/dist/cjs/components/dropShadow/DropShadow.js +1 -0
  410. package/dist/cjs/components/dropdown/ChipDropdown.d.ts +11 -0
  411. package/dist/cjs/components/dropdown/ChipDropdown.js +14 -0
  412. package/dist/cjs/components/dropdown/ChipInput.js +1 -0
  413. package/dist/cjs/components/dropdown/Common.styled.js +37 -0
  414. package/dist/cjs/components/dropdown/Dropdown.d.ts +24 -0
  415. package/dist/cjs/components/dropdown/Dropdown.js +1 -0
  416. package/dist/cjs/components/dropdown/DropdownPopover/index.d.ts +20 -0
  417. package/dist/cjs/components/dropdown/DropdownPopover/index.js +1 -0
  418. package/dist/cjs/components/dropdown/MenuItem/MenuItem.d.ts +13 -0
  419. package/dist/cjs/components/dropdown/MenuItem/MenuItem.js +20 -0
  420. package/dist/cjs/components/dropdown/MultilevelDropdownPopover/index.d.ts +18 -0
  421. package/dist/cjs/components/dropdown/MultilevelDropdownPopover/index.js +1 -0
  422. package/dist/cjs/components/dropdown/OpenedDropdown/components/OpennedDropdown.d.ts +6 -0
  423. package/dist/cjs/components/dropdown/OpenedDropdown/components/OpennedDropdown.js +1 -0
  424. package/dist/cjs/components/dropdown/OpenedDropdown/components/OpennedDropdown.styled.js +37 -0
  425. package/dist/cjs/components/dropdown/OpenedDropdown/components/description/Description.js +1 -0
  426. package/dist/cjs/components/dropdown/OpenedDropdown/components/description/Description.styled.js +6 -0
  427. package/dist/cjs/components/dropdown/OpenedDropdown/components/menu/FreeFormMenu.js +1 -0
  428. package/dist/cjs/components/dropdown/OpenedDropdown/components/menu/FreeFormMenu.styled.js +6 -0
  429. package/dist/cjs/components/dropdown/OpenedDropdown/components/menu/MenuItem.js +13 -0
  430. package/dist/cjs/components/dropdown/OpenedDropdown/components/menu/MenuList.js +1 -0
  431. package/dist/cjs/components/dropdown/OpenedDropdown/components/menu/MenuList.styled.js +6 -0
  432. package/dist/cjs/components/dropdown/OpenedDropdown/components/menu/SelectAllMenu.js +1 -0
  433. package/dist/cjs/components/dropdown/OpenedDropdown/components/multiSelect/MultiSelectDropdownBottomBar.js +1 -0
  434. package/dist/cjs/components/dropdown/OpenedDropdown/components/multiSelect/MultiSelectDropdownBottomBar.styled.js +9 -0
  435. package/dist/cjs/components/dropdown/OpenedDropdown/components/searchbox/SearchBox.js +1 -0
  436. package/dist/cjs/components/dropdown/OpenedDropdown/components/searchbox/SearchZeroState.js +1 -0
  437. package/dist/cjs/components/dropdown/OpenedDropdown/utils/iterationOnOptions.js +1 -0
  438. package/dist/cjs/components/dropdown/hooks/useDropdown.js +1 -0
  439. package/dist/cjs/components/dropdown/type.d.ts +75 -0
  440. package/dist/cjs/components/dropdown-button/DropdownButton.d.ts +13 -0
  441. package/dist/cjs/components/dropdown-button/DropdownButton.js +1 -0
  442. package/dist/cjs/components/dropdown-button/DropdownButton.style.js +9 -0
  443. package/dist/cjs/components/dynamic-tabs/DynamicTabs.d.ts +28 -0
  444. package/dist/cjs/components/dynamic-tabs/DynamicTabs.js +1 -0
  445. package/dist/cjs/components/fab-menu/FABMenu.d.ts +28 -0
  446. package/dist/cjs/components/fab-menu/FABMenu.js +1 -0
  447. package/dist/cjs/components/file-uploader/FileUploader.d.ts +6 -0
  448. package/dist/cjs/components/file-uploader/FileUploader.js +1 -0
  449. package/dist/cjs/components/file-uploader/FileUploaderStyle.js +166 -0
  450. package/dist/cjs/components/file-uploader/Models.d.ts +31 -0
  451. package/dist/cjs/components/floater/floater.d.ts +13 -0
  452. package/dist/cjs/components/floater/floater.js +1 -0
  453. package/dist/cjs/components/floating-action-button/FloatingActionButton.d.ts +24 -0
  454. package/dist/cjs/components/floating-action-button/FloatingActionButton.js +1 -0
  455. package/dist/cjs/components/floating-action-button/FloatingActionButton.styles.d.ts +62 -0
  456. package/dist/cjs/components/floating-action-button/FloatingActionButton.styles.js +99 -0
  457. package/dist/cjs/components/floating-input-dropdown/FloatingInputDropdown.d.ts +28 -0
  458. package/dist/cjs/components/floating-input-dropdown/FloatingInputDropdown.js +5 -0
  459. package/dist/cjs/components/helpers/FileUploaderHelper.js +1 -0
  460. package/dist/cjs/components/icon-button/IconButton.d.ts +6 -0
  461. package/dist/cjs/components/icon-button/IconButton.js +1 -0
  462. package/dist/cjs/components/icon-button/IconButton.styled.js +3 -0
  463. package/dist/cjs/components/icon-button/model.d.ts +45 -0
  464. package/dist/cjs/components/icon-button/theme.js +1 -0
  465. package/dist/cjs/components/image-compress/ImageCompress.d.ts +14 -0
  466. package/dist/cjs/components/image-compress/ImageCompress.js +1 -0
  467. package/dist/cjs/components/image-cropper/BikImageCropper.d.ts +12 -0
  468. package/dist/cjs/components/image-cropper/BikImageCropper.js +1 -0
  469. package/dist/cjs/components/image-cropper/BikImagePipeline/BikImagePipeline.d.ts +38 -0
  470. package/dist/cjs/components/image-cropper/BikImagePipeline/BikImagePipeline.js +1 -0
  471. package/dist/cjs/components/input/ChipInput.js +1 -0
  472. package/dist/cjs/components/input/ChipInput.styled.js +1 -0
  473. package/dist/cjs/components/input/Input-helper.js +1 -0
  474. package/dist/cjs/components/input/Input.d.ts +76 -0
  475. package/dist/cjs/components/input/Input.js +1 -0
  476. package/dist/cjs/components/input/Input.styled.js +144 -0
  477. package/dist/cjs/components/input/context/InputStyleProvider.js +1 -0
  478. package/dist/cjs/components/input-with-vars/InputWithVariables.d.ts +34 -0
  479. package/dist/cjs/components/input-with-vars/InputWithVariables.js +7 -0
  480. package/dist/cjs/components/input-with-vars/customPortal.d.ts +10 -0
  481. package/dist/cjs/components/input-with-vars/customPortal.js +1 -0
  482. package/dist/cjs/components/keywords-input/KeywordsInput.d.ts +15 -0
  483. package/dist/cjs/components/keywords-input/KeywordsInput.js +1 -0
  484. package/dist/cjs/components/list-item/ListItem.d.ts +23 -0
  485. package/dist/cjs/components/list-item/ListItem.js +1 -0
  486. package/dist/cjs/components/list-item/ListItem.styled.js +10 -0
  487. package/dist/cjs/components/list-item/themes.js +29 -0
  488. package/dist/cjs/components/modals/Modal.js +1 -0
  489. package/dist/cjs/components/modals/modal.styled.js +47 -0
  490. package/dist/cjs/components/modals/styledModal.d.ts +35 -0
  491. package/dist/cjs/components/modals/styledModal.js +47 -0
  492. package/dist/cjs/components/multi-level-dropdown/GroupedMenuList.js +1 -0
  493. package/dist/cjs/components/multi-level-dropdown/MenuItem.js +1 -0
  494. package/dist/cjs/components/multi-level-dropdown/MenuList.js +1 -0
  495. package/dist/cjs/components/multi-level-dropdown/MultiLevelDropdown.d.ts +6 -0
  496. package/dist/cjs/components/multi-level-dropdown/MultiLevelDropdown.js +1 -0
  497. package/dist/cjs/components/multi-level-dropdown/MultiLevelDropdown.styled.js +98 -0
  498. package/dist/cjs/components/multi-level-dropdown/type.d.ts +30 -0
  499. package/dist/cjs/components/navigation-hyperlink/NavigationHyperlink.d.ts +14 -0
  500. package/dist/cjs/components/navigation-hyperlink/NavigationHyperlink.js +3 -0
  501. package/dist/cjs/components/pagination/Pagination.d.ts +13 -0
  502. package/dist/cjs/components/pagination/Pagination.js +1 -0
  503. package/dist/cjs/components/pagination/Pagination.styled.js +7 -0
  504. package/dist/cjs/components/plans/NewSubscriptionPlan.d.ts +22 -0
  505. package/dist/cjs/components/plans/NewSubscriptionPlan.js +1 -0
  506. package/dist/cjs/components/plans/SubscriptionPlan.d.ts +41 -0
  507. package/dist/cjs/components/plans/SubscriptionPlan.js +1 -0
  508. package/dist/cjs/components/plans/SubscriptionPlanSelector.d.ts +49 -0
  509. package/dist/cjs/components/plans/SubscriptionPlanSelector.js +101 -0
  510. package/dist/cjs/components/plans/SubscriptionPlanStyled.js +266 -0
  511. package/dist/cjs/components/plans/SubscriptionPlansCollected.d.ts +18 -0
  512. package/dist/cjs/components/plans/SubscriptionPlansCollected.js +19 -0
  513. package/dist/cjs/components/postPicker/PostPicker.styled.js +128 -0
  514. package/dist/cjs/components/postPicker/postPicker.d.ts +51 -0
  515. package/dist/cjs/components/postPicker/postPicker.js +1 -0
  516. package/dist/cjs/components/product-picker/ProductPicker.styled.js +71 -0
  517. package/dist/cjs/components/product-picker/ProductPickerModal.d.ts +7 -0
  518. package/dist/cjs/components/product-picker/ProductPickerModal.js +1 -0
  519. package/dist/cjs/components/product-picker/type.d.ts +70 -0
  520. package/dist/cjs/components/product-picker-v2/ProductPickerShimmer.js +1 -0
  521. package/dist/cjs/components/product-picker-v2/ProductPickerTag.js +1 -0
  522. package/dist/cjs/components/product-picker-v2/collectionScreen.js +1 -0
  523. package/dist/cjs/components/product-picker-v2/constants.js +1 -0
  524. package/dist/cjs/components/product-picker-v2/emptyState.js +8 -0
  525. package/dist/cjs/components/product-picker-v2/helpers/ProductHelper.js +1 -0
  526. package/dist/cjs/components/product-picker-v2/modal.d.ts +114 -0
  527. package/dist/cjs/components/product-picker-v2/modal.js +1 -0
  528. package/dist/cjs/components/product-picker-v2/product.js +1 -0
  529. package/dist/cjs/components/product-picker-v2/productInfoOverlay.js +52 -0
  530. package/dist/cjs/components/product-picker-v2/productScreen.js +1 -0
  531. package/dist/cjs/components/product-picker-v2/rearrangeScreen.js +1 -0
  532. package/dist/cjs/components/product-picker-v2/reducers.js +1 -0
  533. package/dist/cjs/components/product-picker-v2/searchScreen.js +1 -0
  534. package/dist/cjs/components/product-picker-v2/selectedScreen.js +1 -0
  535. package/dist/cjs/components/product-picker-v2/style.js +172 -0
  536. package/dist/cjs/components/product-picker-v2/type.d.ts +22 -0
  537. package/dist/cjs/components/product-picker-v2/type.js +1 -0
  538. package/dist/cjs/components/product-picker-v2/utility.js +1 -0
  539. package/dist/cjs/components/product-picker-v2/variant.js +1 -0
  540. package/dist/cjs/components/product-picker-v2/variantComponents.js +1 -0
  541. package/dist/cjs/components/progress-bar/CircularProgressBar.js +1 -0
  542. package/dist/cjs/components/progress-bar/ProgressBarComponent.d.ts +21 -0
  543. package/dist/cjs/components/progress-bar/ProgressBarComponent.js +6 -0
  544. package/dist/cjs/components/progress-bar-v2/ProgressBarV2.d.ts +27 -0
  545. package/dist/cjs/components/progress-bar-v2/ProgressBarV2.js +39 -0
  546. package/dist/cjs/components/radioButton/RadioButton.d.ts +21 -0
  547. package/dist/cjs/components/radioButton/RadioButton.js +1 -0
  548. package/dist/cjs/components/radioButton/RadioButton.styled.js +22 -0
  549. package/dist/cjs/components/radioList/RadioList.d.ts +18 -0
  550. package/dist/cjs/components/radioList/RadioList.js +1 -0
  551. package/dist/cjs/components/radioList/RadioList.styled.js +10 -0
  552. package/dist/cjs/components/resizeImage/index.d.ts +12 -0
  553. package/dist/cjs/components/resizeImage/index.js +1 -0
  554. package/dist/cjs/components/searchBar/searchBar.d.ts +24 -0
  555. package/dist/cjs/components/searchBar/searchBar.js +1 -0
  556. package/dist/cjs/components/shimmer/ShimmerComponent/BikShimmer.d.ts +18 -0
  557. package/dist/cjs/components/shimmer/ShimmerComponent/BikShimmer.js +1 -0
  558. package/dist/cjs/components/shimmer/ShimmerComponent/ShimmerStyled.js +42 -0
  559. package/dist/cjs/components/shimmer-image/ShimmerImage.d.ts +17 -0
  560. package/dist/cjs/components/shimmer-image/ShimmerImage.js +1 -0
  561. package/dist/cjs/components/side-modal/SideModal.d.ts +25 -0
  562. package/dist/cjs/components/side-modal/SideModal.js +1 -0
  563. package/dist/cjs/components/side-modal/SideModal.style.js +65 -0
  564. package/dist/cjs/components/slider/slider.d.ts +14 -0
  565. package/dist/cjs/components/slider/slider.js +1 -0
  566. package/dist/cjs/components/spinner/Spinner.d.ts +16 -0
  567. package/dist/cjs/components/spinner/Spinner.js +18 -0
  568. package/dist/cjs/components/spinner/lotties/black.json.js +1 -0
  569. package/dist/cjs/components/spinner/lotties/brand.json.js +1 -0
  570. package/dist/cjs/components/spinner/lotties/red.json.js +1 -0
  571. package/dist/cjs/components/spinner/lotties/white.json.js +1 -0
  572. package/dist/cjs/components/spinner/model.d.ts +14 -0
  573. package/dist/cjs/components/spinner/themes.js +1 -0
  574. package/dist/cjs/components/star-rating/Star.js +1 -0
  575. package/dist/cjs/components/star-rating/StarRating.d.ts +14 -0
  576. package/dist/cjs/components/star-rating/StarRating.js +7 -0
  577. package/dist/cjs/components/states/ShopifyScopeWrapper.d.ts +17 -0
  578. package/dist/cjs/components/states/ShopifyScopeWrapper.js +1 -0
  579. package/dist/cjs/components/states/StateComponent.d.ts +45 -0
  580. package/dist/cjs/components/states/StateComponent.js +1 -0
  581. package/dist/cjs/components/states/StateComponent.styled.js +29 -0
  582. package/dist/cjs/components/states-modal/DeleteConfirmationModal.d.ts +14 -0
  583. package/dist/cjs/components/states-modal/DeleteConfirmationModal.js +1 -0
  584. package/dist/cjs/components/states-modal/StateModalComponent.d.ts +30 -0
  585. package/dist/cjs/components/states-modal/StateModalComponent.js +1 -0
  586. package/dist/cjs/components/stepper/Stepper.d.ts +29 -0
  587. package/dist/cjs/components/stepper/Stepper.js +1 -0
  588. package/dist/cjs/components/stepper/Stepper.styled.js +83 -0
  589. package/dist/cjs/components/stepper/themes.js +1 -0
  590. package/dist/cjs/components/switch/Switch.d.ts +6 -0
  591. package/dist/cjs/components/switch/Switch.js +61 -0
  592. package/dist/cjs/components/switch/model.d.ts +20 -0
  593. package/dist/cjs/components/tabs/Tabs.d.ts +7 -0
  594. package/dist/cjs/components/tabs/Tabs.js +1 -0
  595. package/dist/cjs/components/tabs/Tabs.model.d.ts +52 -0
  596. package/dist/cjs/components/tabs/Tabs.styles.js +45 -0
  597. package/dist/cjs/components/tag/Tag.d.ts +9 -0
  598. package/dist/cjs/components/tag/Tag.js +1 -0
  599. package/dist/cjs/components/tag/Tag.styled.js +30 -0
  600. package/dist/cjs/components/tag/model.d.ts +72 -0
  601. package/dist/cjs/components/tag/model.js +1 -0
  602. package/dist/cjs/components/tag/themes.js +1 -0
  603. package/dist/cjs/components/template-context-mapper/Badge/index.js +11 -0
  604. package/dist/cjs/components/template-context-mapper/TemplateContextMapper.d.ts +74 -0
  605. package/dist/cjs/components/template-context-mapper/TemplateContextMapper.js +1 -0
  606. package/dist/cjs/components/template-context-mapper/context/templateModalContext.js +1 -0
  607. package/dist/cjs/components/template-context-mapper/custom-hooks/useAdditionalVariables.js +1 -0
  608. package/dist/cjs/components/template-context-mapper/helpers/WebpushTemplateHelper.js +1 -0
  609. package/dist/cjs/components/template-context-mapper/modalElements/BackTrackComponent.js +1 -0
  610. package/dist/cjs/components/template-context-mapper/modalElements/Body.js +22 -0
  611. package/dist/cjs/components/template-context-mapper/modalElements/DesktopPreview.js +20 -0
  612. package/dist/cjs/components/template-context-mapper/modalElements/DiscountCodeComponent.js +1 -0
  613. package/dist/cjs/components/template-context-mapper/modalElements/EditMediaModal.js +1 -0
  614. package/dist/cjs/components/template-context-mapper/modalElements/EditMediaV2.js +9 -0
  615. package/dist/cjs/components/template-context-mapper/modalElements/EditMediaV2.style.js +33 -0
  616. package/dist/cjs/components/template-context-mapper/modalElements/EditWebpushTemplate.js +1 -0
  617. package/dist/cjs/components/template-context-mapper/modalElements/EditWhatsAppCarouselTemplateV2.d.ts +13 -0
  618. package/dist/cjs/components/template-context-mapper/modalElements/EditWhatsAppCarouselTemplateV2.js +1 -0
  619. package/dist/cjs/components/template-context-mapper/modalElements/EditWhatsAppTemplateV2.js +7 -0
  620. package/dist/cjs/components/template-context-mapper/modalElements/Footer.js +15 -0
  621. package/dist/cjs/components/template-context-mapper/modalElements/Header.js +23 -0
  622. package/dist/cjs/components/template-context-mapper/modalElements/MobilePreview.js +25 -0
  623. package/dist/cjs/components/template-context-mapper/modalElements/ProductBox.js +47 -0
  624. package/dist/cjs/components/template-context-mapper/modalElements/QueryParamsComponent.js +11 -0
  625. package/dist/cjs/components/template-context-mapper/modalElements/TemplateAnalyticsComponent.d.ts +16 -0
  626. package/dist/cjs/components/template-context-mapper/modalElements/TemplateAnalyticsComponent.js +1 -0
  627. package/dist/cjs/components/template-context-mapper/modalElements/TemplateAnalyticsSkeleton.d.ts +7 -0
  628. package/dist/cjs/components/template-context-mapper/modalElements/TemplateAnalyticsSkeleton.js +1 -0
  629. package/dist/cjs/components/template-context-mapper/modalElements/TemplateSelectModalContent.js +1 -0
  630. package/dist/cjs/components/template-context-mapper/modalElements/VariableConnector.js +19 -0
  631. package/dist/cjs/components/template-context-mapper/modalElements/VariableConnectorWhatsApp.js +1 -0
  632. package/dist/cjs/components/template-context-mapper/modalElements/VariableConnectorsPanel.js +28 -0
  633. package/dist/cjs/components/template-context-mapper/modalElements/VariableEditorHeader.js +9 -0
  634. package/dist/cjs/components/template-context-mapper/modalElements/WhatsAppTemplateCardButtonV2.js +1 -0
  635. package/dist/cjs/components/template-context-mapper/modalElements/useEditWhtasappTemplateMedia.js +1 -0
  636. package/dist/cjs/components/template-context-mapper/styles/TemplateAnalyticsStyles.js +63 -0
  637. package/dist/cjs/components/template-context-mapper/utils/TemplateConstants.js +1 -0
  638. package/dist/cjs/components/template-context-mapper/utils/constants.js +1 -0
  639. package/dist/cjs/components/template-context-mapper/utils/convertPlaceholdersToBikDropdown.js +1 -0
  640. package/dist/cjs/components/template-context-mapper/utils/getDataFromTemplateComponent.d.ts +36 -0
  641. package/dist/cjs/components/template-context-mapper/utils/getDataFromTemplateComponent.js +1 -0
  642. package/dist/cjs/components/template-context-mapper/utils/getPreviewDimension.js +1 -0
  643. package/dist/cjs/components/template-context-mapper/utils/getVariableNameEmail.js +1 -0
  644. package/dist/cjs/components/template-context-mapper/utils/highlightFor.js +1 -0
  645. package/dist/cjs/components/template-context-mapper/utils/validateIsUrl.d.ts +4 -0
  646. package/dist/cjs/components/template-context-mapper/utils/validateIsUrl.js +1 -0
  647. package/dist/cjs/components/template-context-mapper/utils/validateName.js +1 -0
  648. package/dist/cjs/components/template-preview/EmailTemplatePreview.styled.js +48 -0
  649. package/dist/cjs/components/template-preview/EmailTemplateThumbnailPreview.js +1 -0
  650. package/dist/cjs/components/template-preview/RCS/RCSButtons.js +1 -0
  651. package/dist/cjs/components/template-preview/RCS/RCSChatHeader.js +1 -0
  652. package/dist/cjs/components/template-preview/RCS/RCSChatPreview.js +1 -0
  653. package/dist/cjs/components/template-preview/RCS/RCSMediaCard.js +1 -0
  654. package/dist/cjs/components/template-preview/RCS/RCSPreview.styled.js +128 -0
  655. package/dist/cjs/components/template-preview/RCS/RCSTemplateLikePreview.js +8 -0
  656. package/dist/cjs/components/template-preview/SMS/SMSBubble.js +12 -0
  657. package/dist/cjs/components/template-preview/SmsTemplatePreview.js +1 -0
  658. package/dist/cjs/components/template-preview/SmsTemplatePreview.styled.js +46 -0
  659. package/dist/cjs/components/template-preview/TemplatePreview.d.ts +33 -0
  660. package/dist/cjs/components/template-preview/TemplatePreview.js +1 -0
  661. package/dist/cjs/components/template-preview/WhatsApp/ChatBtn.js +1 -0
  662. package/dist/cjs/components/template-preview/WhatsApp/ChatHeader.js +1 -0
  663. package/dist/cjs/components/template-preview/WhatsApp/ChatHeader.style.js +37 -0
  664. package/dist/cjs/components/template-preview/WhatsApp/ChatUI.js +7 -0
  665. package/dist/cjs/components/template-preview/WhatsApp/ChatUI.style.js +69 -0
  666. package/dist/cjs/components/template-preview/WhatsApp/ChatUiV2.js +19 -0
  667. package/dist/cjs/components/template-preview/WhatsApp/LimitedTimeOffer/LimitedTimeOffer.index.js +21 -0
  668. package/dist/cjs/components/template-preview/WhatsApp/MediaCard.js +1 -0
  669. package/dist/cjs/components/template-preview/WhatsApp/RenderTemplateWithVariable.js +4 -0
  670. package/dist/cjs/components/template-preview/WhatsApp/WhatsAppLikePreview.d.ts +6 -0
  671. package/dist/cjs/components/template-preview/WhatsApp/WhatsAppLikePreview.js +12 -0
  672. package/dist/cjs/components/template-preview/WhatsApp/WhatsAppLikePreviewV2.d.ts +6 -0
  673. package/dist/cjs/components/template-preview/WhatsApp/WhatsAppLikePreviewV2.js +11 -0
  674. package/dist/cjs/components/template-preview/WhatsAppTemplatePreview.js +1 -0
  675. package/dist/cjs/components/template-preview/constants/TemplateConstants.js +1 -0
  676. package/dist/cjs/components/template-preview/constants/regexPatterns.d.ts +13 -0
  677. package/dist/cjs/components/template-preview/constants/regexPatterns.js +1 -0
  678. package/dist/cjs/components/template-preview/helpers/SmsTemplateHelper.d.ts +5 -0
  679. package/dist/cjs/components/template-preview/helpers/SmsTemplateHelper.js +1 -0
  680. package/dist/cjs/components/template-preview/helpers/TemplateCreatorHelper.js +1 -0
  681. package/dist/cjs/components/template-preview/helpers/VariableEditorHelper.d.ts +10 -0
  682. package/dist/cjs/components/template-preview/helpers/VariableEditorHelper.js +1 -0
  683. package/dist/cjs/components/template-preview/helpers/WhatsAppFormatToHTML.d.ts +10 -0
  684. package/dist/cjs/components/template-preview/helpers/WhatsAppFormatToHTML.js +1 -0
  685. package/dist/cjs/components/template-preview/helpers/templateMiscHelper.js +1 -0
  686. package/dist/cjs/components/template-preview/models/Channels.d.ts +12 -0
  687. package/dist/cjs/components/template-preview/models/Channels.js +1 -0
  688. package/dist/cjs/components/template-preview/models/EmailTemplate.d.ts +42 -0
  689. package/dist/cjs/components/template-preview/models/RCSTemplate.d.ts +40 -0
  690. package/dist/cjs/components/template-preview/models/RCSTemplate.js +1 -0
  691. package/dist/cjs/components/template-preview/models/SmsTemplate.d.ts +39 -0
  692. package/dist/cjs/components/template-preview/models/TemplateMeta.d.ts +95 -0
  693. package/dist/cjs/components/template-preview/models/TemplateMeta.js +1 -0
  694. package/dist/cjs/components/template-preview/models/WebpushTemplate.d.ts +64 -0
  695. package/dist/cjs/components/template-preview/models/WebpushTemplate.js +1 -0
  696. package/dist/cjs/components/template-preview/models/WhatsAppTemplate.d.ts +337 -0
  697. package/dist/cjs/components/template-preview/models/WhatsAppTemplate.js +1 -0
  698. package/dist/cjs/components/template-preview/models/WhatsappCarouselTemplate.d.ts +89 -0
  699. package/dist/cjs/components/template-preview/models/types.d.ts +13 -0
  700. package/dist/cjs/components/template-preview/utils/TemplateHelperUtils.js +1 -0
  701. package/dist/cjs/components/template-preview/utils/getPreviewPropLen.js +1 -0
  702. package/dist/cjs/components/template-preview/webpush/WebpushPreview.js +1 -0
  703. package/dist/cjs/components/template-preview/webpush/WebpushPreview.styled.js +70 -0
  704. package/dist/cjs/components/testimonial-card/TestimonialCard.d.ts +21 -0
  705. package/dist/cjs/components/testimonial-card/TestimonialCard.js +1 -0
  706. package/dist/cjs/components/testimonial-card/TestimonialCard.style.js +53 -0
  707. package/dist/cjs/components/thumbnail/Thumbnail.d.ts +17 -0
  708. package/dist/cjs/components/thumbnail/Thumbnail.js +1 -0
  709. package/dist/cjs/components/thumbnail/Thumbnail.styled.js +10 -0
  710. package/dist/cjs/components/thumbnail/constants.js +1 -0
  711. package/dist/cjs/components/toaster/Toaster.d.ts +33 -0
  712. package/dist/cjs/components/toaster/Toaster.js +1 -0
  713. package/dist/cjs/components/toaster/Toaster.styled.js +138 -0
  714. package/dist/cjs/components/tooltips/Tooltip.d.ts +17 -0
  715. package/dist/cjs/components/tooltips/Tooltip.js +1 -0
  716. package/dist/cjs/components/tooltips/TooltipInternal.d.ts +11 -0
  717. package/dist/cjs/components/tooltips/TooltipInternal.js +7 -0
  718. package/dist/cjs/components/unsatisfactory-response-list/UnsatisfactoryCountIntentWiseModal.d.ts +16 -0
  719. package/dist/cjs/components/unsatisfactory-response-list/UnsatisfactoryCountIntentWiseModal.js +1 -0
  720. package/dist/cjs/components/unsatisfactory-response-list/UnsatisfactoryCountIntentWiseModal.style.js +42 -0
  721. package/dist/cjs/components/unsatisfactory-response-list/UnsatisfactoryResponseList.d.ts +22 -0
  722. package/dist/cjs/components/unsatisfactory-response-list/UnsatisfactoryResponseList.js +1 -0
  723. package/dist/cjs/components/unsatisfactory-response-list/UnsatisfactoryResponseList.style.js +38 -0
  724. package/dist/cjs/components/variable-picker-v3/Content.js +1 -0
  725. package/dist/cjs/components/variable-picker-v3/DefaultVariableContent.js +1 -0
  726. package/dist/cjs/components/variable-picker-v3/NoResult.js +17 -0
  727. package/dist/cjs/components/variable-picker-v3/SubHeaderItems.js +1 -0
  728. package/dist/cjs/components/variable-picker-v3/VariablePicker.d.ts +7 -0
  729. package/dist/cjs/components/variable-picker-v3/VariablePicker.js +1 -0
  730. package/dist/cjs/components/variable-picker-v3/context.js +1 -0
  731. package/dist/cjs/components/variable-picker-v3/highlightSearchText.js +1 -0
  732. package/dist/cjs/components/variable-picker-v3/model.d.ts +65 -0
  733. package/dist/cjs/components/variable-picker-v3/model.js +1 -0
  734. package/dist/cjs/components/variable-picker-v3/recommendVaribles.js +1 -0
  735. package/dist/cjs/components/variable-picker-v3/searchVariables.js +1 -0
  736. package/dist/cjs/components/variable-picker-v3/styles.js +42 -0
  737. package/dist/cjs/components/zeroState/ZeroState.js +17 -0
  738. package/dist/cjs/constants/Theme.d.ts +624 -0
  739. package/dist/cjs/constants/Theme.js +1 -0
  740. package/dist/cjs/constants/colors.js +1 -0
  741. package/dist/cjs/constants/zindex.d.ts +9 -0
  742. package/dist/cjs/constants/zindex.js +1 -0
  743. package/dist/cjs/helpers/BaseWhatsappContentLang.helper.d.ts +43 -0
  744. package/dist/cjs/helpers/BaseWhatsappContentLang.helper.js +1 -0
  745. package/dist/cjs/hooks/useCurreny.js +1 -0
  746. package/dist/cjs/hooks/useOutside.js +1 -0
  747. package/dist/cjs/index.d.ts +176 -0
  748. package/dist/cjs/index.js +1 -0
  749. package/dist/cjs/node_modules/@bikdotai/bik-models/growth/models/bik-store.js +1 -0
  750. package/dist/cjs/node_modules/@reduxjs/toolkit/dist/redux-toolkit.esm.js +1 -0
  751. package/dist/cjs/node_modules/immer/dist/immer.esm.mjs.js +1 -0
  752. package/dist/cjs/node_modules/lodash.debounce/index.js +1 -0
  753. package/dist/cjs/types/apiExecutor.d.ts +13 -0
  754. package/dist/cjs/types/componentTypes.js +1 -0
  755. package/dist/cjs/utils/DateUtils.js +1 -0
  756. package/dist/cjs/utils/StringUtils.d.ts +16 -0
  757. package/dist/cjs/utils/StringUtils.js +1 -0
  758. package/dist/cjs/utils/bytesToMB.js +1 -0
  759. package/dist/cjs/utils/isAlphanumeric.js +1 -0
  760. package/dist/cjs/utils/resizeImage.d.ts +3 -0
  761. package/dist/cjs/utils/resizeImage.js +1 -0
  762. package/dist/cjs/utils/unCamelCase.js +1 -0
  763. package/dist/cjs/utils/validator.d.ts +8 -0
  764. package/dist/cjs/utils/validator.js +1 -0
  765. package/dist/cjs/utils/variableUtils.js +1 -0
  766. package/package.json +7 -4
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t=require("react/jsx-runtime"),e=require("../../assets/icons/alert_triangle.svg.js"),o=require("../../assets/icons/check.svg.js"),n=require("../../assets/icons/cross.svg.js"),s=require("../../assets/icons/errorInfo.svg.js"),r=require("../../assets/icons/info.svg.js"),i=require("react"),l=require("react-dom"),u=require("react-toastify"),c=require("../button/Button.js"),a=require("./Toaster.styled.js"),d=require("../TypographyStyle.js"),x=require("../../constants/Theme.js");function h(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var p=h(i),y=h(l);const f=e=>{const o=(e.type,x.COLORS.content.secondary);return t.jsx("div",{tabIndex:0,role:"button",style:{width:20,display:"flex",cursor:"pointer",alignSelf:""+(e.alignTop?"flex-start":"center")},onClick:e.closeToast,onKeyDown:t=>{"Enter"===t.key&&e.closeToast&&e.closeToast()},children:t.jsx(n.default,{height:20,width:20,color:o})})},T=e=>{const o=x.COLORS.content.placeholder,{toasterText:n}=i.useContext(B);return t.jsx(t.Fragment,{children:t.jsxs("div",{style:{display:"flex",flexGrow:1},children:[t.jsx("div",{style:{flexGrow:1,marginRight:32,display:"flex",alignItems:"center"},children:t.jsxs("div",{children:[e.subText?t.jsx(d.TitleSmall,{color:"inherit",children:e.toastText??n}):t.jsx(d.BodySecondary,{color:"inherit",children:e.toastText??n}),e.subText&&t.jsx("div",{style:{marginTop:2},children:t.jsx(d.BodyCaption,{color:x.COLORS.content.secondary,children:e.subText})})]})}),e.showButton&&t.jsx("div",{style:{display:"flex",flexDirection:"column",alignSelf:"center",padding:"6px 4px",marginRight:{showSecondButton:4,showButton:0}[e.showSecondButton?"showSecondButton":"showButton"]},children:t.jsx(c.Button,{buttonText:e.buttonText,buttonType:"tertiaryGray",color:x.COLORS.content.secondary,onClick:e.onButtonClick})}),e.showSecondButton&&t.jsx("div",{style:{display:"flex",flexDirection:"column",alignSelf:"center",padding:"6px 4px"},children:t.jsx(c.Button,{buttonText:e.secondButtonText,buttonType:"tertiaryGray",color:x.COLORS.content.secondary,onClick:e.onSecondButtonClick})}),e.showButton||e.showSecondButton?t.jsx("div",{style:{height:28,alignSelf:"center",marginLeft:8,marginRight:8,borderRight:`1px solid ${o}`,borderRadius:1}}):null]})})},B=p.default.createContext({toasterText:""});exports.Toaster=n=>{const l=i.useRef(n.toastId||"default-toast"),[c,d]=i.useState(n.text),h=u.cssTransition({enter:"Toastify__slide-enter",exit:"Toastify__slide-exit"}),p="default"===n.type?null:"success"===n.type?t.jsx(o.default,{width:20,height:20,color:x.COLORS.content.positive}):"error"===n.type?t.jsx(s.default,{width:20,height:20,color:x.COLORS.content.negative}):"warning"===n.type?t.jsx(e.default,{width:20,height:20,color:x.COLORS.content.warning}):t.jsx(r.default,{width:20,height:20,color:x.COLORS.content.brand});i.useEffect((()=>{l.current&&l.current===n.toastId?(d(n.text),u.toast.update(l.current,{autoClose:n.autoClose})):l.current&&l.current!==n.toastId&&g(n.text)}),[n.toastId,n.text]);const g=e=>{void 0!==n.hideLeftIcon||n.leftIcon?u.toast(t.jsx(T,{toastText:e,type:n.type||"info",buttonText:n.buttonProps?.buttonText,secondButtonText:n.secondButtonProps?.buttonText,showButton:n.buttonProps?.showButton,showSecondButton:n.secondButtonProps?.showButton,onButtonClick:n.buttonProps?.onButtonClick,onSecondButtonClick:n.secondButtonProps?.onButtonClick,subText:n.subText}),{onClose:n.onCloseToast?n.onCloseToast:()=>({}),icon:!0!==n.hideLeftIcon&&(n.leftIcon?n.leftIcon:"default"!==n.type&&t.jsx("div",{style:{display:"flex",alignItems:"flex-start"},children:p})),type:n.type,closeButton:t.jsx(f,{type:n.type||"default",alignTop:!(!n.subText||n.buttonProps?.showButton||n.secondButtonProps?.showButton)}),toastId:n.toastId||"default-toast",transition:h}):l.current=u.toast(t.jsx(T,{toastText:e,type:n.type||"info",buttonText:n.buttonProps?.buttonText,secondButtonText:n.secondButtonProps?.buttonText,showButton:n.buttonProps?.showButton,showSecondButton:n.secondButtonProps?.showButton,onButtonClick:n.buttonProps?.onButtonClick,onSecondButtonClick:n.secondButtonProps?.onButtonClick,subText:n.subText}),{onClose:n.onCloseToast?n.onCloseToast:()=>({}),type:n.type,icon:"default"!==n.type&&t.jsx("div",{style:{display:"flex",alignItems:"flex-start"},children:p}),closeButton:t.jsx(f,{type:n.type||"default",alignTop:!(!n.subText||n.buttonProps?.showButton||n.secondButtonProps?.showButton)}),toastId:n.toastId||"default-toast",transition:h})};return i.useEffect((()=>{g()}),[]),y.default.createPortal(t.jsx(a.ToasterStyled,{width:n.width,height:n.height,zIndex:n.zIndex,isSubTextIncluded:!!n.subText,type:n.type,children:t.jsx(B.Provider,{value:{toasterText:c},children:t.jsx(u.ToastContainer,{position:n.position||"top-right",closeOnClick:n.closeOnClick||!1,hideProgressBar:n.hideProgressBar||!1,draggable:!1,autoClose:n.autoClose||!1,theme:"colored"})})}),document.body)};
@@ -0,0 +1,138 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t=require("@emotion/styled"),o=require("../../constants/Theme.js"),e=require("../../constants/zindex.js");function r(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}const a=r(t).default.div`
2
+ --toastify-color-light: #fff;
3
+ --toastify-color-dark: #121212;
4
+ --toastify-text-color-success: ${o.COLORS.content.primary};
5
+ --toastify-text-color-error: ${o.COLORS.content.primary};
6
+ --toastify-text-color-warning: ${o.COLORS.content.primary};
7
+ --toastify-text-color-info: ${o.COLORS.content.primary};
8
+ --toastify-color-info: ${o.COLORS.background.brandLight};
9
+ --toastify-color-success: ${o.COLORS.background.positive.light};
10
+ --toastify-color-error: ${o.COLORS.background.negative.light};
11
+ --toastify-color-warning: ${o.COLORS.background.warning.light};
12
+ --toastify-text-color-light: ${o.COLORS.content.primary};
13
+ --toastify-toast-width: fit-content;
14
+ --toastify-toast-min-height: ${t=>t.height||(t.isSubTextIncluded?"70px":"56px")};
15
+ --toastify-toast-max-height: ${t=>t.height||"fit-content"};
16
+ font-family: inherit;
17
+ z-index: ${t=>t.zIndex||e.ComponentZindex.TOASTER};
18
+
19
+ .custom-position {
20
+ position: relative;
21
+ }
22
+ .Toastify__toast-container {
23
+ padding: 0;
24
+ }
25
+
26
+ .Toastify__toast--success {
27
+ border: 1px solid ${o.COLORS.stroke.positive.lightAlt};
28
+ }
29
+
30
+ .Toastify__toast--info {
31
+ border: 1px solid ${o.COLORS.stroke.brandLightAlt};
32
+ }
33
+
34
+ .Toastify__toast--default {
35
+ border: 1px solid ${o.COLORS.stroke.primary};
36
+ }
37
+
38
+ .Toastify__toast--error {
39
+ border: 1px solid ${o.COLORS.stroke.negative.lightAlt};
40
+ }
41
+
42
+ .Toastify__toast--warning {
43
+ border: 1px solid ${o.COLORS.stroke.warning.lightAlt};
44
+ }
45
+
46
+ .Toastify__toast {
47
+ padding: ${t=>t.isSubTextIncluded?"16px":"12px"};
48
+ max-width: ${t=>t.width};
49
+ border-radius: 8px;
50
+ }
51
+
52
+ .Toastify__progress-bar {
53
+ height: 4px;
54
+ }
55
+
56
+ .Toastify__close-button {
57
+ display: block;
58
+ margin: auto;
59
+ }
60
+
61
+ .Toastify__toast-icon {
62
+ align-self: center;
63
+ margin-inline-end: 12px;
64
+ height: ${t=>t.isSubTextIncluded?"38px":"20px"};
65
+ }
66
+
67
+ .Toastify__toast-body {
68
+ padding: 0;
69
+ }
70
+
71
+ .Toastify__progress-bar-theme--colored.Toastify__progress-bar--default {
72
+ background: ${o.COLORS.content.brand};
73
+ }
74
+
75
+ .Toastify__progress-bar-theme--colored.Toastify__progress-bar--info {
76
+ background: ${o.COLORS.content.brand};
77
+ }
78
+
79
+ .Toastify__progress-bar-theme--colored.Toastify__progress-bar--warning {
80
+ background: ${o.COLORS.content.warning};
81
+ }
82
+
83
+ .Toastify__progress-bar-theme--colored.Toastify__progress-bar--success {
84
+ background: ${o.COLORS.content.positive};
85
+ }
86
+
87
+ .Toastify__progress-bar-theme--colored.Toastify__progress-bar--error {
88
+ background: ${o.COLORS.content.negative};
89
+ }
90
+
91
+ .Toastify__toast-body > div:last-child {
92
+ display: flex;
93
+ }
94
+
95
+ .Toastify__slide-enter {
96
+ animation: slideIn 1s ease forwards,
97
+ bounce cubic-bezier(0.68, -0.55, 0.27, 1.55) 0.5s both;
98
+ }
99
+ .Toastify__slide-exit {
100
+ animation: slideOut 0.5s ease-in-out forwards;
101
+ }
102
+
103
+ @keyframes bounce {
104
+ 0%,
105
+ 20%,
106
+ 50%,
107
+ 80%,
108
+ 100% {
109
+ transform: translateY(0); /* Start and end at the original position */
110
+ }
111
+ 40% {
112
+ transform: translateX(-20px); /* Bouncing up */
113
+ }
114
+ 60% {
115
+ transform: translateX(20px); /* Small bounce before settling */
116
+ }
117
+ }
118
+ @keyframes slideIn {
119
+ 0% {
120
+ transform: translateX(-100%); /* Start off-screen to the left */
121
+ opacity: 0;
122
+ }
123
+ 100% {
124
+ transform: translateX(0); /* End at the original position */
125
+ opacity: 1;
126
+ }
127
+ }
128
+ @keyframes slideOut {
129
+ 0% {
130
+ transform: translateX(0); /* Start from the original position */
131
+ opacity: 1;
132
+ }
133
+ 100% {
134
+ transform: translateX(100%); /* Slide out to the right */
135
+ opacity: 0;
136
+ }
137
+ }
138
+ `;exports.ToasterStyled=a;
@@ -0,0 +1,17 @@
1
+ import { ReactNode, FunctionComponent } from 'react';
2
+ import { TooltipInternalProps } from './TooltipInternal.js';
3
+
4
+ type Placement = 'top' | 'top-start' | 'top-end' | 'bottom' | 'bottom-start' | 'bottom-end' | 'left' | 'left-start' | 'left-end' | 'right' | 'right-start' | 'right-end';
5
+ interface TooltipProps extends TooltipInternalProps {
6
+ width?: number;
7
+ placement?: Placement;
8
+ children: ReactNode;
9
+ tooltipContent?: JSX.Element;
10
+ alwaysVisible?: boolean;
11
+ hideArrow?: boolean;
12
+ onClickOutside?: () => void;
13
+ }
14
+ declare const Tooltip: FunctionComponent<TooltipProps>;
15
+
16
+ export { Tooltip };
17
+ export type { Placement, TooltipProps };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t=require("react/jsx-runtime"),e=require("@tippyjs/react"),n=require("react"),r=require("./TooltipInternal.js"),i=require("../../constants/Theme.js");function o(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var a=o(e),l=o(n);const d=`\n\t.tippy-content {\n\t\tpadding: 0px;\n\t}\n\t.tippy-arrow {\n\t\tcolor: ${i.COLORS.content.primary};\n\t}\n\t.overflow-wrap-tippy {\n\t\toverflow-wrap: anywhere;\n\t}\n`;exports.Tooltip=e=>l.default.isValidElement(e.children)?e.body||e.title||e.tooltipContent?t.jsxs(t.Fragment,{children:[t.jsx("style",{children:d}),t.jsx(a.default,{theme:e.variant??"dark",appendTo:document.body,className:"overflow-wrap-tippy",placement:e.placement||"right",maxWidth:e.width,animation:"fade",arrow:!e.hideArrow,interactive:!0,delay:e.delay,visible:e.alwaysVisible,content:e.tooltipContent?e.tooltipContent:t.jsx(r.default,{variant:e.variant,title:e.title,body:e.body,buttonProps:e.buttonProps}),onClickOutside:e.onClickOutside,children:e.children})]}):e.children:null;
@@ -0,0 +1,11 @@
1
+ import { ButtonProps } from '../button/model.js';
2
+
3
+ interface TooltipInternalProps {
4
+ title?: string;
5
+ body?: string;
6
+ buttonProps?: ButtonProps;
7
+ delay?: number | number[];
8
+ variant?: 'light' | 'dark';
9
+ }
10
+
11
+ export type { TooltipInternalProps };
@@ -0,0 +1,7 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t=require("react/jsx-runtime"),r=require("@emotion/styled"),e=require("../button/Button.js"),o=require("../TypographyStyle.js"),n=require("../../constants/Theme.js");function a(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}const i=t=>"light"===t?n.COLORS.content.primary:n.COLORS.content.primaryInverse,s=a(r).default.div`
2
+ box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.12);
3
+ border-radius: 4px;
4
+ padding: 8px;
5
+ background-color: ${t=>"light"===t.variant?n.COLORS.surface.subdued:n.COLORS.content.primary};
6
+ color: ${t=>i(t.variant)};
7
+ `;var u=r=>t.jsxs(s,{variant:r.variant??"dark",children:[r.title&&t.jsx(o.TitleSmall,{color:i(r.variant),style:{marginBottom:"8px"},children:r.title}),t.jsx(o.BodyCaption,{color:i(r.variant),style:{marginBottom:r.buttonProps?"8px":"0px"},children:r.body}),r.buttonProps&&t.jsx(e.Button,{...r.buttonProps})]});exports.default=u;
@@ -0,0 +1,16 @@
1
+ interface UnsatisfactoryCountIntentWiseProps {
2
+ storeId?: string;
3
+ showUnsatisfactoryResponseModal: boolean;
4
+ setShowUnsatisfactoryResponseModal: (value: boolean) => void;
5
+ ChecklistType: Record<string, string>;
6
+ UnsatisfactoryResponseIntentList?: string[];
7
+ IntentHeaderTitle?: Record<string, string>;
8
+ viewIntentWiseUnsatisfactoryResponse?: (intent: string) => void;
9
+ fetchUnsatisfactoryResponseCountIntentWise?: () => Promise<{
10
+ [keys in string]?: number;
11
+ }>;
12
+ }
13
+ declare const UnsatisfactoryCountIntentWiseModal: React.FC<UnsatisfactoryCountIntentWiseProps>;
14
+
15
+ export { UnsatisfactoryCountIntentWiseModal };
16
+ export type { UnsatisfactoryCountIntentWiseProps };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),s=require("react"),t=require("../../constants/Theme.js"),l=require("../button/Button.js"),i=require("../modals/styledModal.js"),r=require("../shimmer/ShimmerComponent/BikShimmer.js"),n=require("../TypographyStyle.js"),a=require("./UnsatisfactoryCountIntentWiseModal.style.js");exports.UnsatisfactoryCountIntentWiseModal=c=>{const{storeId:o,setShowUnsatisfactoryResponseModal:d,showUnsatisfactoryResponseModal:h,ChecklistType:m,UnsatisfactoryResponseIntentList:x,viewIntentWiseUnsatisfactoryResponse:y,IntentHeaderTitle:j,fetchUnsatisfactoryResponseCountIntentWise:p}=c,[u,b]=s.useState(),[S,v]=s.useState(!1);return s.useEffect((()=>{o&&p&&(v(!0),p().then((e=>{b(e),v(!1)})))}),[o]),e.jsx(i.StyledModal,{onClose:()=>d(!1),open:h,headingTitle:"Improve unsatisfactory response",children:e.jsxs(a.ModalBody,{children:[e.jsx("div",{children:e.jsx(n.BodyPrimary,{style:{color:t.COLORS.content.primary},children:"Intent wise distribution of unsatisfactory response"})}),e.jsxs("div",{className:"modal-table",children:[e.jsxs("div",{className:"table-row header",children:[e.jsx("div",{className:"table-cell",children:e.jsx(n.TitleSmall,{style:{color:t.COLORS.content.primary},children:"Intent"})}),e.jsx("div",{className:"table-cell center-align",children:e.jsx(n.TitleSmall,{style:{color:t.COLORS.content.primary},children:"Unsatisfactory response"})}),e.jsx("div",{className:"table-cell center-align",children:e.jsx(n.TitleSmall,{style:{color:t.COLORS.content.primary},children:"Action"})})]}),S&&[0,1,2,3,4,5,6].map((s=>e.jsxs("div",{className:"table-row",children:[e.jsx("div",{className:"table-cell",children:e.jsx(r.BikShimmer,{boxes:[{width:"196px",height:"20px"}]})}),e.jsx("div",{className:"table-cell center-align",children:e.jsx(r.BikShimmer,{boxes:[{width:"176px",height:"20px"}]})}),e.jsx("div",{className:"table-cell center-align",children:e.jsx(r.BikShimmer,{boxes:[{width:"56px",height:"20px"}]})})]},s))),!S&&x&&j&&y&&x.map((s=>e.jsxs("div",{className:"table-row",children:[e.jsx("div",{className:"table-cell",children:e.jsx(n.BodySecondary,{style:{color:t.COLORS.content.primary},children:j[s]})}),e.jsx("div",{className:"table-cell center-align",children:e.jsx(n.BodySecondary,{style:{color:t.COLORS.content.primary},children:u?.[s]||"--"})}),e.jsx("div",{className:"table-cell center-align",children:e.jsx(l.Button,{buttonText:"Fix",buttonType:"tertiary",size:"small",onClick:()=>y(s),disabled:!u?.[s]})})]},s)))]})]})})};
@@ -0,0 +1,42 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("styled-components"),t=require("../../constants/Theme.js");function r(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}const o=r(e).default.div`
2
+ display: flex;
3
+ flex-direction: column;
4
+ min-height: 480px;
5
+ max-height: 504px;
6
+ padding: 24px;
7
+ gap: 16px;
8
+ border-top: 1px solid ${t.COLORS.stroke.primary};
9
+ .modal-table {
10
+ display: flex;
11
+ flex: 1;
12
+ height: calc(100% - 40px);
13
+ overflow-y: scroll;
14
+ flex-direction: column;
15
+ border: 1px solid ${t.COLORS.stroke.primary};
16
+ border-radius: 8px;
17
+ width: 100%;
18
+ .header {
19
+ background-color: ${t.COLORS.surface.subdued};
20
+ border-radius: 8px;
21
+ border-top: none !important;
22
+ position: sticky;
23
+ top: 0;
24
+ }
25
+ .center-align {
26
+ display: flex;
27
+ justify-content: center;
28
+ }
29
+ .table-row {
30
+ display: grid;
31
+ grid-template-columns: auto 240px 100px;
32
+ align-items: center;
33
+ border-top: 1px solid ${t.COLORS.stroke.primary};
34
+ .table-cell {
35
+ height: 48px !important;
36
+ align-items: center;
37
+ display: flex;
38
+ padding: 0 16px;
39
+ }
40
+ }
41
+ }
42
+ `;exports.ModalBody=o;
@@ -0,0 +1,22 @@
1
+ import { ApplicationType } from '@bikdotai/bik-models/growth/models/bik-store';
2
+ import React__default from 'react';
3
+
4
+ interface UnsatisfactoryResponseListProps {
5
+ storeId?: string;
6
+ appType: ApplicationType;
7
+ incorrectMessages: any;
8
+ onIncorrectMessageBubbleClick: (messageId: string) => void;
9
+ setShowIncorrectReplies: (show: boolean) => void;
10
+ ChecklistType: Record<string, string>;
11
+ IntentHeaderTitle?: Record<string, string>;
12
+ IntentWiseUnsatisfactoryResponse?: string[];
13
+ redirectToUnsatisfactoryResponse?: (intent: string) => void;
14
+ fetchUnsatisfactoryResponseCountIntentWise?: () => Promise<{
15
+ [keys in string]?: number;
16
+ }>;
17
+ fetchUnsatisfactoryResponseCount?: () => Promise<number>;
18
+ }
19
+ declare const UnsatisfactoryResponseList: React__default.FC<UnsatisfactoryResponseListProps>;
20
+
21
+ export { UnsatisfactoryResponseList };
22
+ export type { UnsatisfactoryResponseListProps };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime");require("../../node_modules/@bikdotai/bik-models/growth/models/bik-store.js");var s=require("../../assets/icons/cross.svg.js"),t=require("../../assets/icons/info.svg.js"),n=require("date-fns"),r=require("react"),o=require("../../constants/Theme.js"),i=require("../avatar/Avatar.js"),a=require("../avatar/AvatarHelper.js"),l=require("../button/Button.js"),c=require("../states/StateComponent.js"),d=require("../TypographyStyle.js"),y=require("./UnsatisfactoryCountIntentWiseModal.js"),p=require("./UnsatisfactoryResponseList.style.js"),u=require("../../_virtual/bik-store.js");exports.UnsatisfactoryResponseList=h=>{const{storeId:f,appType:j,incorrectMessages:x,onIncorrectMessageBubbleClick:g,setShowIncorrectReplies:I,ChecklistType:m,IntentWiseUnsatisfactoryResponse:v,IntentHeaderTitle:C,redirectToUnsatisfactoryResponse:S,fetchUnsatisfactoryResponseCountIntentWise:R,fetchUnsatisfactoryResponseCount:b}=h,[T,w]=r.useState(""),[A,U]=r.useState(x?.length>0),[q,O]=r.useState(!1);return r.useEffect((()=>{!A&&b&&b().then((e=>{e>0&&U(!0),0===e&&I(!1)}))}),[]),e.jsx("div",{style:{overflow:"scroll",height:"100%"},children:e.jsxs(p.IncorrectRepliesStyle,{children:[j==u.__exports.ApplicationType.MANIFEST&&e.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"8px"},children:[e.jsxs("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center"},children:[e.jsx(d.TitleRegular,{children:"Unsatisfactory responses"}),e.jsx("div",{style:{cursor:"pointer"},onClick:()=>I(!1),children:e.jsx(s.default,{height:16,width:16,color:o.COLORS.content.primary})})]}),e.jsx(d.BodySecondary,{style:{color:o.COLORS.content.secondary},children:"Spot unsatisfactory replies, dive deeper, and enhance with relevant data for improved responses."})]}),!x?.length&&e.jsx("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",height:"100%"},children:e.jsx(c.StateComponent,{states:c.StateInterface.WARNING,heading:"No unsatisfactory responses",subline:"As of now, all responses are correct",isButtonEnabled:!1,width:0,size:a.SIZE.SMALL,icon:e.jsx(i.Avatar,{type:a.AVATAR_TYPES.ICON,size:a.SIZE.MEDIUM,background:a.AVATAR_BACKGROUND.LIGHT,icon:()=>e.jsx(t.default,{width:16,height:16,color:o.COLORS.content.warning})})})}),!!x?.length&&e.jsxs(e.Fragment,{children:[j==u.__exports.ApplicationType.MANIFEST&&e.jsx("div",{style:{display:"flex",width:"100%",justifyContent:x?.length?"flex-start":"center"},children:e.jsx(l.Button,{buttonText:"Fix all unsatisfactory responses",buttonType:"tertiary",size:"small",onClick:()=>{O(!0)},disabled:!A})}),e.jsx(y.UnsatisfactoryCountIntentWiseModal,{storeId:f,setShowUnsatisfactoryResponseModal:O,showUnsatisfactoryResponseModal:q,ChecklistType:m,UnsatisfactoryResponseIntentList:v,IntentHeaderTitle:C,fetchUnsatisfactoryResponseCountIntentWise:R,viewIntentWiseUnsatisfactoryResponse:S}),x&&x?.length>0&&e.jsx("div",{className:"wrapper",children:x.map(((s,t)=>e.jsxs("div",{className:"bubble",onClick:()=>{g(s.messageId),w(s.messageId)},style:T===s.messageId?{backgroundColor:o.COLORS.surface.hovered}:{},children:[e.jsx(d.BodySecondary,{style:{color:o.COLORS.content.primary},children:s.message}),e.jsx("div",{children:e.jsxs(d.Caption,{style:{color:o.COLORS.content.secondary},children:[n.format(new Date(s?.date),"hh:mm a")," |"," ",n.format(new Date(s?.date),"dd/MM/yyyy")]})})]},s.messageId)))})]})]})})};
@@ -0,0 +1,38 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("styled-components"),r=require("../../constants/Theme.js");function o(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}const l=o(e).default.div`
2
+ min-width: 100%;
3
+ padding: 20px;
4
+ display: flex;
5
+ flex-direction: column;
6
+ gap: 16px;
7
+ height: 100%;
8
+ overflow-y: scroll;
9
+ flex: 1 1 0;
10
+ .wrapper {
11
+ display: flex;
12
+ flex-direction: column;
13
+ gap: 8px;
14
+ height: 100%; //calc(100% - 92px);
15
+ overflow-y: scroll;
16
+ padding-right: 8px;
17
+ &::-webkit-scrollbar-thumb {
18
+ background: #888;
19
+ border-radius: 8px;
20
+ }
21
+ &::-webkit-scrollbar {
22
+ width: 6px;
23
+ display: block;
24
+ }
25
+ }
26
+ .bubble {
27
+ display: flex;
28
+ flex-direction: column;
29
+ padding: 12px;
30
+ border-radius: 12px;
31
+ row-gap: 4px;
32
+ cursor: pointer;
33
+ background-color: ${r.COLORS.surface.subdued};
34
+ }
35
+ .bubble:hover {
36
+ background-color: ${r.COLORS.surface.hovered};
37
+ }
38
+ `;exports.IncorrectRepliesStyle=l;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),t=require("../../assets/icons/arrow_back.svg.js"),s=require("../../assets/icons/cross.svg.js"),a=require("../../assets/icons/plus.svg.js"),l=require("../../assets/icons/triangle_error.svg.js"),r=require("react"),i=require("../../constants/Theme.js"),n=require("../accordion/Accordion.js"),o=require("../icon-button/IconButton.js"),c=require("../input/Input.js"),d=require("../list-item/ListItem.js"),h=require("../switch/Switch.js"),u=require("../tooltips/Tooltip.js"),p=require("../TypographyStyle.js"),x=require("./context.js"),y=require("./DefaultVariableContent.js"),b=require("./highlightSearchText.js"),j=require("./model.js"),g=require("./NoResult.js"),m=require("./recommendVaribles.js"),f=require("./searchVariables.js"),S=require("./styles.js"),v=require("./SubHeaderItems.js");const C=/.*\..*/;exports.VariablePickerContent=V=>{const{data:O,onSelect:k,showHeader:R,showBackButton:w,hideHeaderCross:T,onBackButtonClick:q,isEvaluationList:B,autoOpenFirst:I,headerText:L,contentHeight:N,onDefaultVariableSelect:D,skipDefaultVariableContent:E}=V,[H,P]=r.useState(O),[$,F]=r.useState(""),[_,A]=r.useState([]),[M,W]=r.useState(""),[z,K]=r.useState(!1),[G,J]=r.useState([]),[Q,U]=r.useState(!1),[X,Y]=r.useState(),Z=Q&&V.type===j.PickerType.EMBEDDED&&!T;r.useEffect((()=>{ee(!0)}),[]),r.useEffect((()=>{_.length>0?J([_[_.length-1]]):J(O)}),[_]);const ee=async e=>{if(K(e),e){const e=m.showOnlyRecommendedVariables(H,_);P(e)}else if(_.length>0){const e=M==_[_.length-1].displayName;if($.length>0&&e){const e=f.searchVariables($,G,_);P(e)}else P([_[_.length-1].variables])}else if($.length>0){const e=f.searchVariables($,G,_);P(e)}else P(O)},te=()=>{if(N)return N;let e=131;return _.length>0&&(e+=32),(V.showHeader||V.showBackButton)&&(e+=40),`calc(100% - ${e}px)`},se=e=>{if(!V.disabled)if(B){const t=(e=>{if(e.actualValue.match(C)){const t=e.actualValue.replace("{{","").replace("}}","").split(".");let s=t[0];return t.forEach(((e,t)=>{if(0===t)return;const a=(e=>/\w+\[\d+\]/g.test(e))(e);if(a){const t=e.match(/(\w+)\[(\d+)\]/);if(t){const e=t[1],a=t[2];s+=`['${e}'][${a}]`}}else s+=`['${e}']`})),s}return e.actualValueEval?e.actualValueEval:e.actualValue})(e);k({...e,actualValue:t})}else{if(e.isDefaultValueSupported&&!E)return Y(e),void U(!0);k(e)}};return e.jsx(x.VariablePickerContext.Provider,{value:{variables:H,searchText:$,subHeaderStack:_,showRecommended:z,setSubHeaderStack:A,setSearchText:F,setVariables:P,setShowRecommended:K},children:e.jsxs("div",{tabIndex:-1,id:"variable-picker-v3",style:{backgroundColor:"white",borderRadius:8,height:"100%",outline:"none"},onClick:e=>e.stopPropagation(),children:[(R||w||Q)&&e.jsxs(S.HeaderWrapper,{openDefault:Q,children:[e.jsxs("div",{style:{display:"flex",alignItems:"center",gap:8},children:[(w||Q)&&e.jsx(o.IconButton,{Icon:()=>e.jsx(t.default,{width:16,height:16,style:{display:"flex",color:i.COLORS.content.primary}}),onClick:()=>{Q?U(!1):q&&q()}}),(R||Q)&&e.jsx(p.TitleRegular,{children:Q?"Set up":L??"Select Variable"})]}),Z&&e.jsx(o.IconButton,{style:{color:"#212121"},Icon:s.default,onClick:()=>V.onClose&&V.onClose()})]}),Q&&X&&!E?e.jsx(y.DefaultVariableContent,{variable:X,onInsertVariable:e=>{k(e),D?.(e)}}):e.jsxs(e.Fragment,{children:[e.jsx("div",{style:{padding:"0 16px",paddingTop:12,backgroundColor:i.COLORS.surface.subdued,borderTopLeftRadius:8,borderTopRightRadius:8},children:e.jsx(c.Input,{id:"search-bar-v3-picker",onBlur:e=>{V.onSearchBlur&&V.onSearchBlur(e)},value:$,noKeyDownChange:!0,placeholder:"Search",onChangeText:e=>{e||W("");const t=f.searchVariables(e,G,_);if(z){const e=m.showOnlyRecommendedVariables(t,_);P(e)}else P(t);F(e);const s=_.length>0?_[_.length-1].displayName:"home";W(s)}})}),e.jsxs(S.RecommendWrapper,{children:[e.jsx(p.BodySecondary,{style:{color:i.COLORS.content.secondary},children:"Only Recommended"}),e.jsx(h.Switch,{value:z,onValueChange:async e=>{await ee(e)}})]}),_.length>0&&e.jsxs(S.BackHeader,{children:[e.jsx("div",{style:{position:"absolute",left:16},children:e.jsx(o.IconButton,{id:"back-btn-v3",style:{display:"flex"},Icon:()=>e.jsx(t.default,{width:12,height:12,style:{color:i.COLORS.content.secondary}}),onClick:e=>{e.stopPropagation();let t=$;const s=[..._],a=s.pop();if(A(s),a.displayName===M&&(F(""),t=""),t.length>0){const e=s.length>0?[s[s.length-1]]:O,a=f.searchVariables(t,e,s);if(z){const e=m.showOnlyRecommendedVariables(a,s);P(e)}else P(a)}else if(s.length>0)if(z){const e=m.showOnlyRecommendedVariables([s[s.length-1].variables],s);P(e)}else P([s[s.length-1].variables]);else if(z){const e=m.showOnlyRecommendedVariables(O,_);P(e)}else P(O)}})}),e.jsx(p.BodyCaption,{style:{color:i.COLORS.content.secondary},children:_[_.length-1].displayName})]}),e.jsx(e.Fragment,{children:H.length>0?e.jsx(S.Container,{height:te(),children:H.map(((t,s)=>t.displayName&&void 0!==t.variables?e.jsx("div",{style:{borderBottom:`1px solid ${i.COLORS.stroke.primary}`},children:e.jsx(n.BikAccordion,{autoOpen:I&&0===s,headerPadding:"12px 16px",header:e.jsx(p.TitleSmall,{style:{color:i.COLORS.content.secondary},children:b.highlightSearchText(t.displayName,$)}),children:e.jsx(v.default,{parentVariable:t,disabled:V.disabled??!1,searchText:$,variable:t.variables,onSelect:e=>{if(e.isDefaultValueSupported&&!E)return Y(e),void U(!0);k(e)}})})},t.displayName+z):t.displayName?e.jsx(u.Tooltip,{body:v.renderTooltipBody(t),placement:"bottom",children:e.jsx(d.ListItem,{variant:V.disabled?"readonly":t?.selected?"selected":"default",version:"2.0",leadingIcon:t?.selected||V.disabled?e.jsx(e.Fragment,{}):e.jsx("div",{style:{flexShrink:0},children:e.jsx(a.default,{width:14,height:14})}),customListItemLabel:e.jsxs("div",{style:{display:"flex",gap:4},children:[e.jsx(p.BodySecondary,{style:{fontSize:"14px",color:i.COLORS.text.primary},children:b.highlightSearchText(t.displayName,$)}),!t.isAvailable&&e.jsx(u.Tooltip,{body:"Not Recommended",children:e.jsx("div",{style:{display:"flex",marginTop:2},children:e.jsx(l.default,{width:16,height:16,color:i.COLORS.content.secondary})})})]}),listItem:{label:t.displayName,value:t.displayName},subText:t.description||"",onClick:()=>se(t)},s)},s):e.jsx(v.default,{disabled:V.disabled??!1,searchText:$,variable:t,onSelect:e=>se(e)},s)))}):e.jsx(g.default,{height:te(),searchText:$})})]})]})})};
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),a=require("react"),t=require("../button/Button.js"),i=require("../checkBox/CheckBox.js"),r=require("../input/Input.js"),l=require("../TypographyStyle.js");exports.DefaultVariableContent=s=>{const[d,n]=a.useState(s.variable.defaultValue||""),[o,u]=a.useState(""),[x,p]=a.useState(!!s.variable?.enableDefaultValueForGlobalUsage);return e.jsx(e.Fragment,{children:e.jsxs("div",{style:{padding:"0 16px",paddingTop:12,borderTopLeftRadius:8,borderTopRightRadius:8},children:[e.jsx("div",{style:{paddingBottom:16,borderBottom:"1px solid #E0E0E0"},children:e.jsx(l.TitleRegular,{children:s.variable?.displayName})}),e.jsxs("div",{style:{paddingTop:24},children:[e.jsx(r.Input,{onChangeText:e=>{u(""),n(e)},value:d,isRequired:!0,labelText:"Default Value",hintText:"Used if this field is missing for a customer",errorMessage:o??"",maxCharLimit:25}),e.jsxs("div",{style:{paddingTop:24,gap:8,alignItems:"flex-start"},className:"d-flex",children:[e.jsx(i.CheckBox,{isChecked:x,onValueChange:e=>p(e),size:"SMALL"}),e.jsx(l.BodySecondary,{style:{marginTop:-2},children:`Make this the default value for ‘${s.variable?.displayName}’`})]}),e.jsx("div",{style:{padding:"24px 0px",display:"flex",flexDirection:"row",justifyContent:"flex-end"},children:e.jsx(t.Button,{buttonText:"Insert Variable",buttonType:"primary",onClick:()=>{if(!d)return void u("This field is required");const e={...s.variable,defaultValue:d,enableDefaultValueForGlobalUsage:x};s.onInsertVariable(e)}})})]})]})})};
@@ -0,0 +1,17 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),t=require("../../assets/icons/search.svg.js"),r=require("styled-components"),n=require("../../constants/Theme.js"),i=require("../TypographyStyle.js");function o(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var s=o(r);const d=s.default.div`
2
+ display: flex;
3
+ gap: 16px;
4
+ flex-direction: column;
5
+ align-items: center;
6
+ justify-content: center;
7
+ padding: 0 16px;
8
+ height: ${e=>e.height};
9
+ `,c=s.default.div`
10
+ display: flex;
11
+ align-items: center;
12
+ justify-content: center;
13
+ background-color: ${n.COLORS.background.brandLight};
14
+ width: 48px;
15
+ height: 48px;
16
+ border-radius: 24px;
17
+ `;exports.default=r=>e.jsxs(d,{height:r.height,children:[e.jsx(c,{children:e.jsx(t.default,{width:24,height:24,color:n.COLORS.background.brand})}),e.jsxs("div",{style:{textAlign:"center"},children:[e.jsx(i.TitleMedium,{children:"No results found"}),r.searchText?e.jsx(i.BodySecondary,{style:{color:n.COLORS.content.secondary,marginTop:8},children:`Sorry we could not find any results for "${r.searchText}"`}):e.jsx(i.BodySecondary,{style:{color:n.COLORS.content.secondary,marginTop:8},children:"Sorry we could not find any variables"})]})]});
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),t=require("../../assets/icons/chevronRight.svg.js"),s=require("../../assets/icons/plus.svg.js"),i=require("../../assets/icons/sub_category.svg.js"),r=require("../../assets/icons/triangle_error.svg.js"),l=require("lodash"),a=require("../../constants/Theme.js"),o=require("../list-item/ListItem.js"),n=require("../tooltips/Tooltip.js"),d=require("../TypographyStyle.js"),c=require("./context.js"),h=require("./highlightSearchText.js"),x=require("./recommendVaribles.js");const u=e=>e.contextQ?.join(" > ")||"";exports.default=m=>{const{onSelect:p,variable:y,searchText:j,disabled:b,parentVariable:g}=m,{subHeaderStack:v,setSubHeaderStack:f,setVariables:S,showRecommended:T}=c.useVariablePickerContext();return e.jsx("div",{style:{display:"flex",flexDirection:"column",gap:4},children:Object.keys(y).map(((c,m)=>{if(void 0===y[c].variables||0===Object.keys(y[c]?.variables||{}).length){const t=y[c];return e.jsx(n.Tooltip,{body:u(t),placement:"bottom",children:e.jsx(o.ListItem,{variant:b?"readonly":t?.selected?"selected":"default",version:"2.0",leadingIcon:t?.selected||b?e.jsx(e.Fragment,{}):e.jsx("div",{style:{flexShrink:0},children:e.jsx(s.default,{width:14,height:14})}),customListItemLabel:e.jsxs("div",{style:{display:"flex",gap:4},children:[e.jsx(d.BodySecondary,{style:{fontSize:"14px",color:a.COLORS.text.primary},children:h.highlightSearchText(t.displayName,j)}),!t.isAvailable&&e.jsx(n.Tooltip,{body:"Not Recommended",children:e.jsx("div",{style:{display:"flex",marginTop:2},children:e.jsx(r.default,{width:16,height:16,color:a.COLORS.content.secondary})})})]}),listItem:{label:t.displayName,value:t.displayName},subText:t.description||"",onClick:()=>{p(t)}})},m)}return e.jsx(n.Tooltip,{body:u(y[c]),placement:"bottom",children:e.jsx(o.ListItem,{variant:"default",version:"2.0",listItem:{label:y[c].displayName,value:y[c].displayName},customListItemLabel:e.jsx("div",{style:{display:"flex",alignItems:"center"},children:e.jsx(d.BodySecondary,{style:{fontSize:"14px",color:a.COLORS.text.primary},children:h.highlightSearchText(y[c].displayName,j)})}),leadingIcon:e.jsx(i.default,{width:14,height:14}),subText:y[c].description||"",trailingIcon:e.jsx(t.default,{width:10,height:10,color:"#212121"}),onClick:()=>{const e=l.cloneDeep(y[c]);void 0!==g&&(e.contextQ=[g.displayName]);const t=[...v,e];if(f(t),T){const s=x.showOnlyRecommendedVariables([e.variables],t);S(s)}else S([e.variables])}})},m)}))})},exports.renderTooltipBody=u;
@@ -0,0 +1,7 @@
1
+ import React__default from 'react';
2
+ import { VariablePickerV3Props } from './model.js';
3
+
4
+ type Props = VariablePickerV3Props;
5
+ declare const VariablePicker: React__default.FC<Props>;
6
+
7
+ export { VariablePicker, VariablePicker as default };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),t=require("../../assets/icons/cross.svg.js"),r=require("../../constants/Theme.js"),s=require("../modals/modal.styled.js"),i=require("./Content.js"),o=require("./model.js");const n=n=>{const{type:d}=n;return d==o.PickerType.FLOATER?e.jsxs("div",{style:{boxShadow:"0px 2px 8px 0px #0000001F",width:n.width?n.width:344,borderRadius:4,height:"100%"},children:[e.jsx(i.VariablePickerContent,{...n}),e.jsx(s.CloseButtonContainer,{onClick:()=>{n.onClose&&n.onClose()},children:e.jsx(t.default,{height:20,width:20,color:r.COLORS.content.secondary})})]}):e.jsx("div",{style:{width:n.width??"100%",height:"100%"},children:e.jsx(i.VariablePickerContent,{...n})})};exports.VariablePicker=n,exports.default=n;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react");function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}const r=t(e).default.createContext({searchText:"",setSearchText:()=>{},subHeaderStack:[],setSubHeaderStack:()=>{},variables:[],setVariables:()=>{},showRecommended:!1,setShowRecommended:()=>{}});exports.VariablePickerContext=r,exports.useVariablePickerContext=()=>e.useContext(r);
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),r=require("../../constants/Theme.js");exports.highlightSearchText=(t,s)=>{if(0===s.length)return t;const n=t.toLowerCase().indexOf(s.toLowerCase());if(-1===n)return t;const i=t.slice(0,n),c=t.slice(n,n+s.length),o=t.slice(n+s.length);return e.jsxs("span",{children:[i,e.jsx("b",{style:{color:r.COLORS.content.primary},children:c}),o]})};
@@ -0,0 +1,65 @@
1
+ declare enum PickerType {
2
+ FLOATER = "floater",
3
+ EMBEDDED = "embedded"
4
+ }
5
+ interface VariablePickerV3Props {
6
+ type: PickerType;
7
+ data: VariableListInterfaceV3[];
8
+ onSelect: (variable: VariableV3) => void;
9
+ width?: string;
10
+ onClose?: () => void;
11
+ showHeader?: boolean;
12
+ showBackButton?: boolean;
13
+ onBackButtonClick?: () => void;
14
+ onSearchBlur?: (e: any) => void;
15
+ isEvaluationList?: boolean;
16
+ hideHeaderCross?: boolean;
17
+ disabled?: boolean;
18
+ autoOpenFirst?: boolean;
19
+ headerText?: string;
20
+ contentHeight?: string;
21
+ onDefaultVariableSelect?: (variable: VariableV3) => void;
22
+ skipDefaultVariableContent?: boolean;
23
+ }
24
+ interface VariableListInterfaceV3 {
25
+ isSubHeader?: boolean;
26
+ displayName: string;
27
+ description: string;
28
+ orderId?: number;
29
+ isAvailable?: boolean;
30
+ contextQ?: string[];
31
+ variables?: {
32
+ [key: string]: SubHeader | VariableV3;
33
+ };
34
+ }
35
+ interface SubHeader {
36
+ isSubHeader: boolean;
37
+ isAvailable: boolean;
38
+ displayName: string;
39
+ description: string;
40
+ contextQ?: string[];
41
+ variables?: {
42
+ [key: string]: SubHeader | VariableV3;
43
+ };
44
+ }
45
+ interface VariableV3 {
46
+ contextQ?: string[];
47
+ selected?: boolean;
48
+ description?: string;
49
+ defaultValue?: string;
50
+ displayName: string;
51
+ actualValue: string;
52
+ variableType: string;
53
+ isAvailable: boolean;
54
+ actualValueEval?: string;
55
+ isSubHeader?: boolean;
56
+ variables?: {
57
+ [key: string]: VariableV3;
58
+ };
59
+ needsFetching?: boolean;
60
+ isDefaultValueSupported?: boolean;
61
+ enableDefaultValueForGlobalUsage?: boolean;
62
+ }
63
+
64
+ export { PickerType };
65
+ export type { SubHeader, VariableListInterfaceV3, VariablePickerV3Props, VariableV3 };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=(e=>(e.FLOATER="floater",e.EMBEDDED="embedded",e))(e||{});exports.PickerType=e;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});const e=e=>Object.keys(e).reduce(((a,i)=>(e[i]&&e[i].isAvailable&&(a[i]=e[i]),a)),{});exports.showOnlyRecommendedVariables=(a,i)=>a.map((a=>{if(a.isAvailable&&void 0===a.variables)return a;if(void 0===a.isAvailable&&void 0!==a.variables){const i=e(a.variables);return 0===Object.keys(i).length?{}:{...a,variables:i}}if(void 0===a.variables){return e(a)}{const s=e(a.variables);return i.length?s:0===Object.keys(s).length?{}:{...a,variables:s}}})).filter((e=>Object.keys(e).length>0));
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});const e=(a,s,l,r=[])=>{Object.keys(s).forEach((t=>{s[t].displayName.toLowerCase().includes(a.toLowerCase())&&(void 0!==s[t].variables&&0===Object.keys(s[t].variables).length&&delete s[t].variables,l.push(s[t].isSubHeader?{[t]:{...s[t],contextQ:r}}:{...s[t],contextQ:r})),s[t].variables&&Object.keys(s[t].variables).length&&e(a,s[t].variables,l,[...r,s[t].displayName])}))};exports.searchVariables=(a,s,l)=>{if(!a)return l.length>0?[l[l.length-1].variables]:s;const r=[];return s.forEach((s=>{if(l.length>0)if(s.displayName&&void 0!==s.variables)e(a,s.variables,r,[...s.contextQ||[],s.displayName]);else{if(s.displayName.toLowerCase().includes(a.toLowerCase())&&r.push(s),!s.variables||!Object.keys(s.variables).length)return;e(a,s.variables,r,[...s.contextQ||[],s.displayName])}else{if(s.displayName.toLowerCase().includes(a.toLowerCase())&&r.push(s),!s.variables||!Object.keys(s.variables).length)return;e(a,s.variables,r,[s.displayName])}})),r};
@@ -0,0 +1,42 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("styled-components"),t=require("../../constants/Theme.js");function r(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var o=r(e);const i=o.default.div`
2
+ display: flex;
3
+ align-items: center;
4
+ padding: ${e=>e.openDefault?"12px 16px":"12px 16px 0px 16px"};
5
+ background-color: ${t.COLORS.surface.subdued};
6
+ justify-content: space-between;
7
+ border-top-right-radius: 8px;
8
+ border-top-left-radius: 8px;
9
+ `,a=o.default.div`
10
+ display: flex;
11
+ justify-content: space-between;
12
+ align-items: center;
13
+ padding: 12px 16px;
14
+ background-color: ${t.COLORS.surface.subdued};
15
+ border-bottom: 1px solid ${t.COLORS.stroke.primary};
16
+ `,p=o.default.div`
17
+ position: relative;
18
+ display: flex;
19
+ align-items: center;
20
+ justify-content: center;
21
+ height: 32px;
22
+ background-color: ${t.COLORS.background.base};
23
+ `,d=o.default.div`
24
+ margin: 8px;
25
+ display: flex;
26
+ flex-direction: column;
27
+ gap: 4px;
28
+ height: ${e=>e.height};
29
+ overflow: scroll;
30
+ &::-webkit-scrollbar-thumb {
31
+ background-color: #e0e0e0 !important;
32
+ border-radius: 8px;
33
+ }
34
+ &::-webkit-scrollbar {
35
+ height: 5px;
36
+ display: block;
37
+ width: 8px;
38
+ }
39
+ &::-webkit-scrollbar-thumb:horizontal {
40
+ width: 8px;
41
+ }
42
+ `;exports.BackHeader=p,exports.Container=d,exports.HeaderWrapper=i,exports.RecommendWrapper=a;
@@ -0,0 +1,17 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),t=require("styled-components"),n=require("../spinner/Spinner.js"),r=require("../TypographyStyle.js"),i=require("../../constants/Theme.js"),o=require("../../assets/icons/alert.svg.js"),s=require("../button/Button.js");function l(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var a=l(t);const c=a.default.div`
2
+ background: ${i.COLORS.surface.standard};
3
+ display: flex;
4
+ flex-direction: column;
5
+ align-items: center;
6
+ justify-content: center;
7
+ flex: 1;
8
+ `,d=a.default.div`
9
+ background: ${i.COLORS.background.base};
10
+ width: 48px;
11
+ height: 48px;
12
+ display: flex;
13
+ flex-direction: column;
14
+ align-items: center;
15
+ justify-content: center;
16
+ border-radius: 24px;
17
+ `;exports.ZeroState=({subTitle:t,title:l,IconHolderStyle:a,style:u,isLoading:p,containerWidth:x,...y})=>{let h=r.TitleRegular;const f=x?parseFloat(x):0;return f&&!isNaN(f)&&f<=150&&(h=r.TitleSmall),e.jsxs(c,{style:u??{},children:[p?e.jsx(n.Spinner,{size:"large",color:i.COLORS.stroke.brand}):e.jsx(d,{style:a??{},children:y?.Icon||e.jsx(o.default,{color:i.COLORS.content.placeholder,height:24,width:24})}),e.jsx(h,{style:{marginTop:8,color:i.COLORS.content.primary},children:p?"Loading...":l||"No results found"}),!!t&&!p&&e.jsx(r.BodyCaption,{style:{marginTop:4,color:i.COLORS.content.secondary,textAlign:"center",maxWidth:184},children:t}),!!y?.actionButton&&e.jsx("div",{style:y?.buttonWidth?{width:y?.buttonWidth,display:"flex"}:{},children:e.jsx(s.Button,{...y?.actionButton})})]})};