@bikdotai/bik-component-library 0.0.784-beta.0 → 0.0.784-beta.2
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.
- package/dist/cjs/assets/icons/Ai_event_generating.svg.js +1 -1
- package/dist/cjs/components/ProgressChecklist/MultiChecklistItem.d.ts +1 -29
- package/dist/cjs/components/ProgressChecklist/ProgressChecklist.d.ts +27 -1
- package/dist/cjs/components/QueryBuilder/Filters/Event/components/EventFilter.js +1 -1
- package/dist/cjs/components/QueryBuilder/components/Connectors/Components/EmojiPicker.d.ts +2 -1
- package/dist/cjs/components/QueryBuilder/components/Connectors/Components/EmojiPicker.js +1 -1
- package/dist/cjs/components/QueryBuilder/components/Connectors/Components/SingleselectDropdownFreeText.d.ts +2 -5
- package/dist/cjs/components/QueryBuilder/components/Connectors/Components/SingleselectDropdownFreeText.js +1 -1
- package/dist/cjs/components/QueryBuilder/components/Connectors/Connector.js +1 -1
- package/dist/cjs/components/QueryBuilder/constants/connector.d.ts +1 -1
- package/dist/cjs/components/QueryBuilder/constants/connector.js +1 -1
- package/dist/cjs/components/QueryBuilder/constants/connectorPosition.js +1 -1
- package/dist/cjs/components/QueryBuilder/helpers/Connector.helper.d.ts +1 -1
- package/dist/cjs/components/QueryBuilder/helpers/Connector.helper.js +1 -1
- package/dist/cjs/components/QueryBuilder/helpers/PropertyCustomProcessor.d.ts +1 -1
- package/dist/cjs/components/QueryBuilder/helpers/SegmentValidator.d.ts +15 -3
- package/dist/cjs/components/QueryBuilder/types/QueryBuilder.type.d.ts +22 -2
- package/dist/cjs/components/QueryBuilder/types/QueryBuilder.type.js +1 -1
- package/dist/cjs/components/QueryBuilder/types/QueryBuilderAPI.type.d.ts +1 -1
- package/dist/cjs/components/QueryBuilder/types/QueryBuilderConnector.type.d.ts +1 -1
- package/dist/cjs/components/QueryBuilder/types/index.d.ts +1 -2
- package/dist/cjs/components/SearchFilter/components/DatePickerButton.d.ts +1 -1
- package/dist/cjs/components/SearchFilter/components/DateRangeOnlyButton.d.ts +1 -1
- package/dist/cjs/components/SearchFilter/components/SearchFilterItem.d.ts +1 -1
- package/dist/cjs/components/SearchFilter/types/SearchFilter.type.d.ts +1 -1
- package/dist/cjs/components/WhatsAppTextEditor/AIRephraseButton.d.ts +1 -4
- package/dist/cjs/components/WhatsAppTextEditor/WhatsAppTextEditor.d.ts +1 -4
- package/dist/cjs/components/WhatsAppTextEditor/WhatsAppTextEditorHeader.d.ts +4 -1
- package/dist/cjs/components/WhatsAppTextEditor/ai/actionRegistry.d.ts +1 -2
- package/dist/cjs/components/accordion/Accordion.d.ts +35 -2
- package/dist/cjs/components/accordion/Accordion.style.d.ts +1 -1
- package/dist/cjs/components/analytics-card/AnalyticsCard.d.ts +1 -1
- package/dist/cjs/components/analytics-card/AnalyticsCard.styled.d.ts +1 -1
- package/dist/cjs/components/analytics-chips-and-dropdowns/AnalyticsChip.d.ts +17 -1
- package/dist/cjs/components/analytics-chips-and-dropdowns/AnalyticsChipChannelFooter.d.ts +1 -1
- package/dist/cjs/components/analytics-chips-and-dropdowns/AnalyticsMultiChip.d.ts +1 -1
- package/dist/cjs/components/analytics-chips-and-dropdowns/chart/Pie/PieChartAnalytics.js +1 -1
- package/dist/cjs/components/analytics-chips-and-dropdowns/chart/VerticalBarGraph/VerticalGraph.js +1 -1
- package/dist/cjs/components/avatar/Avatar.js +1 -1
- package/dist/cjs/components/bik-layout/BikSidebar.d.ts +1 -1
- package/dist/cjs/components/bik-layout/SidebarPopup.d.ts +1 -1
- package/dist/cjs/components/bik-layout/SidebarSkeleton.d.ts +1 -1
- package/dist/cjs/components/bik-layout/SidebarStyles.d.ts +1 -1
- package/dist/cjs/components/bik-layout/SimpleSidebar.d.ts +27 -1
- package/dist/cjs/components/floating-input-dropdown/FloatingInputDropdown.d.ts +1 -1
- package/dist/cjs/components/image-cropper/BikImageCropper.d.ts +6 -1
- package/dist/cjs/components/image-cropper/BikImagePipeline/BikImagePipeline.d.ts +1 -1
- package/dist/cjs/components/input/ChipInput.js +1 -1
- package/dist/cjs/components/input/ChipInput.styled.d.ts +66 -6
- package/dist/cjs/components/input/ChipInput.styled.js +1 -1
- package/dist/cjs/components/input/Input-helper.d.ts +1 -1
- package/dist/cjs/components/input/Input.d.ts +72 -1
- package/dist/cjs/components/input/Input.styled.d.ts +1 -1
- package/dist/cjs/components/input-with-vars/InputWithVariables.d.ts +1 -1
- package/dist/cjs/components/list-item/ListItem.d.ts +17 -1
- package/dist/cjs/components/list-item/ListItem.styled.d.ts +1 -1
- package/dist/cjs/components/list-item/themes.d.ts +1 -1
- package/dist/cjs/components/multi-level-dropdown/GroupedMenuList.d.ts +1 -2
- package/dist/cjs/components/multi-level-dropdown/GroupedMenuList.js +1 -1
- package/dist/cjs/components/multi-level-dropdown/MenuItem.d.ts +1 -2
- package/dist/cjs/components/multi-level-dropdown/MenuItem.js +1 -1
- package/dist/cjs/components/multi-level-dropdown/MenuList.js +1 -1
- package/dist/cjs/components/multi-level-dropdown/type.d.ts +1 -2
- package/dist/cjs/components/product-picker-v2/ProductPickerTag.d.ts +2 -2
- package/dist/cjs/components/product-picker-v2/collectionScreen.d.ts +3 -3
- package/dist/cjs/components/product-picker-v2/helpers/ProductHelper.d.ts +4 -3
- package/dist/cjs/components/product-picker-v2/index.d.ts +1 -1
- package/dist/cjs/components/product-picker-v2/modal.d.ts +58 -2
- package/dist/cjs/components/product-picker-v2/product.d.ts +3 -2
- package/dist/cjs/components/product-picker-v2/productInfoOverlay.d.ts +2 -1
- package/dist/cjs/components/product-picker-v2/productScreen.d.ts +3 -3
- package/dist/cjs/components/product-picker-v2/productScreen.js +1 -1
- package/dist/cjs/components/product-picker-v2/rearrangeScreen.d.ts +4 -3
- package/dist/cjs/components/product-picker-v2/reducers.d.ts +1 -1
- package/dist/cjs/components/product-picker-v2/reducers.js +1 -1
- package/dist/cjs/components/product-picker-v2/searchScreen.d.ts +4 -3
- package/dist/cjs/components/product-picker-v2/selectedScreen.d.ts +4 -3
- package/dist/cjs/components/product-picker-v2/type.d.ts +0 -65
- package/dist/cjs/components/product-picker-v2/utility.d.ts +3 -3
- package/dist/cjs/components/product-picker-v2/utility.js +1 -1
- package/dist/cjs/components/product-picker-v2/variant.d.ts +12 -2
- package/dist/cjs/components/product-picker-v2/variantComponents.d.ts +3 -2
- package/dist/cjs/components/sample-button/SampleButton.d.ts +16 -1
- package/dist/cjs/components/sample-button/SampleButton.styled.d.ts +1 -1
- package/dist/cjs/components/sample-button/themes.d.ts +1 -1
- package/dist/cjs/components/searchBar/searchBar.d.ts +1 -1
- package/dist/cjs/components/slider/slider.js +1 -1
- package/dist/cjs/components/stepper/Stepper.d.ts +17 -1
- package/dist/cjs/components/stepper/Stepper.styled.d.ts +1 -1
- package/dist/cjs/components/stepper/StepperService.d.ts +1 -1
- package/dist/cjs/components/stepper/themes.d.ts +1 -1
- package/dist/cjs/components/template-context-mapper/TemplateContextMapper.d.ts +9 -9
- package/dist/cjs/components/template-context-mapper/TemplateContextMapper.js +1 -1
- package/dist/cjs/components/template-context-mapper/context/templateModalContext.d.ts +7 -7
- package/dist/cjs/components/template-context-mapper/custom-hooks/useAdditionalVariables.d.ts +1 -1
- package/dist/cjs/components/template-context-mapper/helpers/WebpushTemplateHelper.d.ts +4 -6
- package/dist/cjs/components/template-context-mapper/helpers/WebpushTemplateHelper.js +1 -1
- package/dist/cjs/components/template-context-mapper/modalElements/Body.d.ts +2 -2
- package/dist/cjs/components/template-context-mapper/modalElements/Body.js +10 -10
- package/dist/cjs/components/template-context-mapper/modalElements/DesktopPreview.js +7 -7
- package/dist/cjs/components/template-context-mapper/modalElements/EditMediaModal.d.ts +3 -3
- package/dist/cjs/components/template-context-mapper/modalElements/EditMediaModal.js +1 -1
- package/dist/cjs/components/template-context-mapper/modalElements/EditWebpushTemplate.d.ts +2 -2
- package/dist/cjs/components/template-context-mapper/modalElements/EditWebpushTemplate.js +1 -1
- package/dist/cjs/components/template-context-mapper/modalElements/EditWhatsAppCarouselTemplateV2.d.ts +14 -3
- package/dist/cjs/components/template-context-mapper/modalElements/EditWhatsAppCarouselTemplateV2.js +1 -1
- package/dist/cjs/components/template-context-mapper/modalElements/EditWhatsAppTemplateV2.d.ts +5 -5
- package/dist/cjs/components/template-context-mapper/modalElements/EditWhatsAppTemplateV2.js +2 -2
- package/dist/cjs/components/template-context-mapper/modalElements/Footer.js +4 -4
- package/dist/cjs/components/template-context-mapper/modalElements/MobilePreview.d.ts +1 -1
- package/dist/cjs/components/template-context-mapper/modalElements/MobilePreview.js +3 -3
- package/dist/cjs/components/template-context-mapper/modalElements/QualityWarningModal.d.ts +1 -1
- package/dist/cjs/components/template-context-mapper/modalElements/TemplateAnalyticsComponent.d.ts +1 -1
- package/dist/cjs/components/template-context-mapper/modalElements/TemplateSelectModalContent.d.ts +2 -2
- package/dist/cjs/components/template-context-mapper/modalElements/VariableConnector.d.ts +1 -1
- package/dist/cjs/components/template-context-mapper/modalElements/VariableConnector.js +4 -4
- package/dist/cjs/components/template-context-mapper/modalElements/VariableConnectorWhatsApp.d.ts +4 -5
- package/dist/cjs/components/template-context-mapper/modalElements/VariableConnectorWhatsApp.js +1 -1
- package/dist/cjs/components/template-context-mapper/modalElements/VariableEditorHeader.d.ts +1 -1
- package/dist/cjs/components/template-context-mapper/modalElements/WhatsAppTemplateCardButtonV2.d.ts +2 -2
- package/dist/cjs/components/template-context-mapper/modalElements/WhatsAppTemplateCardButtonV2.js +1 -1
- package/dist/cjs/components/template-context-mapper/modalElements/useEditWhtasappTemplateMedia.d.ts +1 -1
- package/dist/cjs/components/template-context-mapper/modalElements/useEditWhtasappTemplateMedia.js +1 -1
- package/dist/cjs/components/template-context-mapper/utils/convertPlaceholdersToBikDropdown.d.ts +2 -2
- package/dist/cjs/components/template-context-mapper/utils/getDataFromTemplateComponent.d.ts +2 -2
- package/dist/cjs/components/template-context-mapper/utils/highlightFor.d.ts +1 -1
- package/dist/cjs/components/template-preview/models/TemplateMeta.d.ts +1 -1
- package/dist/cjs/components/template-preview/models/WhatsappCarouselTemplate.d.ts +2 -2
- package/dist/cjs/components/toaster/Toaster.styled.js +1 -1
- package/dist/cjs/components/variable-picker-v3/SubHeaderItems.js +1 -1
- package/dist/cjs/icons/Actions/Common actions/Activate.d.ts +7 -0
- package/dist/cjs/icons/Actions/Common actions/Code.d.ts +7 -0
- package/dist/cjs/icons/Actions/Common actions/Cross.d.ts +7 -0
- package/dist/cjs/icons/Actions/Common actions/Deactivate.d.ts +7 -0
- package/dist/cjs/icons/Actions/Common actions/Delete.d.ts +7 -0
- package/dist/cjs/icons/Actions/Common actions/Edit.d.ts +7 -0
- package/dist/cjs/icons/Actions/Common actions/Forward.d.ts +7 -0
- package/dist/cjs/icons/Actions/Common actions/Fullscreen.d.ts +7 -0
- package/dist/cjs/icons/Actions/Common actions/LinkSimpleHorizontal.d.ts +7 -0
- package/dist/cjs/icons/Actions/Common actions/Minus.d.ts +7 -0
- package/dist/cjs/icons/Actions/Common actions/Plus.d.ts +7 -0
- package/dist/cjs/icons/Actions/Common actions/SendAirplane.d.ts +7 -0
- package/dist/cjs/icons/Actions/Common actions/ShareAndroid.d.ts +7 -0
- package/dist/cjs/icons/Actions/Common actions/index.d.ts +13 -0
- package/dist/cjs/icons/Actions/Formatting/CheckboxIcon.d.ts +7 -0
- package/dist/cjs/icons/Actions/Formatting/Copy.d.ts +7 -0
- package/dist/cjs/icons/Actions/Formatting/Dropdown.d.ts +7 -0
- package/dist/cjs/icons/Actions/Formatting/MultiLine.d.ts +7 -0
- package/dist/cjs/icons/Actions/Formatting/MultiSelect.d.ts +7 -0
- package/dist/cjs/icons/Actions/Formatting/Number.d.ts +7 -0
- package/dist/cjs/icons/Actions/Formatting/Text.d.ts +7 -0
- package/dist/cjs/icons/Actions/Formatting/Textbox.d.ts +7 -0
- package/dist/cjs/icons/Actions/Formatting/index.d.ts +8 -0
- package/dist/cjs/icons/Actions/Navigation/ArrowRedo.d.ts +7 -0
- package/dist/cjs/icons/Actions/Navigation/ArrowUndo.d.ts +7 -0
- package/dist/cjs/icons/Actions/Navigation/LogIn.d.ts +7 -0
- package/dist/cjs/icons/Actions/Navigation/LogOut.d.ts +7 -0
- package/dist/cjs/icons/Actions/Navigation/OpenNewWindow.d.ts +7 -0
- package/dist/cjs/icons/Actions/Navigation/Refresh.d.ts +7 -0
- package/dist/cjs/icons/Actions/Navigation/Rewind.d.ts +7 -0
- package/dist/cjs/icons/Actions/Navigation/Sync.d.ts +7 -0
- package/dist/cjs/icons/Actions/Navigation/index.d.ts +8 -0
- package/dist/cjs/icons/Actions/Selection/HandleDrag.d.ts +7 -0
- package/dist/cjs/icons/Actions/Selection/SelectDocManually.d.ts +7 -0
- package/dist/cjs/icons/Actions/Selection/SingleChoice.d.ts +7 -0
- package/dist/cjs/icons/Actions/Selection/index.d.ts +3 -0
- package/dist/cjs/icons/Arrows/Carat/CaratDown.d.ts +7 -0
- package/dist/cjs/icons/Arrows/Carat/CaratLeft.d.ts +7 -0
- package/dist/cjs/icons/Arrows/Carat/CaratRight.d.ts +7 -0
- package/dist/cjs/icons/Arrows/Carat/CaratUp.d.ts +7 -0
- package/dist/cjs/icons/Arrows/Carat/index.d.ts +4 -0
- package/dist/cjs/icons/Arrows/Chevron/ChevronDown.d.ts +7 -0
- package/dist/cjs/icons/Arrows/Chevron/ChevronLeft.d.ts +7 -0
- package/dist/cjs/icons/Arrows/Chevron/ChevronRight.d.ts +7 -0
- package/dist/cjs/icons/Arrows/Chevron/ChevronUp.d.ts +7 -0
- package/dist/cjs/icons/Arrows/Chevron/index.d.ts +4 -0
- package/dist/cjs/icons/Arrows/Double chevron/ChevronDoubleDown.d.ts +7 -0
- package/dist/cjs/icons/Arrows/Double chevron/ChevronDoubleLeft.d.ts +7 -0
- package/dist/cjs/icons/Arrows/Double chevron/ChevronDoubleRight.d.ts +7 -0
- package/dist/cjs/icons/Arrows/Double chevron/ChevronDoubleUp.d.ts +7 -0
- package/dist/cjs/icons/Arrows/Double chevron/index.d.ts +4 -0
- package/dist/cjs/icons/Arrows/Normal arrows/ArrowDown.d.ts +7 -0
- package/dist/cjs/icons/Arrows/Normal arrows/ArrowDown1.d.ts +7 -0
- package/dist/cjs/icons/Arrows/Normal arrows/ArrowDownLeft.d.ts +7 -0
- package/dist/cjs/icons/Arrows/Normal arrows/ArrowDownLeft1.d.ts +7 -0
- package/dist/cjs/icons/Arrows/Normal arrows/ArrowDownRight.d.ts +7 -0
- package/dist/cjs/icons/Arrows/Normal arrows/ArrowDownRight1.d.ts +7 -0
- package/dist/cjs/icons/Arrows/Normal arrows/ArrowLeft.d.ts +7 -0
- package/dist/cjs/icons/Arrows/Normal arrows/ArrowLeft1.d.ts +7 -0
- package/dist/cjs/icons/Arrows/Normal arrows/ArrowRight.d.ts +7 -0
- package/dist/cjs/icons/Arrows/Normal arrows/ArrowRight1.d.ts +7 -0
- package/dist/cjs/icons/Arrows/Normal arrows/ArrowUp.d.ts +7 -0
- package/dist/cjs/icons/Arrows/Normal arrows/ArrowUp1.d.ts +7 -0
- package/dist/cjs/icons/Arrows/Normal arrows/ArrowUpLeft.d.ts +7 -0
- package/dist/cjs/icons/Arrows/Normal arrows/ArrowUpLeft1.d.ts +7 -0
- package/dist/cjs/icons/Arrows/Normal arrows/ArrowUpRight.d.ts +7 -0
- package/dist/cjs/icons/Arrows/Normal arrows/ArrowUpRight1.d.ts +7 -0
- package/dist/cjs/icons/Arrows/Normal arrows/index.d.ts +16 -0
- package/dist/cjs/icons/Arrows/Special/ArrowSwitch.d.ts +7 -0
- package/dist/cjs/icons/Arrows/Special/ArrowSwitch1.d.ts +7 -0
- package/dist/cjs/icons/Arrows/Special/index.d.ts +2 -0
- package/dist/cjs/icons/BIK AI specific/AiEmoji.d.ts +7 -0
- package/dist/cjs/icons/BIK AI specific/AiRobot.d.ts +7 -0
- package/dist/cjs/icons/BIK AI specific/Expand.d.ts +7 -0
- package/dist/cjs/icons/BIK AI specific/Frame27202.d.ts +7 -0
- package/dist/cjs/icons/BIK AI specific/Frame27389.d.ts +7 -0
- package/dist/cjs/icons/BIK AI specific/Frame27597.d.ts +7 -0
- package/dist/cjs/icons/BIK AI specific/Frame27598.d.ts +7 -0
- package/dist/cjs/icons/BIK AI specific/Frame27599.d.ts +7 -0
- package/dist/cjs/icons/BIK AI specific/PricePlease.d.ts +7 -0
- package/dist/cjs/icons/BIK AI specific/Shape.d.ts +7 -0
- package/dist/cjs/icons/BIK AI specific/Shorter.d.ts +7 -0
- package/dist/cjs/icons/BIK AI specific/Sparkling2Line.d.ts +7 -0
- package/dist/cjs/icons/BIK AI specific/Write.d.ts +7 -0
- package/dist/cjs/icons/BIK AI specific/index.d.ts +13 -0
- package/dist/cjs/icons/Informational/Common UI/Bell.d.ts +7 -0
- package/dist/cjs/icons/Informational/Common UI/BellSync.d.ts +7 -0
- package/dist/cjs/icons/Informational/Common UI/Bulb.d.ts +7 -0
- package/dist/cjs/icons/Informational/Common UI/MenuHamburger.d.ts +7 -0
- package/dist/cjs/icons/Informational/Common UI/MessageSearch.d.ts +7 -0
- package/dist/cjs/icons/Informational/Common UI/MoreHorizontal.d.ts +7 -0
- package/dist/cjs/icons/Informational/Common UI/MoreVertical.d.ts +7 -0
- package/dist/cjs/icons/Informational/Common UI/Search.d.ts +7 -0
- package/dist/cjs/icons/Informational/Common UI/Settings.d.ts +7 -0
- package/dist/cjs/icons/Informational/Common UI/Training.d.ts +7 -0
- package/dist/cjs/icons/Informational/Common UI/index.d.ts +10 -0
- package/dist/cjs/icons/Informational/Communication/Chat.d.ts +7 -0
- package/dist/cjs/icons/Informational/Communication/ChatCheck.d.ts +7 -0
- package/dist/cjs/icons/Informational/Communication/ChatQuestion.d.ts +7 -0
- package/dist/cjs/icons/Informational/Communication/ChatStar.d.ts +7 -0
- package/dist/cjs/icons/Informational/Communication/Email.d.ts +7 -0
- package/dist/cjs/icons/Informational/Communication/Headphone.d.ts +7 -0
- package/dist/cjs/icons/Informational/Communication/LiveChat.d.ts +7 -0
- package/dist/cjs/icons/Informational/Communication/Phone.d.ts +7 -0
- package/dist/cjs/icons/Informational/Communication/index.d.ts +8 -0
- package/dist/cjs/icons/Informational/Customer intent/ClipboardCheck.d.ts +7 -0
- package/dist/cjs/icons/Informational/Customer intent/Experimental.d.ts +7 -0
- package/dist/cjs/icons/Informational/Customer intent/Frame27202.d.ts +7 -0
- package/dist/cjs/icons/Informational/Customer intent/Help.d.ts +7 -0
- package/dist/cjs/icons/Informational/Customer intent/Percent.d.ts +7 -0
- package/dist/cjs/icons/Informational/Customer intent/Purchase.d.ts +7 -0
- package/dist/cjs/icons/Informational/Customer intent/Services.d.ts +7 -0
- package/dist/cjs/icons/Informational/Customer intent/ShoppingCart.d.ts +7 -0
- package/dist/cjs/icons/Informational/Customer intent/SingleChoice.d.ts +7 -0
- package/dist/cjs/icons/Informational/Customer intent/Unsatisfactory.d.ts +7 -0
- package/dist/cjs/icons/Informational/Customer intent/UserSound.d.ts +7 -0
- package/dist/cjs/icons/Informational/Customer intent/index.d.ts +11 -0
- package/dist/cjs/icons/Informational/Date and time/Calendar.d.ts +7 -0
- package/dist/cjs/icons/Informational/Date and time/CalendarAdd.d.ts +7 -0
- package/dist/cjs/icons/Informational/Date and time/Clock.d.ts +7 -0
- package/dist/cjs/icons/Informational/Date and time/HourGlass.d.ts +7 -0
- package/dist/cjs/icons/Informational/Date and time/WorkingHours.d.ts +7 -0
- package/dist/cjs/icons/Informational/Date and time/index.d.ts +5 -0
- package/dist/cjs/icons/Informational/Files and folders/Archive1.d.ts +7 -0
- package/dist/cjs/icons/Informational/Files and folders/Excel.d.ts +7 -0
- package/dist/cjs/icons/Informational/Files and folders/File.d.ts +7 -0
- package/dist/cjs/icons/Informational/Files and folders/FileCsv.d.ts +7 -0
- package/dist/cjs/icons/Informational/Files and folders/FilePage.d.ts +7 -0
- package/dist/cjs/icons/Informational/Files and folders/FilePdf.d.ts +7 -0
- package/dist/cjs/icons/Informational/Files and folders/Folder.d.ts +7 -0
- package/dist/cjs/icons/Informational/Files and folders/MediaMessage.d.ts +7 -0
- package/dist/cjs/icons/Informational/Files and folders/Move.d.ts +7 -0
- package/dist/cjs/icons/Informational/Files and folders/OrderHistory.d.ts +7 -0
- package/dist/cjs/icons/Informational/Files and folders/TextMessage.d.ts +7 -0
- package/dist/cjs/icons/Informational/Files and folders/Unarchive.d.ts +7 -0
- package/dist/cjs/icons/Informational/Files and folders/index.d.ts +12 -0
- package/dist/cjs/icons/Informational/Finance/Bank.d.ts +7 -0
- package/dist/cjs/icons/Informational/Finance/CashOnDelivery.d.ts +7 -0
- package/dist/cjs/icons/Informational/Finance/ChartLine.d.ts +7 -0
- package/dist/cjs/icons/Informational/Finance/CreditCard.d.ts +7 -0
- package/dist/cjs/icons/Informational/Finance/Growth.d.ts +7 -0
- package/dist/cjs/icons/Informational/Finance/Money1.d.ts +7 -0
- package/dist/cjs/icons/Informational/Finance/NoCredits.d.ts +7 -0
- package/dist/cjs/icons/Informational/Finance/Percent.d.ts +7 -0
- package/dist/cjs/icons/Informational/Finance/Rupee.d.ts +7 -0
- package/dist/cjs/icons/Informational/Finance/TablerTicket.d.ts +7 -0
- package/dist/cjs/icons/Informational/Finance/Wallet.d.ts +7 -0
- package/dist/cjs/icons/Informational/Finance/index.d.ts +11 -0
- package/dist/cjs/icons/Informational/General/AlertTriangle.d.ts +7 -0
- package/dist/cjs/icons/Informational/General/Check.d.ts +7 -0
- package/dist/cjs/icons/Informational/General/CheckDouble.d.ts +7 -0
- package/dist/cjs/icons/Informational/General/CloseTicket1.d.ts +7 -0
- package/dist/cjs/icons/Informational/General/Error.d.ts +7 -0
- package/dist/cjs/icons/Informational/General/FailDoc.d.ts +7 -0
- package/dist/cjs/icons/Informational/General/Help.d.ts +7 -0
- package/dist/cjs/icons/Informational/General/IcList.d.ts +7 -0
- package/dist/cjs/icons/Informational/General/Info.d.ts +7 -0
- package/dist/cjs/icons/Informational/General/NewTicket.d.ts +7 -0
- package/dist/cjs/icons/Informational/General/RoundCheck.d.ts +7 -0
- package/dist/cjs/icons/Informational/General/Slash.d.ts +7 -0
- package/dist/cjs/icons/Informational/General/index.d.ts +12 -0
- package/dist/cjs/icons/Informational/Identity/Chatbot.d.ts +7 -0
- package/dist/cjs/icons/Informational/Identity/Contacts.d.ts +7 -0
- package/dist/cjs/icons/Informational/Identity/Group.d.ts +7 -0
- package/dist/cjs/icons/Informational/Identity/IdCard.d.ts +7 -0
- package/dist/cjs/icons/Informational/Identity/Person.d.ts +7 -0
- package/dist/cjs/icons/Informational/Identity/Robot.d.ts +7 -0
- package/dist/cjs/icons/Informational/Identity/Union.d.ts +7 -0
- package/dist/cjs/icons/Informational/Identity/Union1.d.ts +7 -0
- package/dist/cjs/icons/Informational/Identity/UserMinus1.d.ts +7 -0
- package/dist/cjs/icons/Informational/Identity/UserPlus.d.ts +7 -0
- package/dist/cjs/icons/Informational/Identity/index.d.ts +10 -0
- package/dist/cjs/icons/Informational/Location/Address.d.ts +7 -0
- package/dist/cjs/icons/Informational/Location/LanguageChange.d.ts +7 -0
- package/dist/cjs/icons/Informational/Location/MapPin.d.ts +7 -0
- package/dist/cjs/icons/Informational/Location/Truck.d.ts +7 -0
- package/dist/cjs/icons/Informational/Location/index.d.ts +4 -0
- package/dist/cjs/icons/Informational/Store related/AllDocs.d.ts +7 -0
- package/dist/cjs/icons/Informational/Store related/AllProduct.d.ts +7 -0
- package/dist/cjs/icons/Informational/Store related/Clipboard.d.ts +7 -0
- package/dist/cjs/icons/Informational/Store related/ClipboardCheck.d.ts +7 -0
- package/dist/cjs/icons/Informational/Store related/CustomerReport.d.ts +7 -0
- package/dist/cjs/icons/Informational/Store related/Head112.d.ts +7 -0
- package/dist/cjs/icons/Informational/Store related/InventoryReport.d.ts +7 -0
- package/dist/cjs/icons/Informational/Store related/OrderReport.d.ts +7 -0
- package/dist/cjs/icons/Informational/Store related/PaymentReport.d.ts +7 -0
- package/dist/cjs/icons/Informational/Store related/Store.d.ts +7 -0
- package/dist/cjs/icons/Informational/Store related/StoreSync.d.ts +7 -0
- package/dist/cjs/icons/Informational/Store related/index.d.ts +11 -0
- package/dist/cjs/icons/Informational/eCommerce/AddLabel.d.ts +7 -0
- package/dist/cjs/icons/Informational/eCommerce/Click.d.ts +7 -0
- package/dist/cjs/icons/Informational/eCommerce/Filter.d.ts +7 -0
- package/dist/cjs/icons/Informational/eCommerce/Gift1.d.ts +7 -0
- package/dist/cjs/icons/Informational/eCommerce/GiftMinus.d.ts +7 -0
- package/dist/cjs/icons/Informational/eCommerce/GiftPlus.d.ts +7 -0
- package/dist/cjs/icons/Informational/eCommerce/Promocode.d.ts +7 -0
- package/dist/cjs/icons/Informational/eCommerce/Receipt.d.ts +7 -0
- package/dist/cjs/icons/Informational/eCommerce/ShieldCheck.d.ts +7 -0
- package/dist/cjs/icons/Informational/eCommerce/ShoppingBag.d.ts +7 -0
- package/dist/cjs/icons/Informational/eCommerce/ShoppingBasket.d.ts +7 -0
- package/dist/cjs/icons/Informational/eCommerce/ShoppingCart.d.ts +7 -0
- package/dist/cjs/icons/Informational/eCommerce/index.d.ts +12 -0
- package/dist/cjs/icons/Legacy - Bikayi specific/Categories/Box.d.ts +7 -0
- package/dist/cjs/icons/Legacy - Bikayi specific/Categories/Box2.d.ts +7 -0
- package/dist/cjs/icons/Legacy - Bikayi specific/Categories/index.d.ts +2 -0
- package/dist/cjs/icons/Legacy - Bikayi specific/Navigation/Journeys.d.ts +7 -0
- package/dist/cjs/icons/Legacy - Bikayi specific/Navigation/Services.d.ts +7 -0
- package/dist/cjs/icons/Legacy - Bikayi specific/Navigation/index.d.ts +2 -0
- package/dist/cjs/icons/Legacy - Bikayi specific/Plans/PlanUltimate.d.ts +7 -0
- package/dist/cjs/icons/Legacy - Bikayi specific/Plans/index.d.ts +1 -0
- package/dist/cjs/icons/Legacy - Bikayi specific/Services/Businesscard.d.ts +7 -0
- package/dist/cjs/icons/Legacy - Bikayi specific/Services/Customdomain.d.ts +7 -0
- package/dist/cjs/icons/Legacy - Bikayi specific/Services/Marketing.d.ts +7 -0
- package/dist/cjs/icons/Legacy - Bikayi specific/Services/PaymentLink.d.ts +7 -0
- package/dist/cjs/icons/Legacy - Bikayi specific/Services/Theme.d.ts +7 -0
- package/dist/cjs/icons/Legacy - Bikayi specific/Services/index.d.ts +5 -0
- package/dist/cjs/icons/Media/Audio/Microphone.d.ts +7 -0
- package/dist/cjs/icons/Media/Audio/Pause.d.ts +7 -0
- package/dist/cjs/icons/Media/Audio/Play.d.ts +7 -0
- package/dist/cjs/icons/Media/Audio/Sleep.d.ts +7 -0
- package/dist/cjs/icons/Media/Audio/VolumeMute.d.ts +7 -0
- package/dist/cjs/icons/Media/Audio/VolumeOneline.d.ts +7 -0
- package/dist/cjs/icons/Media/Audio/VolumeTwoline.d.ts +7 -0
- package/dist/cjs/icons/Media/Audio/index.d.ts +7 -0
- package/dist/cjs/icons/Media/Devices/Desktop.d.ts +7 -0
- package/dist/cjs/icons/Media/Devices/Smartphone.d.ts +7 -0
- package/dist/cjs/icons/Media/Devices/index.d.ts +2 -0
- package/dist/cjs/icons/Media/Others/BarcodeScan.d.ts +7 -0
- package/dist/cjs/icons/Media/Others/Download.d.ts +7 -0
- package/dist/cjs/icons/Media/Others/EmojiSmile.d.ts +7 -0
- package/dist/cjs/icons/Media/Others/Paperclip.d.ts +7 -0
- package/dist/cjs/icons/Media/Others/Upload.d.ts +7 -0
- package/dist/cjs/icons/Media/Others/index.d.ts +5 -0
- package/dist/cjs/icons/Media/Visual/Camera.d.ts +7 -0
- package/dist/cjs/icons/Media/Visual/CameraAdd.d.ts +7 -0
- package/dist/cjs/icons/Media/Visual/Crop.d.ts +7 -0
- package/dist/cjs/icons/Media/Visual/FlashOff.d.ts +7 -0
- package/dist/cjs/icons/Media/Visual/FlashOn.d.ts +7 -0
- package/dist/cjs/icons/Media/Visual/Image.d.ts +7 -0
- package/dist/cjs/icons/Media/Visual/ImageAdd.d.ts +7 -0
- package/dist/cjs/icons/Media/Visual/Images.d.ts +7 -0
- package/dist/cjs/icons/Media/Visual/Maximize.d.ts +7 -0
- package/dist/cjs/icons/Media/Visual/RotateAnticlockwise.d.ts +7 -0
- package/dist/cjs/icons/Media/Visual/RotateClockwise.d.ts +7 -0
- package/dist/cjs/icons/Media/Visual/VideoCamcorder.d.ts +7 -0
- package/dist/cjs/icons/Media/Visual/VideoFilm.d.ts +7 -0
- package/dist/cjs/icons/Media/Visual/index.d.ts +13 -0
- package/dist/cjs/icons/Social/Channels /Email.d.ts +6 -0
- package/dist/cjs/icons/Social/Channels /EmailMarketing.d.ts +6 -0
- package/dist/cjs/icons/Social/Channels /Facebook.d.ts +6 -0
- package/dist/cjs/icons/Social/Channels /FacebookComment.d.ts +6 -0
- package/dist/cjs/icons/Social/Channels /Instagram.d.ts +6 -0
- package/dist/cjs/icons/Social/Channels /InstagramIcon.d.ts +6 -0
- package/dist/cjs/icons/Social/Channels /Messenger.d.ts +6 -0
- package/dist/cjs/icons/Social/Channels /Tasks.d.ts +6 -0
- package/dist/cjs/icons/Social/Channels /WebPush.d.ts +6 -0
- package/dist/cjs/icons/Social/Channels /WhatsApp.d.ts +6 -0
- package/dist/cjs/icons/Social/Channels /index.d.ts +10 -0
- package/dist/cjs/icons/Social/Social/EmailMarketing.d.ts +7 -0
- package/dist/cjs/icons/Social/Social/Facebook.d.ts +7 -0
- package/dist/cjs/icons/Social/Social/Google.d.ts +7 -0
- package/dist/cjs/icons/Social/Social/Instagram.d.ts +7 -0
- package/dist/cjs/icons/Social/Social/Messenger.d.ts +7 -0
- package/dist/cjs/icons/Social/Social/Rcs.d.ts +7 -0
- package/dist/cjs/icons/Social/Social/Twitter.d.ts +7 -0
- package/dist/cjs/icons/Social/Social/Website.d.ts +7 -0
- package/dist/cjs/icons/Social/Social/Whatsapp.d.ts +7 -0
- package/dist/cjs/icons/Social/Social/Youtube.d.ts +7 -0
- package/dist/cjs/icons/Social/Social/index.d.ts +10 -0
- package/dist/cjs/icons/Toggles/General/Eye.d.ts +7 -0
- package/dist/cjs/icons/Toggles/General/EyeClosed.d.ts +7 -0
- package/dist/cjs/icons/Toggles/General/EyeOff.d.ts +7 -0
- package/dist/cjs/icons/Toggles/General/HeartEmpty.d.ts +7 -0
- package/dist/cjs/icons/Toggles/General/HeartFilled.d.ts +7 -0
- package/dist/cjs/icons/Toggles/General/Lock.d.ts +7 -0
- package/dist/cjs/icons/Toggles/General/StarEmpty.d.ts +7 -0
- package/dist/cjs/icons/Toggles/General/StarFilled.d.ts +7 -0
- package/dist/cjs/icons/Toggles/General/StarHalf.d.ts +7 -0
- package/dist/cjs/icons/Toggles/General/Unlock.d.ts +7 -0
- package/dist/cjs/icons/Toggles/General/index.d.ts +10 -0
- package/dist/cjs/icons/index.d.ts +56 -0
- package/dist/cjs/icons/registry.d.ts +10 -0
- package/dist/cjs/index.d.ts +0 -3
- package/dist/cjs/index.js +1 -1
- package/dist/esm/assets/icons/Ai_event_generating.svg.js +1 -1
- package/dist/esm/components/ProgressChecklist/MultiChecklistItem.d.ts +1 -29
- package/dist/esm/components/ProgressChecklist/ProgressChecklist.d.ts +27 -1
- package/dist/esm/components/QueryBuilder/Filters/Event/components/EventFilter.js +1 -1
- package/dist/esm/components/QueryBuilder/components/Connectors/Components/EmojiPicker.d.ts +2 -1
- package/dist/esm/components/QueryBuilder/components/Connectors/Components/EmojiPicker.js +1 -1
- package/dist/esm/components/QueryBuilder/components/Connectors/Components/SingleselectDropdownFreeText.d.ts +2 -5
- package/dist/esm/components/QueryBuilder/components/Connectors/Components/SingleselectDropdownFreeText.js +1 -1
- package/dist/esm/components/QueryBuilder/components/Connectors/Connector.js +1 -1
- package/dist/esm/components/QueryBuilder/constants/connector.d.ts +1 -1
- package/dist/esm/components/QueryBuilder/constants/connector.js +1 -1
- package/dist/esm/components/QueryBuilder/constants/connectorPosition.js +1 -1
- package/dist/esm/components/QueryBuilder/helpers/Connector.helper.d.ts +1 -1
- package/dist/esm/components/QueryBuilder/helpers/Connector.helper.js +1 -1
- package/dist/esm/components/QueryBuilder/helpers/PropertyCustomProcessor.d.ts +1 -1
- package/dist/esm/components/QueryBuilder/helpers/SegmentValidator.d.ts +15 -3
- package/dist/esm/components/QueryBuilder/types/QueryBuilder.type.d.ts +22 -2
- package/dist/esm/components/QueryBuilder/types/QueryBuilder.type.js +1 -1
- package/dist/esm/components/QueryBuilder/types/QueryBuilderAPI.type.d.ts +1 -1
- package/dist/esm/components/QueryBuilder/types/QueryBuilderConnector.type.d.ts +1 -1
- package/dist/esm/components/QueryBuilder/types/index.d.ts +1 -2
- package/dist/esm/components/SearchFilter/components/DatePickerButton.d.ts +1 -1
- package/dist/esm/components/SearchFilter/components/DateRangeOnlyButton.d.ts +1 -1
- package/dist/esm/components/SearchFilter/components/SearchFilterItem.d.ts +1 -1
- package/dist/esm/components/SearchFilter/types/SearchFilter.type.d.ts +1 -1
- package/dist/esm/components/WhatsAppTextEditor/AIRephraseButton.d.ts +1 -4
- package/dist/esm/components/WhatsAppTextEditor/WhatsAppTextEditor.d.ts +1 -4
- package/dist/esm/components/WhatsAppTextEditor/WhatsAppTextEditorHeader.d.ts +4 -1
- package/dist/esm/components/WhatsAppTextEditor/ai/actionRegistry.d.ts +1 -2
- package/dist/esm/components/accordion/Accordion.d.ts +35 -2
- package/dist/esm/components/accordion/Accordion.style.d.ts +1 -1
- package/dist/esm/components/analytics-card/AnalyticsCard.d.ts +1 -1
- package/dist/esm/components/analytics-card/AnalyticsCard.styled.d.ts +1 -1
- package/dist/esm/components/analytics-chips-and-dropdowns/AnalyticsChip.d.ts +17 -1
- package/dist/esm/components/analytics-chips-and-dropdowns/AnalyticsChipChannelFooter.d.ts +1 -1
- package/dist/esm/components/analytics-chips-and-dropdowns/AnalyticsMultiChip.d.ts +1 -1
- package/dist/esm/components/analytics-chips-and-dropdowns/chart/Pie/PieChartAnalytics.js +1 -1
- package/dist/esm/components/analytics-chips-and-dropdowns/chart/VerticalBarGraph/VerticalGraph.js +1 -1
- package/dist/esm/components/avatar/Avatar.js +1 -1
- package/dist/esm/components/bik-layout/BikSidebar.d.ts +1 -1
- package/dist/esm/components/bik-layout/SidebarPopup.d.ts +1 -1
- package/dist/esm/components/bik-layout/SidebarSkeleton.d.ts +1 -1
- package/dist/esm/components/bik-layout/SidebarStyles.d.ts +1 -1
- package/dist/esm/components/bik-layout/SimpleSidebar.d.ts +27 -1
- package/dist/esm/components/floating-input-dropdown/FloatingInputDropdown.d.ts +1 -1
- package/dist/esm/components/image-cropper/BikImageCropper.d.ts +6 -1
- package/dist/esm/components/image-cropper/BikImagePipeline/BikImagePipeline.d.ts +1 -1
- package/dist/esm/components/input/ChipInput.js +1 -1
- package/dist/esm/components/input/ChipInput.styled.d.ts +66 -6
- package/dist/esm/components/input/ChipInput.styled.js +1 -1
- package/dist/esm/components/input/Input-helper.d.ts +1 -1
- package/dist/esm/components/input/Input.d.ts +72 -1
- package/dist/esm/components/input/Input.styled.d.ts +1 -1
- package/dist/esm/components/input-with-vars/InputWithVariables.d.ts +1 -1
- package/dist/esm/components/list-item/ListItem.d.ts +17 -1
- package/dist/esm/components/list-item/ListItem.styled.d.ts +1 -1
- package/dist/esm/components/list-item/themes.d.ts +1 -1
- package/dist/esm/components/multi-level-dropdown/GroupedMenuList.d.ts +1 -2
- package/dist/esm/components/multi-level-dropdown/GroupedMenuList.js +1 -1
- package/dist/esm/components/multi-level-dropdown/MenuItem.d.ts +1 -2
- package/dist/esm/components/multi-level-dropdown/MenuItem.js +1 -1
- package/dist/esm/components/multi-level-dropdown/MenuList.js +1 -1
- package/dist/esm/components/multi-level-dropdown/type.d.ts +1 -2
- package/dist/esm/components/product-picker-v2/ProductPickerTag.d.ts +2 -2
- package/dist/esm/components/product-picker-v2/collectionScreen.d.ts +3 -3
- package/dist/esm/components/product-picker-v2/helpers/ProductHelper.d.ts +4 -3
- package/dist/esm/components/product-picker-v2/index.d.ts +1 -1
- package/dist/esm/components/product-picker-v2/modal.d.ts +58 -2
- package/dist/esm/components/product-picker-v2/product.d.ts +3 -2
- package/dist/esm/components/product-picker-v2/productInfoOverlay.d.ts +2 -1
- package/dist/esm/components/product-picker-v2/productScreen.d.ts +3 -3
- package/dist/esm/components/product-picker-v2/productScreen.js +1 -1
- package/dist/esm/components/product-picker-v2/rearrangeScreen.d.ts +4 -3
- package/dist/esm/components/product-picker-v2/reducers.d.ts +1 -1
- package/dist/esm/components/product-picker-v2/reducers.js +1 -1
- package/dist/esm/components/product-picker-v2/searchScreen.d.ts +4 -3
- package/dist/esm/components/product-picker-v2/selectedScreen.d.ts +4 -3
- package/dist/esm/components/product-picker-v2/type.d.ts +0 -65
- package/dist/esm/components/product-picker-v2/utility.d.ts +3 -3
- package/dist/esm/components/product-picker-v2/utility.js +1 -1
- package/dist/esm/components/product-picker-v2/variant.d.ts +12 -2
- package/dist/esm/components/product-picker-v2/variantComponents.d.ts +3 -2
- package/dist/esm/components/sample-button/SampleButton.d.ts +16 -1
- package/dist/esm/components/sample-button/SampleButton.styled.d.ts +1 -1
- package/dist/esm/components/sample-button/themes.d.ts +1 -1
- package/dist/esm/components/searchBar/searchBar.d.ts +1 -1
- package/dist/esm/components/slider/slider.js +1 -1
- package/dist/esm/components/stepper/Stepper.d.ts +17 -1
- package/dist/esm/components/stepper/Stepper.styled.d.ts +1 -1
- package/dist/esm/components/stepper/StepperService.d.ts +1 -1
- package/dist/esm/components/stepper/themes.d.ts +1 -1
- package/dist/esm/components/template-context-mapper/TemplateContextMapper.d.ts +9 -9
- package/dist/esm/components/template-context-mapper/TemplateContextMapper.js +1 -1
- package/dist/esm/components/template-context-mapper/context/templateModalContext.d.ts +7 -7
- package/dist/esm/components/template-context-mapper/custom-hooks/useAdditionalVariables.d.ts +1 -1
- package/dist/esm/components/template-context-mapper/helpers/WebpushTemplateHelper.d.ts +4 -6
- package/dist/esm/components/template-context-mapper/helpers/WebpushTemplateHelper.js +1 -1
- package/dist/esm/components/template-context-mapper/modalElements/Body.d.ts +2 -2
- package/dist/esm/components/template-context-mapper/modalElements/Body.js +10 -10
- package/dist/esm/components/template-context-mapper/modalElements/DesktopPreview.js +6 -6
- package/dist/esm/components/template-context-mapper/modalElements/EditMediaModal.d.ts +3 -3
- package/dist/esm/components/template-context-mapper/modalElements/EditMediaModal.js +1 -1
- package/dist/esm/components/template-context-mapper/modalElements/EditWebpushTemplate.d.ts +2 -2
- package/dist/esm/components/template-context-mapper/modalElements/EditWebpushTemplate.js +1 -1
- package/dist/esm/components/template-context-mapper/modalElements/EditWhatsAppCarouselTemplateV2.d.ts +14 -3
- package/dist/esm/components/template-context-mapper/modalElements/EditWhatsAppCarouselTemplateV2.js +1 -1
- package/dist/esm/components/template-context-mapper/modalElements/EditWhatsAppTemplateV2.d.ts +5 -5
- package/dist/esm/components/template-context-mapper/modalElements/EditWhatsAppTemplateV2.js +1 -1
- package/dist/esm/components/template-context-mapper/modalElements/Footer.js +4 -4
- package/dist/esm/components/template-context-mapper/modalElements/MobilePreview.d.ts +1 -1
- package/dist/esm/components/template-context-mapper/modalElements/MobilePreview.js +5 -5
- package/dist/esm/components/template-context-mapper/modalElements/QualityWarningModal.d.ts +1 -1
- package/dist/esm/components/template-context-mapper/modalElements/TemplateAnalyticsComponent.d.ts +1 -1
- package/dist/esm/components/template-context-mapper/modalElements/TemplateSelectModalContent.d.ts +2 -2
- package/dist/esm/components/template-context-mapper/modalElements/VariableConnector.d.ts +1 -1
- package/dist/esm/components/template-context-mapper/modalElements/VariableConnector.js +1 -1
- package/dist/esm/components/template-context-mapper/modalElements/VariableConnectorWhatsApp.d.ts +4 -5
- package/dist/esm/components/template-context-mapper/modalElements/VariableConnectorWhatsApp.js +1 -1
- package/dist/esm/components/template-context-mapper/modalElements/VariableEditorHeader.d.ts +1 -1
- package/dist/esm/components/template-context-mapper/modalElements/WhatsAppTemplateCardButtonV2.d.ts +2 -2
- package/dist/esm/components/template-context-mapper/modalElements/WhatsAppTemplateCardButtonV2.js +1 -1
- package/dist/esm/components/template-context-mapper/modalElements/useEditWhtasappTemplateMedia.d.ts +1 -1
- package/dist/esm/components/template-context-mapper/modalElements/useEditWhtasappTemplateMedia.js +1 -1
- package/dist/esm/components/template-context-mapper/utils/convertPlaceholdersToBikDropdown.d.ts +2 -2
- package/dist/esm/components/template-context-mapper/utils/getDataFromTemplateComponent.d.ts +2 -2
- package/dist/esm/components/template-context-mapper/utils/highlightFor.d.ts +1 -1
- package/dist/esm/components/template-preview/models/TemplateMeta.d.ts +1 -1
- package/dist/esm/components/template-preview/models/WhatsappCarouselTemplate.d.ts +2 -2
- package/dist/esm/components/toaster/Toaster.styled.js +1 -1
- package/dist/esm/components/variable-picker-v3/SubHeaderItems.js +1 -1
- package/dist/esm/icons/Actions/Common actions/Activate.d.ts +7 -0
- package/dist/esm/icons/Actions/Common actions/Code.d.ts +7 -0
- package/dist/esm/icons/Actions/Common actions/Cross.d.ts +7 -0
- package/dist/esm/icons/Actions/Common actions/Deactivate.d.ts +7 -0
- package/dist/esm/icons/Actions/Common actions/Delete.d.ts +7 -0
- package/dist/esm/icons/Actions/Common actions/Edit.d.ts +7 -0
- package/dist/esm/icons/Actions/Common actions/Forward.d.ts +7 -0
- package/dist/esm/icons/Actions/Common actions/Fullscreen.d.ts +7 -0
- package/dist/esm/icons/Actions/Common actions/LinkSimpleHorizontal.d.ts +7 -0
- package/dist/esm/icons/Actions/Common actions/Minus.d.ts +7 -0
- package/dist/esm/icons/Actions/Common actions/Plus.d.ts +7 -0
- package/dist/esm/icons/Actions/Common actions/SendAirplane.d.ts +7 -0
- package/dist/esm/icons/Actions/Common actions/ShareAndroid.d.ts +7 -0
- package/dist/esm/icons/Actions/Common actions/index.d.ts +13 -0
- package/dist/esm/icons/Actions/Formatting/CheckboxIcon.d.ts +7 -0
- package/dist/esm/icons/Actions/Formatting/Copy.d.ts +7 -0
- package/dist/esm/icons/Actions/Formatting/Dropdown.d.ts +7 -0
- package/dist/esm/icons/Actions/Formatting/MultiLine.d.ts +7 -0
- package/dist/esm/icons/Actions/Formatting/MultiSelect.d.ts +7 -0
- package/dist/esm/icons/Actions/Formatting/Number.d.ts +7 -0
- package/dist/esm/icons/Actions/Formatting/Text.d.ts +7 -0
- package/dist/esm/icons/Actions/Formatting/Textbox.d.ts +7 -0
- package/dist/esm/icons/Actions/Formatting/index.d.ts +8 -0
- package/dist/esm/icons/Actions/Navigation/ArrowRedo.d.ts +7 -0
- package/dist/esm/icons/Actions/Navigation/ArrowUndo.d.ts +7 -0
- package/dist/esm/icons/Actions/Navigation/LogIn.d.ts +7 -0
- package/dist/esm/icons/Actions/Navigation/LogOut.d.ts +7 -0
- package/dist/esm/icons/Actions/Navigation/OpenNewWindow.d.ts +7 -0
- package/dist/esm/icons/Actions/Navigation/Refresh.d.ts +7 -0
- package/dist/esm/icons/Actions/Navigation/Rewind.d.ts +7 -0
- package/dist/esm/icons/Actions/Navigation/Sync.d.ts +7 -0
- package/dist/esm/icons/Actions/Navigation/index.d.ts +8 -0
- package/dist/esm/icons/Actions/Selection/HandleDrag.d.ts +7 -0
- package/dist/esm/icons/Actions/Selection/SelectDocManually.d.ts +7 -0
- package/dist/esm/icons/Actions/Selection/SingleChoice.d.ts +7 -0
- package/dist/esm/icons/Actions/Selection/index.d.ts +3 -0
- package/dist/esm/icons/Arrows/Carat/CaratDown.d.ts +7 -0
- package/dist/esm/icons/Arrows/Carat/CaratLeft.d.ts +7 -0
- package/dist/esm/icons/Arrows/Carat/CaratRight.d.ts +7 -0
- package/dist/esm/icons/Arrows/Carat/CaratUp.d.ts +7 -0
- package/dist/esm/icons/Arrows/Carat/index.d.ts +4 -0
- package/dist/esm/icons/Arrows/Chevron/ChevronDown.d.ts +7 -0
- package/dist/esm/icons/Arrows/Chevron/ChevronLeft.d.ts +7 -0
- package/dist/esm/icons/Arrows/Chevron/ChevronRight.d.ts +7 -0
- package/dist/esm/icons/Arrows/Chevron/ChevronUp.d.ts +7 -0
- package/dist/esm/icons/Arrows/Chevron/index.d.ts +4 -0
- package/dist/esm/icons/Arrows/Double chevron/ChevronDoubleDown.d.ts +7 -0
- package/dist/esm/icons/Arrows/Double chevron/ChevronDoubleLeft.d.ts +7 -0
- package/dist/esm/icons/Arrows/Double chevron/ChevronDoubleRight.d.ts +7 -0
- package/dist/esm/icons/Arrows/Double chevron/ChevronDoubleUp.d.ts +7 -0
- package/dist/esm/icons/Arrows/Double chevron/index.d.ts +4 -0
- package/dist/esm/icons/Arrows/Normal arrows/ArrowDown.d.ts +7 -0
- package/dist/esm/icons/Arrows/Normal arrows/ArrowDown1.d.ts +7 -0
- package/dist/esm/icons/Arrows/Normal arrows/ArrowDownLeft.d.ts +7 -0
- package/dist/esm/icons/Arrows/Normal arrows/ArrowDownLeft1.d.ts +7 -0
- package/dist/esm/icons/Arrows/Normal arrows/ArrowDownRight.d.ts +7 -0
- package/dist/esm/icons/Arrows/Normal arrows/ArrowDownRight1.d.ts +7 -0
- package/dist/esm/icons/Arrows/Normal arrows/ArrowLeft.d.ts +7 -0
- package/dist/esm/icons/Arrows/Normal arrows/ArrowLeft1.d.ts +7 -0
- package/dist/esm/icons/Arrows/Normal arrows/ArrowRight.d.ts +7 -0
- package/dist/esm/icons/Arrows/Normal arrows/ArrowRight1.d.ts +7 -0
- package/dist/esm/icons/Arrows/Normal arrows/ArrowUp.d.ts +7 -0
- package/dist/esm/icons/Arrows/Normal arrows/ArrowUp1.d.ts +7 -0
- package/dist/esm/icons/Arrows/Normal arrows/ArrowUpLeft.d.ts +7 -0
- package/dist/esm/icons/Arrows/Normal arrows/ArrowUpLeft1.d.ts +7 -0
- package/dist/esm/icons/Arrows/Normal arrows/ArrowUpRight.d.ts +7 -0
- package/dist/esm/icons/Arrows/Normal arrows/ArrowUpRight1.d.ts +7 -0
- package/dist/esm/icons/Arrows/Normal arrows/index.d.ts +16 -0
- package/dist/esm/icons/Arrows/Special/ArrowSwitch.d.ts +7 -0
- package/dist/esm/icons/Arrows/Special/ArrowSwitch1.d.ts +7 -0
- package/dist/esm/icons/Arrows/Special/index.d.ts +2 -0
- package/dist/esm/icons/BIK AI specific/AiEmoji.d.ts +7 -0
- package/dist/esm/icons/BIK AI specific/AiRobot.d.ts +7 -0
- package/dist/esm/icons/BIK AI specific/Expand.d.ts +7 -0
- package/dist/esm/icons/BIK AI specific/Frame27202.d.ts +7 -0
- package/dist/esm/icons/BIK AI specific/Frame27389.d.ts +7 -0
- package/dist/esm/icons/BIK AI specific/Frame27597.d.ts +7 -0
- package/dist/esm/icons/BIK AI specific/Frame27598.d.ts +7 -0
- package/dist/esm/icons/BIK AI specific/Frame27599.d.ts +7 -0
- package/dist/esm/icons/BIK AI specific/PricePlease.d.ts +7 -0
- package/dist/esm/icons/BIK AI specific/Shape.d.ts +7 -0
- package/dist/esm/icons/BIK AI specific/Shorter.d.ts +7 -0
- package/dist/esm/icons/BIK AI specific/Sparkling2Line.d.ts +7 -0
- package/dist/esm/icons/BIK AI specific/Write.d.ts +7 -0
- package/dist/esm/icons/BIK AI specific/index.d.ts +13 -0
- package/dist/esm/icons/Informational/Common UI/Bell.d.ts +7 -0
- package/dist/esm/icons/Informational/Common UI/BellSync.d.ts +7 -0
- package/dist/esm/icons/Informational/Common UI/Bulb.d.ts +7 -0
- package/dist/esm/icons/Informational/Common UI/MenuHamburger.d.ts +7 -0
- package/dist/esm/icons/Informational/Common UI/MessageSearch.d.ts +7 -0
- package/dist/esm/icons/Informational/Common UI/MoreHorizontal.d.ts +7 -0
- package/dist/esm/icons/Informational/Common UI/MoreVertical.d.ts +7 -0
- package/dist/esm/icons/Informational/Common UI/Search.d.ts +7 -0
- package/dist/esm/icons/Informational/Common UI/Settings.d.ts +7 -0
- package/dist/esm/icons/Informational/Common UI/Training.d.ts +7 -0
- package/dist/esm/icons/Informational/Common UI/index.d.ts +10 -0
- package/dist/esm/icons/Informational/Communication/Chat.d.ts +7 -0
- package/dist/esm/icons/Informational/Communication/ChatCheck.d.ts +7 -0
- package/dist/esm/icons/Informational/Communication/ChatQuestion.d.ts +7 -0
- package/dist/esm/icons/Informational/Communication/ChatStar.d.ts +7 -0
- package/dist/esm/icons/Informational/Communication/Email.d.ts +7 -0
- package/dist/esm/icons/Informational/Communication/Headphone.d.ts +7 -0
- package/dist/esm/icons/Informational/Communication/LiveChat.d.ts +7 -0
- package/dist/esm/icons/Informational/Communication/Phone.d.ts +7 -0
- package/dist/esm/icons/Informational/Communication/index.d.ts +8 -0
- package/dist/esm/icons/Informational/Customer intent/ClipboardCheck.d.ts +7 -0
- package/dist/esm/icons/Informational/Customer intent/Experimental.d.ts +7 -0
- package/dist/esm/icons/Informational/Customer intent/Frame27202.d.ts +7 -0
- package/dist/esm/icons/Informational/Customer intent/Help.d.ts +7 -0
- package/dist/esm/icons/Informational/Customer intent/Percent.d.ts +7 -0
- package/dist/esm/icons/Informational/Customer intent/Purchase.d.ts +7 -0
- package/dist/esm/icons/Informational/Customer intent/Services.d.ts +7 -0
- package/dist/esm/icons/Informational/Customer intent/ShoppingCart.d.ts +7 -0
- package/dist/esm/icons/Informational/Customer intent/SingleChoice.d.ts +7 -0
- package/dist/esm/icons/Informational/Customer intent/Unsatisfactory.d.ts +7 -0
- package/dist/esm/icons/Informational/Customer intent/UserSound.d.ts +7 -0
- package/dist/esm/icons/Informational/Customer intent/index.d.ts +11 -0
- package/dist/esm/icons/Informational/Date and time/Calendar.d.ts +7 -0
- package/dist/esm/icons/Informational/Date and time/CalendarAdd.d.ts +7 -0
- package/dist/esm/icons/Informational/Date and time/Clock.d.ts +7 -0
- package/dist/esm/icons/Informational/Date and time/HourGlass.d.ts +7 -0
- package/dist/esm/icons/Informational/Date and time/WorkingHours.d.ts +7 -0
- package/dist/esm/icons/Informational/Date and time/index.d.ts +5 -0
- package/dist/esm/icons/Informational/Files and folders/Archive1.d.ts +7 -0
- package/dist/esm/icons/Informational/Files and folders/Excel.d.ts +7 -0
- package/dist/esm/icons/Informational/Files and folders/File.d.ts +7 -0
- package/dist/esm/icons/Informational/Files and folders/FileCsv.d.ts +7 -0
- package/dist/esm/icons/Informational/Files and folders/FilePage.d.ts +7 -0
- package/dist/esm/icons/Informational/Files and folders/FilePdf.d.ts +7 -0
- package/dist/esm/icons/Informational/Files and folders/Folder.d.ts +7 -0
- package/dist/esm/icons/Informational/Files and folders/MediaMessage.d.ts +7 -0
- package/dist/esm/icons/Informational/Files and folders/Move.d.ts +7 -0
- package/dist/esm/icons/Informational/Files and folders/OrderHistory.d.ts +7 -0
- package/dist/esm/icons/Informational/Files and folders/TextMessage.d.ts +7 -0
- package/dist/esm/icons/Informational/Files and folders/Unarchive.d.ts +7 -0
- package/dist/esm/icons/Informational/Files and folders/index.d.ts +12 -0
- package/dist/esm/icons/Informational/Finance/Bank.d.ts +7 -0
- package/dist/esm/icons/Informational/Finance/CashOnDelivery.d.ts +7 -0
- package/dist/esm/icons/Informational/Finance/ChartLine.d.ts +7 -0
- package/dist/esm/icons/Informational/Finance/CreditCard.d.ts +7 -0
- package/dist/esm/icons/Informational/Finance/Growth.d.ts +7 -0
- package/dist/esm/icons/Informational/Finance/Money1.d.ts +7 -0
- package/dist/esm/icons/Informational/Finance/NoCredits.d.ts +7 -0
- package/dist/esm/icons/Informational/Finance/Percent.d.ts +7 -0
- package/dist/esm/icons/Informational/Finance/Rupee.d.ts +7 -0
- package/dist/esm/icons/Informational/Finance/TablerTicket.d.ts +7 -0
- package/dist/esm/icons/Informational/Finance/Wallet.d.ts +7 -0
- package/dist/esm/icons/Informational/Finance/index.d.ts +11 -0
- package/dist/esm/icons/Informational/General/AlertTriangle.d.ts +7 -0
- package/dist/esm/icons/Informational/General/Check.d.ts +7 -0
- package/dist/esm/icons/Informational/General/CheckDouble.d.ts +7 -0
- package/dist/esm/icons/Informational/General/CloseTicket1.d.ts +7 -0
- package/dist/esm/icons/Informational/General/Error.d.ts +7 -0
- package/dist/esm/icons/Informational/General/FailDoc.d.ts +7 -0
- package/dist/esm/icons/Informational/General/Help.d.ts +7 -0
- package/dist/esm/icons/Informational/General/IcList.d.ts +7 -0
- package/dist/esm/icons/Informational/General/Info.d.ts +7 -0
- package/dist/esm/icons/Informational/General/NewTicket.d.ts +7 -0
- package/dist/esm/icons/Informational/General/RoundCheck.d.ts +7 -0
- package/dist/esm/icons/Informational/General/Slash.d.ts +7 -0
- package/dist/esm/icons/Informational/General/index.d.ts +12 -0
- package/dist/esm/icons/Informational/Identity/Chatbot.d.ts +7 -0
- package/dist/esm/icons/Informational/Identity/Contacts.d.ts +7 -0
- package/dist/esm/icons/Informational/Identity/Group.d.ts +7 -0
- package/dist/esm/icons/Informational/Identity/IdCard.d.ts +7 -0
- package/dist/esm/icons/Informational/Identity/Person.d.ts +7 -0
- package/dist/esm/icons/Informational/Identity/Robot.d.ts +7 -0
- package/dist/esm/icons/Informational/Identity/Union.d.ts +7 -0
- package/dist/esm/icons/Informational/Identity/Union1.d.ts +7 -0
- package/dist/esm/icons/Informational/Identity/UserMinus1.d.ts +7 -0
- package/dist/esm/icons/Informational/Identity/UserPlus.d.ts +7 -0
- package/dist/esm/icons/Informational/Identity/index.d.ts +10 -0
- package/dist/esm/icons/Informational/Location/Address.d.ts +7 -0
- package/dist/esm/icons/Informational/Location/LanguageChange.d.ts +7 -0
- package/dist/esm/icons/Informational/Location/MapPin.d.ts +7 -0
- package/dist/esm/icons/Informational/Location/Truck.d.ts +7 -0
- package/dist/esm/icons/Informational/Location/index.d.ts +4 -0
- package/dist/esm/icons/Informational/Store related/AllDocs.d.ts +7 -0
- package/dist/esm/icons/Informational/Store related/AllProduct.d.ts +7 -0
- package/dist/esm/icons/Informational/Store related/Clipboard.d.ts +7 -0
- package/dist/esm/icons/Informational/Store related/ClipboardCheck.d.ts +7 -0
- package/dist/esm/icons/Informational/Store related/CustomerReport.d.ts +7 -0
- package/dist/esm/icons/Informational/Store related/Head112.d.ts +7 -0
- package/dist/esm/icons/Informational/Store related/InventoryReport.d.ts +7 -0
- package/dist/esm/icons/Informational/Store related/OrderReport.d.ts +7 -0
- package/dist/esm/icons/Informational/Store related/PaymentReport.d.ts +7 -0
- package/dist/esm/icons/Informational/Store related/Store.d.ts +7 -0
- package/dist/esm/icons/Informational/Store related/StoreSync.d.ts +7 -0
- package/dist/esm/icons/Informational/Store related/index.d.ts +11 -0
- package/dist/esm/icons/Informational/eCommerce/AddLabel.d.ts +7 -0
- package/dist/esm/icons/Informational/eCommerce/Click.d.ts +7 -0
- package/dist/esm/icons/Informational/eCommerce/Filter.d.ts +7 -0
- package/dist/esm/icons/Informational/eCommerce/Gift1.d.ts +7 -0
- package/dist/esm/icons/Informational/eCommerce/GiftMinus.d.ts +7 -0
- package/dist/esm/icons/Informational/eCommerce/GiftPlus.d.ts +7 -0
- package/dist/esm/icons/Informational/eCommerce/Promocode.d.ts +7 -0
- package/dist/esm/icons/Informational/eCommerce/Receipt.d.ts +7 -0
- package/dist/esm/icons/Informational/eCommerce/ShieldCheck.d.ts +7 -0
- package/dist/esm/icons/Informational/eCommerce/ShoppingBag.d.ts +7 -0
- package/dist/esm/icons/Informational/eCommerce/ShoppingBasket.d.ts +7 -0
- package/dist/esm/icons/Informational/eCommerce/ShoppingCart.d.ts +7 -0
- package/dist/esm/icons/Informational/eCommerce/index.d.ts +12 -0
- package/dist/esm/icons/Legacy - Bikayi specific/Categories/Box.d.ts +7 -0
- package/dist/esm/icons/Legacy - Bikayi specific/Categories/Box2.d.ts +7 -0
- package/dist/esm/icons/Legacy - Bikayi specific/Categories/index.d.ts +2 -0
- package/dist/esm/icons/Legacy - Bikayi specific/Navigation/Journeys.d.ts +7 -0
- package/dist/esm/icons/Legacy - Bikayi specific/Navigation/Services.d.ts +7 -0
- package/dist/esm/icons/Legacy - Bikayi specific/Navigation/index.d.ts +2 -0
- package/dist/esm/icons/Legacy - Bikayi specific/Plans/PlanUltimate.d.ts +7 -0
- package/dist/esm/icons/Legacy - Bikayi specific/Plans/index.d.ts +1 -0
- package/dist/esm/icons/Legacy - Bikayi specific/Services/Businesscard.d.ts +7 -0
- package/dist/esm/icons/Legacy - Bikayi specific/Services/Customdomain.d.ts +7 -0
- package/dist/esm/icons/Legacy - Bikayi specific/Services/Marketing.d.ts +7 -0
- package/dist/esm/icons/Legacy - Bikayi specific/Services/PaymentLink.d.ts +7 -0
- package/dist/esm/icons/Legacy - Bikayi specific/Services/Theme.d.ts +7 -0
- package/dist/esm/icons/Legacy - Bikayi specific/Services/index.d.ts +5 -0
- package/dist/esm/icons/Media/Audio/Microphone.d.ts +7 -0
- package/dist/esm/icons/Media/Audio/Pause.d.ts +7 -0
- package/dist/esm/icons/Media/Audio/Play.d.ts +7 -0
- package/dist/esm/icons/Media/Audio/Sleep.d.ts +7 -0
- package/dist/esm/icons/Media/Audio/VolumeMute.d.ts +7 -0
- package/dist/esm/icons/Media/Audio/VolumeOneline.d.ts +7 -0
- package/dist/esm/icons/Media/Audio/VolumeTwoline.d.ts +7 -0
- package/dist/esm/icons/Media/Audio/index.d.ts +7 -0
- package/dist/esm/icons/Media/Devices/Desktop.d.ts +7 -0
- package/dist/esm/icons/Media/Devices/Smartphone.d.ts +7 -0
- package/dist/esm/icons/Media/Devices/index.d.ts +2 -0
- package/dist/esm/icons/Media/Others/BarcodeScan.d.ts +7 -0
- package/dist/esm/icons/Media/Others/Download.d.ts +7 -0
- package/dist/esm/icons/Media/Others/EmojiSmile.d.ts +7 -0
- package/dist/esm/icons/Media/Others/Paperclip.d.ts +7 -0
- package/dist/esm/icons/Media/Others/Upload.d.ts +7 -0
- package/dist/esm/icons/Media/Others/index.d.ts +5 -0
- package/dist/esm/icons/Media/Visual/Camera.d.ts +7 -0
- package/dist/esm/icons/Media/Visual/CameraAdd.d.ts +7 -0
- package/dist/esm/icons/Media/Visual/Crop.d.ts +7 -0
- package/dist/esm/icons/Media/Visual/FlashOff.d.ts +7 -0
- package/dist/esm/icons/Media/Visual/FlashOn.d.ts +7 -0
- package/dist/esm/icons/Media/Visual/Image.d.ts +7 -0
- package/dist/esm/icons/Media/Visual/ImageAdd.d.ts +7 -0
- package/dist/esm/icons/Media/Visual/Images.d.ts +7 -0
- package/dist/esm/icons/Media/Visual/Maximize.d.ts +7 -0
- package/dist/esm/icons/Media/Visual/RotateAnticlockwise.d.ts +7 -0
- package/dist/esm/icons/Media/Visual/RotateClockwise.d.ts +7 -0
- package/dist/esm/icons/Media/Visual/VideoCamcorder.d.ts +7 -0
- package/dist/esm/icons/Media/Visual/VideoFilm.d.ts +7 -0
- package/dist/esm/icons/Media/Visual/index.d.ts +13 -0
- package/dist/esm/icons/Social/Channels /Email.d.ts +6 -0
- package/dist/esm/icons/Social/Channels /EmailMarketing.d.ts +6 -0
- package/dist/esm/icons/Social/Channels /Facebook.d.ts +6 -0
- package/dist/esm/icons/Social/Channels /FacebookComment.d.ts +6 -0
- package/dist/esm/icons/Social/Channels /Instagram.d.ts +6 -0
- package/dist/esm/icons/Social/Channels /InstagramIcon.d.ts +6 -0
- package/dist/esm/icons/Social/Channels /Messenger.d.ts +6 -0
- package/dist/esm/icons/Social/Channels /Tasks.d.ts +6 -0
- package/dist/esm/icons/Social/Channels /WebPush.d.ts +6 -0
- package/dist/esm/icons/Social/Channels /WhatsApp.d.ts +6 -0
- package/dist/esm/icons/Social/Channels /index.d.ts +10 -0
- package/dist/esm/icons/Social/Social/EmailMarketing.d.ts +7 -0
- package/dist/esm/icons/Social/Social/Facebook.d.ts +7 -0
- package/dist/esm/icons/Social/Social/Google.d.ts +7 -0
- package/dist/esm/icons/Social/Social/Instagram.d.ts +7 -0
- package/dist/esm/icons/Social/Social/Messenger.d.ts +7 -0
- package/dist/esm/icons/Social/Social/Rcs.d.ts +7 -0
- package/dist/esm/icons/Social/Social/Twitter.d.ts +7 -0
- package/dist/esm/icons/Social/Social/Website.d.ts +7 -0
- package/dist/esm/icons/Social/Social/Whatsapp.d.ts +7 -0
- package/dist/esm/icons/Social/Social/Youtube.d.ts +7 -0
- package/dist/esm/icons/Social/Social/index.d.ts +10 -0
- package/dist/esm/icons/Toggles/General/Eye.d.ts +7 -0
- package/dist/esm/icons/Toggles/General/EyeClosed.d.ts +7 -0
- package/dist/esm/icons/Toggles/General/EyeOff.d.ts +7 -0
- package/dist/esm/icons/Toggles/General/HeartEmpty.d.ts +7 -0
- package/dist/esm/icons/Toggles/General/HeartFilled.d.ts +7 -0
- package/dist/esm/icons/Toggles/General/Lock.d.ts +7 -0
- package/dist/esm/icons/Toggles/General/StarEmpty.d.ts +7 -0
- package/dist/esm/icons/Toggles/General/StarFilled.d.ts +7 -0
- package/dist/esm/icons/Toggles/General/StarHalf.d.ts +7 -0
- package/dist/esm/icons/Toggles/General/Unlock.d.ts +7 -0
- package/dist/esm/icons/Toggles/General/index.d.ts +10 -0
- package/dist/esm/icons/index.d.ts +56 -0
- package/dist/esm/icons/registry.d.ts +10 -0
- package/dist/esm/index.d.ts +0 -3
- package/dist/esm/index.js +1 -1
- package/package.json +19 -10
- package/dist/cjs/components/QueryBuilder/types/QueryBuilderEnum.type.d.ts +0 -21
- package/dist/cjs/components/QueryBuilder/types/QueryBuilderEnum.type.js +0 -1
- package/dist/cjs/components/accordion/Accordion.model.d.ts +0 -35
- package/dist/cjs/components/analytics-card/AnalyticsCard.model.d.ts +0 -1
- package/dist/cjs/components/analytics-chips-and-dropdowns/AnalyticsChip.model.d.ts +0 -18
- package/dist/cjs/components/analytics-chips-and-dropdowns/chart/LazyCharts.d.ts +0 -2
- package/dist/cjs/components/analytics-chips-and-dropdowns/chart/LazyCharts.js +0 -1
- package/dist/cjs/components/bik-layout/Sidebar.model.d.ts +0 -27
- package/dist/cjs/components/image-cropper/BikImageCropper.model.d.ts +0 -6
- package/dist/cjs/components/input/Input.model.d.ts +0 -73
- package/dist/cjs/components/list-item/List.model.d.ts +0 -18
- package/dist/cjs/components/sample-button/SampleButton.model.d.ts +0 -17
- package/dist/cjs/components/stepper/Stepper.model.d.ts +0 -17
- package/dist/cjs/components/template-context-mapper/modalElements/modal.d.ts +0 -13
- package/dist/cjs/firebase/environment.d.ts +0 -58
- package/dist/cjs/firebase/environment.js +0 -1
- package/dist/cjs/firebase/firebaseUserFetcher.d.ts +0 -34
- package/dist/cjs/firebase/firebaseUserFetcher.js +0 -1
- package/dist/cjs/firebase/index.d.ts +0 -7
- package/dist/cjs/firebase/lazyFirebaseApp.d.ts +0 -22
- package/dist/cjs/firebase/lazyFirebaseApp.js +0 -1
- package/dist/cjs/firebase/lazyFirebaseMethods.d.ts +0 -589
- package/dist/cjs/firebase/lazyFirebaseMethods.js +0 -1
- package/dist/cjs/firebase/lazyFirestore.d.ts +0 -6
- package/dist/cjs/firebase/lazyFirestore.js +0 -1
- package/dist/cjs/firebase/lazyFirestoreLite.d.ts +0 -6
- package/dist/cjs/firebase/lazyFirestoreLite.js +0 -1
- package/dist/cjs/firebase/lazyStorage.d.ts +0 -5
- package/dist/cjs/firebase/lazyStorage.js +0 -1
- package/dist/cjs/request-executor/executor.d.ts +0 -99
- package/dist/cjs/request-executor/executor.js +0 -1
- package/dist/cjs/request-executor/index.d.ts +0 -2
- package/dist/cjs/request-executor/model.d.ts +0 -14
- package/dist/cjs/utils/logging/ErrorConstructor/ApiError.d.ts +0 -3
- package/dist/cjs/utils/logging/ErrorConstructor/ApiError.js +0 -1
- package/dist/cjs/utils/logging/ErrorConstructor/BroadcastFlowError.d.ts +0 -4
- package/dist/cjs/utils/logging/ErrorConstructor/BroadcastFlowError.js +0 -1
- package/dist/cjs/utils/logging/ErrorConstructor/CohortError.d.ts +0 -4
- package/dist/cjs/utils/logging/ErrorConstructor/CohortError.js +0 -1
- package/dist/cjs/utils/logging/ErrorConstructor/CustomError.d.ts +0 -3
- package/dist/cjs/utils/logging/ErrorConstructor/CustomError.js +0 -1
- package/dist/cjs/utils/logging/ErrorConstructor/ExcelUploadError.d.ts +0 -3
- package/dist/cjs/utils/logging/ErrorConstructor/ExcelUploadError.js +0 -1
- package/dist/cjs/utils/logging/ErrorConstructor/FirebaseCallError.d.ts +0 -3
- package/dist/cjs/utils/logging/ErrorConstructor/FirebaseCallError.js +0 -1
- package/dist/cjs/utils/logging/ErrorConstructor/FirebaseSubscriptionError.d.ts +0 -3
- package/dist/cjs/utils/logging/ErrorConstructor/FirebaseSubscriptionError.js +0 -1
- package/dist/cjs/utils/logging/ErrorConstructor/RechargeFailure.d.ts +0 -3
- package/dist/cjs/utils/logging/ErrorConstructor/RechargeFailure.js +0 -1
- package/dist/cjs/utils/logging/ErrorConstructor/WhatsappIntegrationError.d.ts +0 -3
- package/dist/cjs/utils/logging/ErrorConstructor/WhatsappIntegrationError.js +0 -1
- package/dist/cjs/utils/logging/Logger.d.ts +0 -24
- package/dist/cjs/utils/logging/Logger.js +0 -1
- package/dist/cjs/utils/logging/index.d.ts +0 -10
- package/dist/esm/components/QueryBuilder/types/QueryBuilderEnum.type.d.ts +0 -21
- package/dist/esm/components/QueryBuilder/types/QueryBuilderEnum.type.js +0 -1
- package/dist/esm/components/accordion/Accordion.model.d.ts +0 -35
- package/dist/esm/components/analytics-card/AnalyticsCard.model.d.ts +0 -1
- package/dist/esm/components/analytics-chips-and-dropdowns/AnalyticsChip.model.d.ts +0 -18
- package/dist/esm/components/analytics-chips-and-dropdowns/chart/LazyCharts.d.ts +0 -2
- package/dist/esm/components/analytics-chips-and-dropdowns/chart/LazyCharts.js +0 -1
- package/dist/esm/components/bik-layout/Sidebar.model.d.ts +0 -27
- package/dist/esm/components/image-cropper/BikImageCropper.model.d.ts +0 -6
- package/dist/esm/components/input/Input.model.d.ts +0 -73
- package/dist/esm/components/list-item/List.model.d.ts +0 -18
- package/dist/esm/components/sample-button/SampleButton.model.d.ts +0 -17
- package/dist/esm/components/stepper/Stepper.model.d.ts +0 -17
- package/dist/esm/components/template-context-mapper/modalElements/modal.d.ts +0 -13
- package/dist/esm/firebase/environment.d.ts +0 -58
- package/dist/esm/firebase/environment.js +0 -1
- package/dist/esm/firebase/firebaseUserFetcher.d.ts +0 -34
- package/dist/esm/firebase/firebaseUserFetcher.js +0 -1
- package/dist/esm/firebase/index.d.ts +0 -7
- package/dist/esm/firebase/lazyFirebaseApp.d.ts +0 -22
- package/dist/esm/firebase/lazyFirebaseApp.js +0 -1
- package/dist/esm/firebase/lazyFirebaseMethods.d.ts +0 -589
- package/dist/esm/firebase/lazyFirebaseMethods.js +0 -1
- package/dist/esm/firebase/lazyFirestore.d.ts +0 -6
- package/dist/esm/firebase/lazyFirestore.js +0 -1
- package/dist/esm/firebase/lazyFirestoreLite.d.ts +0 -6
- package/dist/esm/firebase/lazyFirestoreLite.js +0 -1
- package/dist/esm/firebase/lazyStorage.d.ts +0 -5
- package/dist/esm/firebase/lazyStorage.js +0 -1
- package/dist/esm/request-executor/executor.d.ts +0 -99
- package/dist/esm/request-executor/executor.js +0 -1
- package/dist/esm/request-executor/index.d.ts +0 -2
- package/dist/esm/request-executor/model.d.ts +0 -14
- package/dist/esm/utils/logging/ErrorConstructor/ApiError.d.ts +0 -3
- package/dist/esm/utils/logging/ErrorConstructor/ApiError.js +0 -1
- package/dist/esm/utils/logging/ErrorConstructor/BroadcastFlowError.d.ts +0 -4
- package/dist/esm/utils/logging/ErrorConstructor/BroadcastFlowError.js +0 -1
- package/dist/esm/utils/logging/ErrorConstructor/CohortError.d.ts +0 -4
- package/dist/esm/utils/logging/ErrorConstructor/CohortError.js +0 -1
- package/dist/esm/utils/logging/ErrorConstructor/CustomError.d.ts +0 -3
- package/dist/esm/utils/logging/ErrorConstructor/CustomError.js +0 -1
- package/dist/esm/utils/logging/ErrorConstructor/ExcelUploadError.d.ts +0 -3
- package/dist/esm/utils/logging/ErrorConstructor/ExcelUploadError.js +0 -1
- package/dist/esm/utils/logging/ErrorConstructor/FirebaseCallError.d.ts +0 -3
- package/dist/esm/utils/logging/ErrorConstructor/FirebaseCallError.js +0 -1
- package/dist/esm/utils/logging/ErrorConstructor/FirebaseSubscriptionError.d.ts +0 -3
- package/dist/esm/utils/logging/ErrorConstructor/FirebaseSubscriptionError.js +0 -1
- package/dist/esm/utils/logging/ErrorConstructor/RechargeFailure.d.ts +0 -3
- package/dist/esm/utils/logging/ErrorConstructor/RechargeFailure.js +0 -1
- package/dist/esm/utils/logging/ErrorConstructor/WhatsappIntegrationError.d.ts +0 -3
- package/dist/esm/utils/logging/ErrorConstructor/WhatsappIntegrationError.js +0 -1
- package/dist/esm/utils/logging/Logger.d.ts +0 -24
- package/dist/esm/utils/logging/Logger.js +0 -1
- package/dist/esm/utils/logging/index.d.ts +0 -10
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import { Placement } from "../tooltips";
|
|
3
3
|
import { DropdownOption, OpenDropdownProps } from '../dropdown/type';
|
|
4
4
|
import { FloaterProps } from '../floater/floater';
|
|
5
|
-
import { InputProps } from '../input
|
|
5
|
+
import { InputProps } from '../input';
|
|
6
6
|
type DropdownProps = OpenDropdownProps & {
|
|
7
7
|
isLoading?: boolean;
|
|
8
8
|
children?: React.ReactNode;
|
|
@@ -1,4 +1,9 @@
|
|
|
1
1
|
import 'react-image-crop/dist/ReactCrop.css';
|
|
2
|
-
|
|
2
|
+
export interface BikImageCropperProps {
|
|
3
|
+
aspectRatio?: number;
|
|
4
|
+
src: string;
|
|
5
|
+
onCropComplete: (base64String: string, didChange: boolean) => void | Promise<void>;
|
|
6
|
+
onCancel: () => void;
|
|
7
|
+
}
|
|
3
8
|
export declare const BikImageCropper: (props: BikImageCropperProps) => import("react/jsx-runtime").JSX.Element;
|
|
4
9
|
export default BikImageCropper;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{jsxs as e,jsx as t}from"react/jsx-runtime";import{useState as n,
|
|
1
|
+
import{jsxs as e,jsx as t}from"react/jsx-runtime";import{useState as n,useEffect as r}from"react";import o from"react-chips";import{COLORS as i}from"../../constants/Theme.js";import{BodySecondary as l,BodyCaption as c}from"../TypographyStyle.js";import{theme as a,chipTheme as s}from"./ChipInput.styled.js";const p=p=>{let{onChipsChange:h,placeholder:m,chips:d,label:u,labelColor:y,hintText:g,hintTextColor:f,error:v,inputHeight:C,createChipKeys:b,chipsContainerCustomStyle:j,nativeID:x}=p;const[T,S]=n(!1);return r((()=>{var e,t;null===(e=document.querySelector(`#${x} input`))||void 0===e||e.addEventListener("focus",(()=>{S(!0)})),null===(t=document.querySelector(`#${x} input`))||void 0===t||t.addEventListener("blur",(()=>{S(!1)}))}),[]),e("div",Object.assign({style:{display:"flex",flexDirection:"column",gap:8},id:x},{children:[u&&t(l,Object.assign({style:{color:T?i.content.brand:v?i.content.negative:y||i.content.primary}},{children:u})),t(o,{value:d,theme:a(!!v,C,j,T),chipTheme:s,placeholder:0===d.length&&!!m&&!T&&m,onChange:e=>{h(e)},createChipKeys:b||","}),(!!g||!!v)&&t(c,Object.assign({style:{color:v?i.content.negative:f||i.content.secondary}},{children:v||g}))]}))};export{p as default};
|
|
@@ -1,6 +1,66 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
export declare const chipTheme: {
|
|
2
|
+
chip: {
|
|
3
|
+
padding: string;
|
|
4
|
+
background: string;
|
|
5
|
+
border: string;
|
|
6
|
+
fontSize: number;
|
|
7
|
+
color: string;
|
|
8
|
+
fontWeight: number;
|
|
9
|
+
borderRadius: number;
|
|
10
|
+
alignItems: string;
|
|
11
|
+
alignContent: string;
|
|
12
|
+
justifyContent: string;
|
|
13
|
+
cursor: string;
|
|
14
|
+
margin: string;
|
|
15
|
+
fontFamily: string;
|
|
16
|
+
};
|
|
17
|
+
chipRemove: {
|
|
18
|
+
fontSize: number;
|
|
19
|
+
fontFamily: string;
|
|
20
|
+
cursor: string;
|
|
21
|
+
fontWeight: string;
|
|
22
|
+
color: string;
|
|
23
|
+
marginLeft: number;
|
|
24
|
+
':hover': {
|
|
25
|
+
color: string;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
export declare const theme: (error?: boolean, height?: number, chipsContainerCustomStyle?: Object, focused?: boolean) => {
|
|
30
|
+
chipsContainer: {
|
|
31
|
+
constructor: Function;
|
|
32
|
+
toString(): string;
|
|
33
|
+
toLocaleString(): string;
|
|
34
|
+
valueOf(): Object;
|
|
35
|
+
hasOwnProperty(v: PropertyKey): boolean;
|
|
36
|
+
isPrototypeOf(v: Object): boolean;
|
|
37
|
+
propertyIsEnumerable(v: PropertyKey): boolean;
|
|
38
|
+
display: string;
|
|
39
|
+
position: string;
|
|
40
|
+
border: string;
|
|
41
|
+
backgroundColor: string;
|
|
42
|
+
alignItems: string;
|
|
43
|
+
flexWrap: string;
|
|
44
|
+
padding: string;
|
|
45
|
+
borderRadius: number;
|
|
46
|
+
':hover': {
|
|
47
|
+
border: string;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
container: {
|
|
51
|
+
flex: number;
|
|
52
|
+
};
|
|
53
|
+
containerOpen: {};
|
|
54
|
+
input: {
|
|
55
|
+
border: string;
|
|
56
|
+
outline: string;
|
|
57
|
+
boxSizing: string;
|
|
58
|
+
fontSize: number;
|
|
59
|
+
fontFamily: string;
|
|
60
|
+
fontWeight: number;
|
|
61
|
+
height: number;
|
|
62
|
+
width: string;
|
|
63
|
+
paddingTop: number;
|
|
64
|
+
paddingBottom: number;
|
|
65
|
+
};
|
|
66
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{COLORS as
|
|
1
|
+
import{COLORS as e}from"../../constants/Theme.js";const n={chip:{padding:"0px 8px 0px 8px",background:e.surface.subdued,border:`1px solid ${e.stroke.primary}`,fontSize:12,color:e.content.secondary,fontWeight:400,borderRadius:4,alignItems:"center",alignContent:"center",justifyContent:"center",cursor:"default",margin:"0px 8px 0px 0px",fontFamily:"Inter"},chipRemove:{fontSize:12,fontFamily:"Inter",cursor:"pointer",fontWeight:"normal",color:e.content.secondary,marginLeft:6,":hover":{color:e.content.secondary}}},o=(n,o,r,t)=>({chipsContainer:Object.assign({display:"flex",position:"relative",border:`${t?2:1}px solid ${t?e.stroke.brand:n?e.stroke.negative.vibrant:e.stroke.primary}`,backgroundColor:e.surface.standard,alignItems:"center",flexWrap:"wrap",padding:"3px 8px 3px 8px",borderRadius:4,":hover":{border:`2px solid ${e.stroke.brand}`}},null!=r?r:{}),container:{flex:1},containerOpen:{},input:{border:"none",outline:"none",boxSizing:"border-box",fontSize:14,fontFamily:"Inter",fontWeight:400,height:o||32,width:"100%",paddingTop:0,paddingBottom:0}});export{n as chipTheme,o as theme};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { InputTypeI } from
|
|
1
|
+
import { InputTypeI } from "./Input";
|
|
2
2
|
export declare const isFunction: (fn: any) => boolean;
|
|
3
3
|
export declare const sanitizeUnsafeInput: (input: string) => string;
|
|
4
4
|
export declare const shouldSanitizeForType: (type: InputTypeI) => boolean;
|
|
@@ -1,3 +1,74 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { ButtonProps } from '../button/model';
|
|
3
|
+
export type InputVariant = 'default' | 'small' | 'x-small';
|
|
4
|
+
export type InputStateI = 'invalid' | 'active' | 'read-only' | 'disabled' | 'disabled-invalid' | 'none';
|
|
5
|
+
export type InputTypeI = 'number' | 'email' | 'text' | 'multiline' | 'url' | 'zip' | 'phonenumber' | 'password';
|
|
6
|
+
export interface InputProps {
|
|
7
|
+
'data-test'?: string;
|
|
8
|
+
noErrorHint?: boolean;
|
|
9
|
+
placeholder?: string;
|
|
10
|
+
variant?: InputVariant;
|
|
11
|
+
width?: string;
|
|
12
|
+
height?: string;
|
|
13
|
+
leftIcon?: {
|
|
14
|
+
icon: React.FC;
|
|
15
|
+
callback?: () => void;
|
|
16
|
+
};
|
|
17
|
+
rightIcon?: {
|
|
18
|
+
icon: React.FC;
|
|
19
|
+
callback?: () => void;
|
|
20
|
+
};
|
|
21
|
+
labelElement?: React.ReactNode;
|
|
22
|
+
labelText?: string;
|
|
23
|
+
maxCharLimit?: number;
|
|
24
|
+
isRequired?: boolean;
|
|
25
|
+
errorMessage?: string;
|
|
26
|
+
hintText?: string;
|
|
27
|
+
state?: InputStateI;
|
|
28
|
+
type?: InputTypeI;
|
|
29
|
+
/**
|
|
30
|
+
validate: function takes the input and returns boolean + string (error message in case of invalid input)
|
|
31
|
+
**/
|
|
32
|
+
validate?: (input?: string | number) => [boolean, string];
|
|
33
|
+
onChangeText: (input: string, event?: Event) => void;
|
|
34
|
+
button?: {
|
|
35
|
+
text: string;
|
|
36
|
+
onClick?: () => void;
|
|
37
|
+
buttonProps?: ButtonProps;
|
|
38
|
+
};
|
|
39
|
+
suffixText?: string;
|
|
40
|
+
prefixText?: string;
|
|
41
|
+
value?: string;
|
|
42
|
+
reset?: boolean;
|
|
43
|
+
onBlur?: (e: any) => void;
|
|
44
|
+
onFocus?: (e: any) => void;
|
|
45
|
+
onClick?: (e: any) => void;
|
|
46
|
+
isActive?: boolean;
|
|
47
|
+
id?: string;
|
|
48
|
+
onReferenceInit?: (element: HTMLInputElement | HTMLTextAreaElement) => void;
|
|
49
|
+
rangeValidation?: {
|
|
50
|
+
min: number;
|
|
51
|
+
max: number;
|
|
52
|
+
};
|
|
53
|
+
noKeyDownChange?: boolean;
|
|
54
|
+
skipFocus?: boolean;
|
|
55
|
+
version?: '1.0' | '2.0';
|
|
56
|
+
textControl?: boolean;
|
|
57
|
+
noMaxCharCheck?: boolean;
|
|
58
|
+
tooltipText?: string;
|
|
59
|
+
autoGrow?: boolean;
|
|
60
|
+
minHeight?: string;
|
|
61
|
+
maxHeight?: string;
|
|
62
|
+
labelTextBold?: boolean;
|
|
63
|
+
truncateText?: boolean;
|
|
64
|
+
maxCharLimitPosition?: 'TOP' | 'BOTTOM';
|
|
65
|
+
hightlightInputColor?: string;
|
|
66
|
+
onKeyDownEvent?: (e: Event) => void;
|
|
67
|
+
hideInputHeader?: boolean;
|
|
68
|
+
hideBorder?: boolean;
|
|
69
|
+
inputWrapperStyles?: React.CSSProperties;
|
|
70
|
+
minCharsToTrigger?: number;
|
|
71
|
+
isDisabled?: boolean;
|
|
72
|
+
allowUnsafeInput?: boolean;
|
|
73
|
+
}
|
|
3
74
|
export declare const Input: React.ForwardRefExoticComponent<InputProps & React.RefAttributes<HTMLInputElement | HTMLTextAreaElement | null>>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { InputStateI, InputTypeI, InputVariant } from
|
|
2
|
+
import { InputStateI, InputTypeI, InputVariant } from "./Input";
|
|
3
3
|
export declare const InputWrapper: import("@emotion/styled").StyledComponent<{
|
|
4
4
|
theme?: import("@emotion/react").Theme | undefined;
|
|
5
5
|
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { Variable } from '../add-variableV2/AddVariableV2';
|
|
3
3
|
import { SelectedVariable } from '../add-variableV2/types';
|
|
4
|
-
import { InputTypeI } from '../input
|
|
4
|
+
import { InputTypeI } from '../input';
|
|
5
5
|
import { PickerType } from '../variable-picker-v3/model';
|
|
6
6
|
export interface InputWithVariablesProps {
|
|
7
7
|
type?: InputTypeI;
|
|
@@ -1,3 +1,19 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
|
|
2
|
+
export type Variant = 'default' | 'selected' | 'inactive' | 'error' | 'readonly' | 'placeholder' | 'separator';
|
|
3
|
+
export interface ListItemElement {
|
|
4
|
+
label: string;
|
|
5
|
+
value: string;
|
|
6
|
+
}
|
|
7
|
+
export interface ListItemProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
8
|
+
variant?: Variant;
|
|
9
|
+
subText?: string;
|
|
10
|
+
listItem: ListItemElement;
|
|
11
|
+
onSelect?: (ListItemElement: any) => void;
|
|
12
|
+
leadingIcon?: JSX.Element;
|
|
13
|
+
trailingIcon?: JSX.Element;
|
|
14
|
+
borderBottom?: string;
|
|
15
|
+
customComponent?: JSX.Element;
|
|
16
|
+
customListItemLabel?: JSX.Element;
|
|
17
|
+
version?: '1.0' | '2.0';
|
|
18
|
+
}
|
|
3
19
|
export declare const ListItem: import("react").ForwardRefExoticComponent<ListItemProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import type { Variant } from './
|
|
2
|
+
import type { Variant } from './ListItem';
|
|
3
3
|
export declare const ListItem: import("@emotion/styled").StyledComponent<{
|
|
4
4
|
theme?: import("@emotion/react").Theme | undefined;
|
|
5
5
|
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { GroupedOption, MultiLevelDropdownOption
|
|
2
|
+
import { GroupedOption, MultiLevelDropdownOption } from './type';
|
|
3
3
|
export declare const GroupedMenuList: React.FC<{
|
|
4
4
|
width: string;
|
|
5
5
|
onDropdownItemClick?: (option: MultiLevelDropdownOption, parents: MultiLevelDropdownOption[]) => void;
|
|
@@ -9,5 +9,4 @@ export declare const GroupedMenuList: React.FC<{
|
|
|
9
9
|
maxLevels?: number;
|
|
10
10
|
hideGroupLabel?: boolean;
|
|
11
11
|
currentLevel: number;
|
|
12
|
-
renderNestedMenu: RenderNestedMenu;
|
|
13
12
|
}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{jsxs as e,jsx as
|
|
1
|
+
import{jsxs as e,jsx as o}from"react/jsx-runtime";import{COLORS as t}from"../../constants/Theme.js";import{BodyTiny as r}from"../TypographyStyle.js";import{MenuItem as n}from"./MenuItem.js";import{GroupedMenuListContainer as l}from"./MultiLevelDropdown.styled.js";const p=p=>{let{width:i,onDropdownItemClick:a,option:m,parents:s,allowParentSelection:c,maxLevels:d,hideGroupLabel:u,currentLevel:h}=p;return e(l,{children:[!u&&o(r,Object.assign({style:{padding:"4px 8px 4px 12px",cursor:"default"},color:t.content.placeholder},{children:m.label})),m.options.map(((e,t)=>o(n,{width:i,onDropdownItemClick:a,option:e,parents:s,allowParentSelection:c,maxLevels:d,currentLevel:h},t)))]})};export{p as GroupedMenuList};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { MultiLevelDropdownOption,
|
|
2
|
+
import { MultiLevelDropdownOption, SingleOption } from './type';
|
|
3
3
|
export declare const MenuItem: React.FC<{
|
|
4
4
|
width: string;
|
|
5
5
|
onDropdownItemClick?: (option: MultiLevelDropdownOption, parents: MultiLevelDropdownOption[]) => void;
|
|
@@ -8,5 +8,4 @@ export declare const MenuItem: React.FC<{
|
|
|
8
8
|
allowParentSelection?: boolean;
|
|
9
9
|
maxLevels?: number;
|
|
10
10
|
currentLevel: number;
|
|
11
|
-
renderNestedMenu: RenderNestedMenu;
|
|
12
11
|
}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{jsxs as e,jsx as t,Fragment as n}from"react/jsx-runtime";import o from"../../assets/icons/chevronRight2.svg.js";import i,{useRef as l}from"react";import{COLORS as
|
|
1
|
+
import{jsxs as e,jsx as t,Fragment as n}from"react/jsx-runtime";import o from"../../assets/icons/chevronRight2.svg.js";import i,{useRef as l,Suspense as r}from"react";import{COLORS as s}from"../../constants/Theme.js";import{BodyCaption as c,BodyTiny as d}from"../TypographyStyle.js";import{MenuItemWrapper as a,MenuItemContainer as p,ContentContainer as u,LeadingIconContainer as h,TrailingIconContainer as m,SubMenuContainer as v,StyledSubMenuWrapper as g,SubMenuListContainer as b}from"./MultiLevelDropdown.styled.js";const f=i.lazy((()=>import("./MenuList.js").then((e=>({default:e.MenuList}))))),j=j=>{let{width:w,onDropdownItemClick:y,option:L,parents:M,allowParentSelection:O,maxLevels:S,currentLevel:x}=j;var C,I,T,k,D,P,E;const[R,z]=i.useState(!1),[B,H]=i.useState(!1),[N,W]=i.useState({top:0,left:0}),q=l({top:0,left:0}),A=!!L.children&&L.children.length>0,F=A&&(void 0===S||x<S);return e(a,Object.assign({onMouseEnter:e=>{F&&(z(!0),(e=>{const t=e.currentTarget.getBoundingClientRect();W({top:t.top,left:t.right}),q.current={top:t.top,left:t.right}})(e))},onMouseLeave:()=>{z(!1)},onClick:e=>{e.stopPropagation(),(()=>{var e;!y||null!==(e=L.disabled)&&void 0!==e&&e||A&&!O||y(L,M)})()},id:"menuItemWrapper",style:{cursor:null!==(C=L.disabled)&&void 0!==C&&C?"not-allowed":"pointer",backgroundColor:null!==(I=L.disabled)&&void 0!==I&&I?s.surface.standard:"transparent"}},{children:[L.customComponent?L.customComponent:e(p,Object.assign({isSelected:L.selected,isSubMenuOpen:R,isHovered:B,isDisabled:null!==(T=L.disabled)&&void 0!==T&&T},{children:[e(u,{children:[L.leadingIcon&&t(h,{children:L.leadingIcon}),e("div",{children:[t(c,Object.assign({style:{color:null!==(k=L.disabled)&&void 0!==k&&k?s.content.inactive:L.selected||B?s.content.positive:s.content.primary}},{children:L.label})),L.subText&&t(d,Object.assign({style:{color:null!==(D=L.disabled)&&void 0!==D&&D?s.content.inactive:L.selected||B?s.content.positive:s.content.secondary,marginTop:"2px"}},{children:L.subText}))]})]}),A?t(m,{children:t(o,{width:16,height:16,color:!F||null!==(P=L.disabled)&&void 0!==P&&P?s.content.inactive:L.selected||B?s.content.positive:s.content.primary})}):L.trailingIcon?t(m,{children:L.trailingIcon}):t(n,{})]})),!(null!==(E=L.disabled)&&void 0!==E&&E)&&L.children&&L.children.length>0&&F&&R&&t(v,Object.assign({width:w,className:"submenu",onMouseEnter:()=>H(!0),onMouseLeave:()=>H(!1)},{children:t(g,Object.assign({width:w,top:N.top,left:N.left},{children:t(b,{children:t(r,Object.assign({fallback:t("div",{children:"Loading..."})},{children:t(f,{width:w,onDropdownItemClick:y,options:L.children,parents:[...M,L],allowParentSelection:O,maxLevels:S,currentLevel:x+1})}))})}))}))]}))};export{j as MenuItem};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{jsx as e}from"react/jsx-runtime";import{GroupedMenuList as o}from"./GroupedMenuList.js";import{MenuItem as t}from"./MenuItem.js";import{StyledMenuList as n}from"./MultiLevelDropdown.styled.js";const r=
|
|
1
|
+
import{jsx as e}from"react/jsx-runtime";import{GroupedMenuList as o}from"./GroupedMenuList.js";import{MenuItem as t}from"./MenuItem.js";import{StyledMenuList as n}from"./MultiLevelDropdown.styled.js";const r=r=>{let{width:i,onDropdownItemClick:l,options:p,parents:a,allowParentSelection:m,maxLevels:s,hideGroupLabel:d,currentLevel:c}=r;return e(n,{children:p.map(((n,r)=>"value"in n?e(t,{width:i,onDropdownItemClick:l,option:n,parents:a,allowParentSelection:m,maxLevels:s,currentLevel:c},r):"options"in n&&n.options.length>0?e(o,{width:i,onDropdownItemClick:l,option:n,parents:a,allowParentSelection:m,maxLevels:s,hideGroupLabel:d,currentLevel:c},r):void 0))})};export{r as MenuList};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import { FloaterProps } from '../floater/floater';
|
|
3
3
|
export interface MultiLevelDropdownProps extends FloaterProps {
|
|
4
4
|
options: MultiLevelDropdownOption[];
|
|
@@ -29,4 +29,3 @@ export type SingleOption = {
|
|
|
29
29
|
children?: SingleOption[];
|
|
30
30
|
};
|
|
31
31
|
export type MultiLevelDropdownOption = SingleOption | GroupedOption;
|
|
32
|
-
export type RenderNestedMenu = (options: MultiLevelDropdownOption[], parents: MultiLevelDropdownOption[], currentLevel: number) => ReactNode;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import { TagType } from '../tag/model';
|
|
2
|
+
import { Product, ProductVariant } from './modal';
|
|
3
3
|
export type ProductPickerTagType = {
|
|
4
4
|
isVariant: boolean;
|
|
5
5
|
data: Product | ProductVariant;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ApplicationType } from '@bikdotai/bik-models/growth/models/bik-store';
|
|
2
2
|
import React from 'react';
|
|
3
|
-
import
|
|
4
|
-
import
|
|
3
|
+
import { Collection, CollectionFetcherReturn, SelectedItems } from '.';
|
|
4
|
+
import { CollectionsActions, SelectedCollectionsActions } from './reducers';
|
|
5
5
|
export declare const truncate: (str: string, n: number, useWordBoundary: boolean) => string;
|
|
6
6
|
interface CollectionsScreenInterface {
|
|
7
7
|
customCollectionRestriction?: boolean;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
1
|
+
import { TagType } from "../../tag/model";
|
|
2
|
+
import { Product, ProductVariant, SelectedItems } from '../modal';
|
|
3
|
+
import { OUT_OF_STOCK_ACTION } from '../type';
|
|
4
|
+
import { ProductVariantForRearrange } from '../variant';
|
|
4
5
|
export declare class ProductHelper {
|
|
5
6
|
/**
|
|
6
7
|
* how to know if a product is out of stock? currentCombination.quantity === 0 (OOS)
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export * from './modal';
|
|
2
|
-
export
|
|
2
|
+
export { ScreenName } from './type';
|
|
@@ -1,7 +1,63 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { ApplicationType } from '@bikdotai/bik-models/growth/models/bik-store';
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
3
|
+
import { ButtonProps } from '../button/model';
|
|
4
|
+
import { FooterForNonModalI, OUT_OF_STOCK_ACTION, ScreenName } from './type';
|
|
5
|
+
export interface ProductVariant {
|
|
6
|
+
name: string;
|
|
7
|
+
price: string;
|
|
8
|
+
image: string;
|
|
9
|
+
quantity: number;
|
|
10
|
+
skipSync?: boolean;
|
|
11
|
+
displayOrder?: number | null;
|
|
12
|
+
fbStatus?: FbProductStatus;
|
|
13
|
+
description?: string;
|
|
14
|
+
id?: string;
|
|
15
|
+
actualPrice?: string;
|
|
16
|
+
currency?: string;
|
|
17
|
+
skuId?: string;
|
|
18
|
+
}
|
|
19
|
+
export interface Product {
|
|
20
|
+
name: string;
|
|
21
|
+
image: string;
|
|
22
|
+
description?: string;
|
|
23
|
+
variants?: {
|
|
24
|
+
[key: string]: ProductVariant;
|
|
25
|
+
};
|
|
26
|
+
id?: string;
|
|
27
|
+
handle?: string;
|
|
28
|
+
currency?: string;
|
|
29
|
+
}
|
|
30
|
+
export interface Collection {
|
|
31
|
+
name: string;
|
|
32
|
+
image: string;
|
|
33
|
+
isSmartCollection: boolean;
|
|
34
|
+
products?: {
|
|
35
|
+
[key: string]: Product;
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
export type SelectedItems = {
|
|
39
|
+
[key: string]: Collection;
|
|
40
|
+
};
|
|
41
|
+
export type SearchedItems = {
|
|
42
|
+
collections: SelectedItems;
|
|
43
|
+
products: SelectedItems;
|
|
44
|
+
};
|
|
45
|
+
export type CollectionFetcherReturn = Promise<{
|
|
46
|
+
collections: {
|
|
47
|
+
[key: string]: {
|
|
48
|
+
image: string;
|
|
49
|
+
name: string;
|
|
50
|
+
isSmartCollection: string;
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
}>;
|
|
54
|
+
export type ProductFetcherReturn = Promise<{
|
|
55
|
+
[key: string]: Product;
|
|
56
|
+
}>;
|
|
57
|
+
export type FbStatusFetcherReturn = Promise<{
|
|
58
|
+
[key: string]: FbProductStatus;
|
|
59
|
+
}>;
|
|
60
|
+
export type FbProductStatus = 'APPROVED' | 'REJECTED';
|
|
5
61
|
export type ProductPickerInterface = {
|
|
6
62
|
hideGlobalSearch?: boolean;
|
|
7
63
|
hideInCollectionSearch?: boolean;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
2
|
+
import { Product, ProductVariant, SelectedItems } from './modal';
|
|
3
|
+
import { SelectedCollectionsActions } from './reducers';
|
|
4
|
+
import { OUT_OF_STOCK_ACTION } from './type';
|
|
4
5
|
interface ProductGroupInterface {
|
|
5
6
|
collectionId: string;
|
|
6
7
|
productId: string;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Product, ProductVariant } from './modal';
|
|
2
|
+
import { OUT_OF_STOCK_ACTION } from './type';
|
|
2
3
|
/**
|
|
3
4
|
* When user presses i icon on a product, we show the overlay.
|
|
4
5
|
* In case of a product, contains products image, product name & description
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ApplicationType } from '@bikdotai/bik-models/growth/models/bik-store';
|
|
2
2
|
import React from 'react';
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
3
|
+
import { Collection, FbStatusFetcherReturn, Product, ProductFetcherReturn, ProductVariant, SelectedItems } from '.';
|
|
4
|
+
import { CollectionsActions, SelectedCollectionsActions } from './reducers';
|
|
5
5
|
import { OUT_OF_STOCK_ACTION } from './type';
|
|
6
6
|
interface ProductsScreenInterface {
|
|
7
7
|
hideInCollectionSearch?: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{jsxs as t,jsx as e}from"react/jsx-runtime";import o from"../../assets/icons/arrow_left.svg.js";import c from"../../assets/icons/box.svg.js";import n from"../../assets/icons/search.svg.js";import r
|
|
1
|
+
import{jsxs as t,jsx as e}from"react/jsx-runtime";import o from"../../assets/icons/arrow_left.svg.js";import c from"../../assets/icons/box.svg.js";import n from"../../assets/icons/search.svg.js";import{cloneDeep as r}from"lodash";import{useContext as i,useRef as s,useState as l,useEffect as d}from"react";import{COLORS as a}from"../../constants/Theme.js";import{CheckBox as u}from"../checkBox/CheckBox.js";import{IconButton as h}from"../icon-button/IconButton.js";import{InfiniteScroll as p}from"../InfiniteScroll/InfiniteScroll.js";import{Input as m}from"../input/Input.js";import{Spinner as g}from"../spinner/Spinner.js";import{BodyCaption as j,TitleRegular as f}from"../TypographyStyle.js";import{EmptyState as v}from"./emptyState.js";import{ProductGroup as b}from"./product.js";import{ProductPickerShimmer as y}from"./ProductPickerShimmer.js";import{CollectionIdContext as O}from"./reducers.js";import{ProductScreenHeader as k,ProductScreenCollectionCardStyle as C}from"./style.js";import{OUT_OF_STOCK_ACTION as P}from"./type.js";import{getVariantIdsToFetchAtProductLevel as I,markVariantsAsApprovedProductsLevel as D,isCollectionPartiallyChecked as S,isProductPartiallyChecked as x,liftTheStateUp as E}from"./utility.js";const T=T=>{var R,w;const{data:V,collectionsDispatch:A,selectedData:B,selectedCollectionsDispatch:F,productFetcher:J,storeId:K,setScreen:M,setSaveDisabled:N,hideInCollectionSearch:U,customCollectionRestriction:W,hideProductCheckbox:z,outOfStockAction:H=P.BLUR,hideVariantCheckbox:L=!1,selectProductsFromCustomCollection:_=!1,pickerType:q,hideProductVariants:G,fbStatusFetcher:Q,onProductDetailClick:X,showProductDetailInfoIcon:Y,scrollContainerRef:Z,appType:$}=T,tt=i(O),et=s(0),ot=s(!1),[ct,nt]=l(""),[rt,it]=l(!1),[st,lt]=l(V),dt=s(!0),at=s(!1);d((()=>{if(dt.current)return void(dt.current=!1);const t=setTimeout((()=>{ct.length?(it(!0),T.searchInCollectionFetcher(K,tt,ct,$).then((t=>{const e=r(V);e.products=t,lt(e);const o=I(null!=t?t:{});ht(o,null!=t?t:{},!0),N(!1),it(!1)}))):lt(V)}),800);return()=>clearTimeout(t)}),[ct]);d((()=>{var t,e,o,c;at.current=!1,et.current=Math.floor((null===(e=Object.keys(null!==(t=V.products)&&void 0!==t?t:{}))||void 0===e?void 0:e.length)/10);const n=I(null!==(o=V.products)&&void 0!==o?o:{});ht(n,null!==(c=V.products)&&void 0!==c?c:{})}),[tt]);const ut=!!W&&V.isSmartCollection;d((()=>{(null==V?void 0:V.products)||pt(10)}),[]);const ht=(t,e,o)=>{Q||(o?D(e,A,tt,st,lt):D(e,A,tt)),t.length>0&&Q&&Q(K,t,$).then((t=>{const c=Object.assign({},e);Object.keys(e).forEach((o=>{var n,r;Object.keys(null!==(r=null===(n=null==e?void 0:e[o])||void 0===n?void 0:n.variants)&&void 0!==r?r:{}).forEach((n=>{var r,i;const s=null===(r=null==e?void 0:e[o].variants)||void 0===r?void 0:r[n];s&&"REJECTED"===t[n]?s.fbStatus="REJECTED":s&&"APPROVED"===t[n]&&(s.fbStatus="APPROVED");const l=null===(i=null==c?void 0:c[o])||void 0===i?void 0:i.variants;l&&l[n]&&(l[n]=s)}))})),o?(lt((t=>{const e=Object.assign({},t);return e.products=c,e})),A({type:"productsPaged",data:{collectionId:tt,products:c}})):A({type:"productsPaged",data:{collectionId:tt,products:c}})})).catch((t=>{o?D(e,A,tt,st,lt):D(e,A,tt)}))},pt=t=>{N(!0),it(!0),J(tt,K,$,t,0).then((e=>{if(Object.keys(e).length||(at.current=!0),Object.keys(e).length){lt(Object.assign(Object.assign({},st),{products:e}));const t=I(e);ht(t,e),et.current=1}t||F({type:"selected",data:{id:tt,val:Object.assign(Object.assign({},V),{products:e})}}),N(!1),it(!1)})).catch()},mt=(t,e)=>{const o=E(e,V);F({type:t,data:Object.assign(Object.assign({},o),{isRestricted:W})})},gt=!!(null==B?void 0:B[tt])&&!!Object.keys(null!==(w=null===(R=null==B?void 0:B[tt])||void 0===R?void 0:R.products)&&void 0!==w?w:{}).length;return t("div",{children:[t(k,{children:[e(h,{Icon:o,height:16,onClick:()=>{M("collections")}}),e(j,Object.assign({style:{color:a.content.secondary}},{children:V.name}))]}),!U&&e("div",Object.assign({style:{padding:16,height:"76px",borderBottom:"1px solid #E0E0E0"}},{children:e(m,{noKeyDownChange:!0,noErrorHint:!0,rightIcon:{icon:()=>rt&&ct.length?e(g,{size:"small",color:a.content.primary}):e(n,{})},id:"listInput",height:"24px",type:"text",value:ct,onChangeText:t=>{t.length&&t.trim().length?nt(t):nt("")},placeholder:"Search using ID, Name or SKU ID"})})),Object.keys((null==st?void 0:st.products)||[]).length>0&&!ut&&!ct.length&&!z&&"-1"!==tt&&t(C,{children:[e(u,{isChecked:gt,isPartiallyChecked:S(tt,st,B,G),onValueChange:function(t){t?pt():F({type:"unselected",data:{id:tt}})}}),e("div",Object.assign({style:{width:40,height:40}},{children:e(c,{})})),e(f,{children:"All Products"})]}),e(p,Object.assign({hasData:!(Object.keys((null==st?void 0:st.products)||[]).length<10)&&!!Object.keys((null==st?void 0:st.products)||[]).length,fetchMore:()=>(ot.current=!0,J(tt,K,$,10,et.current).then((t=>{let e=!1;if(Object.keys(t).length||(e=!0),Object.keys(t).length){const e=st;e.products=Object.assign(Object.assign({},st.products),t),lt(Object.assign({},e));const o=I(t);ht(o,t)}return N(!1),ot.current=!1,et.current+=1,e}))),containerRef:Z},{children:Object.keys((null==st?void 0:st.products)||[]).length?Object.keys(st.products||[]).map((t=>e(b,{outOfStockAction:H,collectionId:tt,isProductPartiallyChecked:x(tt,t,B,st,G),productId:t,data:st.products[t],selectedData:B,selectedCollectionsDispatch:F,viewOnly:!_&&!!ut,upliftAdditions:mt,hideProductCheckbox:z,hideVariantCheckbox:L,hideProductVariants:G,pickerType:q,onProductDetailClick:X,showProductDetailInfoIcon:Y},t))):rt?e(y,{limit:10}):e(v,{title:"No products to show",subtitle:ct.length?"We couldn't find the product you were looking for":"We couldn’t find any product in this collection."})}))]})};export{T as ProductsScreen};
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ApplicationType } from '@bikdotai/bik-models/growth/models/bik-store';
|
|
2
2
|
import React from 'react';
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
3
|
+
import { FbStatusFetcherReturn, SelectedItems } from '.';
|
|
4
|
+
import { SelectedCollectionsActions } from './reducers';
|
|
5
|
+
import { OUT_OF_STOCK_ACTION } from './type';
|
|
5
6
|
interface RearrangeScreenInterface {
|
|
6
7
|
selectedCollections: SelectedItems;
|
|
7
8
|
selectedCollectionsDispatch: React.Dispatch<SelectedCollectionsActions>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import t
|
|
1
|
+
import{cloneDeep as t}from"lodash";import{createContext as a}from"react";function e(a,e){var s,d,c,o,r,n,i,u,l,p,v;let O={},g="",b="",j="";switch(e.type){case"selected":return O=t(a),e.data.val.isSmartCollection&&(e.data.isRestricted&&(O={}),O.isCustom=!0),O[e.data.id]=e.data.val,O;case"unselected":return O=t(a),(null==O?void 0:O.isCustom)&&(O.isCustom=!1),delete O[e.data.id],O;case"productUnselected":return O=t(a),g=e.data.productId,b=e.data.collectionId,delete O[b].products[g],Object.keys(O[b].products).length||((null==O?void 0:O.isCustom)&&(O.isCustom=!1),delete O[b]),O;case"productSelected":return O=t(a),g=e.data.productId,b=e.data.collectionId,(null===(s=e.data.catalogOnlyData)||void 0===s?void 0:s.isSmartCollection)&&(e.data.isRestricted&&(O={}),O.isCustom=!0),(null==O?void 0:O[b])||(O[b]=e.data.catalogOnlyData,O[b].products={}),O[b].products[g]=e.data.product,O;case"variantSelected":return O=t(a),g=e.data.productId,b=e.data.collectionId,j=e.data.variantId,(null===(d=e.data.catalogOnlyData)||void 0===d?void 0:d.isSmartCollection)&&(e.data.isRestricted&&(O={}),O.isCustom=!0),(null==O?void 0:O[b])||(O[b]=e.data.catalogOnlyData,O[b].products={},O[b].products[g]=e.data.productOnlyData,O[b].products[g].variants={}),(null===(c=null==O?void 0:O[b])||void 0===c?void 0:c.products)||(O[b].products={}),(null===(r=null===(o=null==O?void 0:O[b])||void 0===o?void 0:o.products)||void 0===r?void 0:r[g])||(O[b].products[g]=e.data.productOnlyData,O[b].products[g].variants={}),O[b].products[g].variants||(O[b].products[g].variants={}),O[b].products[g].variants[j]=e.data.variant,O;case"variantUnselected":return O=t(a),g=e.data.productId,b=e.data.collectionId,j=e.data.variantId,(null===(i=null===(n=O[b].products[g])||void 0===n?void 0:n.variants)||void 0===i?void 0:i[j])&&delete O[b].products[g].variants[j],Object.keys(null!==(p=null===(l=null===(u=O[b].products)||void 0===u?void 0:u[g])||void 0===l?void 0:l.variants)&&void 0!==p?p:{}).length||(delete O[b].products[g],Object.keys(O[b].products).length||((null===(v=O[b])||void 0===v?void 0:v.isSmartCollection)&&(O.isCustom=!1),delete O[b])),O;case"update":return O=Object.assign({},a),O;case"reset":return{};default:return a}}function s(t,a){let e={};switch(a.type){case"fetched":return e=Object.assign({},a.data),e;case"productsFetched":return e=Object.assign({},t),e[a.data.collectionId].products=a.data.products,e;case"paged":return e=Object.assign(Object.assign({},t),a.data),e;case"productsPaged":return e=Object.assign({},t),e[a.data.collectionId].products=Object.assign(Object.assign({},e[a.data.collectionId].products),a.data.products),e;case"searched":e=Object.assign({},t);for(const t in a.data)t in e||(e[t]=a.data[t]);return e;default:return{}}}function d(t,a){let e={};switch(a.type){case"paginate":e=Object.assign({},t);for(const t in a.data)if(Object.prototype.hasOwnProperty.call(a.data,t)){const s=a.data[t];if(Object.prototype.hasOwnProperty.call(e,t)){const a=e[t];e[t]=Object.assign(Object.assign({},a),{products:Object.assign(Object.assign({},a.products),s.products)})}else e[t]=s}return e;case"update":return e=Object.assign({},t),e;case"set":return e=Object.assign(Object.assign({},t),a.data),e;case"filter":e={};for(const s in t)if(s in a.data){const d=Object.assign({},t[s]),c=a.data[s],o={};for(const t in d.products)if(t in c.products){const a=Object.assign({},d.products[t]),e=c.products[t],s={};for(const t in a.variants)t in e.variants&&(s[t]=Object.assign({},a.variants[t]));Object.keys(s).length>0&&(a.variants=s,o[t]=a)}Object.keys(o).length>0&&(d.products=o,e[s]=d)}return e;default:return t}}function c(t,a){let e={collections:{},products:{}};switch(a.type){case"set":return a.data;case"setProducts":return e=Object.assign({},t),e.products=a.data,e;default:return t}}const o=a("");export{o as CollectionIdContext,s as collectionsReducer,d as paginationReducer,c as searchReducer,e as selectedColectionsReducer};
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
2
|
+
import { ApplicationType } from '@bikdotai/bik-models/growth/models/bik-store';
|
|
3
|
+
import { Collection, FbStatusFetcherReturn, SearchedItems, SelectedItems } from '.';
|
|
4
|
+
import { SearchReducerActions, SelectedCollectionsActions } from './reducers';
|
|
5
|
+
import { OUT_OF_STOCK_ACTION } from './type';
|
|
5
6
|
interface SearchScreenInterface {
|
|
6
7
|
customCollectionRestriction?: boolean;
|
|
7
8
|
selectedCollections: SelectedItems;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
2
|
+
import { ApplicationType } from '@bikdotai/bik-models/growth/models/bik-store';
|
|
3
|
+
import { Collection, FbStatusFetcherReturn, SelectedItems } from '.';
|
|
4
|
+
import { SelectedCollectionsActions } from './reducers';
|
|
5
|
+
import { OUT_OF_STOCK_ACTION } from './type';
|
|
5
6
|
interface SelectedScreenInterface {
|
|
6
7
|
selectedCollections: SelectedItems;
|
|
7
8
|
selectedCollectionsDispatch: React.Dispatch<SelectedCollectionsActions>;
|