@wix/patterns 1.3.0 → 1.4.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/Collapse/Collapse.st.css.js +3 -3
- package/dist/cjs/components/Collapse/Collapse.st.css.js.map +1 -1
- package/dist/cjs/components/CollectionTable/CollectionTable.uni.driver.js +18 -45
- package/dist/cjs/components/CollectionTable/CollectionTable.uni.driver.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 +2 -8
- package/dist/cjs/components/CollectionToolbar/CollectionToolbar.uni.driver.js.map +1 -1
- package/dist/cjs/components/CollectionToolbar/SearchOrCustomFilter.st.css.js +3 -3
- package/dist/cjs/components/CollectionToolbar/SearchOrCustomFilter.st.css.js.map +1 -1
- package/dist/cjs/components/CollectionToolbars/CollectionToolbars.js +10 -34
- package/dist/cjs/components/CollectionToolbars/CollectionToolbars.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/CollectionViewsDropdown.js +11 -28
- package/dist/cjs/components/CollectionViewsDropdown/CollectionViewsDropdown.js.map +1 -1
- package/dist/cjs/components/CollectionViewsDropdown/CollectionViewsDropdown.uni.driver.js +78 -1
- package/dist/cjs/components/CollectionViewsDropdown/CollectionViewsDropdown.uni.driver.js.map +1 -1
- package/dist/cjs/components/CollectionViewsDropdown/CollectionViewsDropdownBase.js +35 -0
- package/dist/cjs/components/CollectionViewsDropdown/CollectionViewsDropdownBase.js.map +1 -0
- package/dist/cjs/components/CollectionViewsDropdown/CollectionViewsDropdownStandalone.js +27 -0
- package/dist/cjs/components/CollectionViewsDropdown/CollectionViewsDropdownStandalone.js.map +1 -0
- package/dist/cjs/components/CollectionViewsDropdown/ManageViewPopover.js +3 -4
- package/dist/cjs/components/CollectionViewsDropdown/ManageViewPopover.js.map +1 -1
- package/dist/cjs/components/CollectionViewsDropdown/ViewsDropdown.js +14 -12
- package/dist/cjs/components/CollectionViewsDropdown/ViewsDropdown.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/CollectionViewsDropdown/index.js +6 -0
- package/dist/cjs/components/CollectionViewsDropdown/index.js.map +1 -1
- package/dist/cjs/components/CtaProps.js +4 -0
- package/dist/cjs/components/CtaProps.js.map +1 -0
- package/dist/cjs/components/CustomFieldsWidget/CustomFieldsViewWidgetSection.st.css.js +3 -3
- package/dist/cjs/components/CustomFieldsWidget/CustomFieldsViewWidgetSection.st.css.js.map +1 -1
- package/dist/cjs/components/DataExtension/CollectionDataExtensionState.js +3 -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/EmptyState/CollectionEmptyState.js.map +1 -1
- package/dist/cjs/components/EmptyState/CollectionPremiumEmptyState.js +3 -3
- package/dist/cjs/components/EmptyState/CollectionPremiumEmptyState.js.map +1 -1
- package/dist/cjs/components/EmptyState/EmptyStateBase.js +3 -3
- package/dist/cjs/components/EmptyState/EmptyStateBase.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/Grid/Grid.js +30 -57
- package/dist/cjs/components/Grid/Grid.js.map +1 -1
- package/dist/cjs/components/Grid/Grid.uni.driver.js +6 -1
- package/dist/cjs/components/Grid/Grid.uni.driver.js.map +1 -1
- package/dist/cjs/components/Grid/GridContent.js +84 -12
- package/dist/cjs/components/Grid/GridContent.js.map +1 -1
- package/dist/cjs/components/Grid/GridFolders.js +19 -12
- package/dist/cjs/components/Grid/GridFolders.js.map +1 -1
- package/dist/cjs/components/Grid/GridPlaceholderStates.js +1 -1
- package/dist/cjs/components/Grid/GridPlaceholderStates.js.map +1 -1
- package/dist/cjs/components/Grid/{useGridSyncProps.js → useGridBaseSyncProps.js} +10 -14
- package/dist/cjs/components/Grid/useGridBaseSyncProps.js.map +1 -0
- package/dist/cjs/components/Grid/useRenderItem.js +1 -1
- package/dist/cjs/components/Grid/useRenderItem.js.map +1 -1
- package/dist/cjs/components/GridSections/GridSectionAndRepeater.js +55 -0
- package/dist/cjs/components/GridSections/GridSectionAndRepeater.js.map +1 -0
- package/dist/cjs/components/GridSections/GridSectionHeader.js +72 -0
- package/dist/cjs/components/GridSections/GridSectionHeader.js.map +1 -0
- package/dist/cjs/components/GridSections/GridSectionHeader.uni.driver.js +12 -0
- package/dist/cjs/components/GridSections/GridSectionHeader.uni.driver.js.map +1 -0
- package/dist/cjs/components/GridSections/GridSectionHeaderActionBar.js +36 -0
- package/dist/cjs/components/GridSections/GridSectionHeaderActionBar.js.map +1 -0
- package/dist/cjs/components/GridSections/GridSectionsContent.js +67 -0
- package/dist/cjs/components/GridSections/GridSectionsContent.js.map +1 -0
- package/dist/cjs/components/GridSections/GridSectionsState.js +47 -0
- package/dist/cjs/components/GridSections/GridSectionsState.js.map +1 -0
- 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/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 +2 -2
- package/dist/cjs/components/MultiBulkActionToolbar/MultiBulkActionToolbar.st.css.js.map +1 -1
- package/dist/cjs/components/NestedTable/NestedTable.js +3 -3
- package/dist/cjs/components/NestedTable/NestedTable.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/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/Table/TableVirtual.st.css.js +3 -3
- package/dist/cjs/components/Table/TableVirtual.st.css.js.map +1 -1
- package/dist/cjs/components/TableFolders/TableFoldersContent.js +9 -9
- package/dist/cjs/components/TableFolders/TableFoldersContent.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/ToolbarCollection/ToolbarCollection.js +3 -3
- package/dist/cjs/components/ToolbarCollection/ToolbarCollection.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/index.js +9 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/state/EntityPage/EntityPageState.js +3 -1
- package/dist/cjs/state/EntityPage/EntityPageState.js.map +1 -1
- package/dist/cjs/state/EntityPage/EntityPageStateBIReporter.js +21 -1
- package/dist/cjs/state/EntityPage/EntityPageStateBIReporter.js.map +1 -1
- package/dist/cjs/state/GridBaseState.js +14 -6
- package/dist/cjs/state/GridBaseState.js.map +1 -1
- package/dist/cjs/state/GridState.js +2 -9
- package/dist/cjs/state/GridState.js.map +1 -1
- package/dist/cjs/state/ToolbarCollectionState.js +7 -6
- package/dist/cjs/state/ToolbarCollectionState.js.map +1 -1
- package/dist/cjs/state/simplifyExtendedColumns.js +4 -3
- package/dist/cjs/state/simplifyExtendedColumns.js.map +1 -1
- package/dist/cjs/styles.global.css +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/cjs/version.js.map +1 -1
- package/dist/esm/components/Collapse/Collapse.st.css.js +2 -2
- package/dist/esm/components/CollectionTable/CollectionTable.uni.driver.js +18 -45
- package/dist/esm/components/CollectionTable/CollectionTable.uni.driver.js.map +1 -1
- package/dist/esm/components/CollectionToolbar/CollectionToolbar.st.css.js +2 -2
- package/dist/esm/components/CollectionToolbar/CollectionToolbar.st.css.js.map +1 -1
- package/dist/esm/components/CollectionToolbar/CollectionToolbar.uni.driver.js +1 -9
- 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/CollectionToolbars/CollectionToolbars.js +1 -6
- package/dist/esm/components/CollectionToolbars/CollectionToolbars.js.map +1 -1
- package/dist/esm/components/CollectionViewsDropdown/AutoCompleteReadonly.st.css.js +2 -2
- package/dist/esm/components/CollectionViewsDropdown/CollectionViewsDropdown.js +4 -14
- package/dist/esm/components/CollectionViewsDropdown/CollectionViewsDropdown.js.map +1 -1
- package/dist/esm/components/CollectionViewsDropdown/CollectionViewsDropdown.uni.driver.js +78 -1
- package/dist/esm/components/CollectionViewsDropdown/CollectionViewsDropdown.uni.driver.js.map +1 -1
- package/dist/esm/components/CollectionViewsDropdown/CollectionViewsDropdownBase.js +10 -0
- package/dist/esm/components/CollectionViewsDropdown/CollectionViewsDropdownBase.js.map +1 -0
- package/dist/esm/components/CollectionViewsDropdown/CollectionViewsDropdownStandalone.js +8 -0
- package/dist/esm/components/CollectionViewsDropdown/CollectionViewsDropdownStandalone.js.map +1 -0
- package/dist/esm/components/CollectionViewsDropdown/ManageViewPopover.js +3 -2
- package/dist/esm/components/CollectionViewsDropdown/ManageViewPopover.js.map +1 -1
- package/dist/esm/components/CollectionViewsDropdown/ViewsDropdown.js +3 -1
- package/dist/esm/components/CollectionViewsDropdown/ViewsDropdown.js.map +1 -1
- package/dist/esm/components/CollectionViewsDropdown/ViewsDropdown.st.css.js +2 -2
- package/dist/esm/components/CollectionViewsDropdown/index.js +1 -0
- package/dist/esm/components/CollectionViewsDropdown/index.js.map +1 -1
- package/dist/esm/components/CtaProps.js +2 -0
- package/dist/esm/components/CtaProps.js.map +1 -0
- package/dist/esm/components/CustomFieldsWidget/CustomFieldsViewWidgetSection.st.css.js +2 -2
- package/dist/esm/components/CustomFieldsWidget/CustomFieldsViewWidgetSection.st.css.js.map +1 -1
- package/dist/esm/components/DataExtension/CollectionDataExtensionState.js +3 -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/EmptyState/CollectionPremiumEmptyState.js.map +1 -1
- package/dist/esm/components/EmptyState/EmptyStateBase.js.map +1 -1
- package/dist/esm/components/Fade/Fade.st.css.js +2 -2
- package/dist/esm/components/Grid/Grid.js +5 -16
- package/dist/esm/components/Grid/Grid.js.map +1 -1
- package/dist/esm/components/Grid/Grid.uni.driver.js +3 -2
- package/dist/esm/components/Grid/Grid.uni.driver.js.map +1 -1
- package/dist/esm/components/Grid/GridContent.js +40 -8
- package/dist/esm/components/Grid/GridContent.js.map +1 -1
- package/dist/esm/components/Grid/GridFolders.js +5 -3
- package/dist/esm/components/Grid/GridFolders.js.map +1 -1
- package/dist/esm/components/Grid/GridPlaceholderStates.js +1 -1
- package/dist/esm/components/Grid/GridPlaceholderStates.js.map +1 -1
- package/dist/esm/components/Grid/{useGridSyncProps.js → useGridBaseSyncProps.js} +10 -5
- package/dist/esm/components/Grid/useGridBaseSyncProps.js.map +1 -0
- package/dist/esm/components/Grid/useRenderItem.js.map +1 -1
- package/dist/esm/components/GridSections/GridSectionAndRepeater.js +15 -0
- package/dist/esm/components/GridSections/GridSectionAndRepeater.js.map +1 -0
- package/dist/esm/components/GridSections/GridSectionHeader.js +19 -0
- package/dist/esm/components/GridSections/GridSectionHeader.js.map +1 -0
- package/dist/esm/components/GridSections/GridSectionHeader.uni.driver.js +5 -0
- package/dist/esm/components/GridSections/GridSectionHeader.uni.driver.js.map +1 -0
- package/dist/esm/components/GridSections/GridSectionHeaderActionBar.js +7 -0
- package/dist/esm/components/GridSections/GridSectionHeaderActionBar.js.map +1 -0
- package/dist/esm/components/GridSections/GridSectionsContent.js +31 -0
- package/dist/esm/components/GridSections/GridSectionsContent.js.map +1 -0
- package/dist/esm/components/GridSections/GridSectionsState.js +34 -0
- package/dist/esm/components/GridSections/GridSectionsState.js.map +1 -0
- 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/InputOverflow/InputOverflow.st.css.js.map +1 -1
- package/dist/esm/components/MaxHeightText/MaxHeightText.st.css.js +2 -2
- 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/NestedTable.js.map +1 -1
- package/dist/esm/components/NestedTable/NestedTableRow.st.css.js +2 -2
- package/dist/esm/components/NestedTable/NestedTableRow.st.css.js.map +1 -1
- 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/PickerTableListItem/PickerTableListItem.st.css.js +2 -2
- package/dist/esm/components/PickerTableListItem/PickerTableListItem.st.css.js.map +1 -1
- package/dist/esm/components/ScrollableContent/ScrollableContent.st.css.js +2 -2
- 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/Table/TableVirtual.st.css.js +2 -2
- package/dist/esm/components/Table/TableVirtual.st.css.js.map +1 -1
- package/dist/esm/components/TableFolders/TableFoldersContent.js.map +1 -1
- package/dist/esm/components/TabsFilter/TabsFilter.st.css.js +2 -2
- 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/ToolbarCollection/ToolbarCollection.js.map +1 -1
- package/dist/esm/components/ToolbarItemBox/ToolbarItemBox.st.css.js +2 -2
- package/dist/esm/components/common.st.css.js +2 -2
- package/dist/esm/index.js +2 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/state/EntityPage/EntityPageState.js +3 -2
- package/dist/esm/state/EntityPage/EntityPageState.js.map +1 -1
- package/dist/esm/state/EntityPage/EntityPageStateBIReporter.js +16 -1
- package/dist/esm/state/EntityPage/EntityPageStateBIReporter.js.map +1 -1
- package/dist/esm/state/GridBaseState.js +13 -8
- package/dist/esm/state/GridBaseState.js.map +1 -1
- package/dist/esm/state/GridState.js +1 -8
- package/dist/esm/state/GridState.js.map +1 -1
- package/dist/esm/state/ToolbarCollectionState.js +4 -4
- package/dist/esm/state/ToolbarCollectionState.js.map +1 -1
- package/dist/esm/state/simplifyExtendedColumns.js +2 -2
- package/dist/esm/state/simplifyExtendedColumns.js.map +1 -1
- package/dist/esm/styles.global.css +1 -1
- package/dist/esm/version.js +1 -1
- package/dist/types/components/CollectionList/CollectionList.uni.driver.d.ts +59 -0
- package/dist/types/components/CollectionList/CollectionList.uni.driver.d.ts.map +1 -1
- package/dist/types/components/CollectionTable/CollectionTable.uni.driver.d.ts +136 -16
- package/dist/types/components/CollectionTable/CollectionTable.uni.driver.d.ts.map +1 -1
- package/dist/types/components/CollectionToolbar/CollectionToolbar.st.css.d.ts.map +1 -1
- package/dist/types/components/CollectionToolbar/CollectionToolbar.uni.driver.d.ts +77 -14
- package/dist/types/components/CollectionToolbar/CollectionToolbar.uni.driver.d.ts.map +1 -1
- package/dist/types/components/CollectionToolbars/CollectionToolbars.d.ts.map +1 -1
- package/dist/types/components/CollectionViewsDropdown/CollectionViewsDropdown.d.ts +2 -76
- package/dist/types/components/CollectionViewsDropdown/CollectionViewsDropdown.d.ts.map +1 -1
- package/dist/types/components/CollectionViewsDropdown/CollectionViewsDropdown.uni.driver.d.ts +79 -0
- package/dist/types/components/CollectionViewsDropdown/CollectionViewsDropdown.uni.driver.d.ts.map +1 -1
- package/dist/types/components/CollectionViewsDropdown/CollectionViewsDropdownBase.d.ts +91 -0
- package/dist/types/components/CollectionViewsDropdown/CollectionViewsDropdownBase.d.ts.map +1 -0
- package/dist/types/components/CollectionViewsDropdown/CollectionViewsDropdownStandalone.d.ts +11 -0
- package/dist/types/components/CollectionViewsDropdown/CollectionViewsDropdownStandalone.d.ts.map +1 -0
- package/dist/types/components/CollectionViewsDropdown/ManageViewPopover.d.ts.map +1 -1
- package/dist/types/components/CollectionViewsDropdown/ViewsDropdown.d.ts.map +1 -1
- package/dist/types/components/CollectionViewsDropdown/index.d.ts +1 -0
- package/dist/types/components/CollectionViewsDropdown/index.d.ts.map +1 -1
- package/dist/types/components/CtaProps.d.ts +11 -0
- package/dist/types/components/CtaProps.d.ts.map +1 -0
- package/dist/types/components/CustomFieldsWidget/CustomFieldsViewWidgetSection.st.css.d.ts.map +1 -1
- package/dist/types/components/DataExtension/CollectionDataExtensionState.d.ts.map +1 -1
- package/dist/types/components/EmptyState/CollectionEmptyState.d.ts +4 -4
- package/dist/types/components/EmptyState/CollectionPremiumEmptyState.d.ts +4 -3
- package/dist/types/components/EmptyState/CollectionPremiumEmptyState.d.ts.map +1 -1
- package/dist/types/components/EmptyState/EmptyStateBase.d.ts +5 -6
- package/dist/types/components/EmptyState/EmptyStateBase.d.ts.map +1 -1
- package/dist/types/components/Grid/Grid.d.ts +6 -0
- package/dist/types/components/Grid/Grid.d.ts.map +1 -1
- package/dist/types/components/Grid/Grid.uni.driver.d.ts +70 -1
- package/dist/types/components/Grid/Grid.uni.driver.d.ts.map +1 -1
- package/dist/types/components/Grid/GridContent.d.ts +28 -6
- package/dist/types/components/Grid/GridContent.d.ts.map +1 -1
- package/dist/types/components/Grid/GridFolders.d.ts +1 -2
- package/dist/types/components/Grid/GridFolders.d.ts.map +1 -1
- package/dist/types/components/Grid/GridFolders.uni.driver.d.ts +200 -6
- package/dist/types/components/Grid/GridFolders.uni.driver.d.ts.map +1 -1
- package/dist/types/components/Grid/GridFoldersSection.uni.driver.d.ts +69 -0
- package/dist/types/components/Grid/GridFoldersSection.uni.driver.d.ts.map +1 -1
- package/dist/types/components/Grid/GridPlaceholderStates.d.ts +2 -2
- package/dist/types/components/Grid/GridPlaceholderStates.d.ts.map +1 -1
- package/dist/types/components/Grid/useGridBaseSyncProps.d.ts +18 -0
- package/dist/types/components/Grid/useGridBaseSyncProps.d.ts.map +1 -0
- package/dist/types/components/Grid/useRenderItem.d.ts +3 -3
- package/dist/types/components/Grid/useRenderItem.d.ts.map +1 -1
- package/dist/types/components/GridSections/GridSectionAndRepeater.d.ts +16 -0
- package/dist/types/components/GridSections/GridSectionAndRepeater.d.ts.map +1 -0
- package/dist/types/components/GridSections/GridSectionHeader.d.ts +13 -0
- package/dist/types/components/GridSections/GridSectionHeader.d.ts.map +1 -0
- package/dist/types/components/GridSections/GridSectionHeader.uni.driver.d.ts +9 -0
- package/dist/types/components/GridSections/GridSectionHeader.uni.driver.d.ts.map +1 -0
- package/dist/types/components/GridSections/GridSectionHeaderActionBar.d.ts +7 -0
- package/dist/types/components/GridSections/GridSectionHeaderActionBar.d.ts.map +1 -0
- package/dist/types/components/GridSections/GridSectionsContent.d.ts +20 -0
- package/dist/types/components/GridSections/GridSectionsContent.d.ts.map +1 -0
- package/dist/types/components/GridSections/GridSectionsState.d.ts +30 -0
- package/dist/types/components/GridSections/GridSectionsState.d.ts.map +1 -0
- package/dist/types/components/InfiniteScrollCollectionList/InfiniteScrollCollectionList.uni.driver.d.ts +59 -0
- package/dist/types/components/InfiniteScrollCollectionList/InfiniteScrollCollectionList.uni.driver.d.ts.map +1 -1
- package/dist/types/components/InputOverflow/InputOverflow.st.css.d.ts.map +1 -1
- package/dist/types/components/NestedTable/NestedTable.d.ts +5 -13
- package/dist/types/components/NestedTable/NestedTable.d.ts.map +1 -1
- package/dist/types/components/NestedTable/NestedTable.uni.driver.d.ts +177 -0
- package/dist/types/components/NestedTable/NestedTable.uni.driver.d.ts.map +1 -1
- package/dist/types/components/NestedTable/NestedTableRow.st.css.d.ts.map +1 -1
- package/dist/types/components/PickerContent/PickerContent.st.css.d.ts.map +1 -1
- package/dist/types/components/PickerTableListItem/PickerTableListItem.st.css.d.ts.map +1 -1
- package/dist/types/components/Table/Table.uni.driver.d.ts +119 -3
- package/dist/types/components/Table/Table.uni.driver.d.ts.map +1 -1
- package/dist/types/components/Table/TableVirtual.st.css.d.ts.map +1 -1
- package/dist/types/components/TableFolders/TableFolders.uni.driver.d.ts +177 -0
- package/dist/types/components/TableFolders/TableFolders.uni.driver.d.ts.map +1 -1
- package/dist/types/components/TableFolders/TableFoldersContent.d.ts +5 -6
- package/dist/types/components/TableFolders/TableFoldersContent.d.ts.map +1 -1
- package/dist/types/components/TableGridSwitch/TableGridSwitch.uni.driver.d.ts +193 -0
- package/dist/types/components/TableGridSwitch/TableGridSwitch.uni.driver.d.ts.map +1 -1
- package/dist/types/components/TableGridSwitchFolders/TableGridSwitchFolders.uni.driver.d.ts +374 -0
- package/dist/types/components/TableGridSwitchFolders/TableGridSwitchFolders.uni.driver.d.ts.map +1 -1
- package/dist/types/components/Tags/ManageTags/ManageTagsModal/ManageTagsModal.st.css.d.ts.map +1 -1
- package/dist/types/components/ToolbarCollection/ToolbarCollection.d.ts +4 -6
- package/dist/types/components/ToolbarCollection/ToolbarCollection.d.ts.map +1 -1
- package/dist/types/index.d.ts +2 -1
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/state/EntityPage/EntityPageState.d.ts.map +1 -1
- package/dist/types/state/EntityPage/EntityPageStateBIReporter.d.ts +6 -0
- package/dist/types/state/EntityPage/EntityPageStateBIReporter.d.ts.map +1 -1
- package/dist/types/state/GridBaseState.d.ts +6 -1
- package/dist/types/state/GridBaseState.d.ts.map +1 -1
- package/dist/types/state/GridState.d.ts +4 -2
- package/dist/types/state/GridState.d.ts.map +1 -1
- package/dist/types/state/ToolbarCollectionState.d.ts +3 -2
- package/dist/types/state/ToolbarCollectionState.d.ts.map +1 -1
- package/dist/types/state/simplifyExtendedColumns.d.ts +2 -1
- package/dist/types/state/simplifyExtendedColumns.d.ts.map +1 -1
- package/dist/types/testkit/enzyme.d.ts +1427 -10
- package/dist/types/testkit/enzyme.d.ts.map +1 -1
- package/dist/types/testkit/jsdom.d.ts +1427 -10
- package/dist/types/testkit/jsdom.d.ts.map +1 -1
- package/dist/types/testkit/puppeteer.d.ts +1427 -10
- package/dist/types/testkit/puppeteer.d.ts.map +1 -1
- package/dist/types/version.d.ts +1 -1
- package/package.json +3 -3
- package/dist/cjs/components/Grid/useGridSyncProps.js.map +0 -1
- package/dist/esm/components/Grid/useGridSyncProps.js.map +0 -1
- package/dist/types/components/Grid/useGridSyncProps.d.ts +0 -19
- package/dist/types/components/Grid/useGridSyncProps.d.ts.map +0 -1
|
@@ -5,15 +5,15 @@ 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_ = "Collapse2451188794";
|
|
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
|
-
"exit": "
|
|
15
|
+
"root": "Collapse2451188794__root",
|
|
16
|
+
"exit": "Collapse2451188794__exit"
|
|
17
17
|
};
|
|
18
18
|
var keyframes = exports.keyframes = {};
|
|
19
19
|
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/Collapse/Collapse.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/Collapse/Collapse.st.css.ts"],"sourcesContent":["// @ts-nocheck\n\n\nimport { classesRuntime, statesRuntime } from \"../../stylable-esm-runtime.js\";\n\n\n\nvar _namespace_ = \"Collapse2451188794\";\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\":\"Collapse2451188794__root\",\"exit\":\"Collapse2451188794__exit\"};\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,oBAAoB;AACtC,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,0BAA0B;EAAC,MAAM,EAAC;AAA0B,CAAC;AACnF,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":[]}
|
|
@@ -14,7 +14,6 @@ var _TabsFilterUni = _interopRequireDefault(require("../TabsFilter/TabsFilter.un
|
|
|
14
14
|
var _MultiBulkActionToolbarUni = require("../MultiBulkActionToolbar/MultiBulkActionToolbar.uni.driver");
|
|
15
15
|
var _ExportButtonUni = _interopRequireDefault(require("../ExportButton/ExportButton.uni.driver"));
|
|
16
16
|
var _ExportModalUni = _interopRequireDefault(require("../ExportButton/ExportModal.uni.driver"));
|
|
17
|
-
var _ManageViewPopoverUni = require("../CollectionViewsDropdown/ManageViewPopover.uni.driver");
|
|
18
17
|
var _DragAndDropUni = require("../DragAndDrop/DragAndDrop.uni.driver");
|
|
19
18
|
var _ReorderModeToolbarUni = require("../CollectionToolbar/ReorderModeToolbar.uni.driver");
|
|
20
19
|
var _SummaryBarUni = require("../SummaryBar/SummaryBar.uni.driver");
|
|
@@ -31,7 +30,6 @@ const CollectionTableUniDriver = (base, body) => {
|
|
|
31
30
|
const bulkActionToolbar = (0, _BulkActionToolbarUni.BulkActionToolbarUniDriver)(base.$('[data-hook="bulk-action-toolbar"]'), body);
|
|
32
31
|
const multiBulkActionToolbar = (0, _MultiBulkActionToolbarUni.MultiBulkActionToolbarUniDriver)(base.$('[data-hook="bulk-action-toolbar"]'), body);
|
|
33
32
|
const tagList = (0, _AppliedFiltersTagListUni.AppliedFiltersTagListUniDriver)(base.$('[data-hook="collection-table-sub-toolbar"]'), body);
|
|
34
|
-
const manageViewPopover = () => (0, _ManageViewPopoverUni.ManageViewPopoverUniDriver)(base.$('[data-hook="collection-toolbar"]'), body);
|
|
35
33
|
const getExportModal = () => (0, _ExportModalUni.default)(base, body);
|
|
36
34
|
const getExportButton = () => (0, _ExportButtonUni.default)(base.$('[data-hook="export-button"]'), body);
|
|
37
35
|
const getRowDragHandleCell = index => {
|
|
@@ -41,12 +39,12 @@ const CollectionTableUniDriver = (base, body) => {
|
|
|
41
39
|
return getRowDragHandleCell(index).$('[role="button"]');
|
|
42
40
|
};
|
|
43
41
|
const getDragAndDrop = () => (0, _DragAndDropUni.DragAndDropUniDriver)(base);
|
|
44
|
-
const openManageViewPopover = () =>
|
|
45
|
-
const saveNewViewActionClick = () =>
|
|
46
|
-
const deleteViewActionClick = () =>
|
|
47
|
-
const saveViewChangesActionClick = () =>
|
|
48
|
-
const renameViewActionClick = () =>
|
|
49
|
-
const setAsDefaultViewActionClick = () =>
|
|
42
|
+
const openManageViewPopover = () => toolbar.getViewsDropdown().openManageViewPopover();
|
|
43
|
+
const saveNewViewActionClick = () => toolbar.getViewsDropdown().saveNewViewActionClick();
|
|
44
|
+
const deleteViewActionClick = () => toolbar.getViewsDropdown().deleteViewActionClick();
|
|
45
|
+
const saveViewChangesActionClick = () => toolbar.getViewsDropdown().saveViewChangesActionClick();
|
|
46
|
+
const renameViewActionClick = () => toolbar.getViewsDropdown().renameViewActionClick();
|
|
47
|
+
const setAsDefaultViewActionClick = () => toolbar.getViewsDropdown().setAsDefaultViewActionClick();
|
|
50
48
|
const getReorderModeToolbar = () => (0, _ReorderModeToolbarUni.ReorderModeToolbarUniDriver)(base.$('[data-hook="reorder-mode-toolbar"]'), body);
|
|
51
49
|
const getSummaryBar = () => (0, _SummaryBarUni.SummaryBarUniDriver)(base, body);
|
|
52
50
|
return {
|
|
@@ -85,9 +83,9 @@ const CollectionTableUniDriver = (base, body) => {
|
|
|
85
83
|
/** Indicates whether table sub-toolbar exists */
|
|
86
84
|
subToolbarExists: tagList.exists,
|
|
87
85
|
/** Indicates whether the Manage View popover exists */
|
|
88
|
-
manageViewPopoverExists: () =>
|
|
86
|
+
manageViewPopoverExists: () => toolbar.getViewsDropdown().manageViewPopoverExists(),
|
|
89
87
|
/** Indicates whether the Manage View popover opened */
|
|
90
|
-
isManageViewPopoverOpen: () =>
|
|
88
|
+
isManageViewPopoverOpen: () => toolbar.getViewsDropdown().isManageViewPopoverOpen(),
|
|
91
89
|
/** Opens the Manage View popover */
|
|
92
90
|
openManageViewPopover,
|
|
93
91
|
/** Clicks the Save Changes action in the Manage View popover */
|
|
@@ -101,50 +99,25 @@ const CollectionTableUniDriver = (base, body) => {
|
|
|
101
99
|
/** Clicks the Delete action in the Manage View popover */
|
|
102
100
|
deleteViewActionClick,
|
|
103
101
|
/** Get DropdownLayoutOptionUniDriver of a Save Changes option */
|
|
104
|
-
getSaveViewChangesBtn: () =>
|
|
102
|
+
getSaveViewChangesBtn: () => toolbar.getViewsDropdown().getSaveViewChangesBtn(),
|
|
105
103
|
/** Get DropdownLayoutOptionUniDriver of a Save as New View option */
|
|
106
|
-
getSaveNewViewBtn: () =>
|
|
104
|
+
getSaveNewViewBtn: () => toolbar.getViewsDropdown().getSaveNewViewBtn(),
|
|
107
105
|
/** Get DropdownLayoutOptionUniDriver of a Delete View option */
|
|
108
|
-
getDeleteViewBtn: () =>
|
|
106
|
+
getDeleteViewBtn: () => toolbar.getViewsDropdown().getDeleteViewBtn(),
|
|
109
107
|
/** Get DropdownLayoutOptionUniDriver of a Rename option */
|
|
110
|
-
getRenameViewBtn: () =>
|
|
108
|
+
getRenameViewBtn: () => toolbar.getViewsDropdown().getRenameViewBtn(),
|
|
111
109
|
/** Get DropdownLayoutOptionUniDriver of a Set as Default View option */
|
|
112
|
-
getSetAsDefaultViewBtn: () =>
|
|
110
|
+
getSetAsDefaultViewBtn: () => toolbar.getViewsDropdown().getSetAsDefaultViewBtn(),
|
|
113
111
|
/** Saves new view with a defined name and current filters / sort / columns */
|
|
114
|
-
saveNewView: async name =>
|
|
115
|
-
await openManageViewPopover();
|
|
116
|
-
await saveNewViewActionClick();
|
|
117
|
-
const saveViewModal = toolbar.getSaveViewModal();
|
|
118
|
-
await saveViewModal.fillViewNameInput(name);
|
|
119
|
-
await saveViewModal.clickSaveButton();
|
|
120
|
-
},
|
|
112
|
+
saveNewView: async name => toolbar.getViewsDropdown().saveNewView(name),
|
|
121
113
|
/** Deletes the view with a given index */
|
|
122
|
-
deleteView: async ind =>
|
|
123
|
-
await toolbar.getViewsDropdown().open();
|
|
124
|
-
await toolbar.getViewsDropdown().getViewListItemAt(ind).select();
|
|
125
|
-
await openManageViewPopover();
|
|
126
|
-
await deleteViewActionClick();
|
|
127
|
-
},
|
|
114
|
+
deleteView: async ind => toolbar.getViewsDropdown().deleteView(ind),
|
|
128
115
|
/** Saves changes to the current view */
|
|
129
|
-
saveViewChanges: async () =>
|
|
130
|
-
await openManageViewPopover();
|
|
131
|
-
await saveViewChangesActionClick();
|
|
132
|
-
},
|
|
116
|
+
saveViewChanges: async () => toolbar.getViewsDropdown().saveViewChanges(),
|
|
133
117
|
/** Renames the current view with a given name */
|
|
134
|
-
renameView: async name =>
|
|
135
|
-
await openManageViewPopover();
|
|
136
|
-
await renameViewActionClick();
|
|
137
|
-
const renameViewModal = toolbar.getRenameViewModal();
|
|
138
|
-
await renameViewModal.fillViewNameInput(name);
|
|
139
|
-
await renameViewModal.clickSaveButton();
|
|
140
|
-
},
|
|
118
|
+
renameView: async name => toolbar.getViewsDropdown().renameView(name),
|
|
141
119
|
/** Sets a default view with a given index */
|
|
142
|
-
setAsDefaultView: async ind =>
|
|
143
|
-
await toolbar.getViewsDropdown().open();
|
|
144
|
-
await toolbar.getViewsDropdown().getViewListItemAt(ind).select();
|
|
145
|
-
await openManageViewPopover();
|
|
146
|
-
await setAsDefaultViewActionClick();
|
|
147
|
-
},
|
|
120
|
+
setAsDefaultView: async ind => toolbar.getViewsDropdown().setAsDefaultView(ind),
|
|
148
121
|
clickAppliedFiltersClearButton: tagList.clickActionButton,
|
|
149
122
|
wait: timeout => base.wait(timeout),
|
|
150
123
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_BulkActionToolbarUni","require","_CollectionItemActionsUni","_CollectionToolbarUni","_unidriver","_unidriver2","_AppliedFiltersTagListUni","_TableTopNotificationUni","_TabsFilterUni","_interopRequireDefault","_MultiBulkActionToolbarUni","_ExportButtonUni","_ExportModalUni","_ManageViewPopoverUni","_DragAndDropUni","_ReorderModeToolbarUni","_SummaryBarUni","CollectionTableUniDriver","base","body","table","TableUniDriver","toolbar","CollectionToolbarUniDriver","$","getLiveRegion","LiveRegionUniDriver","tableContentBase","refreshLoaderBase","refreshLoader","LoaderUniDriver","getActionCell","rowIndex","CollectionItemActionsUniDriver","getRow","bulkActionToolbar","BulkActionToolbarUniDriver","multiBulkActionToolbar","MultiBulkActionToolbarUniDriver","tagList","AppliedFiltersTagListUniDriver","manageViewPopover","ManageViewPopoverUniDriver","getExportModal","ExportModalUniDriver","getExportButton","ExportButtonUniDriver","getRowDragHandleCell","index","getRowDragHandle","getDragAndDrop","DragAndDropUniDriver","openManageViewPopover","open","saveNewViewActionClick","clickSaveNewView","deleteViewActionClick","clickDeleteView","saveViewChangesActionClick","clickSaveChanges","renameViewActionClick","clickRenameView","setAsDefaultViewActionClick","clickSetAsDefaultView","getReorderModeToolbar","ReorderModeToolbarUniDriver","getSummaryBar","SummaryBarUniDriver","getToolbar","isHeaderHiddenAccessible","_prop","display","_getTableElement","waitRefreshLoader","timeout","wait","waitRefreshLoaderRemoved","waitFor","exists","isRefreshLoaderLoading","isLoading","refreshLoaderExists","refreshLoaderExistsAndNoRows","tableContentExists","Promise","all","getAppliedFiltersTagListDriver","appliedFiltersTagListExists","getAppliedFilterTagText","appliedFilterTagExists","getAppliedFilterTag","removeAppliedFilterTag","subToolbarExists","manageViewPopoverExists","isManageViewPopoverOpen","isOpen","getSaveViewChangesBtn","getSaveChangesBtn","getSaveNewViewBtn","getDeleteViewBtn","getRenameViewBtn","getSetAsDefaultViewBtn","saveNewView","name","saveViewModal","getSaveViewModal","fillViewNameInput","clickSaveButton","deleteView","ind","getViewsDropdown","getViewListItemAt","select","saveViewChanges","renameView","renameViewModal","getRenameViewModal","setAsDefaultView","clickAppliedFiltersClearButton","clickActionButton","openAndConfirmActionModal","actionDataHook","clickSecondaryAction","confirmActionModal","openAndConfirmDeleteModal","openActionCellPopoverMenu","clickPopoverMenu","getHiddenActionsCount","isSecondaryActionDisabled","dataHook","getBulkActionButton","getButton","clickBulkActionButton","clickButton","bulkActionButtonExists","isButtonExists","bulkActionToolbarExists","getSelectedCountText","isMultiBulkActionButtonTooltipExist","isTooltipExist","isMultiBulkActionButtonTooltipVisible","isTooltipVisible","getMultiBulkActionButtonTooltipText","getTooltipText","clickOutsideMultiBulkActionButtonTooltip","clickOutsideTooltip","mouseEnterMultiBulkActionButtonTooltip","mouseEnterTooltip","mouseLeaveMultiBulkActionButtonTooltip","mouseLeaveTooltip","getMultiBulkActionButton","clickMultiBulkActionButton","getPrimaryActionPopover","getPopover","togglePrimaryActionPopover","isPrimaryActionPopoverOpen","isMenuOpen","isMultiBulkActionMoreActionsOpen","isMoreActionsOpen","getMultiBulkActionMoreActionsItemsCount","getMoreActionsItemsCount","getMultiBulkActionPopoverItemAt","getMoreActionsPopoverItemAt","clickMoreActionsPopoverItemAt","clickMoreActionsPopoverItem","openMultiBulkActionMoreActionPopover","openMoreActionPopover","multiBulkActionButtonExists","multiBulkActionToolbarExists","getMultiSelectedCountText","multiBulkActionToolbarClickSelectAllButton","selectAll","getMultiBulkActionToolbarSelectAllButtonText","selectAllText","isExportModalOpen","getModal","clickRowsCheckboxes","rowIndexes","clickRowCheckbox","getConfirmActionModal","MessageModalLayoutUniDriver","getTopNotification","TableTopNotificationUniDriver","getToolbarTabs","TabsFilterUniDriver","escapeDrag","sourceIndex","rowDragHandleExists","dragStartFromHandleAndKeyboard","startKeyboardDrag","getLiveRegionText","getMessage","getLiveRegionRole","getRole","getDragAndDropLiveRegionText","text","getStickyColumnsCount","$$","count","isHorizontalScroll","Array","from","some","c","includes","_getInfoIconTooltipPopoverAt","colNum","PopoverUniDriver","get","exports"],"sources":["../../../../src/components/CollectionTable/CollectionTable.uni.driver.ts"],"sourcesContent":["import { BulkActionToolbarUniDriver } from '../BulkActionToolbar/BulkActionToolbar.uni.driver';\nimport { CollectionItemActionsUniDriver } from '../CollectionItemActions/CollectionItemActions.uni.driver';\nimport { CollectionToolbarUniDriver } from '../CollectionToolbar/CollectionToolbar.uni.driver';\nimport { UniDriver, waitFor } from '@wix/wix-ui-test-utils/unidriver';\nimport {\n LoaderUniDriver,\n MessageModalLayoutUniDriver,\n TableUniDriver,\n LiveRegionUniDriver,\n PopoverUniDriver,\n} from '@wix/design-system/dist/testkit/unidriver';\nimport { AppliedFiltersTagListUniDriver } from '../AppliedFiltersTagList/AppliedFiltersTagList.uni.driver';\nimport { TableTopNotificationUniDriver } from '../TableTopNotification/TableTopNotification.uni.driver';\nimport TabsFilterUniDriver from '../TabsFilter/TabsFilter.uni.driver';\nimport { MultiBulkActionToolbarUniDriver } from '../MultiBulkActionToolbar/MultiBulkActionToolbar.uni.driver';\nimport ExportButtonUniDriver from '../ExportButton/ExportButton.uni.driver';\nimport ExportModalUniDriver from '../ExportButton/ExportModal.uni.driver';\nimport { ManageViewPopoverUniDriver } from '../CollectionViewsDropdown/ManageViewPopover.uni.driver';\nimport { DragAndDropUniDriver } from '../DragAndDrop/DragAndDrop.uni.driver';\nimport { ReorderModeToolbarUniDriver } from '../CollectionToolbar/ReorderModeToolbar.uni.driver';\nimport { SummaryBarUniDriver } from '../SummaryBar/SummaryBar.uni.driver';\n\nexport const CollectionTableUniDriver = (base: UniDriver, body: UniDriver) => {\n const table = TableUniDriver(base, body);\n\n const toolbar = CollectionToolbarUniDriver(\n base.$('[data-hook=\"collection-toolbar\"]'),\n body,\n );\n\n const getLiveRegion = () =>\n LiveRegionUniDriver(body.$('[data-hook=\"collection-live-region\"]'), body);\n\n const tableContentBase = () => base.$('[data-hook=\"table-content\"]');\n\n const refreshLoaderBase = () =>\n base.$(`[data-hook=\"placeholder-states-loading-state\"]`);\n const refreshLoader = () => LoaderUniDriver(refreshLoaderBase(), body);\n\n const getActionCell = (rowIndex: number) => {\n return CollectionItemActionsUniDriver(table.getRow(rowIndex), body);\n };\n\n const bulkActionToolbar = BulkActionToolbarUniDriver(\n base.$('[data-hook=\"bulk-action-toolbar\"]'),\n body,\n );\n\n const multiBulkActionToolbar = MultiBulkActionToolbarUniDriver(\n base.$('[data-hook=\"bulk-action-toolbar\"]'),\n body,\n );\n\n const tagList = AppliedFiltersTagListUniDriver(\n base.$('[data-hook=\"collection-table-sub-toolbar\"]'),\n body,\n );\n\n const manageViewPopover = () =>\n ManageViewPopoverUniDriver(\n base.$('[data-hook=\"collection-toolbar\"]'),\n body,\n );\n\n const getExportModal = () => ExportModalUniDriver(base, body);\n\n const getExportButton = () =>\n ExportButtonUniDriver(base.$('[data-hook=\"export-button\"]'), body);\n\n const getRowDragHandleCell = (index: number) => {\n return table.getRow(index).$('[data-hook=\"drag-handle\"]');\n };\n\n const getRowDragHandle = (index: number) => {\n return getRowDragHandleCell(index).$('[role=\"button\"]');\n };\n\n const getDragAndDrop = () => DragAndDropUniDriver(base);\n\n const openManageViewPopover = () => manageViewPopover().open();\n const saveNewViewActionClick = () => manageViewPopover().clickSaveNewView();\n const deleteViewActionClick = () => manageViewPopover().clickDeleteView();\n const saveViewChangesActionClick = () =>\n manageViewPopover().clickSaveChanges();\n const renameViewActionClick = () => manageViewPopover().clickRenameView();\n const setAsDefaultViewActionClick = () =>\n manageViewPopover().clickSetAsDefaultView();\n\n const getReorderModeToolbar = () =>\n ReorderModeToolbarUniDriver(\n base.$('[data-hook=\"reorder-mode-toolbar\"]'),\n body,\n );\n const getSummaryBar = () => SummaryBarUniDriver(base, body);\n\n return {\n ...toolbar,\n ...table,\n\n getToolbar: () => toolbar,\n\n isHeaderHiddenAccessible: async () =>\n (await base.$('[data-hook=\"titlebar-a11y-wrapper\"]')._prop('style'))\n .display === 'none',\n\n /** @private */\n _getTableElement: () => base.$('[data-hook=\"table-content\"] table'),\n /** Wait for the table refresh loader to be shown */\n waitRefreshLoader: (timeout?: number) => refreshLoaderBase().wait(timeout),\n /** Wait for the table refresh loader to be removed */\n waitRefreshLoaderRemoved: (timeout?: number) =>\n waitFor(async () => !(await refreshLoaderBase().exists()), timeout),\n /** Indicates whether table refresh loader is in loading status */\n isRefreshLoaderLoading: () => refreshLoader().isLoading(),\n /** Indicates whether table refresh loader exists */\n refreshLoaderExists: () => refreshLoader().exists(),\n\n /** Indicates whether table refresh loader exists and no rows are rendered */\n refreshLoaderExistsAndNoRows: async () => {\n const [refreshLoaderExists, tableContentExists] = await Promise.all([\n refreshLoader().exists(),\n tableContentBase().exists(),\n ]);\n\n return refreshLoaderExists && !tableContentExists;\n },\n\n /** indicates whether the table content exists */\n tableContentExists: () => tableContentBase().exists(),\n\n getAppliedFiltersTagListDriver: () =>\n AppliedFiltersTagListUniDriver(\n base.$('[data-hook=\"collection-table-sub-toolbar\"]'),\n body,\n ),\n /** Indicates whether applied filters tag list exists in the table sub-toolbar */\n appliedFiltersTagListExists: tagList.exists,\n /** Get the text of a tag inside the applied filters tag list */\n getAppliedFilterTagText: tagList.getAppliedFilterTagText,\n /** Indicates a tag inside the applied filters tag list exists */\n appliedFilterTagExists: tagList.appliedFilterTagExists,\n /** Get a tag driver of a tag inside the applied filters tag list */\n getAppliedFilterTag: tagList.getAppliedFilterTag,\n /** Remove a tag inside the applied filters tag list */\n removeAppliedFilterTag: tagList.removeAppliedFilterTag,\n /** Indicates whether table sub-toolbar exists */\n subToolbarExists: tagList.exists,\n\n /** Indicates whether the Manage View popover exists */\n manageViewPopoverExists: () => manageViewPopover().exists(),\n /** Indicates whether the Manage View popover opened */\n isManageViewPopoverOpen: () => manageViewPopover().isOpen(),\n /** Opens the Manage View popover */\n openManageViewPopover,\n /** Clicks the Save Changes action in the Manage View popover */\n saveViewChangesActionClick,\n /** Clicks the Save as New View action in the Manage View popover */\n saveNewViewActionClick,\n /** Clicks the Rename action in the Manage View popover */\n renameViewActionClick,\n /** Clicks the Set as Default View action in the Manage View popover */\n setAsDefaultViewActionClick,\n /** Clicks the Delete action in the Manage View popover */\n deleteViewActionClick,\n /** Get DropdownLayoutOptionUniDriver of a Save Changes option */\n getSaveViewChangesBtn: () => manageViewPopover().getSaveChangesBtn(),\n /** Get DropdownLayoutOptionUniDriver of a Save as New View option */\n getSaveNewViewBtn: () => manageViewPopover().getSaveNewViewBtn(),\n /** Get DropdownLayoutOptionUniDriver of a Delete View option */\n getDeleteViewBtn: () => manageViewPopover().getDeleteViewBtn(),\n /** Get DropdownLayoutOptionUniDriver of a Rename option */\n getRenameViewBtn: () => manageViewPopover().getRenameViewBtn(),\n /** Get DropdownLayoutOptionUniDriver of a Set as Default View option */\n getSetAsDefaultViewBtn: () => manageViewPopover().getSetAsDefaultViewBtn(),\n\n /** Saves new view with a defined name and current filters / sort / columns */\n saveNewView: async (name: string) => {\n await openManageViewPopover();\n await saveNewViewActionClick();\n const saveViewModal = toolbar.getSaveViewModal();\n await saveViewModal.fillViewNameInput(name);\n await saveViewModal.clickSaveButton();\n },\n /** Deletes the view with a given index */\n deleteView: async (ind: number) => {\n await toolbar.getViewsDropdown().open();\n await toolbar.getViewsDropdown().getViewListItemAt(ind).select();\n await openManageViewPopover();\n await deleteViewActionClick();\n },\n /** Saves changes to the current view */\n saveViewChanges: async () => {\n await openManageViewPopover();\n await saveViewChangesActionClick();\n },\n /** Renames the current view with a given name */\n renameView: async (name: string) => {\n await openManageViewPopover();\n await renameViewActionClick();\n\n const renameViewModal = toolbar.getRenameViewModal();\n await renameViewModal.fillViewNameInput(name);\n await renameViewModal.clickSaveButton();\n },\n /** Sets a default view with a given index */\n setAsDefaultView: async (ind: number) => {\n await toolbar.getViewsDropdown().open();\n await toolbar.getViewsDropdown().getViewListItemAt(ind).select();\n await openManageViewPopover();\n await setAsDefaultViewActionClick();\n },\n\n clickAppliedFiltersClearButton: tagList.clickActionButton,\n wait: (timeout?: number) => base.wait(timeout),\n\n /**\n * Open & confirm action modal for a row\n */\n openAndConfirmActionModal: async (\n rowIndex: number,\n actionDataHook: string,\n ) => {\n await getActionCell(rowIndex).clickSecondaryAction(actionDataHook);\n return getActionCell(rowIndex).confirmActionModal();\n },\n /**\n * Open & confirm delete modal for a row\n */\n openAndConfirmDeleteModal: async (\n rowIndex: number,\n actionDataHook = 'collection-delete-action',\n ) => {\n await getActionCell(rowIndex).clickSecondaryAction(actionDataHook);\n return getActionCell(rowIndex).confirmActionModal();\n },\n /**\n * Opens the popover menu inside the action cell of a specific row\n * @param rowIndex - index of the row\n */\n openActionCellPopoverMenu: (rowIndex: number) =>\n getActionCell(rowIndex).clickPopoverMenu(),\n /**\n * Number of action menu items inside the action cell of a specific row\n * @param rowIndex - index of the row\n */\n getHiddenActionsCount: (rowIndex: number) =>\n getActionCell(rowIndex).getHiddenActionsCount(),\n /**\n * Indicates whether a menu item inside the actions cell is disabled\n * @param rowIndex - index of the row\n * @param dataHook - data-hook of the menu item\n */\n isSecondaryActionDisabled: (rowIndex: number, dataHook: string) =>\n getActionCell(rowIndex).isSecondaryActionDisabled(dataHook),\n /** Get action button of the bulk action toolbar */\n getBulkActionButton: (dataHook?: string) =>\n bulkActionToolbar.getButton(dataHook),\n /** Clicks the action button of the bulk action toolbar */\n clickBulkActionButton: (dataHook?: string) =>\n bulkActionToolbar.clickButton(dataHook),\n /** Indicates whether the action button of the bulk action toolbar exists */\n bulkActionButtonExists: () => bulkActionToolbar.isButtonExists(),\n /** Indicates whether the bulk action toolbar exists */\n bulkActionToolbarExists: () => bulkActionToolbar.exists(),\n /** Get the text of the action button of the bulk action toolbar */\n getSelectedCountText: () => bulkActionToolbar.getSelectedCountText(),\n /** Indicates whether the MultiBulkActionToolbar button's tooltip element exist */\n isMultiBulkActionButtonTooltipExist: (dataHook: string) =>\n multiBulkActionToolbar.isTooltipExist(dataHook),\n /** Indicates whether the MultiBulkActionToolbar button's tooltip is shown */\n isMultiBulkActionButtonTooltipVisible: (dataHook: string) =>\n multiBulkActionToolbar.isTooltipVisible(dataHook),\n /** Get the MultiBulkActionToolbar button's tooltip text */\n getMultiBulkActionButtonTooltipText: (dataHook: string) =>\n multiBulkActionToolbar.getTooltipText(dataHook),\n /** Clicks outside of the MultiBulkActionToolbar button's tooltip */\n clickOutsideMultiBulkActionButtonTooltip: (dataHook: string) =>\n multiBulkActionToolbar.clickOutsideTooltip(dataHook),\n /** Triggers the MultiBulkActionToolbar button's tooltip */\n mouseEnterMultiBulkActionButtonTooltip: (dataHook: string) =>\n multiBulkActionToolbar.mouseEnterTooltip(dataHook),\n /** Hides the MultiBulkActionToolbar button's tooltip */\n mouseLeaveMultiBulkActionButtonTooltip: (dataHook: string) =>\n multiBulkActionToolbar.mouseLeaveTooltip(dataHook),\n /** Get action button of the multi bulk action toolbar */\n getMultiBulkActionButton: (dataHook: string) =>\n multiBulkActionToolbar.getButton(dataHook),\n /** Clicks the action button of the multi bulk action toolbar */\n clickMultiBulkActionButton: (dataHook: string) =>\n multiBulkActionToolbar.clickButton(dataHook),\n /** Get primary action popover */\n getPrimaryActionPopover: (dataHook?: string) =>\n bulkActionToolbar.getPopover(`${dataHook}-popover`),\n /** Open primary action popover */\n togglePrimaryActionPopover: (dataHook?: string) =>\n bulkActionToolbar.clickButton(`${dataHook}`),\n /** Checks if primary action popover is open */\n isPrimaryActionPopoverOpen: (dataHook?: string) =>\n bulkActionToolbar.getPopover(`${dataHook}-popover`).isMenuOpen(),\n /** Is the PopoverMenu of the multi bulk action toolbar open */\n isMultiBulkActionMoreActionsOpen: () =>\n multiBulkActionToolbar.isMoreActionsOpen(),\n /** Get number of items under the \"more actions\" PopoverMenu of the multi bulk action toolbar */\n getMultiBulkActionMoreActionsItemsCount: () =>\n multiBulkActionToolbar.getMoreActionsItemsCount(),\n /** Get item from \"more actions\" PopoverMenu of the multi bulk action toolbar */\n getMultiBulkActionPopoverItemAt: (index: number) =>\n multiBulkActionToolbar.getMoreActionsPopoverItemAt(index),\n /** Click an item from \"more actions\" PopoverMenu of the multi bulk action toolbar */\n clickMoreActionsPopoverItemAt: (index: number) =>\n multiBulkActionToolbar.clickMoreActionsPopoverItemAt(index),\n /** Click an item from \"more actions\" PopoverMenu of the multi bulk action toolbar */\n clickMoreActionsPopoverItem: (dataHook: string) =>\n multiBulkActionToolbar.clickMoreActionsPopoverItem(dataHook),\n /** Open the \"more actions\" PopoverMenu of the multi bulk action toolbar */\n openMultiBulkActionMoreActionPopover: () =>\n multiBulkActionToolbar.openMoreActionPopover(),\n /** Indicates whether the action button of the multi bulk action toolbar exists */\n multiBulkActionButtonExists: (dataHook: string) =>\n multiBulkActionToolbar.isButtonExists(dataHook),\n /** Indicates whether the multi bulk action toolbar exists */\n multiBulkActionToolbarExists: () => multiBulkActionToolbar.exists(),\n /** Get the text of multi action button toolbar counter */\n getMultiSelectedCountText: () =>\n multiBulkActionToolbar.getSelectedCountText(),\n /** Clicks the Select All / Deselec All button from the multi bulk action toolbar exists */\n multiBulkActionToolbarClickSelectAllButton: () =>\n multiBulkActionToolbar.selectAll(),\n /** Gets the text of select all button text */\n getMultiBulkActionToolbarSelectAllButtonText: () =>\n multiBulkActionToolbar.selectAllText(),\n /** Is 'ExportTo' modal open */\n isExportModalOpen: () => getExportButton().getModal().isOpen(),\n /** Get actions cell of a row */\n getActionCell,\n /** Clicks multiple rows selection checkbox */\n clickRowsCheckboxes: async (rowIndexes: number[]) => {\n for (const index of rowIndexes) {\n await table.clickRowCheckbox(index);\n }\n },\n\n /**\n * Get current confirmation modal\n */\n getConfirmActionModal: () =>\n MessageModalLayoutUniDriver(\n body.$('[data-hook=\"collection-action-modal\"]'),\n body,\n ),\n\n getTopNotification: () =>\n TableTopNotificationUniDriver(\n base.$('[data-hook=\"table-top-notification\"]'),\n body,\n ),\n\n /** Get tabs filter driver */\n getToolbarTabs: () =>\n TabsFilterUniDriver(base.$('[data-hook=\"collection-tabs-filter\"]'), body),\n\n /** Get an export button driver **/\n getExportButton,\n\n /** Get an export modal driver **/\n getExportModal,\n\n getRowDragHandle,\n\n escapeDrag: (sourceIndex: number) =>\n getDragAndDrop().escapeDrag(getRowDragHandle(sourceIndex)),\n\n rowDragHandleExists: (index: number) => getRowDragHandle(index).exists(),\n\n dragStartFromHandleAndKeyboard: async (index: number) =>\n getDragAndDrop().startKeyboardDrag(getRowDragHandle(index)),\n\n getLiveRegionText: async () => (await getLiveRegion()).getMessage(),\n getLiveRegionRole: async () => (await getLiveRegion()).getRole(),\n\n getDragAndDropLiveRegionText: () =>\n body.$('[data-hook=\"collection-table-dnd-live-region\"]').text(),\n\n getStickyColumnsCount: () =>\n base.$('thead').$$(`[data-sticky=\"true\"]`).count(),\n\n isHorizontalScroll: async () =>\n Array.from<string>(await tableContentBase()._prop('classList')).some(\n (c) => c.includes('tableBodyScrollContent'),\n ),\n\n getReorderModeToolbar,\n /**\n * Gets collection summary bar\n */\n getSummaryBar,\n\n _getInfoIconTooltipPopoverAt: (colNum: number) =>\n PopoverUniDriver(\n base\n .$('thead')\n .$$(`th`)\n .get(colNum)\n .$('[data-hook=\"infoicon-tooltip\"]'),\n body,\n ),\n };\n};\n"],"mappings":";;;;;AAAA,IAAAA,qBAAA,GAAAC,OAAA;AACA,IAAAC,yBAAA,GAAAD,OAAA;AACA,IAAAE,qBAAA,GAAAF,OAAA;AACA,IAAAG,UAAA,GAAAH,OAAA;AACA,IAAAI,WAAA,GAAAJ,OAAA;AAOA,IAAAK,yBAAA,GAAAL,OAAA;AACA,IAAAM,wBAAA,GAAAN,OAAA;AACA,IAAAO,cAAA,GAAAC,sBAAA,CAAAR,OAAA;AACA,IAAAS,0BAAA,GAAAT,OAAA;AACA,IAAAU,gBAAA,GAAAF,sBAAA,CAAAR,OAAA;AACA,IAAAW,eAAA,GAAAH,sBAAA,CAAAR,OAAA;AACA,IAAAY,qBAAA,GAAAZ,OAAA;AACA,IAAAa,eAAA,GAAAb,OAAA;AACA,IAAAc,sBAAA,GAAAd,OAAA;AACA,IAAAe,cAAA,GAAAf,OAAA;AAEO,MAAMgB,wBAAwB,GAAGA,CAACC,IAAe,EAAEC,IAAe,KAAK;EAC5E,MAAMC,KAAK,GAAG,IAAA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;IAEH5I,qBAAqB;IACrB;AACJ;AACA;IACIE,aAAa;IAEb2I,4BAA4B,EAAGC,MAAc,IAC3C,IAAAC,4BAAgB,EACd7L,IAAI,CACDM,CAAC,CAAC,OAAO,CAAC,CACV6K,EAAE,CAAE,IAAG,CAAC,CACRW,GAAG,CAACF,MAAM,CAAC,CACXtL,CAAC,CAAC,gCAAgC,CAAC,EACtCL,IACF;EACJ,CAAC;AACH,CAAC;AAAC8L,OAAA,CAAAhM,wBAAA,GAAAA,wBAAA","ignoreList":[]}
|
|
1
|
+
{"version":3,"names":["_BulkActionToolbarUni","require","_CollectionItemActionsUni","_CollectionToolbarUni","_unidriver","_unidriver2","_AppliedFiltersTagListUni","_TableTopNotificationUni","_TabsFilterUni","_interopRequireDefault","_MultiBulkActionToolbarUni","_ExportButtonUni","_ExportModalUni","_DragAndDropUni","_ReorderModeToolbarUni","_SummaryBarUni","CollectionTableUniDriver","base","body","table","TableUniDriver","toolbar","CollectionToolbarUniDriver","$","getLiveRegion","LiveRegionUniDriver","tableContentBase","refreshLoaderBase","refreshLoader","LoaderUniDriver","getActionCell","rowIndex","CollectionItemActionsUniDriver","getRow","bulkActionToolbar","BulkActionToolbarUniDriver","multiBulkActionToolbar","MultiBulkActionToolbarUniDriver","tagList","AppliedFiltersTagListUniDriver","getExportModal","ExportModalUniDriver","getExportButton","ExportButtonUniDriver","getRowDragHandleCell","index","getRowDragHandle","getDragAndDrop","DragAndDropUniDriver","openManageViewPopover","getViewsDropdown","saveNewViewActionClick","deleteViewActionClick","saveViewChangesActionClick","renameViewActionClick","setAsDefaultViewActionClick","getReorderModeToolbar","ReorderModeToolbarUniDriver","getSummaryBar","SummaryBarUniDriver","getToolbar","isHeaderHiddenAccessible","_prop","display","_getTableElement","waitRefreshLoader","timeout","wait","waitRefreshLoaderRemoved","waitFor","exists","isRefreshLoaderLoading","isLoading","refreshLoaderExists","refreshLoaderExistsAndNoRows","tableContentExists","Promise","all","getAppliedFiltersTagListDriver","appliedFiltersTagListExists","getAppliedFilterTagText","appliedFilterTagExists","getAppliedFilterTag","removeAppliedFilterTag","subToolbarExists","manageViewPopoverExists","isManageViewPopoverOpen","getSaveViewChangesBtn","getSaveNewViewBtn","getDeleteViewBtn","getRenameViewBtn","getSetAsDefaultViewBtn","saveNewView","name","deleteView","ind","saveViewChanges","renameView","setAsDefaultView","clickAppliedFiltersClearButton","clickActionButton","openAndConfirmActionModal","actionDataHook","clickSecondaryAction","confirmActionModal","openAndConfirmDeleteModal","openActionCellPopoverMenu","clickPopoverMenu","getHiddenActionsCount","isSecondaryActionDisabled","dataHook","getBulkActionButton","getButton","clickBulkActionButton","clickButton","bulkActionButtonExists","isButtonExists","bulkActionToolbarExists","getSelectedCountText","isMultiBulkActionButtonTooltipExist","isTooltipExist","isMultiBulkActionButtonTooltipVisible","isTooltipVisible","getMultiBulkActionButtonTooltipText","getTooltipText","clickOutsideMultiBulkActionButtonTooltip","clickOutsideTooltip","mouseEnterMultiBulkActionButtonTooltip","mouseEnterTooltip","mouseLeaveMultiBulkActionButtonTooltip","mouseLeaveTooltip","getMultiBulkActionButton","clickMultiBulkActionButton","getPrimaryActionPopover","getPopover","togglePrimaryActionPopover","isPrimaryActionPopoverOpen","isMenuOpen","isMultiBulkActionMoreActionsOpen","isMoreActionsOpen","getMultiBulkActionMoreActionsItemsCount","getMoreActionsItemsCount","getMultiBulkActionPopoverItemAt","getMoreActionsPopoverItemAt","clickMoreActionsPopoverItemAt","clickMoreActionsPopoverItem","openMultiBulkActionMoreActionPopover","openMoreActionPopover","multiBulkActionButtonExists","multiBulkActionToolbarExists","getMultiSelectedCountText","multiBulkActionToolbarClickSelectAllButton","selectAll","getMultiBulkActionToolbarSelectAllButtonText","selectAllText","isExportModalOpen","getModal","isOpen","clickRowsCheckboxes","rowIndexes","clickRowCheckbox","getConfirmActionModal","MessageModalLayoutUniDriver","getTopNotification","TableTopNotificationUniDriver","getToolbarTabs","TabsFilterUniDriver","escapeDrag","sourceIndex","rowDragHandleExists","dragStartFromHandleAndKeyboard","startKeyboardDrag","getLiveRegionText","getMessage","getLiveRegionRole","getRole","getDragAndDropLiveRegionText","text","getStickyColumnsCount","$$","count","isHorizontalScroll","Array","from","some","c","includes","_getInfoIconTooltipPopoverAt","colNum","PopoverUniDriver","get","exports"],"sources":["../../../../src/components/CollectionTable/CollectionTable.uni.driver.ts"],"sourcesContent":["import { BulkActionToolbarUniDriver } from '../BulkActionToolbar/BulkActionToolbar.uni.driver';\nimport { CollectionItemActionsUniDriver } from '../CollectionItemActions/CollectionItemActions.uni.driver';\nimport { CollectionToolbarUniDriver } from '../CollectionToolbar/CollectionToolbar.uni.driver';\nimport { UniDriver, waitFor } from '@wix/wix-ui-test-utils/unidriver';\nimport {\n LoaderUniDriver,\n MessageModalLayoutUniDriver,\n TableUniDriver,\n LiveRegionUniDriver,\n PopoverUniDriver,\n} from '@wix/design-system/dist/testkit/unidriver';\nimport { AppliedFiltersTagListUniDriver } from '../AppliedFiltersTagList/AppliedFiltersTagList.uni.driver';\nimport { TableTopNotificationUniDriver } from '../TableTopNotification/TableTopNotification.uni.driver';\nimport TabsFilterUniDriver from '../TabsFilter/TabsFilter.uni.driver';\nimport { MultiBulkActionToolbarUniDriver } from '../MultiBulkActionToolbar/MultiBulkActionToolbar.uni.driver';\nimport ExportButtonUniDriver from '../ExportButton/ExportButton.uni.driver';\nimport ExportModalUniDriver from '../ExportButton/ExportModal.uni.driver';\nimport { DragAndDropUniDriver } from '../DragAndDrop/DragAndDrop.uni.driver';\nimport { ReorderModeToolbarUniDriver } from '../CollectionToolbar/ReorderModeToolbar.uni.driver';\nimport { SummaryBarUniDriver } from '../SummaryBar/SummaryBar.uni.driver';\n\nexport const CollectionTableUniDriver = (base: UniDriver, body: UniDriver) => {\n const table = TableUniDriver(base, body);\n\n const toolbar = CollectionToolbarUniDriver(\n base.$('[data-hook=\"collection-toolbar\"]'),\n body,\n );\n\n const getLiveRegion = () =>\n LiveRegionUniDriver(body.$('[data-hook=\"collection-live-region\"]'), body);\n\n const tableContentBase = () => base.$('[data-hook=\"table-content\"]');\n\n const refreshLoaderBase = () =>\n base.$(`[data-hook=\"placeholder-states-loading-state\"]`);\n const refreshLoader = () => LoaderUniDriver(refreshLoaderBase(), body);\n\n const getActionCell = (rowIndex: number) => {\n return CollectionItemActionsUniDriver(table.getRow(rowIndex), body);\n };\n\n const bulkActionToolbar = BulkActionToolbarUniDriver(\n base.$('[data-hook=\"bulk-action-toolbar\"]'),\n body,\n );\n\n const multiBulkActionToolbar = MultiBulkActionToolbarUniDriver(\n base.$('[data-hook=\"bulk-action-toolbar\"]'),\n body,\n );\n\n const tagList = AppliedFiltersTagListUniDriver(\n base.$('[data-hook=\"collection-table-sub-toolbar\"]'),\n body,\n );\n\n const getExportModal = () => ExportModalUniDriver(base, body);\n\n const getExportButton = () =>\n ExportButtonUniDriver(base.$('[data-hook=\"export-button\"]'), body);\n\n const getRowDragHandleCell = (index: number) => {\n return table.getRow(index).$('[data-hook=\"drag-handle\"]');\n };\n\n const getRowDragHandle = (index: number) => {\n return getRowDragHandleCell(index).$('[role=\"button\"]');\n };\n\n const getDragAndDrop = () => DragAndDropUniDriver(base);\n\n const openManageViewPopover = () =>\n toolbar.getViewsDropdown().openManageViewPopover();\n const saveNewViewActionClick = () =>\n toolbar.getViewsDropdown().saveNewViewActionClick();\n const deleteViewActionClick = () =>\n toolbar.getViewsDropdown().deleteViewActionClick();\n const saveViewChangesActionClick = () =>\n toolbar.getViewsDropdown().saveViewChangesActionClick();\n const renameViewActionClick = () =>\n toolbar.getViewsDropdown().renameViewActionClick();\n const setAsDefaultViewActionClick = () =>\n toolbar.getViewsDropdown().setAsDefaultViewActionClick();\n\n const getReorderModeToolbar = () =>\n ReorderModeToolbarUniDriver(\n base.$('[data-hook=\"reorder-mode-toolbar\"]'),\n body,\n );\n const getSummaryBar = () => SummaryBarUniDriver(base, body);\n\n return {\n ...toolbar,\n ...table,\n\n getToolbar: () => toolbar,\n\n isHeaderHiddenAccessible: async () =>\n (await base.$('[data-hook=\"titlebar-a11y-wrapper\"]')._prop('style'))\n .display === 'none',\n\n /** @private */\n _getTableElement: () => base.$('[data-hook=\"table-content\"] table'),\n /** Wait for the table refresh loader to be shown */\n waitRefreshLoader: (timeout?: number) => refreshLoaderBase().wait(timeout),\n /** Wait for the table refresh loader to be removed */\n waitRefreshLoaderRemoved: (timeout?: number) =>\n waitFor(async () => !(await refreshLoaderBase().exists()), timeout),\n /** Indicates whether table refresh loader is in loading status */\n isRefreshLoaderLoading: () => refreshLoader().isLoading(),\n /** Indicates whether table refresh loader exists */\n refreshLoaderExists: () => refreshLoader().exists(),\n\n /** Indicates whether table refresh loader exists and no rows are rendered */\n refreshLoaderExistsAndNoRows: async () => {\n const [refreshLoaderExists, tableContentExists] = await Promise.all([\n refreshLoader().exists(),\n tableContentBase().exists(),\n ]);\n\n return refreshLoaderExists && !tableContentExists;\n },\n\n /** indicates whether the table content exists */\n tableContentExists: () => tableContentBase().exists(),\n\n getAppliedFiltersTagListDriver: () =>\n AppliedFiltersTagListUniDriver(\n base.$('[data-hook=\"collection-table-sub-toolbar\"]'),\n body,\n ),\n /** Indicates whether applied filters tag list exists in the table sub-toolbar */\n appliedFiltersTagListExists: tagList.exists,\n /** Get the text of a tag inside the applied filters tag list */\n getAppliedFilterTagText: tagList.getAppliedFilterTagText,\n /** Indicates a tag inside the applied filters tag list exists */\n appliedFilterTagExists: tagList.appliedFilterTagExists,\n /** Get a tag driver of a tag inside the applied filters tag list */\n getAppliedFilterTag: tagList.getAppliedFilterTag,\n /** Remove a tag inside the applied filters tag list */\n removeAppliedFilterTag: tagList.removeAppliedFilterTag,\n /** Indicates whether table sub-toolbar exists */\n subToolbarExists: tagList.exists,\n\n /** Indicates whether the Manage View popover exists */\n manageViewPopoverExists: () =>\n toolbar.getViewsDropdown().manageViewPopoverExists(),\n /** Indicates whether the Manage View popover opened */\n isManageViewPopoverOpen: () =>\n toolbar.getViewsDropdown().isManageViewPopoverOpen(),\n /** Opens the Manage View popover */\n openManageViewPopover,\n /** Clicks the Save Changes action in the Manage View popover */\n saveViewChangesActionClick,\n /** Clicks the Save as New View action in the Manage View popover */\n saveNewViewActionClick,\n /** Clicks the Rename action in the Manage View popover */\n renameViewActionClick,\n /** Clicks the Set as Default View action in the Manage View popover */\n setAsDefaultViewActionClick,\n /** Clicks the Delete action in the Manage View popover */\n deleteViewActionClick,\n /** Get DropdownLayoutOptionUniDriver of a Save Changes option */\n getSaveViewChangesBtn: () =>\n toolbar.getViewsDropdown().getSaveViewChangesBtn(),\n /** Get DropdownLayoutOptionUniDriver of a Save as New View option */\n getSaveNewViewBtn: () => toolbar.getViewsDropdown().getSaveNewViewBtn(),\n /** Get DropdownLayoutOptionUniDriver of a Delete View option */\n getDeleteViewBtn: () => toolbar.getViewsDropdown().getDeleteViewBtn(),\n /** Get DropdownLayoutOptionUniDriver of a Rename option */\n getRenameViewBtn: () => toolbar.getViewsDropdown().getRenameViewBtn(),\n /** Get DropdownLayoutOptionUniDriver of a Set as Default View option */\n getSetAsDefaultViewBtn: () =>\n toolbar.getViewsDropdown().getSetAsDefaultViewBtn(),\n\n /** Saves new view with a defined name and current filters / sort / columns */\n saveNewView: async (name: string) =>\n toolbar.getViewsDropdown().saveNewView(name),\n /** Deletes the view with a given index */\n deleteView: async (ind: number) =>\n toolbar.getViewsDropdown().deleteView(ind),\n /** Saves changes to the current view */\n saveViewChanges: async () => toolbar.getViewsDropdown().saveViewChanges(),\n /** Renames the current view with a given name */\n renameView: async (name: string) =>\n toolbar.getViewsDropdown().renameView(name),\n /** Sets a default view with a given index */\n setAsDefaultView: async (ind: number) =>\n toolbar.getViewsDropdown().setAsDefaultView(ind),\n clickAppliedFiltersClearButton: tagList.clickActionButton,\n wait: (timeout?: number) => base.wait(timeout),\n\n /**\n * Open & confirm action modal for a row\n */\n openAndConfirmActionModal: async (\n rowIndex: number,\n actionDataHook: string,\n ) => {\n await getActionCell(rowIndex).clickSecondaryAction(actionDataHook);\n return getActionCell(rowIndex).confirmActionModal();\n },\n /**\n * Open & confirm delete modal for a row\n */\n openAndConfirmDeleteModal: async (\n rowIndex: number,\n actionDataHook = 'collection-delete-action',\n ) => {\n await getActionCell(rowIndex).clickSecondaryAction(actionDataHook);\n return getActionCell(rowIndex).confirmActionModal();\n },\n /**\n * Opens the popover menu inside the action cell of a specific row\n * @param rowIndex - index of the row\n */\n openActionCellPopoverMenu: (rowIndex: number) =>\n getActionCell(rowIndex).clickPopoverMenu(),\n /**\n * Number of action menu items inside the action cell of a specific row\n * @param rowIndex - index of the row\n */\n getHiddenActionsCount: (rowIndex: number) =>\n getActionCell(rowIndex).getHiddenActionsCount(),\n /**\n * Indicates whether a menu item inside the actions cell is disabled\n * @param rowIndex - index of the row\n * @param dataHook - data-hook of the menu item\n */\n isSecondaryActionDisabled: (rowIndex: number, dataHook: string) =>\n getActionCell(rowIndex).isSecondaryActionDisabled(dataHook),\n /** Get action button of the bulk action toolbar */\n getBulkActionButton: (dataHook?: string) =>\n bulkActionToolbar.getButton(dataHook),\n /** Clicks the action button of the bulk action toolbar */\n clickBulkActionButton: (dataHook?: string) =>\n bulkActionToolbar.clickButton(dataHook),\n /** Indicates whether the action button of the bulk action toolbar exists */\n bulkActionButtonExists: () => bulkActionToolbar.isButtonExists(),\n /** Indicates whether the bulk action toolbar exists */\n bulkActionToolbarExists: () => bulkActionToolbar.exists(),\n /** Get the text of the action button of the bulk action toolbar */\n getSelectedCountText: () => bulkActionToolbar.getSelectedCountText(),\n /** Indicates whether the MultiBulkActionToolbar button's tooltip element exist */\n isMultiBulkActionButtonTooltipExist: (dataHook: string) =>\n multiBulkActionToolbar.isTooltipExist(dataHook),\n /** Indicates whether the MultiBulkActionToolbar button's tooltip is shown */\n isMultiBulkActionButtonTooltipVisible: (dataHook: string) =>\n multiBulkActionToolbar.isTooltipVisible(dataHook),\n /** Get the MultiBulkActionToolbar button's tooltip text */\n getMultiBulkActionButtonTooltipText: (dataHook: string) =>\n multiBulkActionToolbar.getTooltipText(dataHook),\n /** Clicks outside of the MultiBulkActionToolbar button's tooltip */\n clickOutsideMultiBulkActionButtonTooltip: (dataHook: string) =>\n multiBulkActionToolbar.clickOutsideTooltip(dataHook),\n /** Triggers the MultiBulkActionToolbar button's tooltip */\n mouseEnterMultiBulkActionButtonTooltip: (dataHook: string) =>\n multiBulkActionToolbar.mouseEnterTooltip(dataHook),\n /** Hides the MultiBulkActionToolbar button's tooltip */\n mouseLeaveMultiBulkActionButtonTooltip: (dataHook: string) =>\n multiBulkActionToolbar.mouseLeaveTooltip(dataHook),\n /** Get action button of the multi bulk action toolbar */\n getMultiBulkActionButton: (dataHook: string) =>\n multiBulkActionToolbar.getButton(dataHook),\n /** Clicks the action button of the multi bulk action toolbar */\n clickMultiBulkActionButton: (dataHook: string) =>\n multiBulkActionToolbar.clickButton(dataHook),\n /** Get primary action popover */\n getPrimaryActionPopover: (dataHook?: string) =>\n bulkActionToolbar.getPopover(`${dataHook}-popover`),\n /** Open primary action popover */\n togglePrimaryActionPopover: (dataHook?: string) =>\n bulkActionToolbar.clickButton(`${dataHook}`),\n /** Checks if primary action popover is open */\n isPrimaryActionPopoverOpen: (dataHook?: string) =>\n bulkActionToolbar.getPopover(`${dataHook}-popover`).isMenuOpen(),\n /** Is the PopoverMenu of the multi bulk action toolbar open */\n isMultiBulkActionMoreActionsOpen: () =>\n multiBulkActionToolbar.isMoreActionsOpen(),\n /** Get number of items under the \"more actions\" PopoverMenu of the multi bulk action toolbar */\n getMultiBulkActionMoreActionsItemsCount: () =>\n multiBulkActionToolbar.getMoreActionsItemsCount(),\n /** Get item from \"more actions\" PopoverMenu of the multi bulk action toolbar */\n getMultiBulkActionPopoverItemAt: (index: number) =>\n multiBulkActionToolbar.getMoreActionsPopoverItemAt(index),\n /** Click an item from \"more actions\" PopoverMenu of the multi bulk action toolbar */\n clickMoreActionsPopoverItemAt: (index: number) =>\n multiBulkActionToolbar.clickMoreActionsPopoverItemAt(index),\n /** Click an item from \"more actions\" PopoverMenu of the multi bulk action toolbar */\n clickMoreActionsPopoverItem: (dataHook: string) =>\n multiBulkActionToolbar.clickMoreActionsPopoverItem(dataHook),\n /** Open the \"more actions\" PopoverMenu of the multi bulk action toolbar */\n openMultiBulkActionMoreActionPopover: () =>\n multiBulkActionToolbar.openMoreActionPopover(),\n /** Indicates whether the action button of the multi bulk action toolbar exists */\n multiBulkActionButtonExists: (dataHook: string) =>\n multiBulkActionToolbar.isButtonExists(dataHook),\n /** Indicates whether the multi bulk action toolbar exists */\n multiBulkActionToolbarExists: () => multiBulkActionToolbar.exists(),\n /** Get the text of multi action button toolbar counter */\n getMultiSelectedCountText: () =>\n multiBulkActionToolbar.getSelectedCountText(),\n /** Clicks the Select All / Deselec All button from the multi bulk action toolbar exists */\n multiBulkActionToolbarClickSelectAllButton: () =>\n multiBulkActionToolbar.selectAll(),\n /** Gets the text of select all button text */\n getMultiBulkActionToolbarSelectAllButtonText: () =>\n multiBulkActionToolbar.selectAllText(),\n /** Is 'ExportTo' modal open */\n isExportModalOpen: () => getExportButton().getModal().isOpen(),\n /** Get actions cell of a row */\n getActionCell,\n /** Clicks multiple rows selection checkbox */\n clickRowsCheckboxes: async (rowIndexes: number[]) => {\n for (const index of rowIndexes) {\n await table.clickRowCheckbox(index);\n }\n },\n\n /**\n * Get current confirmation modal\n */\n getConfirmActionModal: () =>\n MessageModalLayoutUniDriver(\n body.$('[data-hook=\"collection-action-modal\"]'),\n body,\n ),\n\n getTopNotification: () =>\n TableTopNotificationUniDriver(\n base.$('[data-hook=\"table-top-notification\"]'),\n body,\n ),\n\n /** Get tabs filter driver */\n getToolbarTabs: () =>\n TabsFilterUniDriver(base.$('[data-hook=\"collection-tabs-filter\"]'), body),\n\n /** Get an export button driver **/\n getExportButton,\n\n /** Get an export modal driver **/\n getExportModal,\n\n getRowDragHandle,\n\n escapeDrag: (sourceIndex: number) =>\n getDragAndDrop().escapeDrag(getRowDragHandle(sourceIndex)),\n\n rowDragHandleExists: (index: number) => getRowDragHandle(index).exists(),\n\n dragStartFromHandleAndKeyboard: async (index: number) =>\n getDragAndDrop().startKeyboardDrag(getRowDragHandle(index)),\n\n getLiveRegionText: async () => (await getLiveRegion()).getMessage(),\n getLiveRegionRole: async () => (await getLiveRegion()).getRole(),\n\n getDragAndDropLiveRegionText: () =>\n body.$('[data-hook=\"collection-table-dnd-live-region\"]').text(),\n\n getStickyColumnsCount: () =>\n base.$('thead').$$(`[data-sticky=\"true\"]`).count(),\n\n isHorizontalScroll: async () =>\n Array.from<string>(await tableContentBase()._prop('classList')).some(\n (c) => c.includes('tableBodyScrollContent'),\n ),\n\n getReorderModeToolbar,\n /**\n * Gets collection summary bar\n */\n getSummaryBar,\n\n _getInfoIconTooltipPopoverAt: (colNum: number) =>\n PopoverUniDriver(\n base\n .$('thead')\n .$$(`th`)\n .get(colNum)\n .$('[data-hook=\"infoicon-tooltip\"]'),\n body,\n ),\n };\n};\n"],"mappings":";;;;;AAAA,IAAAA,qBAAA,GAAAC,OAAA;AACA,IAAAC,yBAAA,GAAAD,OAAA;AACA,IAAAE,qBAAA,GAAAF,OAAA;AACA,IAAAG,UAAA,GAAAH,OAAA;AACA,IAAAI,WAAA,GAAAJ,OAAA;AAOA,IAAAK,yBAAA,GAAAL,OAAA;AACA,IAAAM,wBAAA,GAAAN,OAAA;AACA,IAAAO,cAAA,GAAAC,sBAAA,CAAAR,OAAA;AACA,IAAAS,0BAAA,GAAAT,OAAA;AACA,IAAAU,gBAAA,GAAAF,sBAAA,CAAAR,OAAA;AACA,IAAAW,eAAA,GAAAH,sBAAA,CAAAR,OAAA;AACA,IAAAY,eAAA,GAAAZ,OAAA;AACA,IAAAa,sBAAA,GAAAb,OAAA;AACA,IAAAc,cAAA,GAAAd,OAAA;AAEO,MAAMe,wBAAwB,GAAGA,CAACC,IAAe,EAAEC,IAAe,KAAK;EAC5E,MAAMC,KAAK,GAAG,IAAAC,0BAAc,EAACH,IAAI,EAAEC,IAAI,CAAC;EAExC,MAAMG,OAAO,GAAG,IAA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CAAC,MAAMtJ,aAAa,CAAC,CAAC,EAAEuJ,OAAO,CAAC,CAAC;IAEhEC,4BAA4B,EAAEA,CAAA,KAC5B9J,IAAI,CAACK,CAAC,CAAC,gDAAgD,CAAC,CAAC0J,IAAI,CAAC,CAAC;IAEjEC,qBAAqB,EAAEA,CAAA,KACrBjK,IAAI,CAACM,CAAC,CAAC,OAAO,CAAC,CAAC4J,EAAE,CAAE,sBAAqB,CAAC,CAACC,KAAK,CAAC,CAAC;IAEpDC,kBAAkB,EAAE,MAAAA,CAAA,KAClBC,KAAK,CAACC,IAAI,CAAS,MAAM7J,gBAAgB,CAAC,CAAC,CAACoC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC0H,IAAI,CACjEC,CAAC,IAAKA,CAAC,CAACC,QAAQ,CAAC,wBAAwB,CAC5C,CAAC;IAEHlI,qBAAqB;IACrB;AACJ;AACA;IACIE,aAAa;IAEbiI,4BAA4B,EAAGC,MAAc,IAC3C,IAAAC,4BAAgB,EACd5K,IAAI,CACDM,CAAC,CAAC,OAAO,CAAC,CACV4J,EAAE,CAAE,IAAG,CAAC,CACRW,GAAG,CAACF,MAAM,CAAC,CACXrK,CAAC,CAAC,gCAAgC,CAAC,EACtCL,IACF;EACJ,CAAC;AACH,CAAC;AAAC6K,OAAA,CAAA/K,wBAAA,GAAAA,wBAAA","ignoreList":[]}
|
|
@@ -5,17 +5,17 @@ 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_ = "CollectionToolbar906109178";
|
|
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
|
-
"left": "
|
|
17
|
-
"right": "
|
|
18
|
-
"fullWidth": "
|
|
15
|
+
"root": "CollectionToolbar906109178__root",
|
|
16
|
+
"left": "CollectionToolbar906109178__left",
|
|
17
|
+
"right": "CollectionToolbar906109178__right",
|
|
18
|
+
"fullWidth": "CollectionToolbar906109178__fullWidth"
|
|
19
19
|
};
|
|
20
20
|
var keyframes = exports.keyframes = {};
|
|
21
21
|
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/CollectionToolbar.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/CollectionToolbar.st.css.ts"],"sourcesContent":["// @ts-nocheck\n\n\nimport { classesRuntime, statesRuntime } from \"../../stylable-esm-runtime.js\";\n\n\n\nvar _namespace_ = \"CollectionToolbar906109178\";\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\":\"CollectionToolbar906109178__root\",\"left\":\"CollectionToolbar906109178__left\",\"right\":\"CollectionToolbar906109178__right\",\"fullWidth\":\"CollectionToolbar906109178__fullWidth\"};\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,4BAA4B;AAC9C,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,kCAAkC;EAAC,MAAM,EAAC,kCAAkC;EAAC,OAAO,EAAC,mCAAmC;EAAC,WAAW,EAAC;AAAuC,CAAC;AACnM,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":[]}
|
|
@@ -7,13 +7,11 @@ var _unidriver = require("@wix/wix-ui-test-utils/unidriver");
|
|
|
7
7
|
var _unidriver2 = require("@wix/design-system/dist/testkit/unidriver");
|
|
8
8
|
var _CollectionDropdownFilterUni = require("../DropdownFilter/CollectionDropdownFilter.uni.driver");
|
|
9
9
|
var _FiltersPanelUni = require("../FiltersPanel/FiltersPanel.uni.driver");
|
|
10
|
-
var _CollectionSaveViewModalUni = require("../CollectionViewsDropdown/modals/SaveView/CollectionSaveViewModal.uni.driver");
|
|
11
10
|
var _CollectionViewsDropdownUni = require("../CollectionViewsDropdown/CollectionViewsDropdown.uni.driver");
|
|
12
11
|
var _TabsFilterUni = _interopRequireDefault(require("../TabsFilter/TabsFilter.uni.driver"));
|
|
13
12
|
var _TableGridSwitchButtonUni = require("../TableGridSwitchButton/TableGridSwitchButton.uni.driver");
|
|
14
13
|
var _CustomColumnsPanelUni = require("../CustomColumnsPanel/CustomColumnsPanel.uni.driver");
|
|
15
14
|
var _MultiLevelSortingPanelUni = require("../MultiLevelSortingPanel/MultiLevelSortingPanel.uni.driver");
|
|
16
|
-
var _CollectionRenameViewModalUni = require("../CollectionViewsDropdown/modals/RenameView/CollectionRenameViewModal.uni.driver");
|
|
17
15
|
var _unidriver3 = require("../../unidriver");
|
|
18
16
|
const CollectionToolbarUniDriver = (base, body) => {
|
|
19
17
|
const toolbar = (0, _unidriver3.baseUniDriverFactory)(base);
|
|
@@ -33,8 +31,6 @@ const CollectionToolbarUniDriver = (base, body) => {
|
|
|
33
31
|
const clickMoreFiltersButton = () => getMoreFiltersPanelButton().click();
|
|
34
32
|
const closeFiltersPanel = () => filtersPanel.clickCloseButton();
|
|
35
33
|
const getViewsDropdown = () => (0, _CollectionViewsDropdownUni.CollectionViewsDropdownUniDriver)(base, body);
|
|
36
|
-
const getSaveViewModal = () => (0, _CollectionSaveViewModalUni.CollectionSaveViewModalUniDriver)(base, body);
|
|
37
|
-
const getRenameViewModal = () => (0, _CollectionRenameViewModalUni.CollectionRenameViewModalUniDriver)(base, body);
|
|
38
34
|
const isToolbarWithFilters = async () => base.$(`[data-hook="toolbar-item-filter-0"]`).exists();
|
|
39
35
|
const getToolbarFiltersItemsCount = async () => {
|
|
40
36
|
const node = await base.$(`[data-hook="collection-table-toolbar-filters"]`).getNative();
|
|
@@ -70,10 +66,8 @@ const CollectionToolbarUniDriver = (base, body) => {
|
|
|
70
66
|
openViewsDropdown: () => getViewsDropdown().open(),
|
|
71
67
|
getViewListItemAt: index => getViewsDropdown().getViewListItemAt(index),
|
|
72
68
|
getViewListItemById: id => getViewsDropdown().getViewListItemById(id),
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
/** Get modal driver for "Rename View" */
|
|
76
|
-
getRenameViewModal: () => getRenameViewModal(),
|
|
69
|
+
getSaveViewModal: () => getViewsDropdown().getSaveViewModal(),
|
|
70
|
+
getRenameViewModal: () => getViewsDropdown().getRenameViewModal(),
|
|
77
71
|
/** Click on a FiltersPanel's "clear" button */
|
|
78
72
|
clickClearAllFilters: filtersPanel.clickClearAllFilters,
|
|
79
73
|
/** Get text from FiltersPanel's "applied filter" section **/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_unidriver","require","_unidriver2","_CollectionDropdownFilterUni","_FiltersPanelUni","_CollectionSaveViewModalUni","_CollectionViewsDropdownUni","_TabsFilterUni","_interopRequireDefault","_TableGridSwitchButtonUni","_CustomColumnsPanelUni","_MultiLevelSortingPanelUni","_CollectionRenameViewModalUni","_unidriver3","CollectionToolbarUniDriver","base","body","toolbar","baseUniDriverFactory","searchDriver","SearchUniDriver","$","filtersPanel","FiltersPanelUniDriver","getSwitchButton","TableGridSwitchButtonUniDriver","getSwitchButtonDivider","getPrimaryActionButton","ButtonUniDriver","getInputWithOptionsDriver","filterName","dataHook","inputWithOptionsBase","inputWithOptionsDriver","InputWithOptionsUniDriver","CollectionDropdownFilterUniDriver","isFiltersPanelOpen","isOpen","getMoreFiltersPanelButton","clickMoreFiltersButton","click","closeFiltersPanel","clickCloseButton","getViewsDropdown","CollectionViewsDropdownUniDriver","getSaveViewModal","CollectionSaveViewModalUniDriver","getRenameViewModal","CollectionRenameViewModalUniDriver","isToolbarWithFilters","exists","getToolbarFiltersItemsCount","node","getNative","children","length","getToolbarFilterTitleAt","index","text","modalsContainerBase","slidingModalBase","customColumnsPopover","CustomColumnsPanelUniDriver","getMultiLevelSortingPanel","MultiLevelSortingPanelUniDriver","getSearch","wait","timeout","getSearchText","inputDriver","getText","enterSearchText","enterText","getSearchMaxLength","getMaxLength","clearSearchText","clearText","searchInputExists","clickClearSearchText","clickClear","skeletonExists","openViewsDropdown","open","getViewListItemAt","getViewListItemById","id","clickClearAllFilters","getFilterAppliedText","getClearAllFiltersButton","selectFilterOptions","ids","options","selectOptions","selectFilterOption","selectOption","selectFilterRandomOptions","count","selectRandomOptions","getFilterDropdownOptionsCount","getOptionsCount","getFilterDropdownAvailableOptionsIds","getAvailableOptionsIds","getFilterInputPlaceholder","getInputPlaceholder","isFilterInNoSearchResultsState","isNoSearchResults","getFilterEmptyStateText","getEmptyStateText","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","getRadioGroupFilter","multiLevelSortingButtonExists","clickMultiLevelSortingButton","getMultiLevelSortingButtonCounterValue","getMainToolbar","isShowTotal","getShowTotal","isTitleExists","getSubtitleText","getSubtitleLearnMoreButton","TextButtonUniDriver","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';\n\nimport { CollectionDropdownFilterUniDriver } from '../DropdownFilter/CollectionDropdownFilter.uni.driver';\nimport { FiltersPanelUniDriver } from '../FiltersPanel/FiltersPanel.uni.driver';\nimport { CollectionSaveViewModalUniDriver } from '../CollectionViewsDropdown/modals/SaveView/CollectionSaveViewModal.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 { CollectionRenameViewModalUniDriver } from '../CollectionViewsDropdown/modals/RenameView/CollectionRenameViewModal.uni.driver';\nimport { baseUniDriverFactory } from '../../unidriver';\n\nexport const CollectionToolbarUniDriver = (\n base: UniDriver,\n body: UniDriver,\n) => {\n const toolbar = baseUniDriverFactory(base);\n\n const searchDriver = SearchUniDriver(\n base.$('[data-hook=\"collection-search\"]'),\n body,\n );\n\n const filtersPanel = FiltersPanelUniDriver(\n body.$(`[data-hook=\"cairo-modals-container\"]`),\n body,\n );\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 const getSaveViewModal = () => CollectionSaveViewModalUniDriver(base, body);\n const getRenameViewModal = () =>\n CollectionRenameViewModalUniDriver(base, body);\n\n const isToolbarWithFilters = async () =>\n base.$(`[data-hook=\"toolbar-item-filter-0\"]`).exists();\n\n const getToolbarFiltersItemsCount = async () => {\n const node = await base\n .$(`[data-hook=\"collection-table-toolbar-filters\"]`)\n .getNative();\n\n return node.children.length;\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 modalsContainerBase = () =>\n body.$(`[data-hook=\"cairo-modals-container\"]`);\n\n const slidingModalBase = () =>\n modalsContainerBase().$('[data-hook=\"cairo-side-panel-modal\"]');\n\n const customColumnsPopover = () =>\n CustomColumnsPanelUniDriver(modalsContainerBase(), body);\n\n const getMultiLevelSortingPanel = () =>\n MultiLevelSortingPanelUniDriver(modalsContainerBase(), body);\n\n return {\n ...toolbar,\n getSearch: () => searchDriver,\n getToolbarFiltersItemsCount,\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 isToolbarWithFilters: () => isToolbarWithFilters(),\n skeletonExists: () => base.$('[data-hook=\"toolbar-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 /** Get modal driver for \"Save View\" */\n getSaveViewModal: () => getSaveViewModal(),\n /** Get modal driver for \"Rename View\" */\n getRenameViewModal: () => 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 * 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 radio group filter by filter name\n */\n getRadioGroupFilter: filtersPanel.getRadioGroupFilter,\n\n /**\n * Checks if the MultiLevelSorting button exists in the toolbar\n */\n multiLevelSortingButtonExists: () =>\n base.$('[data-hook=\"multi-level-sorting-button\"]').exists(),\n\n /**\n * Clicks the MultiLevelSorting button\n */\n clickMultiLevelSortingButton: () =>\n base.$('[data-hook=\"multi-level-sorting-button\"]').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;AAQA,IAAAE,4BAAA,GAAAF,OAAA;AACA,IAAAG,gBAAA,GAAAH,OAAA;AACA,IAAAI,2BAAA,GAAAJ,OAAA;AACA,IAAAK,2BAAA,GAAAL,OAAA;AACA,IAAAM,cAAA,GAAAC,sBAAA,CAAAP,OAAA;AACA,IAAAQ,yBAAA,GAAAR,OAAA;AACA,IAAAS,sBAAA,GAAAT,OAAA;AACA,IAAAU,0BAAA,GAAAV,OAAA;AACA,IAAAW,6BAAA,GAAAX,OAAA;AACA,IAAAY,WAAA,GAAAZ,OAAA;AAEO,MAAMa,0BAA0B,GAAGA,CACxCC,IAAe,EACfC,IAAe,KACZ;EACH,MAAMC,OAAO,GAAG,IAAAC,gCAAoB,EAACH,IAAI,CAAC;EAE1C,MAAMI,YAAY,GAAG,IAAAC,2BAAe,EAClCL,IAAI,CAACM,CAAC,CAAC,iCAAiC,CAAC,EACzCL,IACF,CAAC;EAED,MAAMM,YAAY,GAAG,IAAAC,sCAAqB,EACxCP,IAAI,CAACK,CAAC,CAAE,sCAAqC,CAAC,EAC9CL,IACF,CAAC;EAED,MAAMQ,eAAe,GAAGA,CA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A,CAAA,KAAM9K;EACvB,CAAC;AACH,CAAC;AAAC+K,OAAA,CAAAvL,0BAAA,GAAAA,0BAAA","ignoreList":[]}
|
|
1
|
+
{"version":3,"names":["_unidriver","require","_unidriver2","_CollectionDropdownFilterUni","_FiltersPanelUni","_CollectionViewsDropdownUni","_TabsFilterUni","_interopRequireDefault","_TableGridSwitchButtonUni","_CustomColumnsPanelUni","_MultiLevelSortingPanelUni","_unidriver3","CollectionToolbarUniDriver","base","body","toolbar","baseUniDriverFactory","searchDriver","SearchUniDriver","$","filtersPanel","FiltersPanelUniDriver","getSwitchButton","TableGridSwitchButtonUniDriver","getSwitchButtonDivider","getPrimaryActionButton","ButtonUniDriver","getInputWithOptionsDriver","filterName","dataHook","inputWithOptionsBase","inputWithOptionsDriver","InputWithOptionsUniDriver","CollectionDropdownFilterUniDriver","isFiltersPanelOpen","isOpen","getMoreFiltersPanelButton","clickMoreFiltersButton","click","closeFiltersPanel","clickCloseButton","getViewsDropdown","CollectionViewsDropdownUniDriver","isToolbarWithFilters","exists","getToolbarFiltersItemsCount","node","getNative","children","length","getToolbarFilterTitleAt","index","text","modalsContainerBase","slidingModalBase","customColumnsPopover","CustomColumnsPanelUniDriver","getMultiLevelSortingPanel","MultiLevelSortingPanelUniDriver","getSearch","wait","timeout","getSearchText","inputDriver","getText","enterSearchText","enterText","getSearchMaxLength","getMaxLength","clearSearchText","clearText","searchInputExists","clickClearSearchText","clickClear","skeletonExists","openViewsDropdown","open","getViewListItemAt","getViewListItemById","id","getSaveViewModal","getRenameViewModal","clickClearAllFilters","getFilterAppliedText","getClearAllFiltersButton","selectFilterOptions","ids","options","selectOptions","selectFilterOption","selectOption","selectFilterRandomOptions","count","selectRandomOptions","getFilterDropdownOptionsCount","getOptionsCount","getFilterDropdownAvailableOptionsIds","getAvailableOptionsIds","getFilterInputPlaceholder","getInputPlaceholder","isFilterInNoSearchResultsState","isNoSearchResults","getFilterEmptyStateText","getEmptyStateText","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","getRadioGroupFilter","multiLevelSortingButtonExists","clickMultiLevelSortingButton","getMultiLevelSortingButtonCounterValue","getMainToolbar","isShowTotal","getShowTotal","isTitleExists","getSubtitleText","getSubtitleLearnMoreButton","TextButtonUniDriver","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';\n\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';\n\nexport const CollectionToolbarUniDriver = (\n base: UniDriver,\n body: UniDriver,\n) => {\n const toolbar = baseUniDriverFactory(base);\n\n const searchDriver = SearchUniDriver(\n base.$('[data-hook=\"collection-search\"]'),\n body,\n );\n\n const filtersPanel = FiltersPanelUniDriver(\n body.$(`[data-hook=\"cairo-modals-container\"]`),\n body,\n );\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 const node = await base\n .$(`[data-hook=\"collection-table-toolbar-filters\"]`)\n .getNative();\n\n return node.children.length;\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 modalsContainerBase = () =>\n body.$(`[data-hook=\"cairo-modals-container\"]`);\n\n const slidingModalBase = () =>\n modalsContainerBase().$('[data-hook=\"cairo-side-panel-modal\"]');\n\n const customColumnsPopover = () =>\n CustomColumnsPanelUniDriver(modalsContainerBase(), body);\n\n const getMultiLevelSortingPanel = () =>\n MultiLevelSortingPanelUniDriver(modalsContainerBase(), body);\n\n return {\n ...toolbar,\n getSearch: () => searchDriver,\n getToolbarFiltersItemsCount,\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 isToolbarWithFilters: () => isToolbarWithFilters(),\n skeletonExists: () => base.$('[data-hook=\"toolbar-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 * 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 radio group filter by filter name\n */\n getRadioGroupFilter: filtersPanel.getRadioGroupFilter,\n\n /**\n * Checks if the MultiLevelSorting button exists in the toolbar\n */\n multiLevelSortingButtonExists: () =>\n base.$('[data-hook=\"multi-level-sorting-button\"]').exists(),\n\n /**\n * Clicks the MultiLevelSorting button\n */\n clickMultiLevelSortingButton: () =>\n base.$('[data-hook=\"multi-level-sorting-button\"]').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;AAQA,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;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