@wix/patterns 1.331.0 → 1.333.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/components/ActionControl/ActionButton.js +32 -9
- package/dist/cjs/components/ActionControl/ActionButton.js.map +1 -1
- package/dist/cjs/components/ActionControl/ActionPopover.js +51 -13
- package/dist/cjs/components/ActionControl/ActionPopover.js.map +1 -1
- package/dist/cjs/components/ActionControl/ActionSubItemProps.js.map +1 -1
- package/dist/cjs/components/BulkActionButton/BulkActionButton.js +36 -12
- package/dist/cjs/components/BulkActionButton/BulkActionButton.js.map +1 -1
- package/dist/cjs/components/CardContainer/CardContainer.st.css.js +2 -2
- package/dist/cjs/components/CardContainer/CardContainer.st.css.js.map +1 -1
- package/dist/cjs/components/Collapse/Collapse.st.css.js +3 -3
- package/dist/cjs/components/Collapse/Collapse.st.css.js.map +1 -1
- package/dist/cjs/components/CollectionPageNew/CollectionPage.st.css.js +2 -2
- package/dist/cjs/components/CollectionPageNew/CollectionPage.st.css.js.map +1 -1
- package/dist/cjs/components/CollectionTable/CollectionTable.st.css.js +2 -2
- package/dist/cjs/components/CollectionTable/CollectionTable.st.css.js.map +1 -1
- package/dist/cjs/components/CollectionToolbar/CollectionToolbar.st.css.js +5 -5
- package/dist/cjs/components/CollectionToolbar/CollectionToolbar.st.css.js.map +1 -1
- package/dist/cjs/components/CollectionToolbar/CollectionToolbar.uni.driver.js +4 -0
- package/dist/cjs/components/CollectionToolbar/CollectionToolbar.uni.driver.js.map +1 -1
- package/dist/cjs/components/CollectionToolbar/SearchOrCustomFilter.st.css.js +4 -4
- package/dist/cjs/components/CollectionToolbar/SearchOrCustomFilter.st.css.js.map +1 -1
- package/dist/cjs/components/CollectionViewsDropdown/AutoCompleteReadonly.st.css.js +2 -2
- package/dist/cjs/components/CollectionViewsDropdown/AutoCompleteReadonly.st.css.js.map +1 -1
- package/dist/cjs/components/CollectionViewsDropdown/ViewsDropdown.st.css.js +2 -2
- package/dist/cjs/components/CollectionViewsDropdown/ViewsDropdown.st.css.js.map +1 -1
- package/dist/cjs/components/CustomFieldFilters/buildCustomFieldFilterElement.js +40 -2
- package/dist/cjs/components/CustomFieldFilters/buildCustomFieldFilterElement.js.map +1 -1
- package/dist/cjs/components/CustomFieldsTransforms/transformCustomFiltersToWQL.js +5 -1
- package/dist/cjs/components/CustomFieldsTransforms/transformCustomFiltersToWQL.js.map +1 -1
- package/dist/cjs/components/CustomFieldsTransforms/transformOperatorFilterToWQL.js +113 -0
- package/dist/cjs/components/CustomFieldsTransforms/transformOperatorFilterToWQL.js.map +1 -0
- package/dist/cjs/components/DataExtension/CollectionDataExtensionState.js +4 -1
- package/dist/cjs/components/DataExtension/CollectionDataExtensionState.js.map +1 -1
- package/dist/cjs/components/DragHandle/DragHandle.st.css.js +2 -2
- package/dist/cjs/components/DragHandle/DragHandle.st.css.js.map +1 -1
- package/dist/cjs/components/EntityPage/EntityPagePlain.st.css.js +2 -2
- package/dist/cjs/components/EntityPage/EntityPagePlain.st.css.js.map +1 -1
- package/dist/cjs/components/Fade/Fade.st.css.js +2 -2
- package/dist/cjs/components/Fade/Fade.st.css.js.map +1 -1
- package/dist/cjs/components/FiltersPanel/FiltersPanel.uni.driver.js +26 -0
- package/dist/cjs/components/FiltersPanel/FiltersPanel.uni.driver.js.map +1 -1
- package/dist/cjs/components/Heading/Heading.st.css.js +2 -2
- package/dist/cjs/components/Heading/Heading.st.css.js.map +1 -1
- package/dist/cjs/components/InputOverflow/InputOverflow.st.css.js +2 -2
- package/dist/cjs/components/InputOverflow/InputOverflow.st.css.js.map +1 -1
- package/dist/cjs/components/LoadingRow/LoadingRow.st.css.js +3 -3
- package/dist/cjs/components/LoadingRow/LoadingRow.st.css.js.map +1 -1
- package/dist/cjs/components/MaxHeightText/MaxHeightText.st.css.js +2 -2
- package/dist/cjs/components/MaxHeightText/MaxHeightText.st.css.js.map +1 -1
- package/dist/cjs/components/MaxLines/MaxLines.st.css.js +2 -2
- package/dist/cjs/components/MaxLines/MaxLines.st.css.js.map +1 -1
- package/dist/cjs/components/MultiBulkActionToolbar/MultiBulkActionToolbar.st.css.js +5 -5
- package/dist/cjs/components/MultiBulkActionToolbar/MultiBulkActionToolbar.st.css.js.map +1 -1
- package/dist/cjs/components/NestedTable/NestedTablePlaceholderStatesRow.st.css.js +2 -2
- package/dist/cjs/components/NestedTable/NestedTablePlaceholderStatesRow.st.css.js.map +1 -1
- package/dist/cjs/components/NestedTable/NestedTableRow.st.css.js +5 -5
- package/dist/cjs/components/NestedTable/NestedTableRow.st.css.js.map +1 -1
- package/dist/cjs/components/NestedTableDragAndDrop/MultipleDragOverlayEffect.st.css.js +2 -2
- package/dist/cjs/components/NestedTableDragAndDrop/MultipleDragOverlayEffect.st.css.js.map +1 -1
- package/dist/cjs/components/NestedTableDragAndDrop/NestedTableDragAndDropRow.st.css.js +2 -2
- package/dist/cjs/components/NestedTableDragAndDrop/NestedTableDragAndDropRow.st.css.js.map +1 -1
- package/dist/cjs/components/OperatorFilterPicker/OperatorFilterPicker.js +111 -0
- package/dist/cjs/components/OperatorFilterPicker/OperatorFilterPicker.js.map +1 -0
- package/dist/cjs/components/OperatorFilterPicker/index.js +7 -0
- package/dist/cjs/components/OperatorFilterPicker/index.js.map +1 -0
- package/dist/cjs/components/PickerContent/PickerContent.st.css.js +2 -2
- package/dist/cjs/components/PickerContent/PickerContent.st.css.js.map +1 -1
- package/dist/cjs/components/PickerContent/PickerContentAdditionalStep.st.css.js +4 -4
- package/dist/cjs/components/PickerContent/PickerContentAdditionalStep.st.css.js.map +1 -1
- package/dist/cjs/components/PickerTableListItem/PickerTableListItem.st.css.js +2 -2
- package/dist/cjs/components/PickerTableListItem/PickerTableListItem.st.css.js.map +1 -1
- package/dist/cjs/components/ScrollableContent/ScrollableContent.st.css.js +2 -2
- package/dist/cjs/components/ScrollableContent/ScrollableContent.st.css.js.map +1 -1
- package/dist/cjs/components/SkeletonCard/SkeletonCard.st.css.js +3 -3
- package/dist/cjs/components/SkeletonCard/SkeletonCard.st.css.js.map +1 -1
- package/dist/cjs/components/SlidingModal/SlidingModal.st.css.js +2 -2
- package/dist/cjs/components/SlidingModal/SlidingModal.st.css.js.map +1 -1
- package/dist/cjs/components/Suggestions/MarketingCard.js +33 -21
- package/dist/cjs/components/Suggestions/MarketingCard.js.map +1 -1
- package/dist/cjs/components/Suggestions/SuggestionCtaWrapper.js +28 -0
- package/dist/cjs/components/Suggestions/SuggestionCtaWrapper.js.map +1 -0
- package/dist/cjs/components/Suggestions/Suggestions.js +38 -24
- package/dist/cjs/components/Suggestions/Suggestions.js.map +1 -1
- package/dist/cjs/components/Suggestions/SuggestionsContext.js +34 -0
- package/dist/cjs/components/Suggestions/SuggestionsContext.js.map +1 -0
- package/dist/cjs/components/Suggestions/index.js +3 -1
- package/dist/cjs/components/Suggestions/index.js.map +1 -1
- package/dist/cjs/components/TabsFilter/TabsFilter.st.css.js +3 -3
- package/dist/cjs/components/TabsFilter/TabsFilter.st.css.js.map +1 -1
- package/dist/cjs/components/Tags/ManageTags/ManageTagsModal/ManageTagsModal.st.css.js +2 -2
- package/dist/cjs/components/Tags/ManageTags/ManageTagsModal/ManageTagsModal.st.css.js.map +1 -1
- package/dist/cjs/components/TagsAssignButton/TagsAssignButton.js +34 -11
- package/dist/cjs/components/TagsAssignButton/TagsAssignButton.js.map +1 -1
- package/dist/cjs/components/ToolbarItem/ToolbarItem.st.css.js +2 -2
- package/dist/cjs/components/ToolbarItem/ToolbarItem.st.css.js.map +1 -1
- package/dist/cjs/components/ToolbarItemBox/ToolbarItemBox.st.css.js +2 -2
- package/dist/cjs/components/ToolbarItemBox/ToolbarItemBox.st.css.js.map +1 -1
- package/dist/cjs/components/common.st.css.js +4 -4
- package/dist/cjs/components/common.st.css.js.map +1 -1
- package/dist/cjs/hooks/index.js +6 -0
- package/dist/cjs/hooks/index.js.map +1 -1
- package/dist/cjs/hooks/useOperatorFilterState.js +34 -0
- package/dist/cjs/hooks/useOperatorFilterState.js.map +1 -0
- package/dist/cjs/index.js +26 -2
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/state/CollectionPage/CollectionPageHeader.st.css.js +2 -2
- package/dist/cjs/state/CollectionPage/CollectionPageHeader.st.css.js.map +1 -1
- package/dist/cjs/state/FormPage/FormPageHeader.st.css.js +2 -2
- package/dist/cjs/state/FormPage/FormPageHeader.st.css.js.map +1 -1
- package/dist/cjs/state/OperatorFilterPickerState.js +112 -0
- package/dist/cjs/state/OperatorFilterPickerState.js.map +1 -0
- package/dist/cjs/state/Suggestions/SuggestionsBIReporter.js +12 -0
- package/dist/cjs/state/Suggestions/SuggestionsBIReporter.js.map +1 -1
- package/dist/cjs/state/Suggestions/SuggestionsState.js +6 -3
- package/dist/cjs/state/Suggestions/SuggestionsState.js.map +1 -1
- package/dist/cjs/state/TagsBulkAssignPopoverState.js +8 -0
- package/dist/cjs/state/TagsBulkAssignPopoverState.js.map +1 -1
- package/dist/cjs/state/index.js +6 -0
- package/dist/cjs/state/index.js.map +1 -1
- package/dist/cjs/styles.global.css +1 -1
- package/dist/cjs/test-utils/DealerBIMock.js +1 -1
- package/dist/cjs/test-utils/DealerBIMock.js.map +1 -1
- package/dist/cjs/utils/ReturnFocus.js +53 -0
- package/dist/cjs/utils/ReturnFocus.js.map +1 -0
- package/dist/cjs/version.js +1 -1
- package/dist/cjs/version.js.map +1 -1
- package/dist/esm/components/ActionControl/ActionButton.js +18 -4
- package/dist/esm/components/ActionControl/ActionButton.js.map +1 -1
- package/dist/esm/components/ActionControl/ActionPopover.js +35 -6
- package/dist/esm/components/ActionControl/ActionPopover.js.map +1 -1
- package/dist/esm/components/BulkActionButton/BulkActionButton.js +20 -5
- package/dist/esm/components/BulkActionButton/BulkActionButton.js.map +1 -1
- package/dist/esm/components/CardContainer/CardContainer.st.css.js +2 -2
- package/dist/esm/components/CardContainer/CardContainer.st.css.js.map +1 -1
- package/dist/esm/components/Collapse/Collapse.st.css.js +2 -2
- package/dist/esm/components/Collapse/Collapse.st.css.js.map +1 -1
- package/dist/esm/components/CollectionPageNew/CollectionPage.st.css.js +2 -2
- package/dist/esm/components/CollectionPageNew/CollectionPage.st.css.js.map +1 -1
- package/dist/esm/components/CollectionTable/CollectionTable.st.css.js +2 -2
- package/dist/esm/components/CollectionTable/CollectionTable.st.css.js.map +1 -1
- package/dist/esm/components/CollectionToolbar/CollectionToolbar.st.css.js +2 -2
- package/dist/esm/components/CollectionToolbar/CollectionToolbar.uni.driver.js +4 -0
- package/dist/esm/components/CollectionToolbar/CollectionToolbar.uni.driver.js.map +1 -1
- package/dist/esm/components/CollectionToolbar/SearchOrCustomFilter.st.css.js +2 -2
- package/dist/esm/components/CollectionToolbar/SearchOrCustomFilter.st.css.js.map +1 -1
- package/dist/esm/components/CollectionViewsDropdown/AutoCompleteReadonly.st.css.js +2 -2
- package/dist/esm/components/CollectionViewsDropdown/AutoCompleteReadonly.st.css.js.map +1 -1
- package/dist/esm/components/CollectionViewsDropdown/ViewsDropdown.st.css.js +2 -2
- package/dist/esm/components/CustomFieldFilters/buildCustomFieldFilterElement.js +5 -0
- package/dist/esm/components/CustomFieldFilters/buildCustomFieldFilterElement.js.map +1 -1
- package/dist/esm/components/CustomFieldsTransforms/transformCustomFiltersToWQL.js +4 -0
- package/dist/esm/components/CustomFieldsTransforms/transformCustomFiltersToWQL.js.map +1 -1
- package/dist/esm/components/CustomFieldsTransforms/transformOperatorFilterToWQL.js +131 -0
- package/dist/esm/components/CustomFieldsTransforms/transformOperatorFilterToWQL.js.map +1 -0
- package/dist/esm/components/DataExtension/CollectionDataExtensionState.js +4 -1
- package/dist/esm/components/DataExtension/CollectionDataExtensionState.js.map +1 -1
- package/dist/esm/components/DragHandle/DragHandle.st.css.js +2 -2
- package/dist/esm/components/EntityPage/EntityPagePlain.st.css.js +2 -2
- package/dist/esm/components/Fade/Fade.st.css.js +2 -2
- package/dist/esm/components/FiltersPanel/FiltersPanel.uni.driver.js +27 -1
- package/dist/esm/components/FiltersPanel/FiltersPanel.uni.driver.js.map +1 -1
- package/dist/esm/components/Heading/Heading.st.css.js +2 -2
- package/dist/esm/components/InputOverflow/InputOverflow.st.css.js +2 -2
- package/dist/esm/components/LoadingRow/LoadingRow.st.css.js +3 -3
- package/dist/esm/components/LoadingRow/LoadingRow.st.css.js.map +1 -1
- package/dist/esm/components/MaxHeightText/MaxHeightText.st.css.js +2 -2
- package/dist/esm/components/MaxHeightText/MaxHeightText.st.css.js.map +1 -1
- package/dist/esm/components/MaxLines/MaxLines.st.css.js +2 -2
- package/dist/esm/components/MultiBulkActionToolbar/MultiBulkActionToolbar.st.css.js +2 -2
- package/dist/esm/components/NestedTable/NestedTablePlaceholderStatesRow.st.css.js +2 -2
- package/dist/esm/components/NestedTable/NestedTableRow.st.css.js +2 -2
- package/dist/esm/components/NestedTableDragAndDrop/MultipleDragOverlayEffect.st.css.js +2 -2
- package/dist/esm/components/NestedTableDragAndDrop/NestedTableDragAndDropRow.st.css.js +2 -2
- package/dist/esm/components/OperatorFilterPicker/OperatorFilterPicker.js +33 -0
- package/dist/esm/components/OperatorFilterPicker/OperatorFilterPicker.js.map +1 -0
- package/dist/esm/components/OperatorFilterPicker/index.js +2 -0
- package/dist/esm/components/OperatorFilterPicker/index.js.map +1 -0
- package/dist/esm/components/PickerContent/PickerContent.st.css.js +2 -2
- package/dist/esm/components/PickerContent/PickerContent.st.css.js.map +1 -1
- package/dist/esm/components/PickerContent/PickerContentAdditionalStep.st.css.js +2 -2
- package/dist/esm/components/PickerContent/PickerContentAdditionalStep.st.css.js.map +1 -1
- package/dist/esm/components/PickerTableListItem/PickerTableListItem.st.css.js +2 -2
- package/dist/esm/components/ScrollableContent/ScrollableContent.st.css.js +2 -2
- package/dist/esm/components/ScrollableContent/ScrollableContent.st.css.js.map +1 -1
- package/dist/esm/components/SkeletonCard/SkeletonCard.st.css.js +2 -2
- package/dist/esm/components/SlidingModal/SlidingModal.st.css.js +2 -2
- package/dist/esm/components/Suggestions/MarketingCard.js +5 -3
- package/dist/esm/components/Suggestions/MarketingCard.js.map +1 -1
- package/dist/esm/components/Suggestions/SuggestionCtaWrapper.js +17 -0
- package/dist/esm/components/Suggestions/SuggestionCtaWrapper.js.map +1 -0
- package/dist/esm/components/Suggestions/Suggestions.js +8 -9
- package/dist/esm/components/Suggestions/Suggestions.js.map +1 -1
- package/dist/esm/components/Suggestions/SuggestionsContext.js +14 -0
- package/dist/esm/components/Suggestions/SuggestionsContext.js.map +1 -0
- package/dist/esm/components/Suggestions/index.js +2 -3
- package/dist/esm/components/Suggestions/index.js.map +1 -1
- package/dist/esm/components/TabsFilter/TabsFilter.st.css.js +2 -2
- package/dist/esm/components/TabsFilter/TabsFilter.st.css.js.map +1 -1
- package/dist/esm/components/Tags/ManageTags/ManageTagsModal/ManageTagsModal.st.css.js +2 -2
- package/dist/esm/components/Tags/ManageTags/ManageTagsModal/ManageTagsModal.st.css.js.map +1 -1
- package/dist/esm/components/TagsAssignButton/TagsAssignButton.js +18 -5
- package/dist/esm/components/TagsAssignButton/TagsAssignButton.js.map +1 -1
- package/dist/esm/components/ToolbarItem/ToolbarItem.st.css.js +2 -2
- package/dist/esm/components/ToolbarItemBox/ToolbarItemBox.st.css.js +2 -2
- package/dist/esm/components/common.st.css.js +2 -2
- package/dist/esm/hooks/index.js +1 -0
- package/dist/esm/hooks/index.js.map +1 -1
- package/dist/esm/hooks/useOperatorFilterState.js +22 -0
- package/dist/esm/hooks/useOperatorFilterState.js.map +1 -0
- package/dist/esm/index.js +3 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/state/CollectionPage/CollectionPageHeader.st.css.js +2 -2
- package/dist/esm/state/CollectionPage/CollectionPageHeader.st.css.js.map +1 -1
- package/dist/esm/state/FormPage/FormPageHeader.st.css.js +2 -2
- package/dist/esm/state/OperatorFilterPickerState.js +88 -0
- package/dist/esm/state/OperatorFilterPickerState.js.map +1 -0
- package/dist/esm/state/Suggestions/SuggestionsBIReporter.js +12 -0
- package/dist/esm/state/Suggestions/SuggestionsBIReporter.js.map +1 -1
- package/dist/esm/state/Suggestions/SuggestionsState.js +6 -3
- package/dist/esm/state/Suggestions/SuggestionsState.js.map +1 -1
- package/dist/esm/state/TagsBulkAssignPopoverState.js +10 -0
- package/dist/esm/state/TagsBulkAssignPopoverState.js.map +1 -1
- package/dist/esm/state/index.js +1 -0
- package/dist/esm/state/index.js.map +1 -1
- package/dist/esm/styles.global.css +1 -1
- package/dist/esm/test-utils/DealerBIMock.js +1 -1
- package/dist/esm/test-utils/DealerBIMock.js.map +1 -1
- package/dist/esm/utils/ReturnFocus.js +45 -0
- package/dist/esm/utils/ReturnFocus.js.map +1 -0
- package/dist/esm/version.js +1 -1
- package/dist/types/components/ActionControl/ActionButton.d.ts.map +1 -1
- package/dist/types/components/ActionControl/ActionPopover.d.ts.map +1 -1
- package/dist/types/components/ActionControl/ActionSubItemProps.d.ts +6 -0
- package/dist/types/components/ActionControl/ActionSubItemProps.d.ts.map +1 -1
- package/dist/types/components/BulkActionButton/BulkActionButton.d.ts +1 -1
- package/dist/types/components/BulkActionButton/BulkActionButton.d.ts.map +1 -1
- package/dist/types/components/CardContainer/CardContainer.st.css.d.ts.map +1 -1
- package/dist/types/components/Collapse/Collapse.st.css.d.ts.map +1 -1
- package/dist/types/components/CollectionPageNew/CollectionPage.st.css.d.ts.map +1 -1
- package/dist/types/components/CollectionTable/CollectionTable.st.css.d.ts.map +1 -1
- package/dist/types/components/CollectionTable/CollectionTable.uni.driver.d.ts +494 -18
- package/dist/types/components/CollectionTable/CollectionTable.uni.driver.d.ts.map +1 -1
- package/dist/types/components/CollectionToolbar/CollectionToolbar.uni.driver.d.ts +243 -9
- package/dist/types/components/CollectionToolbar/CollectionToolbar.uni.driver.d.ts.map +1 -1
- package/dist/types/components/CollectionToolbar/SearchOrCustomFilter.st.css.d.ts.map +1 -1
- package/dist/types/components/CollectionViewsDropdown/AutoCompleteReadonly.st.css.d.ts.map +1 -1
- package/dist/types/components/CustomFieldFilters/buildCustomFieldFilterElement.d.ts.map +1 -1
- package/dist/types/components/CustomFieldsTransforms/transformCustomFiltersToWQL.d.ts.map +1 -1
- package/dist/types/components/CustomFieldsTransforms/transformOperatorFilterToWQL.d.ts +65 -0
- package/dist/types/components/CustomFieldsTransforms/transformOperatorFilterToWQL.d.ts.map +1 -0
- package/dist/types/components/DataExtension/CollectionDataExtensionState.d.ts.map +1 -1
- package/dist/types/components/FiltersPanel/FiltersPanel.uni.driver.d.ts +117 -0
- package/dist/types/components/FiltersPanel/FiltersPanel.uni.driver.d.ts.map +1 -1
- package/dist/types/components/Grid/Grid.uni.driver.d.ts +234 -0
- package/dist/types/components/Grid/Grid.uni.driver.d.ts.map +1 -1
- package/dist/types/components/Grid/GridFolders.uni.driver.d.ts +726 -24
- package/dist/types/components/Grid/GridFolders.uni.driver.d.ts.map +1 -1
- package/dist/types/components/Grid/GridFoldersSection.uni.driver.d.ts +234 -0
- package/dist/types/components/Grid/GridFoldersSection.uni.driver.d.ts.map +1 -1
- package/dist/types/components/Kanban/Kanban.uni.driver.d.ts +234 -0
- package/dist/types/components/Kanban/Kanban.uni.driver.d.ts.map +1 -1
- package/dist/types/components/LoadingRow/LoadingRow.st.css.d.ts.map +1 -1
- package/dist/types/components/MaxHeightText/MaxHeightText.st.css.d.ts.map +1 -1
- package/dist/types/components/NestedTable/NestedTable.uni.driver.d.ts +727 -31
- package/dist/types/components/NestedTable/NestedTable.uni.driver.d.ts.map +1 -1
- package/dist/types/components/OperatorFilterPicker/OperatorFilterPicker.d.ts +16 -0
- package/dist/types/components/OperatorFilterPicker/OperatorFilterPicker.d.ts.map +1 -0
- package/dist/types/components/OperatorFilterPicker/index.d.ts +2 -0
- package/dist/types/components/OperatorFilterPicker/index.d.ts.map +1 -0
- package/dist/types/components/PickerContent/PickerContent.st.css.d.ts.map +1 -1
- package/dist/types/components/PickerContent/PickerContentAdditionalStep.st.css.d.ts.map +1 -1
- package/dist/types/components/ScrollableContent/ScrollableContent.st.css.d.ts.map +1 -1
- package/dist/types/components/Suggestions/MarketingCard.d.ts.map +1 -1
- package/dist/types/components/Suggestions/SuggestionCtaWrapper.d.ts +18 -0
- package/dist/types/components/Suggestions/SuggestionCtaWrapper.d.ts.map +1 -0
- package/dist/types/components/Suggestions/Suggestions.d.ts.map +1 -1
- package/dist/types/components/Suggestions/SuggestionsContext.d.ts +11 -0
- package/dist/types/components/Suggestions/SuggestionsContext.d.ts.map +1 -0
- package/dist/types/components/Suggestions/index.d.ts +2 -2
- package/dist/types/components/Suggestions/index.d.ts.map +1 -1
- package/dist/types/components/Table/Table.uni.driver.d.ts +468 -0
- package/dist/types/components/Table/Table.uni.driver.d.ts.map +1 -1
- package/dist/types/components/TableFolders/TableFolders.uni.driver.d.ts +726 -24
- package/dist/types/components/TableFolders/TableFolders.uni.driver.d.ts.map +1 -1
- package/dist/types/components/TableGridSwitch/TableGridSwitch.uni.driver.d.ts +756 -18
- package/dist/types/components/TableGridSwitch/TableGridSwitch.uni.driver.d.ts.map +1 -1
- package/dist/types/components/TabsFilter/TabsFilter.st.css.d.ts.map +1 -1
- package/dist/types/components/Tags/ManageTags/ManageTagsModal/ManageTagsModal.st.css.d.ts.map +1 -1
- package/dist/types/components/TagsAssignButton/TagsAssignButton.d.ts.map +1 -1
- package/dist/types/hooks/index.d.ts +1 -0
- package/dist/types/hooks/index.d.ts.map +1 -1
- package/dist/types/hooks/useOperatorFilterState.d.ts +13 -0
- package/dist/types/hooks/useOperatorFilterState.d.ts.map +1 -0
- package/dist/types/index.d.ts +3 -1
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/state/CollectionPage/CollectionPageHeader.st.css.d.ts.map +1 -1
- package/dist/types/state/OperatorFilterPickerState.d.ts +40 -0
- package/dist/types/state/OperatorFilterPickerState.d.ts.map +1 -0
- package/dist/types/state/Suggestions/SuggestionsBIReporter.d.ts +1 -0
- package/dist/types/state/Suggestions/SuggestionsBIReporter.d.ts.map +1 -1
- package/dist/types/state/Suggestions/SuggestionsState.d.ts +2 -1
- package/dist/types/state/Suggestions/SuggestionsState.d.ts.map +1 -1
- package/dist/types/state/TagsBulkAssignPopoverState.d.ts +2 -0
- package/dist/types/state/TagsBulkAssignPopoverState.d.ts.map +1 -1
- package/dist/types/state/index.d.ts +1 -0
- package/dist/types/state/index.d.ts.map +1 -1
- package/dist/types/test-utils/DealerBIMock.d.ts +2 -2
- package/dist/types/test-utils/DealerBIMock.d.ts.map +1 -1
- package/dist/types/testkit/enzyme.d.ts +3822 -312
- package/dist/types/testkit/enzyme.d.ts.map +1 -1
- package/dist/types/testkit/jsdom.d.ts +4080 -336
- package/dist/types/testkit/jsdom.d.ts.map +1 -1
- package/dist/types/testkit/playwright.d.ts +3822 -312
- package/dist/types/testkit/playwright.d.ts.map +1 -1
- package/dist/types/testkit/puppeteer.d.ts +4080 -336
- package/dist/types/testkit/puppeteer.d.ts.map +1 -1
- package/dist/types/utils/ReturnFocus.d.ts +15 -0
- package/dist/types/utils/ReturnFocus.d.ts.map +1 -0
- package/dist/types/version.d.ts +1 -1
- package/package.json +3 -3
- package/src/components/ActionControl/ActionButton.tsx +39 -18
- package/src/components/ActionControl/ActionPopover.tsx +59 -22
- package/src/components/ActionControl/ActionSubItemProps.tsx +6 -0
- package/src/components/BulkActionButton/BulkActionButton.tsx +42 -18
- package/src/components/CardContainer/CardContainer.st.css.ts +2 -2
- package/src/components/Collapse/Collapse.st.css.ts +2 -2
- package/src/components/CollectionPageNew/CollectionPage.st.css.ts +2 -2
- package/src/components/CollectionTable/CollectionTable.st.css.ts +2 -2
- package/src/components/CollectionToolbar/CollectionToolbar.st.css.ts +2 -2
- package/src/components/CollectionToolbar/CollectionToolbar.uni.driver.ts +6 -0
- package/src/components/CollectionToolbar/SearchOrCustomFilter.st.css.ts +2 -2
- package/src/components/CollectionViewsDropdown/AutoCompleteReadonly.st.css.ts +2 -2
- package/src/components/CollectionViewsDropdown/ViewsDropdown.st.css.ts +2 -2
- package/src/components/CustomFieldFilters/buildCustomFieldFilterElement.tsx +25 -1
- package/src/components/CustomFieldsTransforms/transformCustomFiltersToWQL.tsx +4 -0
- package/src/components/CustomFieldsTransforms/transformOperatorFilterToWQL.tsx +150 -0
- package/src/components/DataExtension/CollectionDataExtensionState.ts +4 -0
- package/src/components/DragHandle/DragHandle.st.css.ts +2 -2
- package/src/components/EntityPage/EntityPagePlain.st.css.ts +2 -2
- package/src/components/Fade/Fade.st.css.ts +2 -2
- package/src/components/FiltersPanel/FiltersPanel.uni.driver.ts +41 -0
- package/src/components/Heading/Heading.st.css.ts +2 -2
- package/src/components/InputOverflow/InputOverflow.st.css.ts +2 -2
- package/src/components/LoadingRow/LoadingRow.st.css.ts +3 -3
- package/src/components/MaxHeightText/MaxHeightText.st.css.ts +2 -2
- package/src/components/MaxLines/MaxLines.st.css.ts +2 -2
- package/src/components/MultiBulkActionToolbar/MultiBulkActionToolbar.st.css.ts +2 -2
- package/src/components/NestedTable/NestedTablePlaceholderStatesRow.st.css.ts +2 -2
- package/src/components/NestedTable/NestedTableRow.st.css.ts +2 -2
- package/src/components/NestedTableDragAndDrop/MultipleDragOverlayEffect.st.css.ts +2 -2
- package/src/components/NestedTableDragAndDrop/NestedTableDragAndDropRow.st.css.ts +2 -2
- package/src/components/OperatorFilterPicker/OperatorFilterPicker.tsx +99 -0
- package/src/components/OperatorFilterPicker/index.ts +4 -0
- package/src/components/PickerContent/PickerContent.st.css.ts +2 -2
- package/src/components/PickerContent/PickerContentAdditionalStep.st.css.ts +2 -2
- package/src/components/PickerTableListItem/PickerTableListItem.st.css.ts +2 -2
- package/src/components/ScrollableContent/ScrollableContent.st.css.ts +2 -2
- package/src/components/SkeletonCard/SkeletonCard.st.css.ts +2 -2
- package/src/components/SlidingModal/SlidingModal.st.css.ts +2 -2
- package/src/components/Suggestions/MarketingCard.tsx +19 -11
- package/src/components/Suggestions/SuggestionCtaWrapper.tsx +31 -0
- package/src/components/Suggestions/Suggestions.tsx +33 -29
- package/src/components/Suggestions/SuggestionsContext.tsx +34 -0
- package/src/components/Suggestions/index.ts +10 -5
- package/src/components/TabsFilter/TabsFilter.st.css.ts +2 -2
- package/src/components/Tags/ManageTags/ManageTagsModal/ManageTagsModal.st.css.ts +2 -2
- package/src/components/TagsAssignButton/TagsAssignButton.tsx +38 -20
- package/src/components/ToolbarItem/ToolbarItem.st.css.ts +2 -2
- package/src/components/ToolbarItemBox/ToolbarItemBox.st.css.ts +2 -2
- package/src/components/common.st.css.ts +2 -2
- package/src/hooks/index.ts +1 -0
- package/src/hooks/useOperatorFilterState.ts +37 -0
- package/src/index.ts +9 -0
- package/src/state/CollectionPage/CollectionPageHeader.st.css.ts +2 -2
- package/src/state/FormPage/FormPageHeader.st.css.ts +2 -2
- package/src/state/OperatorFilterPickerState.ts +136 -0
- package/src/state/Suggestions/SuggestionsBIReporter.ts +15 -0
- package/src/state/Suggestions/SuggestionsState.ts +6 -2
- package/src/state/TagsBulkAssignPopoverState.ts +13 -0
- package/src/state/index.ts +1 -0
- package/src/styles.global.css +1 -1
- package/src/test-utils/DealerBIMock.ts +3 -3
- package/src/utils/ReturnFocus.ts +51 -0
- package/src/version.ts +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_unidriver","require","_unidriver2","_CollectionDropdownFilterUni","_FiltersPanelUni","_CollectionViewsDropdownUni","_TabsFilterUni","_interopRequireDefault","_TableGridSwitchButtonUni","_CustomColumnsPanelUni","_MultiLevelSortingPanelUni","_unidriver3","_MultiLevelSortingCTAButtonUni","_ToolbarSecondaryActionsUni","_MoreActionsUni","CollectionToolbarUniDriver","base","body","toolbar","baseUniDriverFactory","getMoreActions","dataHook","MoreActionsUniDriver","getSecondaryActions","index","ToolbarSecondaryActionsUniDriver","searchDriver","SearchUniDriver","$","click","filtersPanel","FiltersPanelUniDriver","getSwitchButton","TableGridSwitchButtonUniDriver","getSwitchButtonDivider","getPrimaryActionButton","ButtonUniDriver","getInputWithOptionsDriver","filterName","inputWithOptionsBase","inputWithOptionsDriver","InputWithOptionsUniDriver","CollectionDropdownFilterUniDriver","isFiltersPanelOpen","isOpen","getMoreFiltersPanelButton","clickMoreFiltersButton","closeFiltersPanel","clickCloseButton","getViewsDropdown","CollectionViewsDropdownUniDriver","isToolbarWithFilters","exists","getToolbarFiltersItemsCount","$$","count","getToolbarFilterTitleAt","text","getMultiLevelSortingButton","MultiLevelSortingCTAButtonUniDriver","slidingModalBase","customColumnsPopover","CustomColumnsPanelUniDriver","getMultiLevelSortingPanel","MultiLevelSortingPanelUniDriver","getSearchCancelButton","TextButtonUniDriver","getSearch","wait","timeout","getSearchText","inputDriver","getText","enterSearchText","enterText","getSearchMaxLength","getMaxLength","clearSearchText","clearText","searchInputExists","clickClearSearchText","clickClear","searchCancelButtonExists","clickSearchCancelButton","skeletonExists","viewsSkeletonExists","openViewsDropdown","open","getViewListItemAt","getViewListItemById","id","getSaveViewModal","getRenameViewModal","clickClearAllFilters","getFilterAppliedText","getClearAllFiltersButton","selectFilterOptions","ids","options","selectOptions","selectFilterOption","selectOption","selectFilterRandomOptions","selectRandomOptions","getFilterDropdownOptionsCount","getOptionsCount","getFilterDropdownAvailableOptionsIds","getAvailableOptionsIds","getFilterInputPlaceholder","getInputPlaceholder","isFilterInNoSearchResultsState","isNoSearchResults","getFilterEmptyStateText","getEmptyStateText","isFilterInErrorState","isErrorStateExists","existsInFilter","existInFilter","enterFilterText","value","selectPanelFilterOptions","selectPanelFilterRandomOptions","checkPanelFilterInlineCheckboxes","checkFilterInlineCheckboxes","choosePanelFilterDateRange","chooseDatesFilterDateRange","clickFilterInPanel","clickFilterTitle","getFiltersPanelTitleText","getTitleText","getMoreFiltersButtonCounterValue","CounterBadgeUniDriver","getContentText","closeCustomColumnsPanel","getCustomColumnsPanelTitle","getTitle","getCustomColumnsPanelSubtitle","getSubtitle","customColumnsPanelCloseButtonExists","closeButtonExists","getCustomColumnInfoIconAt","getPanelFilterTitleText","getFilterTitleText","clickPanelFilterTitle","isPanelFilterExpanded","isFilterExpanded","getPanelCustomFilter","fn","getCustomFilter","element","moreFilterButtonExists","getMoreFiltersButtonText","getButtonTextContent","clickCustomColumnsButton","customColumnsButtonExists","isCustomColumnsOpen","isCustomColumnsAddNewExist","addNewExists","clickCustomColumnsAddNew","clickAddNew","waitSidePanelFullyOpened","waitFor","attr","waitSidePanelFullyClosed","clickCustomColumnsCheckboxes","checkOptions","getCustomColumnCheckboxAt","getCheckboxAt","getCustomColumnsDriver","getCustomColumnCheckboxesCount","getCheckboxesCount","getCustomColumnCheckboxById","getCheckboxById","getCustomColumnsTitles","getTitles","getCustomColumnsButtonCounterValue","getInputWithOptions","getFiltersPanelInputWithOptions","getFiltersPanelMultiSelect","scrollDownFilter","scrollDown","scrollDownPanelFilter","clickFilterClearButton","clickInputClear","getPanelFiltersCount","getTabs","TabsFilterUniDriver","getDateRangeFilter","getNumberRangeFilterDriver","getNumberRangeDriver","getRadioGroupFilter","multiLevelSortingButtonExists","getIconButton","clickMultiLevelSortingButton","getMultiLevelSortingButtonCounterValue","getMainToolbar","isShowTotal","getShowTotal","isTitleExists","getSubtitleText","getSubtitleLearnMoreButton","applyButton","discardChangesModal","getFiltersPanelItemTextAt","getItemTextAt","getFiltersPanelItemsCount","getItemsCount","getCustomFieldOptionsAt","_filtersPanel","exports"],"sources":["../../../../src/components/CollectionToolbar/CollectionToolbar.uni.driver.ts"],"sourcesContent":["import { UniDriver, waitFor } from '@wix/wix-ui-test-utils/unidriver';\nimport {\n ButtonUniDriver,\n CounterBadgeUniDriver,\n InputWithOptionsUniDriver,\n SearchUniDriver,\n TextButtonUniDriver,\n} from '@wix/design-system/dist/testkit/unidriver';\nimport { CollectionDropdownFilterUniDriver } from '../DropdownFilter/CollectionDropdownFilter.uni.driver';\nimport { FiltersPanelUniDriver } from '../FiltersPanel/FiltersPanel.uni.driver';\nimport { CollectionViewsDropdownUniDriver } from '../CollectionViewsDropdown/CollectionViewsDropdown.uni.driver';\nimport TabsFilterUniDriver from '../TabsFilter/TabsFilter.uni.driver';\nimport { TableGridSwitchButtonUniDriver } from '../TableGridSwitchButton/TableGridSwitchButton.uni.driver';\nimport { CustomColumnsPanelUniDriver } from '../CustomColumnsPanel/CustomColumnsPanel.uni.driver';\nimport { MultiLevelSortingPanelUniDriver } from '../MultiLevelSortingPanel/MultiLevelSortingPanel.uni.driver';\nimport { baseUniDriverFactory } from '../../unidriver';\nimport { MultiLevelSortingCTAButtonUniDriver } from '../MultiLevelSorting/MultiLevelSortingCTAButton.uni.driver';\nimport { ToolbarSecondaryActionsUniDriver } from './ToolbarSecondaryActions.uni.driver';\nimport { MoreActionsUniDriver } from '../MoreActions/MoreActions.uni.driver';\n\nexport const CollectionToolbarUniDriver = (\n base: UniDriver,\n body: UniDriver,\n) => {\n const toolbar = baseUniDriverFactory(base);\n\n /** Returns more actions button driver */\n const getMoreActions = (dataHook: string = 'toolbar-more-actions') =>\n MoreActionsUniDriver(base, body).getMoreActions(dataHook);\n\n const getSecondaryActions = (index: number, dataHook?: string) =>\n ToolbarSecondaryActionsUniDriver(base, body).getSecondaryActions(\n dataHook,\n index,\n );\n\n const searchDriver = {\n ...SearchUniDriver(base.$('[data-hook=\"collection-search\"]'), body),\n click: () => base.$('[data-hook=\"collection-search\"]').click(),\n };\n\n const filtersPanel = FiltersPanelUniDriver(body, body);\n\n const getSwitchButton = () =>\n TableGridSwitchButtonUniDriver(\n base.$('[data-hook=\"table-grid-switch-toggle-button\"]'),\n body,\n );\n\n const getSwitchButtonDivider = () =>\n base.$('[data-hook=\"collection-table--grid-switch--divider\"]');\n\n const getPrimaryActionButton = () =>\n ButtonUniDriver(\n base.$('[data-hook=\"toolbar-primary-action-button\"]'),\n body,\n );\n\n const getInputWithOptionsDriver = (filterName: string) => {\n const dataHook = `collection-filter-${filterName}`;\n const inputWithOptionsBase = base.$(`[data-hook=\"${dataHook}\"]`);\n const inputWithOptionsDriver = InputWithOptionsUniDriver(\n inputWithOptionsBase,\n body,\n );\n\n return CollectionDropdownFilterUniDriver(\n inputWithOptionsDriver,\n dataHook,\n inputWithOptionsBase,\n body,\n );\n };\n\n const isFiltersPanelOpen = () => filtersPanel.isOpen();\n\n const getMoreFiltersPanelButton = () =>\n ButtonUniDriver(base.$('[data-hook=\"more-filters-button\"]'), body);\n\n const clickMoreFiltersButton = () => getMoreFiltersPanelButton().click();\n const closeFiltersPanel = () => filtersPanel.clickCloseButton();\n\n const getViewsDropdown = () => CollectionViewsDropdownUniDriver(base, body);\n\n const isToolbarWithFilters = async () =>\n base.$(`[data-hook=\"toolbar-item-filter-0\"]`).exists();\n\n const getToolbarFiltersItemsCount = async () => {\n return base.$$(`[data-hook^=\"toolbar-item-filter-\"]`).count();\n };\n\n const getToolbarFilterTitleAt = async (index: number) => {\n return base\n .$(\n `[data-hook=\"toolbar-item-filter-${index}\"] [data-hook=\"table-toolbar-label\"]`,\n )\n .text();\n };\n\n const getMultiLevelSortingButton = () =>\n MultiLevelSortingCTAButtonUniDriver(base, body, {\n dataHook: 'multi-level-sorting-button',\n });\n\n const slidingModalBase = () => body.$('[data-hook=\"cairo-side-panel-modal\"]');\n\n const customColumnsPopover = () => CustomColumnsPanelUniDriver(body, body);\n\n const getMultiLevelSortingPanel = () =>\n MultiLevelSortingPanelUniDriver(body, body);\n\n const getSearchCancelButton = () =>\n TextButtonUniDriver(base.$('[data-hook=\"collection-search-cancel\"]'), body);\n\n return {\n ...toolbar,\n getSearch: () => searchDriver,\n getToolbarFiltersItemsCount,\n getMoreActions,\n getSecondaryActions,\n wait: (timeout?: number) => base.wait(timeout),\n /** Get the text of the search input */\n getSearchText: searchDriver.inputDriver.getText,\n /** Enter text into the search input */\n enterSearchText: searchDriver.inputDriver.enterText,\n /** Get the max length of the search input */\n getSearchMaxLength: searchDriver.inputDriver.getMaxLength,\n /** Clear the text of the search input */\n clearSearchText: searchDriver.inputDriver.clearText,\n /** Indicates search input exists */\n searchInputExists: searchDriver.inputDriver.exists,\n /** Clicks clear button of the search input */\n clickClearSearchText: searchDriver.inputDriver.clickClear,\n /** Indicates whether the search cancel button exists */\n searchCancelButtonExists: () => getSearchCancelButton().exists(),\n /** Clicks the cancel button of the search */\n clickSearchCancelButton: () => getSearchCancelButton().click(),\n isToolbarWithFilters: () => isToolbarWithFilters(),\n skeletonExists: () => base.$('[data-hook=\"toolbar-skeleton\"]').exists(),\n viewsSkeletonExists: () =>\n base.$('[data-hook=\"toolbar-views-skeleton\"]').exists(),\n getViewsDropdown: () => getViewsDropdown(),\n openViewsDropdown: () => getViewsDropdown().open(),\n getViewListItemAt: (index: number) =>\n getViewsDropdown().getViewListItemAt(index),\n getViewListItemById: (id: string) =>\n getViewsDropdown().getViewListItemById(id),\n getSaveViewModal: () => getViewsDropdown().getSaveViewModal(),\n getRenameViewModal: () => getViewsDropdown().getRenameViewModal(),\n /** Click on a FiltersPanel's \"clear\" button */\n clickClearAllFilters: filtersPanel.clickClearAllFilters,\n /** Get text from FiltersPanel's \"applied filter\" section **/\n getFilterAppliedText: filtersPanel.getFilterAppliedText,\n /** get FiltersPanel's \"clear\" button */\n getClearAllFiltersButton: filtersPanel.getClearAllFiltersButton,\n /**\n * Select specific items of a dropdown filter that placed in the table toolbar\n * @param filterName - the key of the filter in the filters object passed to `useCollection`\n * @param ids - keys of the items to select\n * @param options\n * @param options.closeDropdown - close the dropdown after selection - default=true\n */\n selectFilterOptions: (\n filterName: string,\n ids: string[],\n options?: { closeDropdown?: boolean },\n ) => {\n return getInputWithOptionsDriver(filterName).selectOptions(ids, options);\n },\n\n /**\n * Select specific items of a dropdown filter that placed in the table toolbar\n * @param filterName - the key of the filter in the filters object passed to `useCollection`\n * @param id - keys of the item to select\n * @param options\n */\n selectFilterOption: (filterName: string, id: string) => {\n return getInputWithOptionsDriver(filterName).selectOption(id);\n },\n /**\n * Select random options of a dropdown filter that placed in the table toolbar\n * @param filterName - the key of the filter in the filters object passed to `useCollection`\n * @param count - number of items to select\n * @param options\n * @param options.closeDropdown - close the dropdown after selection - default=true\n */\n selectFilterRandomOptions: (\n filterName: string,\n count: number,\n options?: { closeDropdown?: boolean },\n ) => {\n return getInputWithOptionsDriver(filterName).selectRandomOptions(\n count,\n options,\n );\n },\n /**\n * Returns the amount of available filters options in the dropdown\n * @param filterName - the key of the filter in the filters object passed to `useCollection`\n */\n getFilterDropdownOptionsCount: (filterName: string) => {\n return getInputWithOptionsDriver(filterName).getOptionsCount();\n },\n /**\n * Returns all available filter's options ids\n * @param filterName - the key of the filter in the filters object passed to `useCollection`\n */\n getFilterDropdownAvailableOptionsIds: (filterName: string) => {\n return getInputWithOptionsDriver(filterName).getAvailableOptionsIds();\n },\n /**\n * Returns filter's placeholder text\n * @param filterName - the key of the filter in the filters object passed to `useCollection`\n */\n getFilterInputPlaceholder: (filterName: string) => {\n return getInputWithOptionsDriver(filterName).getInputPlaceholder();\n },\n /**\n * Indicates if the filter is in the empty state\n * @param filterName - the key of the filter in the filters object passed to `useCollection`\n */\n isFilterInNoSearchResultsState: (filterName: string) => {\n return getInputWithOptionsDriver(filterName).isNoSearchResults();\n },\n /**\n * Gets the empty state text\n * @param filterName - the key of the filter in the filters object passed to `useCollection`\n */\n getFilterEmptyStateText: (filterName: string) => {\n return getInputWithOptionsDriver(filterName).getEmptyStateText();\n },\n /**\n * Indicates if the filter is in the empty state\n * @param filterName - the key of the filter in the filters object passed to `useCollection`\n */\n isFilterInErrorState: (filterName: string) => {\n return getInputWithOptionsDriver(filterName).isErrorStateExists();\n },\n /**\n * Indicates if the filter has this element. Can be used to check fixedFooter, for example\n * @param filterName - the key of the filter in the filters object passed to `useCollection`\n * @param dataHook - the dataHook of the element\n */\n existsInFilter: async (filterName: string, dataHook: string) => {\n await getInputWithOptionsDriver(filterName).inputDriver.click();\n return getInputWithOptionsDriver(filterName).existInFilter(dataHook);\n },\n /**\n * Enters a text to the filter's Input\n * @param filterName - the key of the filter in the filters object passed to `useCollection`\n * @param value\n */\n enterFilterText: async (filterName: string, value: string) => {\n await getInputWithOptionsDriver(filterName).inputDriver.click();\n return getInputWithOptionsDriver(filterName).inputDriver.enterText(value);\n },\n /**\n * Select specific items of a dropdown filter that placed in the filter panel\n * @param filterName - the key of the filter in the filters object passed to `useCollection`\n * @param ids - keys of the items to select\n * @param options\n * @param options.closePanel - close the filters panel after selection - default=true\n * @param options.closeAccordionItem - close the accordion item after selection - default=true\n * @param options.closeDropdown - close the dropdown after selection - default=true\n */\n selectPanelFilterOptions: async (\n filterName: string,\n ids: string[],\n options?: {\n closePanel?: boolean;\n closeAccordionItem?: boolean;\n closeDropdown?: boolean;\n },\n ) => {\n if (!(await isFiltersPanelOpen())) {\n await clickMoreFiltersButton();\n }\n\n return filtersPanel.selectFilterOptions(filterName, ids, options);\n },\n /**\n * Select random items of a dropdown filter that placed in the table toolbar\n * @param filterName - the key of the filter in the filters object passed to `useCollection`\n * @param count - number of items to select\n * @param options\n * @param options.closePanel - close the filters panel after selection - default=true\n * @param options.closeAccordionItem - close the accordion item after selection - default=true\n * @param options.closeDropdown - close the dropdown after selection - default=true\n */\n selectPanelFilterRandomOptions: async (\n filterName: string,\n count: number,\n options?: {\n closePanel?: boolean;\n closeAccordionItem?: boolean;\n closeDropdown?: boolean;\n },\n ) => {\n if (!(await isFiltersPanelOpen())) {\n await clickMoreFiltersButton();\n }\n\n return filtersPanel.selectFilterRandomOptions(filterName, count, options);\n },\n\n /**\n * Select specific items of a inline checkboxes filter that placed in the filter panel\n * @param filterName - the key of the filter in the filters object passed to `useCollection`\n * @param ids - keys of the items to select\n * @param options\n * @param options.closePanel - close the filters panel after selection - default=true\n * @param options.closeAccordionItem - close the accordion item after selection - default=true\n */\n checkPanelFilterInlineCheckboxes: async (\n filterName: string,\n ids: string[],\n options: { closePanel?: boolean; closeAccordionItem?: boolean } = {},\n ) => {\n if (!(await isFiltersPanelOpen())) {\n await clickMoreFiltersButton();\n }\n\n return filtersPanel.checkFilterInlineCheckboxes(filterName, ids, options);\n },\n\n /**\n * Select specific/random dates in date range filter that placed in the filter panel\n * @param filterName - the key of the filter in the filters object passed to `useCollection`\n * @param options.dates - specific dates to choose\n * @param options.closePanel - close the filters panel after selection - default=true\n * @param options.closeAccordionItem - close the accordion item after selection - default=true\n */\n choosePanelFilterDateRange: async (\n filterName: string,\n options: {\n closePanel?: boolean;\n closeAccordionItem?: boolean;\n dates?: Date[];\n } = {},\n ) => {\n if (!(await isFiltersPanelOpen())) {\n await clickMoreFiltersButton();\n }\n\n return filtersPanel.chooseDatesFilterDateRange(filterName, options);\n },\n /**\n * Open filter panel and click a filter with 'filterName'\n * @param filterName - the key of the filter in the filters object passed to `useCollection`\n */\n clickFilterInPanel: async (filterName: string) => {\n if (!(await isFiltersPanelOpen())) {\n await clickMoreFiltersButton();\n }\n\n return filtersPanel.clickFilterTitle(filterName);\n },\n /** Indicates whether the filters panel is open */\n isFiltersPanelOpen: () => filtersPanel.isOpen(),\n /** Get layout switch button */\n getSwitchButton,\n /** get layout switch button divider */\n getSwitchButtonDivider,\n /** Get the title of the filters panel */\n getFiltersPanelTitleText: () => filtersPanel.getTitleText(),\n /** Opens the filters panel */\n clickMoreFiltersButton: () => clickMoreFiltersButton(),\n /** Returns the number of applied filters in the Filters badge */\n getMoreFiltersButtonCounterValue: () =>\n CounterBadgeUniDriver(\n base.$('[data-hook=\"more-filters-button-counter\"]'),\n body,\n ).getContentText(),\n /** Closes the filters panel */\n closeFiltersPanel: () => closeFiltersPanel(),\n /** Closes custom columns panel */\n closeCustomColumnsPanel: () => customColumnsPopover().clickCloseButton(),\n getCustomColumnsPanelTitle: () => customColumnsPopover().getTitle(),\n getCustomColumnsPanelSubtitle: () => customColumnsPopover().getSubtitle(),\n customColumnsPanelCloseButtonExists: () =>\n customColumnsPopover().closeButtonExists(),\n getCustomColumnInfoIconAt: (index: number) =>\n customColumnsPopover().getCustomColumnInfoIconAt(index),\n /**\n * Gets the title of the accordion item of a filter placed in the filters panel\n * @param filterName - the key of the filter in the filters object passed to `useCollection`\n */\n getPanelFilterTitleText: (filterName: string) =>\n filtersPanel.getFilterTitleText(filterName),\n /**\n * Click on a title of the accordion item of a filter placed in the filters panel\n * @param filterName - the key of the filter in the filters object passed to `useCollection`\n */\n clickPanelFilterTitle: (filterName: string) =>\n filtersPanel.clickFilterTitle(filterName),\n /**\n * Indicates whether the accordion item of filter placed in the filters panel is open\n * @param filterName - the key of the filter in the filters object passed to `useCollection`\n */\n isPanelFilterExpanded: (filterName: string) =>\n filtersPanel.isFilterExpanded(filterName),\n /**\n * Get a testkit for a custom filter that places in the filters panel\n * @param filterName - the key of the filter in the filters object passed to `useCollection`\n * @param fn - a callback function that accepts the filters panel base element and should return a testkit that matches the custom filter\n */\n getPanelCustomFilter: async <E, T>(\n filterName: string,\n fn: (element: E) => T,\n ) => filtersPanel.getCustomFilter(filterName, fn),\n /**\n * Get a testkit for a custom filter that places in the filters panel\n * @param fn - a callback function that accepts the toolbar base element and should return a testkit that matches the custom filter\n */\n getCustomFilter: async <E, T>(fn: (element: E) => T) =>\n fn(await toolbar.element()),\n /** Indicates whether the button that open the filters panel exists */\n moreFilterButtonExists: () => getMoreFiltersPanelButton().exists(),\n /** Gets the title of the button that open the filters panel exists */\n getMoreFiltersButtonText: () =>\n getMoreFiltersPanelButton().getButtonTextContent(),\n\n /** Clicks the button that opens the custom columns dropdown */\n clickCustomColumnsButton: () =>\n base.$('[data-hook=\"custom-columns-button\"]').click(),\n customColumnsButtonExists: () =>\n base.$('[data-hook=\"custom-columns-button\"]').exists(),\n /** Indicates whether the custom columns dropdown is open */\n isCustomColumnsOpen: () => customColumnsPopover().isOpen(),\n isCustomColumnsAddNewExist: () => customColumnsPopover().addNewExists(),\n clickCustomColumnsAddNew: () => customColumnsPopover().clickAddNew(),\n waitSidePanelFullyOpened: () => {\n return waitFor(\n async () =>\n (await slidingModalBase().attr('data-transition-status')) ===\n 'entered',\n );\n },\n waitSidePanelFullyClosed: () => {\n return waitFor(\n async () =>\n (await slidingModalBase().attr('data-transition-status')) ===\n 'exited',\n );\n },\n /**\n * Click checkboxes that hide / show columns from the table\n * @param ids - IDs of the columns to click on\n */\n clickCustomColumnsCheckboxes: (ids: string[]) =>\n customColumnsPopover().checkOptions(ids),\n /**\n * Get a column checkbox within the custom columns dropdown\n * @param index - index of the column checkbox\n */\n getCustomColumnCheckboxAt: (index: number) =>\n customColumnsPopover().getCheckboxAt(index),\n /**\n * Get full custom columns driver\n */\n getCustomColumnsDriver: () => customColumnsPopover(),\n /**\n * Get a column checkboxes count within the custom columns dropdown\n */\n getCustomColumnCheckboxesCount: () =>\n customColumnsPopover().getCheckboxesCount(),\n /**\n * Get a column checkbox within the custom columns dropdown\n * @param id - column id\n */\n getCustomColumnCheckboxById: (id: string) =>\n customColumnsPopover().getCheckboxById(id),\n /**\n * Get all custom columns items text\n */\n getCustomColumnsTitles: () => customColumnsPopover().getTitles(),\n /** Returns the amount of hidden columns rendered in the CustomColumns CTA badge */\n getCustomColumnsButtonCounterValue: () =>\n CounterBadgeUniDriver(\n base.$('[data-hook=\"custom-columns-button-counter\"]'),\n body,\n ).getContentText(),\n /**\n * Get a InputWithOptions testkit for a filter that placed in the table toolbar\n * @param filterName - the key of the filter in the filters object passed to `useCollection`\n */\n getInputWithOptions: (filterName: string) =>\n getInputWithOptionsDriver(filterName),\n /**\n * Get a InputWithOptions testkit for a filter that placed in the filters panel\n * @param filterName - the key of the filter in the filters object passed to `useCollection`\n */\n getFiltersPanelInputWithOptions: (filterName: string) =>\n filtersPanel.getInputWithOptionsDriver(filterName),\n getFiltersPanelMultiSelect: (filterName: string) =>\n filtersPanel.getFiltersPanelMultiSelect(filterName),\n /**\n * Scrolls down a dropdown filter placed in the table toolbar\n * @param filterName\n */\n scrollDownFilter: (filterName: string) =>\n getInputWithOptionsDriver(filterName).scrollDown(),\n\n /**\n * Scrolls down a dropdown filter placed in the filters panel\n * @param filterName\n */\n scrollDownPanelFilter: (filterName: string) =>\n filtersPanel.getInputWithOptionsDriver(filterName).scrollDown(),\n\n clickFilterClearButton: (filterName: string) => {\n return getInputWithOptionsDriver(filterName).clickInputClear();\n },\n\n /**\n * Returns an amount of filters currently rendered in the Panel.\n */\n getPanelFiltersCount: filtersPanel.getPanelFiltersCount,\n\n /**\n * Returns filter's title at in at index.\n */\n /**\n * Get a filter's title\n * @param index - index of the filter\n */\n getToolbarFilterTitleAt,\n\n /**\n * Get tabs driver\n */\n getTabs: () =>\n TabsFilterUniDriver(base.$('[data-hook=\"collection-tabs-filter\"]'), body),\n\n /**\n * Get date range filter by filter name\n */\n getDateRangeFilter: filtersPanel.getDateRangeFilter,\n\n /**\n * Get number range filter driver by filter name\n */\n getNumberRangeFilterDriver: (filterName: string) =>\n filtersPanel.getNumberRangeDriver(filterName),\n\n /**\n * Get radio group filter by filter name\n */\n getRadioGroupFilter: filtersPanel.getRadioGroupFilter,\n\n getMultiLevelSortingButton,\n\n /**\n * Checks if the MultiLevelSorting button exists in the toolbar\n */\n multiLevelSortingButtonExists: () =>\n getMultiLevelSortingButton().getIconButton().exists(),\n\n /**\n * Clicks the MultiLevelSorting button\n */\n clickMultiLevelSortingButton: () =>\n getMultiLevelSortingButton().getIconButton().click(),\n\n getMultiLevelSortingButtonCounterValue: () =>\n CounterBadgeUniDriver(\n base.$('[data-hook=\"multi-level-sorting-button-counter\"]'),\n body,\n ).getContentText(),\n\n /**\n * MultiLevelSorting panel driver\n */\n getMultiLevelSortingPanel,\n /**\n * Button driver for primary action button\n */\n getPrimaryActionButton,\n\n getMainToolbar: () => base.$('[data-hook=\"collection-table-toolbar\"]'),\n\n /**\n * Indicates whether the collection table toolbr total items counter exists\n */\n isShowTotal: () => base.$('[data-hook=\"toolbar-counter\"]').exists(),\n\n /**\n * Gets collection table toolbr total items counter\n */\n getShowTotal: () =>\n CounterBadgeUniDriver(\n base.$('[data-hook=\"toolbar-counter\"]'),\n body,\n ).getContentText(),\n\n /**\n * Indicates whether the collection table title exists\n */\n isTitleExists: () => base.$('[data-hook=\"toolbar-title\"]').exists(),\n\n /**\n * Get collection table toolbar title\n */\n getTitleText: () => base.$('[data-hook=\"toolbar-title\"]').text(),\n\n /**\n * Get collection table toolbar subtitle\n */\n getSubtitleText: () => base.$('[data-hook=\"toolbar-subtitle\"]').text(),\n\n /**\n * Get collection table toolbar learn more button\n */\n getSubtitleLearnMoreButton: () =>\n TextButtonUniDriver(\n base.$('[data-hook=\"toolbar-subtitle-learn-more-cta\"]'),\n body,\n ),\n applyButton: () => filtersPanel.applyButton(),\n discardChangesModal: () => filtersPanel.discardChangesModal(),\n getFiltersPanelItemTextAt: filtersPanel.getItemTextAt,\n getFiltersPanelItemsCount: filtersPanel.getItemsCount,\n getCustomFieldOptionsAt: (index: number) =>\n customColumnsPopover().getCustomFieldOptionsAt(index),\n _filtersPanel: () => filtersPanel,\n };\n};\n"],"mappings":";;;;;AAAA,IAAAA,UAAA,GAAAC,OAAA;AACA,IAAAC,WAAA,GAAAD,OAAA;AAOA,IAAAE,4BAAA,GAAAF,OAAA;AACA,IAAAG,gBAAA,GAAAH,OAAA;AACA,IAAAI,2BAAA,GAAAJ,OAAA;AACA,IAAAK,cAAA,GAAAC,sBAAA,CAAAN,OAAA;AACA,IAAAO,yBAAA,GAAAP,OAAA;AACA,IAAAQ,sBAAA,GAAAR,OAAA;AACA,IAAAS,0BAAA,GAAAT,OAAA;AACA,IAAAU,WAAA,GAAAV,OAAA;AACA,IAAAW,8BAAA,GAAAX,OAAA;AACA,IAAAY,2BAAA,GAAAZ,OAAA;AACA,IAAAa,eAAA,GAAAb,OAAA;AAEO,MAAMc,0BAA0B,GAAGA,CACxCC,IAAe,EACfC,IAAe,KACZ;EACH,MAAMC,OAAO,GAAG,IAAAC,gCAAoB,EAACH,IAAI,CAAC;;EAE1C;EACA,MAAMI,cAAc,GAAGA,CAACC,QAAgB,GAAG,sBAAsB,KAC/D,IAAAC,oCAAoB,EAACN,IAAI,EAAEC,IAAI,CAAC,CAACG,cAAc,CAACC,QAAQ,CAAC;EAE3D,MAAME,mBAAmB,GAAGA,CAACC,KAAa,EAAEH,QAAiB,KAC3D,IAAAI,4DAAgC,EAACT,IAAI,EAAEC,IAAI,CAAC,CA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,0BAAA,GAAAA,0BAAA","ignoreList":[]}
|
|
1
|
+
{"version":3,"names":["_unidriver","require","_unidriver2","_CollectionDropdownFilterUni","_FiltersPanelUni","_CollectionViewsDropdownUni","_TabsFilterUni","_interopRequireDefault","_TableGridSwitchButtonUni","_CustomColumnsPanelUni","_MultiLevelSortingPanelUni","_unidriver3","_MultiLevelSortingCTAButtonUni","_ToolbarSecondaryActionsUni","_MoreActionsUni","CollectionToolbarUniDriver","base","body","toolbar","baseUniDriverFactory","getMoreActions","dataHook","MoreActionsUniDriver","getSecondaryActions","index","ToolbarSecondaryActionsUniDriver","searchDriver","SearchUniDriver","$","click","filtersPanel","FiltersPanelUniDriver","getSwitchButton","TableGridSwitchButtonUniDriver","getSwitchButtonDivider","getPrimaryActionButton","ButtonUniDriver","getInputWithOptionsDriver","filterName","inputWithOptionsBase","inputWithOptionsDriver","InputWithOptionsUniDriver","CollectionDropdownFilterUniDriver","isFiltersPanelOpen","isOpen","getMoreFiltersPanelButton","clickMoreFiltersButton","closeFiltersPanel","clickCloseButton","getViewsDropdown","CollectionViewsDropdownUniDriver","isToolbarWithFilters","exists","getToolbarFiltersItemsCount","$$","count","getToolbarFilterTitleAt","text","getMultiLevelSortingButton","MultiLevelSortingCTAButtonUniDriver","slidingModalBase","customColumnsPopover","CustomColumnsPanelUniDriver","getMultiLevelSortingPanel","MultiLevelSortingPanelUniDriver","getSearchCancelButton","TextButtonUniDriver","getSearch","wait","timeout","getSearchText","inputDriver","getText","enterSearchText","enterText","getSearchMaxLength","getMaxLength","clearSearchText","clearText","searchInputExists","clickClearSearchText","clickClear","searchCancelButtonExists","clickSearchCancelButton","skeletonExists","viewsSkeletonExists","openViewsDropdown","open","getViewListItemAt","getViewListItemById","id","getSaveViewModal","getRenameViewModal","clickClearAllFilters","getFilterAppliedText","getClearAllFiltersButton","selectFilterOptions","ids","options","selectOptions","selectFilterOption","selectOption","selectFilterRandomOptions","selectRandomOptions","getFilterDropdownOptionsCount","getOptionsCount","getFilterDropdownAvailableOptionsIds","getAvailableOptionsIds","getFilterInputPlaceholder","getInputPlaceholder","isFilterInNoSearchResultsState","isNoSearchResults","getFilterEmptyStateText","getEmptyStateText","isFilterInErrorState","isErrorStateExists","existsInFilter","existInFilter","enterFilterText","value","selectPanelFilterOptions","selectPanelFilterRandomOptions","checkPanelFilterInlineCheckboxes","checkFilterInlineCheckboxes","choosePanelFilterDateRange","chooseDatesFilterDateRange","clickFilterInPanel","clickFilterTitle","getFiltersPanelTitleText","getTitleText","getMoreFiltersButtonCounterValue","CounterBadgeUniDriver","getContentText","closeCustomColumnsPanel","getCustomColumnsPanelTitle","getTitle","getCustomColumnsPanelSubtitle","getSubtitle","customColumnsPanelCloseButtonExists","closeButtonExists","getCustomColumnInfoIconAt","getPanelFilterTitleText","getFilterTitleText","clickPanelFilterTitle","isPanelFilterExpanded","isFilterExpanded","getPanelCustomFilter","fn","getCustomFilter","element","moreFilterButtonExists","getMoreFiltersButtonText","getButtonTextContent","clickCustomColumnsButton","customColumnsButtonExists","isCustomColumnsOpen","isCustomColumnsAddNewExist","addNewExists","clickCustomColumnsAddNew","clickAddNew","waitSidePanelFullyOpened","waitFor","attr","waitSidePanelFullyClosed","clickCustomColumnsCheckboxes","checkOptions","getCustomColumnCheckboxAt","getCheckboxAt","getCustomColumnsDriver","getCustomColumnCheckboxesCount","getCheckboxesCount","getCustomColumnCheckboxById","getCheckboxById","getCustomColumnsTitles","getTitles","getCustomColumnsButtonCounterValue","getInputWithOptions","getFiltersPanelInputWithOptions","getFiltersPanelMultiSelect","scrollDownFilter","scrollDown","scrollDownPanelFilter","clickFilterClearButton","clickInputClear","getPanelFiltersCount","getTabs","TabsFilterUniDriver","getDateRangeFilter","getNumberRangeFilterDriver","getNumberRangeDriver","getOperatorPickerDriver","getRadioGroupFilter","multiLevelSortingButtonExists","getIconButton","clickMultiLevelSortingButton","getMultiLevelSortingButtonCounterValue","getMainToolbar","isShowTotal","getShowTotal","isTitleExists","getSubtitleText","getSubtitleLearnMoreButton","applyButton","discardChangesModal","getFiltersPanelItemTextAt","getItemTextAt","getFiltersPanelItemsCount","getItemsCount","getCustomFieldOptionsAt","_filtersPanel","exports"],"sources":["../../../../src/components/CollectionToolbar/CollectionToolbar.uni.driver.ts"],"sourcesContent":["import { UniDriver, waitFor } from '@wix/wix-ui-test-utils/unidriver';\nimport {\n ButtonUniDriver,\n CounterBadgeUniDriver,\n InputWithOptionsUniDriver,\n SearchUniDriver,\n TextButtonUniDriver,\n} from '@wix/design-system/dist/testkit/unidriver';\nimport { CollectionDropdownFilterUniDriver } from '../DropdownFilter/CollectionDropdownFilter.uni.driver';\nimport { FiltersPanelUniDriver } from '../FiltersPanel/FiltersPanel.uni.driver';\nimport { CollectionViewsDropdownUniDriver } from '../CollectionViewsDropdown/CollectionViewsDropdown.uni.driver';\nimport TabsFilterUniDriver from '../TabsFilter/TabsFilter.uni.driver';\nimport { TableGridSwitchButtonUniDriver } from '../TableGridSwitchButton/TableGridSwitchButton.uni.driver';\nimport { CustomColumnsPanelUniDriver } from '../CustomColumnsPanel/CustomColumnsPanel.uni.driver';\nimport { MultiLevelSortingPanelUniDriver } from '../MultiLevelSortingPanel/MultiLevelSortingPanel.uni.driver';\nimport { baseUniDriverFactory } from '../../unidriver';\nimport { MultiLevelSortingCTAButtonUniDriver } from '../MultiLevelSorting/MultiLevelSortingCTAButton.uni.driver';\nimport { ToolbarSecondaryActionsUniDriver } from './ToolbarSecondaryActions.uni.driver';\nimport { MoreActionsUniDriver } from '../MoreActions/MoreActions.uni.driver';\n\nexport const CollectionToolbarUniDriver = (\n base: UniDriver,\n body: UniDriver,\n) => {\n const toolbar = baseUniDriverFactory(base);\n\n /** Returns more actions button driver */\n const getMoreActions = (dataHook: string = 'toolbar-more-actions') =>\n MoreActionsUniDriver(base, body).getMoreActions(dataHook);\n\n const getSecondaryActions = (index: number, dataHook?: string) =>\n ToolbarSecondaryActionsUniDriver(base, body).getSecondaryActions(\n dataHook,\n index,\n );\n\n const searchDriver = {\n ...SearchUniDriver(base.$('[data-hook=\"collection-search\"]'), body),\n click: () => base.$('[data-hook=\"collection-search\"]').click(),\n };\n\n const filtersPanel = FiltersPanelUniDriver(body, body);\n\n const getSwitchButton = () =>\n TableGridSwitchButtonUniDriver(\n base.$('[data-hook=\"table-grid-switch-toggle-button\"]'),\n body,\n );\n\n const getSwitchButtonDivider = () =>\n base.$('[data-hook=\"collection-table--grid-switch--divider\"]');\n\n const getPrimaryActionButton = () =>\n ButtonUniDriver(\n base.$('[data-hook=\"toolbar-primary-action-button\"]'),\n body,\n );\n\n const getInputWithOptionsDriver = (filterName: string) => {\n const dataHook = `collection-filter-${filterName}`;\n const inputWithOptionsBase = base.$(`[data-hook=\"${dataHook}\"]`);\n const inputWithOptionsDriver = InputWithOptionsUniDriver(\n inputWithOptionsBase,\n body,\n );\n\n return CollectionDropdownFilterUniDriver(\n inputWithOptionsDriver,\n dataHook,\n inputWithOptionsBase,\n body,\n );\n };\n\n const isFiltersPanelOpen = () => filtersPanel.isOpen();\n\n const getMoreFiltersPanelButton = () =>\n ButtonUniDriver(base.$('[data-hook=\"more-filters-button\"]'), body);\n\n const clickMoreFiltersButton = () => getMoreFiltersPanelButton().click();\n const closeFiltersPanel = () => filtersPanel.clickCloseButton();\n\n const getViewsDropdown = () => CollectionViewsDropdownUniDriver(base, body);\n\n const isToolbarWithFilters = async () =>\n base.$(`[data-hook=\"toolbar-item-filter-0\"]`).exists();\n\n const getToolbarFiltersItemsCount = async () => {\n return base.$$(`[data-hook^=\"toolbar-item-filter-\"]`).count();\n };\n\n const getToolbarFilterTitleAt = async (index: number) => {\n return base\n .$(\n `[data-hook=\"toolbar-item-filter-${index}\"] [data-hook=\"table-toolbar-label\"]`,\n )\n .text();\n };\n\n const getMultiLevelSortingButton = () =>\n MultiLevelSortingCTAButtonUniDriver(base, body, {\n dataHook: 'multi-level-sorting-button',\n });\n\n const slidingModalBase = () => body.$('[data-hook=\"cairo-side-panel-modal\"]');\n\n const customColumnsPopover = () => CustomColumnsPanelUniDriver(body, body);\n\n const getMultiLevelSortingPanel = () =>\n MultiLevelSortingPanelUniDriver(body, body);\n\n const getSearchCancelButton = () =>\n TextButtonUniDriver(base.$('[data-hook=\"collection-search-cancel\"]'), body);\n\n return {\n ...toolbar,\n getSearch: () => searchDriver,\n getToolbarFiltersItemsCount,\n getMoreActions,\n getSecondaryActions,\n wait: (timeout?: number) => base.wait(timeout),\n /** Get the text of the search input */\n getSearchText: searchDriver.inputDriver.getText,\n /** Enter text into the search input */\n enterSearchText: searchDriver.inputDriver.enterText,\n /** Get the max length of the search input */\n getSearchMaxLength: searchDriver.inputDriver.getMaxLength,\n /** Clear the text of the search input */\n clearSearchText: searchDriver.inputDriver.clearText,\n /** Indicates search input exists */\n searchInputExists: searchDriver.inputDriver.exists,\n /** Clicks clear button of the search input */\n clickClearSearchText: searchDriver.inputDriver.clickClear,\n /** Indicates whether the search cancel button exists */\n searchCancelButtonExists: () => getSearchCancelButton().exists(),\n /** Clicks the cancel button of the search */\n clickSearchCancelButton: () => getSearchCancelButton().click(),\n isToolbarWithFilters: () => isToolbarWithFilters(),\n skeletonExists: () => base.$('[data-hook=\"toolbar-skeleton\"]').exists(),\n viewsSkeletonExists: () =>\n base.$('[data-hook=\"toolbar-views-skeleton\"]').exists(),\n getViewsDropdown: () => getViewsDropdown(),\n openViewsDropdown: () => getViewsDropdown().open(),\n getViewListItemAt: (index: number) =>\n getViewsDropdown().getViewListItemAt(index),\n getViewListItemById: (id: string) =>\n getViewsDropdown().getViewListItemById(id),\n getSaveViewModal: () => getViewsDropdown().getSaveViewModal(),\n getRenameViewModal: () => getViewsDropdown().getRenameViewModal(),\n /** Click on a FiltersPanel's \"clear\" button */\n clickClearAllFilters: filtersPanel.clickClearAllFilters,\n /** Get text from FiltersPanel's \"applied filter\" section **/\n getFilterAppliedText: filtersPanel.getFilterAppliedText,\n /** get FiltersPanel's \"clear\" button */\n getClearAllFiltersButton: filtersPanel.getClearAllFiltersButton,\n /**\n * Select specific items of a dropdown filter that placed in the table toolbar\n * @param filterName - the key of the filter in the filters object passed to `useCollection`\n * @param ids - keys of the items to select\n * @param options\n * @param options.closeDropdown - close the dropdown after selection - default=true\n */\n selectFilterOptions: (\n filterName: string,\n ids: string[],\n options?: { closeDropdown?: boolean },\n ) => {\n return getInputWithOptionsDriver(filterName).selectOptions(ids, options);\n },\n\n /**\n * Select specific items of a dropdown filter that placed in the table toolbar\n * @param filterName - the key of the filter in the filters object passed to `useCollection`\n * @param id - keys of the item to select\n * @param options\n */\n selectFilterOption: (filterName: string, id: string) => {\n return getInputWithOptionsDriver(filterName).selectOption(id);\n },\n /**\n * Select random options of a dropdown filter that placed in the table toolbar\n * @param filterName - the key of the filter in the filters object passed to `useCollection`\n * @param count - number of items to select\n * @param options\n * @param options.closeDropdown - close the dropdown after selection - default=true\n */\n selectFilterRandomOptions: (\n filterName: string,\n count: number,\n options?: { closeDropdown?: boolean },\n ) => {\n return getInputWithOptionsDriver(filterName).selectRandomOptions(\n count,\n options,\n );\n },\n /**\n * Returns the amount of available filters options in the dropdown\n * @param filterName - the key of the filter in the filters object passed to `useCollection`\n */\n getFilterDropdownOptionsCount: (filterName: string) => {\n return getInputWithOptionsDriver(filterName).getOptionsCount();\n },\n /**\n * Returns all available filter's options ids\n * @param filterName - the key of the filter in the filters object passed to `useCollection`\n */\n getFilterDropdownAvailableOptionsIds: (filterName: string) => {\n return getInputWithOptionsDriver(filterName).getAvailableOptionsIds();\n },\n /**\n * Returns filter's placeholder text\n * @param filterName - the key of the filter in the filters object passed to `useCollection`\n */\n getFilterInputPlaceholder: (filterName: string) => {\n return getInputWithOptionsDriver(filterName).getInputPlaceholder();\n },\n /**\n * Indicates if the filter is in the empty state\n * @param filterName - the key of the filter in the filters object passed to `useCollection`\n */\n isFilterInNoSearchResultsState: (filterName: string) => {\n return getInputWithOptionsDriver(filterName).isNoSearchResults();\n },\n /**\n * Gets the empty state text\n * @param filterName - the key of the filter in the filters object passed to `useCollection`\n */\n getFilterEmptyStateText: (filterName: string) => {\n return getInputWithOptionsDriver(filterName).getEmptyStateText();\n },\n /**\n * Indicates if the filter is in the empty state\n * @param filterName - the key of the filter in the filters object passed to `useCollection`\n */\n isFilterInErrorState: (filterName: string) => {\n return getInputWithOptionsDriver(filterName).isErrorStateExists();\n },\n /**\n * Indicates if the filter has this element. Can be used to check fixedFooter, for example\n * @param filterName - the key of the filter in the filters object passed to `useCollection`\n * @param dataHook - the dataHook of the element\n */\n existsInFilter: async (filterName: string, dataHook: string) => {\n await getInputWithOptionsDriver(filterName).inputDriver.click();\n return getInputWithOptionsDriver(filterName).existInFilter(dataHook);\n },\n /**\n * Enters a text to the filter's Input\n * @param filterName - the key of the filter in the filters object passed to `useCollection`\n * @param value\n */\n enterFilterText: async (filterName: string, value: string) => {\n await getInputWithOptionsDriver(filterName).inputDriver.click();\n return getInputWithOptionsDriver(filterName).inputDriver.enterText(value);\n },\n /**\n * Select specific items of a dropdown filter that placed in the filter panel\n * @param filterName - the key of the filter in the filters object passed to `useCollection`\n * @param ids - keys of the items to select\n * @param options\n * @param options.closePanel - close the filters panel after selection - default=true\n * @param options.closeAccordionItem - close the accordion item after selection - default=true\n * @param options.closeDropdown - close the dropdown after selection - default=true\n */\n selectPanelFilterOptions: async (\n filterName: string,\n ids: string[],\n options?: {\n closePanel?: boolean;\n closeAccordionItem?: boolean;\n closeDropdown?: boolean;\n },\n ) => {\n if (!(await isFiltersPanelOpen())) {\n await clickMoreFiltersButton();\n }\n\n return filtersPanel.selectFilterOptions(filterName, ids, options);\n },\n /**\n * Select random items of a dropdown filter that placed in the table toolbar\n * @param filterName - the key of the filter in the filters object passed to `useCollection`\n * @param count - number of items to select\n * @param options\n * @param options.closePanel - close the filters panel after selection - default=true\n * @param options.closeAccordionItem - close the accordion item after selection - default=true\n * @param options.closeDropdown - close the dropdown after selection - default=true\n */\n selectPanelFilterRandomOptions: async (\n filterName: string,\n count: number,\n options?: {\n closePanel?: boolean;\n closeAccordionItem?: boolean;\n closeDropdown?: boolean;\n },\n ) => {\n if (!(await isFiltersPanelOpen())) {\n await clickMoreFiltersButton();\n }\n\n return filtersPanel.selectFilterRandomOptions(filterName, count, options);\n },\n\n /**\n * Select specific items of a inline checkboxes filter that placed in the filter panel\n * @param filterName - the key of the filter in the filters object passed to `useCollection`\n * @param ids - keys of the items to select\n * @param options\n * @param options.closePanel - close the filters panel after selection - default=true\n * @param options.closeAccordionItem - close the accordion item after selection - default=true\n */\n checkPanelFilterInlineCheckboxes: async (\n filterName: string,\n ids: string[],\n options: { closePanel?: boolean; closeAccordionItem?: boolean } = {},\n ) => {\n if (!(await isFiltersPanelOpen())) {\n await clickMoreFiltersButton();\n }\n\n return filtersPanel.checkFilterInlineCheckboxes(filterName, ids, options);\n },\n\n /**\n * Select specific/random dates in date range filter that placed in the filter panel\n * @param filterName - the key of the filter in the filters object passed to `useCollection`\n * @param options.dates - specific dates to choose\n * @param options.closePanel - close the filters panel after selection - default=true\n * @param options.closeAccordionItem - close the accordion item after selection - default=true\n */\n choosePanelFilterDateRange: async (\n filterName: string,\n options: {\n closePanel?: boolean;\n closeAccordionItem?: boolean;\n dates?: Date[];\n } = {},\n ) => {\n if (!(await isFiltersPanelOpen())) {\n await clickMoreFiltersButton();\n }\n\n return filtersPanel.chooseDatesFilterDateRange(filterName, options);\n },\n /**\n * Open filter panel and click a filter with 'filterName'\n * @param filterName - the key of the filter in the filters object passed to `useCollection`\n */\n clickFilterInPanel: async (filterName: string) => {\n if (!(await isFiltersPanelOpen())) {\n await clickMoreFiltersButton();\n }\n\n return filtersPanel.clickFilterTitle(filterName);\n },\n /** Indicates whether the filters panel is open */\n isFiltersPanelOpen: () => filtersPanel.isOpen(),\n /** Get layout switch button */\n getSwitchButton,\n /** get layout switch button divider */\n getSwitchButtonDivider,\n /** Get the title of the filters panel */\n getFiltersPanelTitleText: () => filtersPanel.getTitleText(),\n /** Opens the filters panel */\n clickMoreFiltersButton: () => clickMoreFiltersButton(),\n /** Returns the number of applied filters in the Filters badge */\n getMoreFiltersButtonCounterValue: () =>\n CounterBadgeUniDriver(\n base.$('[data-hook=\"more-filters-button-counter\"]'),\n body,\n ).getContentText(),\n /** Closes the filters panel */\n closeFiltersPanel: () => closeFiltersPanel(),\n /** Closes custom columns panel */\n closeCustomColumnsPanel: () => customColumnsPopover().clickCloseButton(),\n getCustomColumnsPanelTitle: () => customColumnsPopover().getTitle(),\n getCustomColumnsPanelSubtitle: () => customColumnsPopover().getSubtitle(),\n customColumnsPanelCloseButtonExists: () =>\n customColumnsPopover().closeButtonExists(),\n getCustomColumnInfoIconAt: (index: number) =>\n customColumnsPopover().getCustomColumnInfoIconAt(index),\n /**\n * Gets the title of the accordion item of a filter placed in the filters panel\n * @param filterName - the key of the filter in the filters object passed to `useCollection`\n */\n getPanelFilterTitleText: (filterName: string) =>\n filtersPanel.getFilterTitleText(filterName),\n /**\n * Click on a title of the accordion item of a filter placed in the filters panel\n * @param filterName - the key of the filter in the filters object passed to `useCollection`\n */\n clickPanelFilterTitle: (filterName: string) =>\n filtersPanel.clickFilterTitle(filterName),\n /**\n * Indicates whether the accordion item of filter placed in the filters panel is open\n * @param filterName - the key of the filter in the filters object passed to `useCollection`\n */\n isPanelFilterExpanded: (filterName: string) =>\n filtersPanel.isFilterExpanded(filterName),\n /**\n * Get a testkit for a custom filter that places in the filters panel\n * @param filterName - the key of the filter in the filters object passed to `useCollection`\n * @param fn - a callback function that accepts the filters panel base element and should return a testkit that matches the custom filter\n */\n getPanelCustomFilter: async <E, T>(\n filterName: string,\n fn: (element: E) => T,\n ) => filtersPanel.getCustomFilter(filterName, fn),\n /**\n * Get a testkit for a custom filter that places in the filters panel\n * @param fn - a callback function that accepts the toolbar base element and should return a testkit that matches the custom filter\n */\n getCustomFilter: async <E, T>(fn: (element: E) => T) =>\n fn(await toolbar.element()),\n /** Indicates whether the button that open the filters panel exists */\n moreFilterButtonExists: () => getMoreFiltersPanelButton().exists(),\n /** Gets the title of the button that open the filters panel exists */\n getMoreFiltersButtonText: () =>\n getMoreFiltersPanelButton().getButtonTextContent(),\n\n /** Clicks the button that opens the custom columns dropdown */\n clickCustomColumnsButton: () =>\n base.$('[data-hook=\"custom-columns-button\"]').click(),\n customColumnsButtonExists: () =>\n base.$('[data-hook=\"custom-columns-button\"]').exists(),\n /** Indicates whether the custom columns dropdown is open */\n isCustomColumnsOpen: () => customColumnsPopover().isOpen(),\n isCustomColumnsAddNewExist: () => customColumnsPopover().addNewExists(),\n clickCustomColumnsAddNew: () => customColumnsPopover().clickAddNew(),\n waitSidePanelFullyOpened: () => {\n return waitFor(\n async () =>\n (await slidingModalBase().attr('data-transition-status')) ===\n 'entered',\n );\n },\n waitSidePanelFullyClosed: () => {\n return waitFor(\n async () =>\n (await slidingModalBase().attr('data-transition-status')) ===\n 'exited',\n );\n },\n /**\n * Click checkboxes that hide / show columns from the table\n * @param ids - IDs of the columns to click on\n */\n clickCustomColumnsCheckboxes: (ids: string[]) =>\n customColumnsPopover().checkOptions(ids),\n /**\n * Get a column checkbox within the custom columns dropdown\n * @param index - index of the column checkbox\n */\n getCustomColumnCheckboxAt: (index: number) =>\n customColumnsPopover().getCheckboxAt(index),\n /**\n * Get full custom columns driver\n */\n getCustomColumnsDriver: () => customColumnsPopover(),\n /**\n * Get a column checkboxes count within the custom columns dropdown\n */\n getCustomColumnCheckboxesCount: () =>\n customColumnsPopover().getCheckboxesCount(),\n /**\n * Get a column checkbox within the custom columns dropdown\n * @param id - column id\n */\n getCustomColumnCheckboxById: (id: string) =>\n customColumnsPopover().getCheckboxById(id),\n /**\n * Get all custom columns items text\n */\n getCustomColumnsTitles: () => customColumnsPopover().getTitles(),\n /** Returns the amount of hidden columns rendered in the CustomColumns CTA badge */\n getCustomColumnsButtonCounterValue: () =>\n CounterBadgeUniDriver(\n base.$('[data-hook=\"custom-columns-button-counter\"]'),\n body,\n ).getContentText(),\n /**\n * Get a InputWithOptions testkit for a filter that placed in the table toolbar\n * @param filterName - the key of the filter in the filters object passed to `useCollection`\n */\n getInputWithOptions: (filterName: string) =>\n getInputWithOptionsDriver(filterName),\n /**\n * Get a InputWithOptions testkit for a filter that placed in the filters panel\n * @param filterName - the key of the filter in the filters object passed to `useCollection`\n */\n getFiltersPanelInputWithOptions: (filterName: string) =>\n filtersPanel.getInputWithOptionsDriver(filterName),\n getFiltersPanelMultiSelect: (filterName: string) =>\n filtersPanel.getFiltersPanelMultiSelect(filterName),\n /**\n * Scrolls down a dropdown filter placed in the table toolbar\n * @param filterName\n */\n scrollDownFilter: (filterName: string) =>\n getInputWithOptionsDriver(filterName).scrollDown(),\n\n /**\n * Scrolls down a dropdown filter placed in the filters panel\n * @param filterName\n */\n scrollDownPanelFilter: (filterName: string) =>\n filtersPanel.getInputWithOptionsDriver(filterName).scrollDown(),\n\n clickFilterClearButton: (filterName: string) => {\n return getInputWithOptionsDriver(filterName).clickInputClear();\n },\n\n /**\n * Returns an amount of filters currently rendered in the Panel.\n */\n getPanelFiltersCount: filtersPanel.getPanelFiltersCount,\n\n /**\n * Returns filter's title at in at index.\n */\n /**\n * Get a filter's title\n * @param index - index of the filter\n */\n getToolbarFilterTitleAt,\n\n /**\n * Get tabs driver\n */\n getTabs: () =>\n TabsFilterUniDriver(base.$('[data-hook=\"collection-tabs-filter\"]'), body),\n\n /**\n * Get date range filter by filter name\n */\n getDateRangeFilter: filtersPanel.getDateRangeFilter,\n\n /**\n * Get number range filter driver by filter name\n */\n getNumberRangeFilterDriver: (filterName: string) =>\n filtersPanel.getNumberRangeDriver(filterName),\n\n /**\n * Get operator picker filter driver by filter name\n */\n getOperatorPickerDriver: (filterName: string) =>\n filtersPanel.getOperatorPickerDriver(filterName),\n\n /**\n * Get radio group filter by filter name\n */\n getRadioGroupFilter: filtersPanel.getRadioGroupFilter,\n\n getMultiLevelSortingButton,\n\n /**\n * Checks if the MultiLevelSorting button exists in the toolbar\n */\n multiLevelSortingButtonExists: () =>\n getMultiLevelSortingButton().getIconButton().exists(),\n\n /**\n * Clicks the MultiLevelSorting button\n */\n clickMultiLevelSortingButton: () =>\n getMultiLevelSortingButton().getIconButton().click(),\n\n getMultiLevelSortingButtonCounterValue: () =>\n CounterBadgeUniDriver(\n base.$('[data-hook=\"multi-level-sorting-button-counter\"]'),\n body,\n ).getContentText(),\n\n /**\n * MultiLevelSorting panel driver\n */\n getMultiLevelSortingPanel,\n /**\n * Button driver for primary action button\n */\n getPrimaryActionButton,\n\n getMainToolbar: () => base.$('[data-hook=\"collection-table-toolbar\"]'),\n\n /**\n * Indicates whether the collection table toolbr total items counter exists\n */\n isShowTotal: () => base.$('[data-hook=\"toolbar-counter\"]').exists(),\n\n /**\n * Gets collection table toolbr total items counter\n */\n getShowTotal: () =>\n CounterBadgeUniDriver(\n base.$('[data-hook=\"toolbar-counter\"]'),\n body,\n ).getContentText(),\n\n /**\n * Indicates whether the collection table title exists\n */\n isTitleExists: () => base.$('[data-hook=\"toolbar-title\"]').exists(),\n\n /**\n * Get collection table toolbar title\n */\n getTitleText: () => base.$('[data-hook=\"toolbar-title\"]').text(),\n\n /**\n * Get collection table toolbar subtitle\n */\n getSubtitleText: () => base.$('[data-hook=\"toolbar-subtitle\"]').text(),\n\n /**\n * Get collection table toolbar learn more button\n */\n getSubtitleLearnMoreButton: () =>\n TextButtonUniDriver(\n base.$('[data-hook=\"toolbar-subtitle-learn-more-cta\"]'),\n body,\n ),\n applyButton: () => filtersPanel.applyButton(),\n discardChangesModal: () => filtersPanel.discardChangesModal(),\n getFiltersPanelItemTextAt: filtersPanel.getItemTextAt,\n getFiltersPanelItemsCount: filtersPanel.getItemsCount,\n getCustomFieldOptionsAt: (index: number) =>\n customColumnsPopover().getCustomFieldOptionsAt(index),\n _filtersPanel: () => filtersPanel,\n };\n};\n"],"mappings":";;;;;AAAA,IAAAA,UAAA,GAAAC,OAAA;AACA,IAAAC,WAAA,GAAAD,OAAA;AAOA,IAAAE,4BAAA,GAAAF,OAAA;AACA,IAAAG,gBAAA,GAAAH,OAAA;AACA,IAAAI,2BAAA,GAA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A;IACI6E,YAAY,EAAEA,CAAA,KAAMjH,IAAI,CAACY,CAAC,CAAC,6BAA6B,CAAC,CAAC6B,IAAI,CAAC,CAAC;IAEhE;AACJ;AACA;IACI+I,eAAe,EAAEA,CAAA,KAAMxL,IAAI,CAACY,CAAC,CAAC,gCAAgC,CAAC,CAAC6B,IAAI,CAAC,CAAC;IAEtE;AACJ;AACA;IACIgJ,0BAA0B,EAAEA,CAAA,KAC1B,IAAAvI,+BAAmB,EACjBlD,IAAI,CAACY,CAAC,CAAC,+CAA+C,CAAC,EACvDX,IACF,CAAC;IACHyL,WAAW,EAAEA,CAAA,KAAM5K,YAAY,CAAC4K,WAAW,CAAC,CAAC;IAC7CC,mBAAmB,EAAEA,CAAA,KAAM7K,YAAY,CAAC6K,mBAAmB,CAAC,CAAC;IAC7DC,yBAAyB,EAAE9K,YAAY,CAAC+K,aAAa;IACrDC,yBAAyB,EAAEhL,YAAY,CAACiL,aAAa;IACrDC,uBAAuB,EAAGxL,KAAa,IACrCqC,oBAAoB,CAAC,CAAC,CAACmJ,uBAAuB,CAACxL,KAAK,CAAC;IACvDyL,aAAa,EAAEA,CAAA,KAAMnL;EACvB,CAAC;AACH,CAAC;AAACoL,OAAA,CAAAnM,0BAAA,GAAAA,0BAAA","ignoreList":[]}
|
|
@@ -5,16 +5,16 @@ exports.vars = exports.style = exports.stVars = exports.st = exports.namespace =
|
|
|
5
5
|
var _stylableEsmRuntime = require("../../stylable-esm-runtime.js");
|
|
6
6
|
// @ts-nocheck
|
|
7
7
|
|
|
8
|
-
var _namespace_ = "
|
|
8
|
+
var _namespace_ = "SearchOrCustomFilter550413254";
|
|
9
9
|
var _style_ = _stylableEsmRuntime.classesRuntime.bind(null, _namespace_);
|
|
10
10
|
var cssStates = exports.cssStates = _stylableEsmRuntime.statesRuntime.bind(null, _namespace_);
|
|
11
11
|
var style = exports.style = _style_;
|
|
12
12
|
var st = exports.st = _style_;
|
|
13
13
|
var namespace = exports.namespace = _namespace_;
|
|
14
14
|
var classes = exports.classes = {
|
|
15
|
-
"root": "
|
|
16
|
-
"search": "
|
|
17
|
-
"searchMobile": "
|
|
15
|
+
"root": "SearchOrCustomFilter550413254__root",
|
|
16
|
+
"search": "SearchOrCustomFilter550413254__search",
|
|
17
|
+
"searchMobile": "SearchOrCustomFilter550413254__searchMobile"
|
|
18
18
|
};
|
|
19
19
|
var keyframes = exports.keyframes = {};
|
|
20
20
|
var layers = exports.layers = {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_stylableEsmRuntime","require","_namespace_","_style_","classesRuntime","bind","cssStates","exports","statesRuntime","style","st","namespace","classes","keyframes","layers","containers","stVars","vars"],"sources":["../../../../src/components/CollectionToolbar/SearchOrCustomFilter.st.css.ts"],"sourcesContent":["// @ts-nocheck\n\n\nimport { classesRuntime, statesRuntime } from \"../../stylable-esm-runtime.js\";\n\n\n\nvar _namespace_ = \"
|
|
1
|
+
{"version":3,"names":["_stylableEsmRuntime","require","_namespace_","_style_","classesRuntime","bind","cssStates","exports","statesRuntime","style","st","namespace","classes","keyframes","layers","containers","stVars","vars"],"sources":["../../../../src/components/CollectionToolbar/SearchOrCustomFilter.st.css.ts"],"sourcesContent":["// @ts-nocheck\n\n\nimport { classesRuntime, statesRuntime } from \"../../stylable-esm-runtime.js\";\n\n\n\nvar _namespace_ = \"SearchOrCustomFilter550413254\";\nvar _style_ = classesRuntime.bind(null, _namespace_);\n\nexport var cssStates = statesRuntime.bind(null, _namespace_);\nexport var style = _style_;\nexport var st: import(\"@stylable/runtime\").STFunction = _style_;\n\nexport var namespace = _namespace_;\nexport var classes = {\"root\":\"SearchOrCustomFilter550413254__root\",\"search\":\"SearchOrCustomFilter550413254__search\",\"searchMobile\":\"SearchOrCustomFilter550413254__searchMobile\"};\nexport var keyframes = {}; \nexport var layers = {};\nexport var containers = {};\nexport var stVars = {}; \nexport var vars = {}; \n\n\n\n\n"],"mappings":";;;;AAGA,IAAAA,mBAAA,GAAAC,OAAA;AAHA;;AAOA,IAAIC,WAAW,GAAG,+BAA+B;AACjD,IAAIC,OAAO,GAAGC,kCAAc,CAACC,IAAI,CAAC,IAAI,EAAEH,WAAW,CAAC;AAE7C,IAAII,SAAS,GAAAC,OAAA,CAAAD,SAAA,GAAGE,iCAAa,CAACH,IAAI,CAAC,IAAI,EAAEH,WAAW,CAAC;AACrD,IAAIO,KAAK,GAAAF,OAAA,CAAAE,KAAA,GAAGN,OAAO;AACnB,IAAIO,EAA0C,GAAAH,OAAA,CAAAG,EAAA,GAAGP,OAAO;AAExD,IAAIQ,SAAS,GAAAJ,OAAA,CAAAI,SAAA,GAAGT,WAAW;AAC3B,IAAIU,OAAO,GAAAL,OAAA,CAAAK,OAAA,GAAG;EAAC,MAAM,EAAC,qCAAqC;EAAC,QAAQ,EAAC,uCAAuC;EAAC,cAAc,EAAC;AAA6C,CAAC;AAC1K,IAAIC,SAAS,GAAAN,OAAA,CAAAM,SAAA,GAAG,CAAC,CAAC;AAClB,IAAIC,MAAM,GAAAP,OAAA,CAAAO,MAAA,GAAG,CAAC,CAAC;AACf,IAAIC,UAAU,GAAAR,OAAA,CAAAQ,UAAA,GAAG,CAAC,CAAC;AACnB,IAAIC,MAAM,GAAAT,OAAA,CAAAS,MAAA,GAAG,CAAC,CAAC;AACf,IAAIC,IAAI,GAAAV,OAAA,CAAAU,IAAA,GAAG,CAAC,CAAC","ignoreList":[]}
|
|
@@ -5,14 +5,14 @@ exports.vars = exports.style = exports.stVars = exports.st = exports.namespace =
|
|
|
5
5
|
var _stylableEsmRuntime = require("../../stylable-esm-runtime.js");
|
|
6
6
|
// @ts-nocheck
|
|
7
7
|
|
|
8
|
-
var _namespace_ = "
|
|
8
|
+
var _namespace_ = "AutoCompleteReadonly2686102034";
|
|
9
9
|
var _style_ = _stylableEsmRuntime.classesRuntime.bind(null, _namespace_);
|
|
10
10
|
var cssStates = exports.cssStates = _stylableEsmRuntime.statesRuntime.bind(null, _namespace_);
|
|
11
11
|
var style = exports.style = _style_;
|
|
12
12
|
var st = exports.st = _style_;
|
|
13
13
|
var namespace = exports.namespace = _namespace_;
|
|
14
14
|
var classes = exports.classes = {
|
|
15
|
-
"root": "
|
|
15
|
+
"root": "AutoCompleteReadonly2686102034__root"
|
|
16
16
|
};
|
|
17
17
|
var keyframes = exports.keyframes = {};
|
|
18
18
|
var layers = exports.layers = {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_stylableEsmRuntime","require","_namespace_","_style_","classesRuntime","bind","cssStates","exports","statesRuntime","style","st","namespace","classes","keyframes","layers","containers","stVars","vars"],"sources":["../../../../src/components/CollectionViewsDropdown/AutoCompleteReadonly.st.css.ts"],"sourcesContent":["// @ts-nocheck\n\n\nimport { classesRuntime, statesRuntime } from \"../../stylable-esm-runtime.js\";\n\n\n\nvar _namespace_ = \"
|
|
1
|
+
{"version":3,"names":["_stylableEsmRuntime","require","_namespace_","_style_","classesRuntime","bind","cssStates","exports","statesRuntime","style","st","namespace","classes","keyframes","layers","containers","stVars","vars"],"sources":["../../../../src/components/CollectionViewsDropdown/AutoCompleteReadonly.st.css.ts"],"sourcesContent":["// @ts-nocheck\n\n\nimport { classesRuntime, statesRuntime } from \"../../stylable-esm-runtime.js\";\n\n\n\nvar _namespace_ = \"AutoCompleteReadonly2686102034\";\nvar _style_ = classesRuntime.bind(null, _namespace_);\n\nexport var cssStates = statesRuntime.bind(null, _namespace_);\nexport var style = _style_;\nexport var st: import(\"@stylable/runtime\").STFunction = _style_;\n\nexport var namespace = _namespace_;\nexport var classes = {\"root\":\"AutoCompleteReadonly2686102034__root\"};\nexport var keyframes = {}; \nexport var layers = {};\nexport var containers = {};\nexport var stVars = {}; \nexport var vars = {}; \n\n\n\n\n"],"mappings":";;;;AAGA,IAAAA,mBAAA,GAAAC,OAAA;AAHA;;AAOA,IAAIC,WAAW,GAAG,gCAAgC;AAClD,IAAIC,OAAO,GAAGC,kCAAc,CAACC,IAAI,CAAC,IAAI,EAAEH,WAAW,CAAC;AAE7C,IAAII,SAAS,GAAAC,OAAA,CAAAD,SAAA,GAAGE,iCAAa,CAACH,IAAI,CAAC,IAAI,EAAEH,WAAW,CAAC;AACrD,IAAIO,KAAK,GAAAF,OAAA,CAAAE,KAAA,GAAGN,OAAO;AACnB,IAAIO,EAA0C,GAAAH,OAAA,CAAAG,EAAA,GAAGP,OAAO;AAExD,IAAIQ,SAAS,GAAAJ,OAAA,CAAAI,SAAA,GAAGT,WAAW;AAC3B,IAAIU,OAAO,GAAAL,OAAA,CAAAK,OAAA,GAAG;EAAC,MAAM,EAAC;AAAsC,CAAC;AAC7D,IAAIC,SAAS,GAAAN,OAAA,CAAAM,SAAA,GAAG,CAAC,CAAC;AAClB,IAAIC,MAAM,GAAAP,OAAA,CAAAO,MAAA,GAAG,CAAC,CAAC;AACf,IAAIC,UAAU,GAAAR,OAAA,CAAAQ,UAAA,GAAG,CAAC,CAAC;AACnB,IAAIC,MAAM,GAAAT,OAAA,CAAAS,MAAA,GAAG,CAAC,CAAC;AACf,IAAIC,IAAI,GAAAV,OAAA,CAAAU,IAAA,GAAG,CAAC,CAAC","ignoreList":[]}
|
|
@@ -5,14 +5,14 @@ exports.vars = exports.style = exports.stVars = exports.st = exports.namespace =
|
|
|
5
5
|
var _stylableEsmRuntime = require("../../stylable-esm-runtime.js");
|
|
6
6
|
// @ts-nocheck
|
|
7
7
|
|
|
8
|
-
var _namespace_ = "
|
|
8
|
+
var _namespace_ = "ViewsDropdown1575621147";
|
|
9
9
|
var _style_ = _stylableEsmRuntime.classesRuntime.bind(null, _namespace_);
|
|
10
10
|
var cssStates = exports.cssStates = _stylableEsmRuntime.statesRuntime.bind(null, _namespace_);
|
|
11
11
|
var style = exports.style = _style_;
|
|
12
12
|
var st = exports.st = _style_;
|
|
13
13
|
var namespace = exports.namespace = _namespace_;
|
|
14
14
|
var classes = exports.classes = {
|
|
15
|
-
"root": "
|
|
15
|
+
"root": "ViewsDropdown1575621147__root"
|
|
16
16
|
};
|
|
17
17
|
var keyframes = exports.keyframes = {};
|
|
18
18
|
var layers = exports.layers = {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_stylableEsmRuntime","require","_namespace_","_style_","classesRuntime","bind","cssStates","exports","statesRuntime","style","st","namespace","classes","keyframes","layers","containers","stVars","vars"],"sources":["../../../../src/components/CollectionViewsDropdown/ViewsDropdown.st.css.ts"],"sourcesContent":["// @ts-nocheck\n\n\nimport { classesRuntime, statesRuntime } from \"../../stylable-esm-runtime.js\";\n\n\n\nvar _namespace_ = \"
|
|
1
|
+
{"version":3,"names":["_stylableEsmRuntime","require","_namespace_","_style_","classesRuntime","bind","cssStates","exports","statesRuntime","style","st","namespace","classes","keyframes","layers","containers","stVars","vars"],"sources":["../../../../src/components/CollectionViewsDropdown/ViewsDropdown.st.css.ts"],"sourcesContent":["// @ts-nocheck\n\n\nimport { classesRuntime, statesRuntime } from \"../../stylable-esm-runtime.js\";\n\n\n\nvar _namespace_ = \"ViewsDropdown1575621147\";\nvar _style_ = classesRuntime.bind(null, _namespace_);\n\nexport var cssStates = statesRuntime.bind(null, _namespace_);\nexport var style = _style_;\nexport var st: import(\"@stylable/runtime\").STFunction = _style_;\n\nexport var namespace = _namespace_;\nexport var classes = {\"root\":\"ViewsDropdown1575621147__root\"};\nexport var keyframes = {}; \nexport var layers = {};\nexport var containers = {};\nexport var stVars = {}; \nexport var vars = {}; \n\n\n\n\n"],"mappings":";;;;AAGA,IAAAA,mBAAA,GAAAC,OAAA;AAHA;;AAOA,IAAIC,WAAW,GAAG,yBAAyB;AAC3C,IAAIC,OAAO,GAAGC,kCAAc,CAACC,IAAI,CAAC,IAAI,EAAEH,WAAW,CAAC;AAE7C,IAAII,SAAS,GAAAC,OAAA,CAAAD,SAAA,GAAGE,iCAAa,CAACH,IAAI,CAAC,IAAI,EAAEH,WAAW,CAAC;AACrD,IAAIO,KAAK,GAAAF,OAAA,CAAAE,KAAA,GAAGN,OAAO;AACnB,IAAIO,EAA0C,GAAAH,OAAA,CAAAG,EAAA,GAAGP,OAAO;AAExD,IAAIQ,SAAS,GAAAJ,OAAA,CAAAI,SAAA,GAAGT,WAAW;AAC3B,IAAIU,OAAO,GAAAL,OAAA,CAAAK,OAAA,GAAG;EAAC,MAAM,EAAC;AAA+B,CAAC;AACtD,IAAIC,SAAS,GAAAN,OAAA,CAAAM,SAAA,GAAG,CAAC,CAAC;AAClB,IAAIC,MAAM,GAAAP,OAAA,CAAAO,MAAA,GAAG,CAAC,CAAC;AACf,IAAIC,UAAU,GAAAR,OAAA,CAAAQ,UAAA,GAAG,CAAC,CAAC;AACnB,IAAIC,MAAM,GAAAT,OAAA,CAAAS,MAAA,GAAG,CAAC,CAAC;AACf,IAAIC,IAAI,GAAAV,OAAA,CAAAU,IAAA,GAAG,CAAC,CAAC","ignoreList":[]}
|
|
@@ -3,11 +3,13 @@
|
|
|
3
3
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
4
|
exports.__esModule = true;
|
|
5
5
|
exports.buildCustomFieldFilterElement = void 0;
|
|
6
|
+
var _bexCore = require("@wix/bex-core");
|
|
6
7
|
var _react = _interopRequireDefault(require("react"));
|
|
7
8
|
var _DateCustomFieldFilter = require("./DateCustomFieldFilter");
|
|
8
9
|
var _DateTimeCustomFieldFilter = require("./DateTimeCustomFieldFilter");
|
|
9
10
|
var _CheckboxCustomFieldFilter = require("./CheckboxCustomFieldFilter");
|
|
10
11
|
var _NumberRangeFilter = require("../NumberRangeFilter");
|
|
12
|
+
var _OperatorFilterPicker = require("../OperatorFilterPicker");
|
|
11
13
|
var _jsxFileName = "/home/builduser/work/843658b9f44192f0/packages/cairo/dist/cjs/components/CustomFieldFilters/buildCustomFieldFilterElement.tsx";
|
|
12
14
|
const buildCustomFieldFilterElement = (state, customField) => {
|
|
13
15
|
const customFieldFilterComponents = {
|
|
@@ -23,9 +25,45 @@ const buildCustomFieldFilterElement = (state, customField) => {
|
|
|
23
25
|
__self: void 0,
|
|
24
26
|
__source: {
|
|
25
27
|
fileName: _jsxFileName,
|
|
26
|
-
lineNumber:
|
|
28
|
+
lineNumber: 27,
|
|
27
29
|
columnNumber: 30
|
|
28
30
|
}
|
|
31
|
+
}),
|
|
32
|
+
shortText: ({
|
|
33
|
+
filter
|
|
34
|
+
}) => /*#__PURE__*/_react.default.createElement(_OperatorFilterPicker.OperatorFilterPicker, {
|
|
35
|
+
filter: filter,
|
|
36
|
+
allowedOperators: _bexCore.STRING_OPERATORS,
|
|
37
|
+
__self: void 0,
|
|
38
|
+
__source: {
|
|
39
|
+
fileName: _jsxFileName,
|
|
40
|
+
lineNumber: 29,
|
|
41
|
+
columnNumber: 7
|
|
42
|
+
}
|
|
43
|
+
}),
|
|
44
|
+
url: ({
|
|
45
|
+
filter
|
|
46
|
+
}) => /*#__PURE__*/_react.default.createElement(_OperatorFilterPicker.OperatorFilterPicker, {
|
|
47
|
+
filter: filter,
|
|
48
|
+
allowedOperators: _bexCore.STRING_OPERATORS,
|
|
49
|
+
__self: void 0,
|
|
50
|
+
__source: {
|
|
51
|
+
fileName: _jsxFileName,
|
|
52
|
+
lineNumber: 35,
|
|
53
|
+
columnNumber: 7
|
|
54
|
+
}
|
|
55
|
+
}),
|
|
56
|
+
longText: ({
|
|
57
|
+
filter
|
|
58
|
+
}) => /*#__PURE__*/_react.default.createElement(_OperatorFilterPicker.OperatorFilterPicker, {
|
|
59
|
+
filter: filter,
|
|
60
|
+
allowedOperators: _bexCore.STRING_OPERATORS,
|
|
61
|
+
__self: void 0,
|
|
62
|
+
__source: {
|
|
63
|
+
fileName: _jsxFileName,
|
|
64
|
+
lineNumber: 41,
|
|
65
|
+
columnNumber: 7
|
|
66
|
+
}
|
|
29
67
|
})
|
|
30
68
|
};
|
|
31
69
|
const CustomFieldFilterComponent = customFieldFilterComponents[customField.type];
|
|
@@ -45,7 +83,7 @@ const buildCustomFieldFilterElement = (state, customField) => {
|
|
|
45
83
|
__self: void 0,
|
|
46
84
|
__source: {
|
|
47
85
|
fileName: _jsxFileName,
|
|
48
|
-
lineNumber:
|
|
86
|
+
lineNumber: 58,
|
|
49
87
|
columnNumber: 5
|
|
50
88
|
}
|
|
51
89
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["
|
|
1
|
+
{"version":3,"names":["_bexCore","require","_react","_interopRequireDefault","_DateCustomFieldFilter","_DateTimeCustomFieldFilter","_CheckboxCustomFieldFilter","_NumberRangeFilter","_OperatorFilterPicker","_jsxFileName","buildCustomFieldFilterElement","state","customField","customFieldFilterComponents","date","DateCustomFieldFilter","dateTime","DateTimeCustomFieldFilter","checkbox","CheckboxCustomFieldFilter","integer","NumberRangeFilter","decimal","filter","default","createElement","__self","__source","fileName","lineNumber","columnNumber","shortText","OperatorFilterPicker","allowedOperators","STRING_OPERATORS","url","longText","CustomFieldFilterComponent","type","label","id","key","collection","filters","accordionItemProps","toolbarItemProps","exports"],"sources":["../../../../src/components/CustomFieldFilters/buildCustomFieldFilterElement.tsx"],"sourcesContent":["import {\n CustomField,\n CustomFieldType,\n FiltersMap,\n STRING_OPERATORS,\n} from '@wix/bex-core';\nimport { ToolbarCollectionState } from '../../state';\nimport React from 'react';\nimport { DateCustomFieldFilter } from './DateCustomFieldFilter';\nimport { DateTimeCustomFieldFilter } from './DateTimeCustomFieldFilter';\nimport { FilterProps } from '../../model';\nimport { CheckboxCustomFieldFilter } from './CheckboxCustomFieldFilter';\nimport { NumberRangeFilter } from '../NumberRangeFilter';\nimport { OperatorFilterPicker } from '../OperatorFilterPicker';\n\nexport const buildCustomFieldFilterElement = <T, F extends FiltersMap>(\n state: ToolbarCollectionState<T, F>,\n customField: CustomField,\n) => {\n const customFieldFilterComponents: {\n [key in CustomFieldType]?: React.ComponentType<FilterProps<any>>;\n } = {\n date: DateCustomFieldFilter,\n dateTime: DateTimeCustomFieldFilter,\n checkbox: CheckboxCustomFieldFilter,\n integer: NumberRangeFilter,\n decimal: ({ filter }) => <NumberRangeFilter filter={filter} decimal />,\n shortText: ({ filter }) => (\n <OperatorFilterPicker\n filter={filter}\n allowedOperators={STRING_OPERATORS}\n />\n ),\n url: ({ filter }) => (\n <OperatorFilterPicker\n filter={filter}\n allowedOperators={STRING_OPERATORS}\n />\n ),\n longText: ({ filter }) => (\n <OperatorFilterPicker\n filter={filter}\n allowedOperators={STRING_OPERATORS}\n />\n ),\n };\n\n const CustomFieldFilterComponent =\n customFieldFilterComponents[customField.type];\n\n if (!CustomFieldFilterComponent) {\n return null;\n }\n\n const label = customField.label || customField.id;\n\n return (\n <CustomFieldFilterComponent\n key={customField.id}\n filter={state.collection.filters[customField.id]!}\n accordionItemProps={{\n label,\n }}\n toolbarItemProps={{\n label,\n }}\n />\n );\n};\n"],"mappings":";;;;;AAAA,IAAAA,QAAA,GAAAC,OAAA;AAOA,IAAAC,MAAA,GAAAC,sBAAA,CAAAF,OAAA;AACA,IAAAG,sBAAA,GAAAH,OAAA;AACA,IAAAI,0BAAA,GAAAJ,OAAA;AAEA,IAAAK,0BAAA,GAAAL,OAAA;AACA,IAAAM,kBAAA,GAAAN,OAAA;AACA,IAAAO,qBAAA,GAAAP,OAAA;AAA+D,IAAAQ,YAAA;AAExD,MAAMC,6BAA6B,GAAGA,CAC3CC,KAAmC,EACnCC,WAAwB,KACrB;EACH,MAAMC,2BAEL,GAAG;IACFC,IAAI,EAAEC,4CAAqB;IAC3BC,QAAQ,EAAEC,oDAAyB;IACnCC,QAAQ,EAAEC,oDAAyB;IACnCC,OAAO,EAAEC,oCAAiB;IAC1BC,OAAO,EAAEA,CAAC;MAAEC;IAAO,CAAC,kBAAKrB,MAAA,CAAAsB,OAAA,CAAAC,aAAA,CAAClB,kBAAA,CAAAc,iBAAiB;MAACE,MAAM,EAAEA,MAAO;MAACD,OAAO;MAAAI,MAAA;MAAAC,QAAA;QAAAC,QAAA,EAAAnB,YAAA;QAAAoB,UAAA;QAAAC,YAAA;MAAA;IAAA,CAAE,CAAC;IACtEC,SAAS,EAAEA,CAAC;MAAER;IAAO,CAAC,kBAC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ACF,CAAE;IACFM,gBAAgB,EAAE;MAChBN;IACF,CAAE;IAAAb,MAAA;IAAAC,QAAA;MAAAC,QAAA,EAAAnB,YAAA;MAAAoB,UAAA;MAAAC,YAAA;IAAA;EAAA,CACH,CAAC;AAEN,CAAC;AAACgB,OAAA,CAAApC,6BAAA,GAAAA,6BAAA","ignoreList":[]}
|
|
@@ -6,13 +6,17 @@ var _transformCustomDateFilterToWQL = require("./transformCustomDateFilterToWQL"
|
|
|
6
6
|
var _transformCustomCheckboxToWQL = require("./transformCustomCheckboxToWQL");
|
|
7
7
|
var _transformCustomNumberRangeFilterToWQL = require("./transformCustomNumberRangeFilterToWQL");
|
|
8
8
|
var _simplifyExtendedColumns = require("../../state/simplifyExtendedColumns");
|
|
9
|
+
var _transformOperatorFilterToWQL = require("./transformOperatorFilterToWQL");
|
|
9
10
|
const transformCustomFiltersToWQL = (state, filters) => {
|
|
10
11
|
const transformToWqlMapper = {
|
|
11
12
|
date: _transformCustomDateFilterToWQL.transformCustomDateFilterToWQL,
|
|
12
13
|
dateTime: _transformCustomDateFilterToWQL.transformCustomDateFilterToWQL,
|
|
13
14
|
checkbox: _transformCustomCheckboxToWQL.transformCustomCheckboxToWQL,
|
|
14
15
|
decimal: _transformCustomNumberRangeFilterToWQL.transformCustomNumberRangeFilterToWQL,
|
|
15
|
-
integer: _transformCustomNumberRangeFilterToWQL.transformCustomNumberRangeFilterToWQL
|
|
16
|
+
integer: _transformCustomNumberRangeFilterToWQL.transformCustomNumberRangeFilterToWQL,
|
|
17
|
+
shortText: _transformOperatorFilterToWQL.transformOperatorFilterToWQL,
|
|
18
|
+
longText: _transformOperatorFilterToWQL.transformOperatorFilterToWQL,
|
|
19
|
+
url: _transformOperatorFilterToWQL.transformOperatorFilterToWQL
|
|
16
20
|
};
|
|
17
21
|
const platformizedFilters = Object.keys(filters).reduce((acc, filterId) => {
|
|
18
22
|
var _state$toolbar$collec;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_transformCustomDateFilterToWQL","require","_transformCustomCheckboxToWQL","_transformCustomNumberRangeFilterToWQL","_simplifyExtendedColumns","transformCustomFiltersToWQL","state","filters","transformToWqlMapper","date","transformCustomDateFilterToWQL","dateTime","checkbox","transformCustomCheckboxToWQL","decimal","transformCustomNumberRangeFilterToWQL","integer","platformizedFilters","Object","keys","reduce","acc","filterId","_state$toolbar$collec","filterValue","currCustomField","toolbar","collectionDataExtension","dataExtension","filterableCustomFields","find","field","id","filterName","prefixFieldWithNamespace","namespace","transformToWql","type","push","$and","exports"],"sources":["../../../../src/components/CustomFieldsTransforms/transformCustomFiltersToWQL.tsx"],"sourcesContent":["import {\n CustomField,\n CustomFieldType,\n ExtractFilterValue,\n FiltersMap,\n RawFilters,\n} from '@wix/bex-core';\nimport { ToolbarCollectionState } from '../../state';\nimport { transformCustomDateFilterToWQL } from './transformCustomDateFilterToWQL';\nimport { transformCustomCheckboxToWQL } from './transformCustomCheckboxToWQL';\nimport { transformCustomNumberRangeFilterToWQL } from './transformCustomNumberRangeFilterToWQL';\nimport { prefixFieldWithNamespace } from '../../state/simplifyExtendedColumns';\n\nexport const transformCustomFiltersToWQL = <F extends FiltersMap>(\n state: { toolbar: ToolbarCollectionState<any, F> },\n filters: RawFilters<F>,\n) => {\n const transformToWqlMapper: {\n [key in CustomFieldType]?: (\n filterName: string,\n filterValue: { [P in keyof F]: ExtractFilterValue<F[P]> }[string],\n ) => any[];\n } = {\n date: transformCustomDateFilterToWQL,\n dateTime: transformCustomDateFilterToWQL,\n checkbox: transformCustomCheckboxToWQL,\n decimal: transformCustomNumberRangeFilterToWQL,\n integer: transformCustomNumberRangeFilterToWQL,\n };\n\n const platformizedFilters = Object.keys(filters).reduce(\n (acc: any[], filterId) => {\n const filterValue = filters[filterId];\n const currCustomField =\n state.toolbar.collectionDataExtension?.dataExtension.filterableCustomFields.find(\n (field: CustomField) => field.id === filterId,\n );\n\n if (!currCustomField || filterValue == null) {\n return acc;\n }\n\n const filterName = prefixFieldWithNamespace(\n currCustomField.id,\n currCustomField.namespace,\n );\n\n const transformToWql = transformToWqlMapper[currCustomField.type];\n if (!transformToWql) {\n return acc;\n }\n\n acc.push(...transformToWql(filterName, filterValue));\n\n return acc;\n },\n [],\n );\n\n return { $and: platformizedFilters };\n};\n"],"mappings":";;;;AAQA,IAAAA,+BAAA,GAAAC,OAAA;AACA,IAAAC,6BAAA,GAAAD,OAAA;AACA,IAAAE,sCAAA,GAAAF,OAAA;AACA,IAAAG,wBAAA,GAAAH,OAAA;AAEO,
|
|
1
|
+
{"version":3,"names":["_transformCustomDateFilterToWQL","require","_transformCustomCheckboxToWQL","_transformCustomNumberRangeFilterToWQL","_simplifyExtendedColumns","_transformOperatorFilterToWQL","transformCustomFiltersToWQL","state","filters","transformToWqlMapper","date","transformCustomDateFilterToWQL","dateTime","checkbox","transformCustomCheckboxToWQL","decimal","transformCustomNumberRangeFilterToWQL","integer","shortText","transformOperatorFilterToWQL","longText","url","platformizedFilters","Object","keys","reduce","acc","filterId","_state$toolbar$collec","filterValue","currCustomField","toolbar","collectionDataExtension","dataExtension","filterableCustomFields","find","field","id","filterName","prefixFieldWithNamespace","namespace","transformToWql","type","push","$and","exports"],"sources":["../../../../src/components/CustomFieldsTransforms/transformCustomFiltersToWQL.tsx"],"sourcesContent":["import {\n CustomField,\n CustomFieldType,\n ExtractFilterValue,\n FiltersMap,\n RawFilters,\n} from '@wix/bex-core';\nimport { ToolbarCollectionState } from '../../state';\nimport { transformCustomDateFilterToWQL } from './transformCustomDateFilterToWQL';\nimport { transformCustomCheckboxToWQL } from './transformCustomCheckboxToWQL';\nimport { transformCustomNumberRangeFilterToWQL } from './transformCustomNumberRangeFilterToWQL';\nimport { prefixFieldWithNamespace } from '../../state/simplifyExtendedColumns';\nimport { transformOperatorFilterToWQL } from './transformOperatorFilterToWQL';\n\nexport const transformCustomFiltersToWQL = <F extends FiltersMap>(\n state: { toolbar: ToolbarCollectionState<any, F> },\n filters: RawFilters<F>,\n) => {\n const transformToWqlMapper: {\n [key in CustomFieldType]?: (\n filterName: string,\n filterValue: { [P in keyof F]: ExtractFilterValue<F[P]> }[string],\n ) => any[];\n } = {\n date: transformCustomDateFilterToWQL,\n dateTime: transformCustomDateFilterToWQL,\n checkbox: transformCustomCheckboxToWQL,\n decimal: transformCustomNumberRangeFilterToWQL,\n integer: transformCustomNumberRangeFilterToWQL,\n shortText: transformOperatorFilterToWQL,\n longText: transformOperatorFilterToWQL,\n url: transformOperatorFilterToWQL,\n };\n\n const platformizedFilters = Object.keys(filters).reduce(\n (acc: any[], filterId) => {\n const filterValue = filters[filterId];\n const currCustomField =\n state.toolbar.collectionDataExtension?.dataExtension.filterableCustomFields.find(\n (field: CustomField) => field.id === filterId,\n );\n\n if (!currCustomField || filterValue == null) {\n return acc;\n }\n\n const filterName = prefixFieldWithNamespace(\n currCustomField.id,\n currCustomField.namespace,\n );\n\n const transformToWql = transformToWqlMapper[currCustomField.type];\n if (!transformToWql) {\n return acc;\n }\n\n acc.push(...transformToWql(filterName, filterValue));\n\n return acc;\n },\n [],\n );\n\n return { $and: platformizedFilters };\n};\n"],"mappings":";;;;AAQA,IAAAA,+BAAA,GAAAC,OAAA;AACA,IAAAC,6BAAA,GAAAD,OAAA;AACA,IAAAE,sCAAA,GAAAF,OAAA;AACA,IAAAG,wBAAA,GAAAH,OAAA;AACA,IAAAI,6BAAA,GAAAJ,OAAA;AAEO,MAAMK,2BAA2B,GAAGA,CACzCC,KAAkD,EAClDC,OAAsB,KACnB;EACH,MAAMC,oBAKL,GAAG;IACFC,IAAI,EAAEC,8DAA8B;IACpCC,QAAQ,EAAED,8DAA8B;IACxCE,QAAQ,EAAEC,0DAA4B;IACtCC,OAAO,EAAEC,4EAAqC;IAC9CC,OAAO,EAAED,4EAAqC;IAC9CE,SAAS,EAAEC,0DAA4B;IACvCC,QAAQ,EAAED,0DAA4B;IACtCE,GAAG,EAAEF;EACP,CAAC;EAED,MAAMG,mBAAmB,GAAGC,MAAM,CAACC,IAAI,CAAChB,OAAO,CAAC,CAACiB,MAAM,CACrD,CAACC,GAAU,EAAEC,QAAQ,KAAK;IAAA,IAAAC,qBAAA;IACxB,MAAMC,WAAW,GAAGrB,OAAO,CAACmB,QAAQ,CAAC;IACrC,MAAMG,eAAe,IAAAF,qBAAA,GACnBrB,KAAK,CAACwB,OAAO,CAACC,uBAAuB,qBAArCJ,qBAAA,CAAuCK,aAAa,CAACC,sBAAsB,CAACC,IAAI,CAC7EC,KAAkB,IAAKA,KAAK,CAACC,EAAE,KAAKV,QACvC,CAAC;IAEH,IAAI,CAACG,eAAe,IAAID,WAAW,IAAI,IAAI,EAAE;MAC3C,OAAOH,GAAG;IACZ;IAEA,MAAMY,UAAU,GAAG,IAAAC,iDAAwB,EACzCT,eAAe,CAACO,EAAE,EAClBP,eAAe,CAACU,SAClB,CAAC;IAED,MAAMC,cAAc,GAAGhC,oBAAoB,CAACqB,eAAe,CAACY,IAAI,CAAC;IACjE,IAAI,CAACD,cAAc,EAAE;MACnB,OAAOf,GAAG;IACZ;IAEAA,GAAG,CAACiB,IAAI,CAAC,GAAGF,cAAc,CAACH,UAAU,EAAET,WAAW,CAAC,CAAC;IAEpD,OAAOH,GAAG;EACZ,CAAC,EACD,EACF,CAAC;EAED,OAAO;IAAEkB,IAAI,EAAEtB;EAAoB,CAAC;AACtC,CAAC;AAACuB,OAAA,CAAAvC,2BAAA,GAAAA,2BAAA","ignoreList":[]}
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
exports.__esModule = true;
|
|
4
|
+
exports.transformOperatorFilterToWQL = void 0;
|
|
5
|
+
var _bexCore = require("@wix/bex-core");
|
|
6
|
+
/**
|
|
7
|
+
* Transform an operator filter value to WQL (Wix Query Language) format
|
|
8
|
+
* @param filterName - The name of the field being filtered
|
|
9
|
+
* @param filterValue - The operator filter value containing operator and value
|
|
10
|
+
* @returns Array of WQL filter objects, or empty array if filter should not be applied
|
|
11
|
+
*/
|
|
12
|
+
const transformOperatorFilterToWQL = (filterName, filterValue) => {
|
|
13
|
+
if (!filterValue) {
|
|
14
|
+
return [];
|
|
15
|
+
}
|
|
16
|
+
const {
|
|
17
|
+
operator,
|
|
18
|
+
value
|
|
19
|
+
} = filterValue;
|
|
20
|
+
if (operator === _bexCore.FilterOperator.IS_EMPTY) {
|
|
21
|
+
return [{
|
|
22
|
+
[filterName]: {
|
|
23
|
+
$eq: null
|
|
24
|
+
}
|
|
25
|
+
}];
|
|
26
|
+
}
|
|
27
|
+
if (operator === _bexCore.FilterOperator.EXISTS) {
|
|
28
|
+
return [{
|
|
29
|
+
[filterName]: {
|
|
30
|
+
$exists: true
|
|
31
|
+
}
|
|
32
|
+
}];
|
|
33
|
+
}
|
|
34
|
+
if (value === null || value === undefined || value === '') {
|
|
35
|
+
return [];
|
|
36
|
+
}
|
|
37
|
+
switch (operator) {
|
|
38
|
+
case _bexCore.FilterOperator.EQUALS:
|
|
39
|
+
return [{
|
|
40
|
+
[filterName]: {
|
|
41
|
+
$eq: value
|
|
42
|
+
}
|
|
43
|
+
}];
|
|
44
|
+
case _bexCore.FilterOperator.NOT_EQUALS:
|
|
45
|
+
return [{
|
|
46
|
+
$not: {
|
|
47
|
+
[filterName]: {
|
|
48
|
+
$eq: value
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
}];
|
|
52
|
+
case _bexCore.FilterOperator.IN:
|
|
53
|
+
return [{
|
|
54
|
+
[filterName]: {
|
|
55
|
+
$in: Array.isArray(value) ? value : [value]
|
|
56
|
+
}
|
|
57
|
+
}];
|
|
58
|
+
case _bexCore.FilterOperator.NOT_IN:
|
|
59
|
+
return [{
|
|
60
|
+
[filterName]: {
|
|
61
|
+
$nin: Array.isArray(value) ? value : [value]
|
|
62
|
+
}
|
|
63
|
+
}];
|
|
64
|
+
case _bexCore.FilterOperator.STARTS_WITH:
|
|
65
|
+
return [{
|
|
66
|
+
[filterName]: {
|
|
67
|
+
$startsWith: value
|
|
68
|
+
}
|
|
69
|
+
}];
|
|
70
|
+
case _bexCore.FilterOperator.CONTAINS:
|
|
71
|
+
return [{
|
|
72
|
+
[filterName]: {
|
|
73
|
+
$contains: value
|
|
74
|
+
}
|
|
75
|
+
}];
|
|
76
|
+
case _bexCore.FilterOperator.NOT_CONTAINS:
|
|
77
|
+
return [{
|
|
78
|
+
$not: {
|
|
79
|
+
[filterName]: {
|
|
80
|
+
$contains: value
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
}];
|
|
84
|
+
case _bexCore.FilterOperator.LESS_THAN:
|
|
85
|
+
return [{
|
|
86
|
+
[filterName]: {
|
|
87
|
+
$lt: value
|
|
88
|
+
}
|
|
89
|
+
}];
|
|
90
|
+
case _bexCore.FilterOperator.LESS_THAN_OR_EQUAL:
|
|
91
|
+
return [{
|
|
92
|
+
[filterName]: {
|
|
93
|
+
$lte: value
|
|
94
|
+
}
|
|
95
|
+
}];
|
|
96
|
+
case _bexCore.FilterOperator.GREATER_THAN:
|
|
97
|
+
return [{
|
|
98
|
+
[filterName]: {
|
|
99
|
+
$gt: value
|
|
100
|
+
}
|
|
101
|
+
}];
|
|
102
|
+
case _bexCore.FilterOperator.GREATER_THAN_OR_EQUAL:
|
|
103
|
+
return [{
|
|
104
|
+
[filterName]: {
|
|
105
|
+
$gte: value
|
|
106
|
+
}
|
|
107
|
+
}];
|
|
108
|
+
default:
|
|
109
|
+
return [];
|
|
110
|
+
}
|
|
111
|
+
};
|
|
112
|
+
exports.transformOperatorFilterToWQL = transformOperatorFilterToWQL;
|
|
113
|
+
//# sourceMappingURL=transformOperatorFilterToWQL.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_bexCore","require","transformOperatorFilterToWQL","filterName","filterValue","operator","value","FilterOperator","IS_EMPTY","$eq","EXISTS","$exists","undefined","EQUALS","NOT_EQUALS","$not","IN","$in","Array","isArray","NOT_IN","$nin","STARTS_WITH","$startsWith","CONTAINS","$contains","NOT_CONTAINS","LESS_THAN","$lt","LESS_THAN_OR_EQUAL","$lte","GREATER_THAN","$gt","GREATER_THAN_OR_EQUAL","$gte","exports"],"sources":["../../../../src/components/CustomFieldsTransforms/transformOperatorFilterToWQL.tsx"],"sourcesContent":["import { FilterOperator, OperatorFilterValue } from '@wix/bex-core';\n\n/**\n * Transform an operator filter value to WQL (Wix Query Language) format\n * @param filterName - The name of the field being filtered\n * @param filterValue - The operator filter value containing operator and value\n * @returns Array of WQL filter objects, or empty array if filter should not be applied\n */\nexport const transformOperatorFilterToWQL = <T,>(\n filterName: string,\n filterValue: OperatorFilterValue<T>,\n) => {\n if (!filterValue) {\n return [];\n }\n\n const { operator, value } = filterValue;\n\n if (operator === FilterOperator.IS_EMPTY) {\n return [\n {\n [filterName]: {\n $eq: null,\n },\n },\n ];\n }\n\n if (operator === FilterOperator.EXISTS) {\n return [\n {\n [filterName]: {\n $exists: true,\n },\n },\n ];\n }\n\n if (value === null || value === undefined || value === '') {\n return [];\n }\n\n switch (operator) {\n case FilterOperator.EQUALS:\n return [\n {\n [filterName]: {\n $eq: value,\n },\n },\n ];\n\n case FilterOperator.NOT_EQUALS:\n return [\n {\n $not: {\n [filterName]: {\n $eq: value,\n },\n },\n },\n ];\n\n case FilterOperator.IN:\n return [\n {\n [filterName]: {\n $in: Array.isArray(value) ? value : [value],\n },\n },\n ];\n\n case FilterOperator.NOT_IN:\n return [\n {\n [filterName]: {\n $nin: Array.isArray(value) ? value : [value],\n },\n },\n ];\n\n case FilterOperator.STARTS_WITH:\n return [\n {\n [filterName]: {\n $startsWith: value,\n },\n },\n ];\n\n case FilterOperator.CONTAINS:\n return [\n {\n [filterName]: {\n $contains: value,\n },\n },\n ];\n\n case FilterOperator.NOT_CONTAINS:\n return [\n {\n $not: {\n [filterName]: {\n $contains: value,\n },\n },\n },\n ];\n\n case FilterOperator.LESS_THAN:\n return [\n {\n [filterName]: {\n $lt: value,\n },\n },\n ];\n\n case FilterOperator.LESS_THAN_OR_EQUAL:\n return [\n {\n [filterName]: {\n $lte: value,\n },\n },\n ];\n\n case FilterOperator.GREATER_THAN:\n return [\n {\n [filterName]: {\n $gt: value,\n },\n },\n ];\n\n case FilterOperator.GREATER_THAN_OR_EQUAL:\n return [\n {\n [filterName]: {\n $gte: value,\n },\n },\n ];\n\n default:\n return [];\n }\n};\n"],"mappings":";;;;AAAA,IAAAA,QAAA,GAAAC,OAAA;AAEA;AACA;AACA;AACA;AACA;AACA;AACO,MAAMC,4BAA4B,GAAGA,CAC1CC,UAAkB,EAClBC,WAAmC,KAChC;EACH,IAAI,CAACA,WAAW,EAAE;IAChB,OAAO,EAAE;EACX;EAEA,MAAM;IAAEC,QAAQ;IAAEC;EAAM,CAAC,GAAGF,WAAW;EAEvC,IAAIC,QAAQ,KAAKE,uBAAc,CAACC,QAAQ,EAAE;IACxC,OAAO,CACL;MACE,CAACL,UAAU,GAAG;QACZM,GAAG,EAAE;MACP;IACF,CAAC,CACF;EACH;EAEA,IAAIJ,QAAQ,KAAKE,uBAAc,CAACG,MAAM,EAAE;IACtC,OAAO,CACL;MACE,CAACP,UAAU,GAAG;QACZQ,OAAO,EAAE;MACX;IACF,CAAC,CACF;EACH;EAEA,IAAIL,KAAK,KAAK,IAAI,IAAIA,KAAK,KAAKM,SAAS,IAAIN,KAAK,KAAK,EAAE,EAAE;IACzD,OAAO,EAAE;EACX;EAEA,QAAQD,QAAQ;IACd,KAAKE,uBAAc,CAACM,MAAM;MACxB,OAAO,CACL;QACE,CAACV,UAAU,GAAG;UACZM,GAAG,EAAEH;QACP;MACF,CAAC,CACF;IAEH,KAAKC,uBAAc,CAACO,UAAU;MAC5B,OAAO,CACL;QACEC,IAAI,EAAE;UACJ,CAACZ,UAAU,GAAG;YACZM,GAAG,EAAEH;UACP;QACF;MACF,CAAC,CACF;IAEH,KAAKC,uBAAc,CAACS,EAAE;MACpB,OAAO,CACL;QACE,CAACb,UAAU,GAAG;UACZc,GAAG,EAAEC,KAAK,CAACC,OAAO,CAACb,KAAK,CAAC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{
|
|
|
89
89
|
dateTime: _bexCore.dateRangeFilter,
|
|
90
90
|
checkbox: _bexCore.idNameArrayFilter,
|
|
91
91
|
decimal: _bexCore.numberRangeFilter,
|
|
92
|
-
integer: _bexCore.numberRangeFilter
|
|
92
|
+
integer: _bexCore.numberRangeFilter,
|
|
93
|
+
shortText: _bexCore.stringOperatorFilter,
|
|
94
|
+
url: _bexCore.stringOperatorFilter,
|
|
95
|
+
longText: _bexCore.stringOperatorFilter
|
|
93
96
|
};
|
|
94
97
|
this.dataExtension.filterableCustomFields.forEach(customField => {
|
|
95
98
|
const filter = customFieldFilter[customField.type];
|