@wix/patterns 1.2.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/ActionCell/ActionCell.js.map +1 -1
- package/dist/cjs/components/AppliedFiltersTagList/AppliedFiltersTagList.js +6 -4
- package/dist/cjs/components/AppliedFiltersTagList/AppliedFiltersTagList.js.map +1 -1
- package/dist/cjs/components/AppliedFiltersTagList/AppliedFiltersTagListState.js +73 -33
- package/dist/cjs/components/AppliedFiltersTagList/AppliedFiltersTagListState.js.map +1 -1
- package/dist/cjs/components/AppliedFiltersTagList/FilterTagContent.js +27 -0
- package/dist/cjs/components/AppliedFiltersTagList/FilterTagContent.js.map +1 -0
- package/dist/cjs/components/AutoCompleteFilter/AutoCompleteFilter.js.map +1 -1
- package/dist/cjs/components/Collapse/Collapse.st.css.js +3 -3
- package/dist/cjs/components/Collapse/Collapse.st.css.js.map +1 -1
- package/dist/cjs/components/CollectionTable/CollectionTable.js +10 -10
- package/dist/cjs/components/CollectionTable/CollectionTable.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/CollectionTable/CollectionTableBaseCommonProps.js.map +1 -1
- package/dist/cjs/components/CollectionTable/CollectionTableWSRTable.js +22 -12
- package/dist/cjs/components/CollectionTable/CollectionTableWSRTable.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/PrimaryActionButton.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/CollectionToolbarFilters/CollectionToolbarFilters.js +14 -9
- package/dist/cjs/components/CollectionToolbarFilters/CollectionToolbarFilters.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/CustomColumns/CustomColumns.js.map +1 -1
- 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 +3 -3
- package/dist/cjs/components/EmptyState/CollectionEmptyState.js.map +1 -1
- package/dist/cjs/components/EmptyState/CollectionNoResultsState.js +7 -7
- package/dist/cjs/components/EmptyState/CollectionNoResultsState.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 +4 -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/GridItemBaseProps.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/MultiBulkActionButton/MultiBulkActionSubItemProps.js.map +1 -1
- package/dist/cjs/components/MultiBulkActionToolbar/MultiBulkActionToolbar.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/MultiInlineCheckboxFilter/MultiInlineCheckboxFilter.js +1 -1
- package/dist/cjs/components/MultiInlineCheckboxFilter/MultiInlineCheckboxFilter.js.map +1 -1
- package/dist/cjs/components/MultiSelectCollectionFilter/MultiSelectCollectionFilter.js +1 -1
- package/dist/cjs/components/MultiSelectCollectionFilter/MultiSelectCollectionFilter.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/PickerStandaloneLayout/PickerStandaloneLayoutFooter.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/RadioGroupFilter/RadioGroupFilter.js +4 -4
- package/dist/cjs/components/RadioGroupFilter/RadioGroupFilter.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/SingleSelectFilter/SingleSelectFilter.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/SummaryBar/SummaryBar.js +23 -23
- package/dist/cjs/components/SummaryBar/SummaryBar.js.map +1 -1
- package/dist/cjs/components/Table/Table.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.map +1 -1
- package/dist/cjs/components/TableGridSwitch/TableGridSwitch.js.map +1 -1
- package/dist/cjs/components/TabsFilter/TabsFilter.js +7 -7
- package/dist/cjs/components/TabsFilter/TabsFilter.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/ToolbarTitle/ToolbarTitle.js +8 -8
- package/dist/cjs/components/ToolbarTitle/ToolbarTitle.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/giza/buildWixPatternsEssentials.js +1 -0
- package/dist/cjs/giza/buildWixPatternsEssentials.js.map +1 -1
- package/dist/cjs/hooks/useCollectionFilterInitialFetchTiming.js.map +1 -1
- package/dist/cjs/hooks/usePickerModal/UsePickerModalParamsBase.js.map +1 -1
- package/dist/cjs/index.js +9 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/model/filterProps.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/NestedTableState/NestedTableState.js.map +1 -1
- package/dist/cjs/state/TagsBulkAssignPopoverState.js +1 -0
- package/dist/cjs/state/TagsBulkAssignPopoverState.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/AppliedFiltersTagList/AppliedFiltersTagList.js +9 -5
- package/dist/esm/components/AppliedFiltersTagList/AppliedFiltersTagList.js.map +1 -1
- package/dist/esm/components/AppliedFiltersTagList/AppliedFiltersTagListState.js +49 -21
- package/dist/esm/components/AppliedFiltersTagList/AppliedFiltersTagListState.js.map +1 -1
- package/dist/esm/components/AppliedFiltersTagList/FilterTagContent.js +9 -0
- package/dist/esm/components/AppliedFiltersTagList/FilterTagContent.js.map +1 -0
- package/dist/esm/components/Collapse/Collapse.st.css.js +2 -2
- package/dist/esm/components/CollectionTable/CollectionTable.js.map +1 -1
- 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/CollectionTable/CollectionTableWSRTable.js +9 -4
- package/dist/esm/components/CollectionTable/CollectionTableWSRTable.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/CollectionToolbarFilters/CollectionToolbarFilters.js +8 -3
- package/dist/esm/components/CollectionToolbarFilters/CollectionToolbarFilters.js.map +1 -1
- 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/AutoCompleteReadonly.st.css.js.map +1 -1
- 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/CollectionEmptyState.js.map +1 -1
- package/dist/esm/components/EmptyState/CollectionNoResultsState.js.map +1 -1
- package/dist/esm/components/EmptyState/CollectionPremiumEmptyState.js.map +1 -1
- package/dist/esm/components/EmptyState/EmptyStateBase.js +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/Fade/Fade.st.css.js.map +1 -1
- 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/Heading/Heading.st.css.js.map +1 -1
- package/dist/esm/components/InputOverflow/InputOverflow.st.css.js +2 -2
- 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/MultiInlineCheckboxFilter/MultiInlineCheckboxFilter.js.map +1 -1
- package/dist/esm/components/MultiSelectCollectionFilter/MultiSelectCollectionFilter.js.map +1 -1
- 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/PickerContent/PickerContent.st.css.js +2 -2
- package/dist/esm/components/PickerContent/PickerContent.st.css.js.map +1 -1
- package/dist/esm/components/PickerContent/PickerContentAdditionalStep.st.css.js +2 -2
- package/dist/esm/components/PickerContent/PickerContentAdditionalStep.st.css.js.map +1 -1
- package/dist/esm/components/PickerStandaloneLayout/PickerStandaloneLayoutFooter.js.map +1 -1
- 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/RadioGroupFilter/RadioGroupFilter.js.map +1 -1
- package/dist/esm/components/ScrollableContent/ScrollableContent.st.css.js +2 -2
- package/dist/esm/components/ScrollableContent/ScrollableContent.st.css.js.map +1 -1
- package/dist/esm/components/SkeletonCard/SkeletonCard.st.css.js +2 -2
- package/dist/esm/components/SlidingModal/SlidingModal.st.css.js +2 -2
- package/dist/esm/components/SummaryBar/SummaryBar.js.map +1 -1
- package/dist/esm/components/Table/TableVirtual.st.css.js +2 -2
- package/dist/esm/components/TabsFilter/TabsFilter.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/ToolbarTitle/ToolbarTitle.js.map +1 -1
- package/dist/esm/components/common.st.css.js +2 -2
- package/dist/esm/components/common.st.css.js.map +1 -1
- package/dist/esm/giza/buildWixPatternsEssentials.js +3 -2
- package/dist/esm/giza/buildWixPatternsEssentials.js.map +1 -1
- package/dist/esm/hooks/useCollectionFilterInitialFetchTiming.js.map +1 -1
- 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/NestedTableState/NestedTableState.js.map +1 -1
- package/dist/esm/state/TagsBulkAssignPopoverState.js +1 -0
- package/dist/esm/state/TagsBulkAssignPopoverState.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/ActionCell/ActionCell.d.ts +31 -3
- package/dist/types/components/ActionCell/ActionCell.d.ts.map +1 -1
- package/dist/types/components/AppliedFiltersTagList/AppliedFiltersTagList.d.ts.map +1 -1
- package/dist/types/components/AppliedFiltersTagList/AppliedFiltersTagListState.d.ts +22 -11
- package/dist/types/components/AppliedFiltersTagList/AppliedFiltersTagListState.d.ts.map +1 -1
- package/dist/types/components/AppliedFiltersTagList/FilterTagContent.d.ts +7 -0
- package/dist/types/components/AppliedFiltersTagList/FilterTagContent.d.ts.map +1 -0
- package/dist/types/components/AutoCompleteFilter/AutoCompleteFilter.d.ts +1 -1
- package/dist/types/components/CardContainer/CardContainer.uni.driver.d.ts +1 -1
- package/dist/types/components/CollectionList/CollectionList.uni.driver.d.ts +79 -6
- package/dist/types/components/CollectionList/CollectionList.uni.driver.d.ts.map +1 -1
- package/dist/types/components/CollectionTable/CollectionTable.d.ts +16 -20
- package/dist/types/components/CollectionTable/CollectionTable.d.ts.map +1 -1
- package/dist/types/components/CollectionTable/CollectionTable.uni.driver.d.ts +161 -27
- package/dist/types/components/CollectionTable/CollectionTable.uni.driver.d.ts.map +1 -1
- package/dist/types/components/CollectionTable/CollectionTableBaseCommonProps.d.ts +4 -3
- package/dist/types/components/CollectionTable/CollectionTableBaseCommonProps.d.ts.map +1 -1
- package/dist/types/components/CollectionTable/CollectionTableWSRTable.d.ts +3 -2
- package/dist/types/components/CollectionTable/CollectionTableWSRTable.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 +81 -18
- package/dist/types/components/CollectionToolbar/CollectionToolbar.uni.driver.d.ts.map +1 -1
- package/dist/types/components/CollectionToolbar/PrimaryActionButton.d.ts +1 -1
- package/dist/types/components/CollectionToolbar/ReorderModeToolbar.uni.driver.d.ts +1 -1
- package/dist/types/components/CollectionToolbarFilters/CollectionToolbarFilters.d.ts +5 -0
- package/dist/types/components/CollectionToolbarFilters/CollectionToolbarFilters.d.ts.map +1 -1
- package/dist/types/components/CollectionToolbars/CollectionToolbars.d.ts.map +1 -1
- package/dist/types/components/CollectionViewsDropdown/AutoCompleteReadonly.st.css.d.ts.map +1 -1
- package/dist/types/components/CollectionViewsDropdown/CollectionViewsDropdown.d.ts +2 -70
- 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/CollectionViewsDropdown/modals/SaveView/CollectionSaveViewModal.uni.driver.d.ts +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/CustomColumns/CustomColumns.d.ts +1 -1
- package/dist/types/components/CustomFieldModal/CustomFieldModal.uni.driver.d.ts +15 -1
- package/dist/types/components/CustomFieldModal/CustomFieldModal.uni.driver.d.ts.map +1 -1
- package/dist/types/components/CustomFieldsWidget/CustomFieldsViewWidgetSection.st.css.d.ts.map +1 -1
- package/dist/types/components/CustomFieldsWidget/CustomFieldsWidget.uni.driver.d.ts +15 -1
- package/dist/types/components/CustomFieldsWidget/CustomFieldsWidget.uni.driver.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 -3
- package/dist/types/components/EmptyState/CollectionEmptyState.d.ts.map +1 -1
- package/dist/types/components/EmptyState/CollectionEmptyState.uni.driver.d.ts +1 -1
- package/dist/types/components/EmptyState/CollectionNoResultsState.d.ts.map +1 -1
- package/dist/types/components/EmptyState/CollectionNoResultsState.uni.driver.d.ts +1 -1
- 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/EmptyState.uni.driver.d.ts +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/EntityPage/EntityPage.uni.driver.d.ts +2 -2
- package/dist/types/components/EntityPageCard/EntityPageCard.uni.driver.d.ts +1 -1
- package/dist/types/components/ErrorCard/ErrorCard.uni.driver.d.ts +1 -1
- package/dist/types/components/ErrorState/ToolbarCollectionErrorState.uni.driver.d.ts +2 -2
- package/dist/types/components/Fade/Fade.st.css.d.ts.map +1 -1
- package/dist/types/components/FiltersPanel/FiltersPanel.uni.driver.d.ts +1 -1
- package/dist/types/components/Grid/Grid.d.ts +20 -15
- package/dist/types/components/Grid/Grid.d.ts.map +1 -1
- package/dist/types/components/Grid/Grid.uni.driver.d.ts +101 -15
- 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 +288 -46
- package/dist/types/components/Grid/GridFolders.uni.driver.d.ts.map +1 -1
- package/dist/types/components/Grid/GridFoldersSection.uni.driver.d.ts +100 -14
- package/dist/types/components/Grid/GridFoldersSection.uni.driver.d.ts.map +1 -1
- package/dist/types/components/Grid/GridItemBaseProps.d.ts +5 -5
- package/dist/types/components/Grid/GridItemBaseProps.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/Heading/Heading.st.css.d.ts.map +1 -1
- package/dist/types/components/InfiniteScrollCollectionList/InfiniteScrollCollectionList.uni.driver.d.ts +79 -6
- package/dist/types/components/InfiniteScrollCollectionList/InfiniteScrollCollectionList.uni.driver.d.ts.map +1 -1
- package/dist/types/components/MultiBulkActionButton/MultiBulkActionSubItemProps.d.ts +1 -1
- package/dist/types/components/MultiBulkActionToolbar/MultiBulkActionToolbar.d.ts +3 -3
- package/dist/types/components/MultiInlineCheckboxFilter/MultiInlineCheckboxFilter.d.ts +8 -2
- package/dist/types/components/MultiInlineCheckboxFilter/MultiInlineCheckboxFilter.d.ts.map +1 -1
- package/dist/types/components/MultiSelectCollectionFilter/MultiSelectCollectionFilter.d.ts +9 -0
- package/dist/types/components/MultiSelectCollectionFilter/MultiSelectCollectionFilter.d.ts.map +1 -1
- package/dist/types/components/NestedTable/NestedTable.d.ts +15 -16
- package/dist/types/components/NestedTable/NestedTable.d.ts.map +1 -1
- package/dist/types/components/NestedTable/NestedTable.uni.driver.d.ts +237 -32
- package/dist/types/components/NestedTable/NestedTable.uni.driver.d.ts.map +1 -1
- package/dist/types/components/NestedTable/NestedTableRowPlaceholderStates.uni.driver.d.ts +3 -3
- package/dist/types/components/PageErrorState/PageErrorState.uni.driver.d.ts +1 -1
- package/dist/types/components/PickerContent/PickerContent.st.css.d.ts.map +1 -1
- package/dist/types/components/PickerContent/PickerContentAdditionalStep.st.css.d.ts.map +1 -1
- package/dist/types/components/PickerModal/PickerModal.uni.driver.d.ts +15 -1
- package/dist/types/components/PickerModal/PickerModal.uni.driver.d.ts.map +1 -1
- package/dist/types/components/PickerModal/PickerModalLayout.uni.driver.d.ts +15 -1
- package/dist/types/components/PickerModal/PickerModalLayout.uni.driver.d.ts.map +1 -1
- package/dist/types/components/PickerTableListItem/PickerTableListItem.st.css.d.ts.map +1 -1
- package/dist/types/components/RadioGroupFilter/RadioGroupFilter.d.ts +4 -0
- package/dist/types/components/RadioGroupFilter/RadioGroupFilter.d.ts.map +1 -1
- package/dist/types/components/ScrollableContent/ScrollableContent.st.css.d.ts.map +1 -1
- package/dist/types/components/SingleSelectFilter/SingleSelectFilter.d.ts +2 -2
- package/dist/types/components/SummaryBar/SummaryBar.d.ts +8 -3
- package/dist/types/components/SummaryBar/SummaryBar.d.ts.map +1 -1
- package/dist/types/components/SummaryBar/SummaryBar.uni.driver.d.ts +16 -2
- package/dist/types/components/SummaryBar/SummaryBar.uni.driver.d.ts.map +1 -1
- package/dist/types/components/Table/Table.d.ts +1 -1
- package/dist/types/components/Table/Table.uni.driver.d.ts +170 -26
- package/dist/types/components/Table/Table.uni.driver.d.ts.map +1 -1
- package/dist/types/components/TableFolders/TableFolders.uni.driver.d.ts +232 -27
- package/dist/types/components/TableFolders/TableFolders.uni.driver.d.ts.map +1 -1
- package/dist/types/components/TableFolders/TableFoldersContent.d.ts +16 -16
- package/dist/types/components/TableFolders/TableFoldersContent.d.ts.map +1 -1
- package/dist/types/components/TableGridSwitch/TableGridSwitch.d.ts +2 -2
- package/dist/types/components/TableGridSwitch/TableGridSwitch.uni.driver.d.ts +294 -39
- package/dist/types/components/TableGridSwitch/TableGridSwitch.uni.driver.d.ts.map +1 -1
- package/dist/types/components/TableGridSwitchFolders/TableGridSwitchFolders.uni.driver.d.ts +533 -69
- package/dist/types/components/TableGridSwitchFolders/TableGridSwitchFolders.uni.driver.d.ts.map +1 -1
- package/dist/types/components/TabsFilter/TabsFilter.d.ts +16 -9
- package/dist/types/components/TabsFilter/TabsFilter.d.ts.map +1 -1
- package/dist/types/components/Tags/BulkAssignTagsPopover/BulkAssignTagsPopover.uni.driver.d.ts +1 -1
- package/dist/types/components/Tags/ManageTags/ManageTagsModal/ManageTagsModal.st.css.d.ts.map +1 -1
- package/dist/types/components/Tags/ManageTags/ManageTagsModal/ManageTagsModal.uni.driver.d.ts +1 -1
- package/dist/types/components/TagsAssignButton/TagsAssignButton.uni.driver.d.ts +1 -1
- package/dist/types/components/ToolbarCollection/ToolbarCollection.d.ts +56 -47
- package/dist/types/components/ToolbarCollection/ToolbarCollection.d.ts.map +1 -1
- package/dist/types/components/ToolbarTitle/ToolbarTitle.d.ts +6 -4
- package/dist/types/components/ToolbarTitle/ToolbarTitle.d.ts.map +1 -1
- package/dist/types/components/common.st.css.d.ts.map +1 -1
- package/dist/types/giza/buildWixPatternsEssentials.d.ts.map +1 -1
- package/dist/types/hooks/useCollectionFilterInitialFetchTiming.d.ts +3 -2
- package/dist/types/hooks/useCollectionFilterInitialFetchTiming.d.ts.map +1 -1
- package/dist/types/hooks/usePickerModal/UsePickerModalParamsBase.d.ts +3 -0
- package/dist/types/hooks/usePickerModal/UsePickerModalParamsBase.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/model/filterProps.d.ts +15 -9
- package/dist/types/model/filterProps.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/NestedTableState/NestedTableState.d.ts +2 -1
- package/dist/types/state/NestedTableState/NestedTableState.d.ts.map +1 -1
- package/dist/types/state/TagsBulkAssignPopoverState.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 +2017 -260
- package/dist/types/testkit/enzyme.d.ts.map +1 -1
- package/dist/types/testkit/jsdom.d.ts +2023 -266
- package/dist/types/testkit/jsdom.d.ts.map +1 -1
- package/dist/types/testkit/puppeteer.d.ts +2018 -261
- package/dist/types/testkit/puppeteer.d.ts.map +1 -1
- package/dist/types/version.d.ts +1 -1
- package/package.json +4 -4
- 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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireWildcard","require","_mobxReactLite","_designSystem","_ViewsDropdownModals","_ViewsDropdownStCss","_ManageViewPopover","_viewsDropdownRenderHelpers","_AutoCompleteReadonly","_ViewsDropdownPrefix","_jsxFileName","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","_ViewsDropdown","onSelect","dataHook","state","showTotal","dropdownWidth","dropdownProps","views","viewsState","currentView","collection","localSearchState","filteredCategoriesWithViews","translate","showLoader","result","status","isIdle","isLoading","viewsOptions","useMemo","viewsWithoutCategory","categories","map","view","buildViewOption","flatMap","category","buildCategoryOption","options","fixedFooter","createElement","Box","width","align","verticalAlign","padding","__self","__source","fileName","lineNumber","columnNumber","Loader","size","undefined","direction","AutoCompleteReadonly","_extends2","emptyStateMessage","autoCompleteReadonlyState","value","inputValue","onChange","setInputValueAndScheduleSearch","target","clearInput","clearSearch","popoverProps","placement","border","selectedId","id","selectedLabel","getViewName","textOverflow","prefix","ViewsDropdownPrefix","suffix","table","showRefreshLoader","className","Input","Affix","total","st","classes","root","option","events","emit","toString","getView","selectView","placeholder","paddingLeft","ManageViewPopover","origin","ViewsDropdownModals","ViewsDropdown","exports","observer"],"sources":["../../../../src/components/CollectionViewsDropdown/ViewsDropdown.tsx"],"sourcesContent":["import React, { useMemo } from 'react';\nimport { observer } from 'mobx-react-lite';\nimport {\n Box,\n DropdownPropsControlled as DropdownProps,\n Input,\n Loader,\n} from '@wix/design-system';\nimport { CollectionViewsState } from '../../state';\nimport { FiltersMap } from '@wix/bex-core';\nimport { ViewsDropdownModals } from './ViewsDropdownModals';\nimport { View } from '../../model';\nimport { classes, st } from './ViewsDropdown.st.css.js';\nimport { ManageViewPopover } from './ManageViewPopover';\nimport {\n buildCategoryOption,\n buildViewOption,\n getViewName,\n} from './viewsDropdownRenderHelpers';\nimport { AutoCompleteReadonly } from './AutoCompleteReadonly';\nimport { ViewsDropdownPrefix } from './ViewsDropdownPrefix';\n\nexport type ViewsDropdownProps<T, F extends FiltersMap> = {\n state: CollectionViewsState<T, F>;\n onSelect?: (view: View<F>) => void;\n dataHook: string;\n showTotal?: boolean;\n} & Omit<DropdownProps, 'onSelect'>;\n\nfunction _ViewsDropdown<T, F extends FiltersMap>({\n onSelect,\n dataHook,\n state,\n showTotal = true,\n dropdownWidth = '200px',\n ...dropdownProps\n}: ViewsDropdownProps<T, F>) {\n const { views: viewsState } = state;\n const { currentView, collection, localSearchState } = viewsState;\n const { filteredCategoriesWithViews } = localSearchState;\n const { translate: t } = collection;\n const showLoader =\n collection.result.status.isIdle || collection.result.status.isLoading;\n\n const viewsOptions = useMemo(() => {\n const { viewsWithoutCategory, categories } = filteredCategoriesWithViews;\n\n return [\n ...viewsWithoutCategory.map((view) =>\n buildViewOption({ view, viewsState }),\n ),\n ...categories.flatMap((category) => [\n buildCategoryOption({ category, viewsState }),\n ...category.views.map((view) => buildViewOption({ view, viewsState })),\n ]),\n ];\n }, [filteredCategoriesWithViews]);\n\n const { options, fixedFooter } = showLoader\n ? {\n options: [],\n fixedFooter: (\n <Box\n dataHook=\"initial-loader\"\n width=\"100%\"\n align=\"center\"\n verticalAlign=\"middle\"\n padding=\"SP2\"\n >\n <Loader size=\"small\" />\n </Box>\n ),\n }\n : {\n options: viewsOptions,\n fixedFooter: undefined,\n };\n\n return (\n <Box dataHook={dataHook}>\n <Box width={dropdownWidth} direction=\"vertical\">\n <AutoCompleteReadonly\n emptyStateMessage={\n !showLoader && t('cairo.viewsDropdown.nothingMatches.text')\n }\n state={state.views.autoCompleteReadonlyState}\n value={localSearchState.inputValue}\n onChange={(e) =>\n localSearchState.setInputValueAndScheduleSearch(e.target.value)\n }\n clearInput={() => localSearchState.clearSearch()}\n dropdownWidth={dropdownWidth}\n popoverProps={{ placement: 'bottom-start' }}\n {...dropdownProps}\n fixedFooter={fixedFooter}\n border=\"round\"\n selectedId={currentView?.id}\n selectedLabel={\n currentView\n ? getViewName({ view: currentView, viewsState })\n : undefined\n }\n textOverflow=\"ellipsis\"\n prefix={<ViewsDropdownPrefix state={state} />}\n suffix={\n !showTotal ||\n state.table.collection.showRefreshLoader ? undefined : (\n <Box className=\"total-count\">\n <Input.Affix>\n ({state.table.collection.result.total})\n </Input.Affix>\n </Box>\n )\n }\n className={st(classes.root)}\n dataHook=\"collection-views-dropdown\"\n onSelect={(option) => {\n viewsState.events.emit('beforeSelectView');\n const id = option.id.toString();\n const view = viewsState.getView(id);\n if (view) {\n onSelect?.(view);\n viewsState.selectView({ id });\n viewsState.events.emit('afterSelectView', { view });\n }\n localSearchState.clearSearch();\n }}\n options={options}\n placeholder={t('cairo.viewDropdown.unsavedView.status')}\n />\n </Box>\n\n <Box verticalAlign=\"middle\" paddingLeft=\"SP2\">\n <ManageViewPopover origin=\"MainToolbar\" state={state} />\n </Box>\n\n <ViewsDropdownModals state={state} />\n </Box>\n );\n}\n\nexport const ViewsDropdown = observer(_ViewsDropdown);\n"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,cAAA,GAAAD,OAAA;AACA,IAAAE,aAAA,GAAAF,OAAA;AAQA,IAAAG,oBAAA,GAAAH,OAAA;AAEA,IAAAI,mBAAA,GAAAJ,OAAA;AACA,IAAAK,kBAAA,GAAAL,OAAA;AACA,IAAAM,2BAAA,GAAAN,OAAA;AAKA,IAAAO,qBAAA,GAAAP,OAAA;AACA,IA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MAAA,CAAAkB,OAAA,CAAA6C,aAAA,CAAC1D,oBAAA,CAAAkH,mBAAmB;IAACpF,KAAK,EAAEA,KAAM;IAAAkC,MAAA;IAAAC,QAAA;MAAAC,QAAA,EAAA5D,YAAA;MAAA6D,UAAA;MAAAC,YAAA;IAAA;EAAA,CAAE,CACjC,CAAC;AAEV;AAEO,MAAM+C,aAAa,GAAAC,OAAA,CAAAD,aAAA,GAAG,IAAAE,uBAAQ,EAAC1F,cAAc,CAAC","ignoreList":[]}
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireWildcard","require","_mobxReactLite","_designSystem","_ViewsDropdownModals","_ViewsDropdownStCss","_ManageViewPopover","_viewsDropdownRenderHelpers","_AutoCompleteReadonly","_ViewsDropdownPrefix","_","_jsxFileName","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","_ViewsDropdown","onSelect","dataHook","state","showTotal","dropdownWidth","dropdownProps","container","useWixPatternsContainer","views","viewsState","currentView","collection","localSearchState","filteredCategoriesWithViews","translate","showLoader","result","status","isIdle","isLoading","viewsOptions","useMemo","viewsWithoutCategory","categories","map","view","buildViewOption","flatMap","category","buildCategoryOption","initTask","options","fixedFooter","createElement","Box","width","align","verticalAlign","padding","__self","__source","fileName","lineNumber","columnNumber","Loader","size","undefined","direction","AutoCompleteReadonly","_extends2","emptyStateMessage","autoCompleteReadonlyState","value","inputValue","onChange","setInputValueAndScheduleSearch","target","clearInput","clearSearch","popoverProps","placement","border","selectedId","id","selectedLabel","getViewName","textOverflow","prefix","ViewsDropdownPrefix","suffix","table","showRefreshLoader","className","Input","Affix","total","st","classes","root","option","events","emit","toString","getView","selectView","placeholder","paddingLeft","ManageViewPopover","origin","ViewsDropdownModals","ViewsDropdown","exports","observer"],"sources":["../../../../src/components/CollectionViewsDropdown/ViewsDropdown.tsx"],"sourcesContent":["import React, { useMemo } from 'react';\nimport { observer } from 'mobx-react-lite';\nimport {\n Box,\n DropdownPropsControlled as DropdownProps,\n Input,\n Loader,\n} from '@wix/design-system';\nimport { CollectionViewsState } from '../../state';\nimport { FiltersMap } from '@wix/bex-core';\nimport { ViewsDropdownModals } from './ViewsDropdownModals';\nimport { View } from '../../model';\nimport { classes, st } from './ViewsDropdown.st.css.js';\nimport { ManageViewPopover } from './ManageViewPopover';\nimport {\n buildCategoryOption,\n buildViewOption,\n getViewName,\n} from './viewsDropdownRenderHelpers';\nimport { AutoCompleteReadonly } from './AutoCompleteReadonly';\nimport { ViewsDropdownPrefix } from './ViewsDropdownPrefix';\nimport { useWixPatternsContainer } from '../..';\n\nexport type ViewsDropdownProps<T, F extends FiltersMap> = {\n state: CollectionViewsState<T, F>;\n onSelect?: (view: View<F>) => void;\n dataHook: string;\n showTotal?: boolean;\n} & Omit<DropdownProps, 'onSelect'>;\n\nfunction _ViewsDropdown<T, F extends FiltersMap>({\n onSelect,\n dataHook,\n state,\n showTotal = true,\n dropdownWidth = '200px',\n ...dropdownProps\n}: ViewsDropdownProps<T, F>) {\n const container = useWixPatternsContainer();\n const { views: viewsState } = state;\n const { currentView, collection, localSearchState } = viewsState;\n const { filteredCategoriesWithViews } = localSearchState;\n const { translate: t } = collection;\n const showLoader =\n collection.result.status.isIdle || collection.result.status.isLoading;\n\n const viewsOptions = useMemo(() => {\n const { viewsWithoutCategory, categories } = filteredCategoriesWithViews;\n\n return [\n ...viewsWithoutCategory.map((view) =>\n buildViewOption({ view, viewsState }),\n ),\n ...categories.flatMap((category) => [\n buildCategoryOption({ category, viewsState }),\n ...category.views.map((view) => buildViewOption({ view, viewsState })),\n ]),\n ];\n }, [filteredCategoriesWithViews, container.initTask.status]);\n\n const { options, fixedFooter } = showLoader\n ? {\n options: [],\n fixedFooter: (\n <Box\n dataHook=\"initial-loader\"\n width=\"100%\"\n align=\"center\"\n verticalAlign=\"middle\"\n padding=\"SP2\"\n >\n <Loader size=\"small\" />\n </Box>\n ),\n }\n : {\n options: viewsOptions,\n fixedFooter: undefined,\n };\n\n return (\n <Box dataHook={dataHook}>\n <Box width={dropdownWidth} direction=\"vertical\">\n <AutoCompleteReadonly\n emptyStateMessage={\n !showLoader && t('cairo.viewsDropdown.nothingMatches.text')\n }\n state={state.views.autoCompleteReadonlyState}\n value={localSearchState.inputValue}\n onChange={(e) =>\n localSearchState.setInputValueAndScheduleSearch(e.target.value)\n }\n clearInput={() => localSearchState.clearSearch()}\n dropdownWidth={dropdownWidth}\n popoverProps={{ placement: 'bottom-start' }}\n {...dropdownProps}\n fixedFooter={fixedFooter}\n border=\"round\"\n selectedId={currentView?.id}\n selectedLabel={\n currentView\n ? getViewName({ view: currentView, viewsState })\n : undefined\n }\n textOverflow=\"ellipsis\"\n prefix={<ViewsDropdownPrefix state={state} />}\n suffix={\n !showTotal ||\n state.table.collection.showRefreshLoader ? undefined : (\n <Box className=\"total-count\">\n <Input.Affix>\n ({state.table.collection.result.total})\n </Input.Affix>\n </Box>\n )\n }\n className={st(classes.root)}\n dataHook=\"collection-views-dropdown\"\n onSelect={(option) => {\n viewsState.events.emit('beforeSelectView');\n const id = option.id.toString();\n const view = viewsState.getView(id);\n if (view) {\n onSelect?.(view);\n viewsState.selectView({ id });\n viewsState.events.emit('afterSelectView', { view });\n }\n localSearchState.clearSearch();\n }}\n options={options}\n placeholder={t('cairo.viewDropdown.unsavedView.status')}\n />\n </Box>\n\n <Box verticalAlign=\"middle\" paddingLeft=\"SP2\">\n <ManageViewPopover origin=\"MainToolbar\" state={state} />\n </Box>\n\n <ViewsDropdownModals state={state} />\n </Box>\n );\n}\n\nexport const ViewsDropdown = observer(_ViewsDropdown);\n"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,cAAA,GAAAD,OAAA;AACA,IAAAE,aAAA,GAAAF,OAAA;AAQA,IAAAG,oBAAA,GAAAH,OAAA;AAEA,IAAAI,mBAAA,GAAAJ,OAAA;AACA,IAAAK,kBAAA,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aAAA,CAAC5D,kBAAA,CAAAkH,iBAAiB;IAACC,MAAM,EAAC,aAAa;IAACtF,KAAK,EAAEA,KAAM;IAAAqC,MAAA;IAAAC,QAAA;MAAAC,QAAA,EAAA/D,YAAA;MAAAgE,UAAA;MAAAC,YAAA;IAAA;EAAA,CAAE,CACpD,CAAC,eAEN7E,MAAA,CAAAmB,OAAA,CAAAgD,aAAA,CAAC9D,oBAAA,CAAAsH,mBAAmB;IAACvF,KAAK,EAAEA,KAAM;IAAAqC,MAAA;IAAAC,QAAA;MAAAC,QAAA,EAAA/D,YAAA;MAAAgE,UAAA;MAAAC,YAAA;IAAA;EAAA,CAAE,CACjC,CAAC;AAEV;AAEO,MAAM+C,aAAa,GAAAC,OAAA,CAAAD,aAAA,GAAG,IAAAE,uBAAQ,EAAC7F,cAAc,CAAC","ignoreList":[]}
|
|
@@ -5,14 +5,14 @@ exports.vars = exports.style = exports.stVars = exports.st = exports.namespace =
|
|
|
5
5
|
var _stylableEsmRuntime = require("../../stylable-esm-runtime.js");
|
|
6
6
|
// @ts-nocheck
|
|
7
7
|
|
|
8
|
-
var _namespace_ = "
|
|
8
|
+
var _namespace_ = "ViewsDropdown1827092893";
|
|
9
9
|
var _style_ = _stylableEsmRuntime.classesRuntime.bind(null, _namespace_);
|
|
10
10
|
var cssStates = exports.cssStates = _stylableEsmRuntime.statesRuntime.bind(null, _namespace_);
|
|
11
11
|
var style = exports.style = _style_;
|
|
12
12
|
var st = exports.st = _style_;
|
|
13
13
|
var namespace = exports.namespace = _namespace_;
|
|
14
14
|
var classes = exports.classes = {
|
|
15
|
-
"root": "
|
|
15
|
+
"root": "ViewsDropdown1827092893__root"
|
|
16
16
|
};
|
|
17
17
|
var keyframes = exports.keyframes = {};
|
|
18
18
|
var layers = exports.layers = {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_stylableEsmRuntime","require","_namespace_","_style_","classesRuntime","bind","cssStates","exports","statesRuntime","style","st","namespace","classes","keyframes","layers","containers","stVars","vars"],"sources":["../../../../src/components/CollectionViewsDropdown/ViewsDropdown.st.css.ts"],"sourcesContent":["// @ts-nocheck\n\n\nimport { classesRuntime, statesRuntime } from \"../../stylable-esm-runtime.js\";\n\n\n\nvar _namespace_ = \"
|
|
1
|
+
{"version":3,"names":["_stylableEsmRuntime","require","_namespace_","_style_","classesRuntime","bind","cssStates","exports","statesRuntime","style","st","namespace","classes","keyframes","layers","containers","stVars","vars"],"sources":["../../../../src/components/CollectionViewsDropdown/ViewsDropdown.st.css.ts"],"sourcesContent":["// @ts-nocheck\n\n\nimport { classesRuntime, statesRuntime } from \"../../stylable-esm-runtime.js\";\n\n\n\nvar _namespace_ = \"ViewsDropdown1827092893\";\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\":\"ViewsDropdown1827092893__root\"};\nexport var keyframes = {}; \nexport var layers = {};\nexport var containers = {};\nexport var stVars = {}; \nexport var vars = {}; \n\n\n\n\n"],"mappings":";;;;AAGA,IAAAA,mBAAA,GAAAC,OAAA;AAHA;;AAOA,IAAIC,WAAW,GAAG,yBAAyB;AAC3C,IAAIC,OAAO,GAAGC,kCAAc,CAACC,IAAI,CAAC,IAAI,EAAEH,WAAW,CAAC;AAE7C,IAAII,SAAS,GAAAC,OAAA,CAAAD,SAAA,GAAGE,iCAAa,CAACH,IAAI,CAAC,IAAI,EAAEH,WAAW,CAAC;AACrD,IAAIO,KAAK,GAAAF,OAAA,CAAAE,KAAA,GAAGN,OAAO;AACnB,IAAIO,EAA0C,GAAAH,OAAA,CAAAG,EAAA,GAAGP,OAAO;AAExD,IAAIQ,SAAS,GAAAJ,OAAA,CAAAI,SAAA,GAAGT,WAAW;AAC3B,IAAIU,OAAO,GAAAL,OAAA,CAAAK,OAAA,GAAG;EAAC,MAAM,EAAC;AAA+B,CAAC;AACtD,IAAIC,SAAS,GAAAN,OAAA,CAAAM,SAAA,GAAG,CAAC,CAAC;AAClB,IAAIC,MAAM,GAAAP,OAAA,CAAAO,MAAA,GAAG,CAAC,CAAC;AACf,IAAIC,UAAU,GAAAR,OAAA,CAAAQ,UAAA,GAAG,CAAC,CAAC;AACnB,IAAIC,MAAM,GAAAT,OAAA,CAAAS,MAAA,GAAG,CAAC,CAAC;AACf,IAAIC,IAAI,GAAAV,OAAA,CAAAU,IAAA,GAAG,CAAC,CAAC","ignoreList":[]}
|
|
@@ -7,6 +7,12 @@ Object.keys(_CollectionViewsDropdown).forEach(function (key) {
|
|
|
7
7
|
if (key in exports && exports[key] === _CollectionViewsDropdown[key]) return;
|
|
8
8
|
exports[key] = _CollectionViewsDropdown[key];
|
|
9
9
|
});
|
|
10
|
+
var _CollectionViewsDropdownStandalone = require("./CollectionViewsDropdownStandalone");
|
|
11
|
+
Object.keys(_CollectionViewsDropdownStandalone).forEach(function (key) {
|
|
12
|
+
if (key === "default" || key === "__esModule") return;
|
|
13
|
+
if (key in exports && exports[key] === _CollectionViewsDropdownStandalone[key]) return;
|
|
14
|
+
exports[key] = _CollectionViewsDropdownStandalone[key];
|
|
15
|
+
});
|
|
10
16
|
var _ViewsDropdown = require("./ViewsDropdown");
|
|
11
17
|
Object.keys(_ViewsDropdown).forEach(function (key) {
|
|
12
18
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_CollectionViewsDropdown","require","Object","keys","forEach","key","exports","_ViewsDropdown"],"sources":["../../../../src/components/CollectionViewsDropdown/index.ts"],"sourcesContent":["export * from './CollectionViewsDropdown';\nexport * from './ViewsDropdown';\n"],"mappings":";;;AAAA,IAAAA,wBAAA,GAAAC,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAH,wBAAA,EAAAI,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAL,wBAAA,CAAAK,GAAA;EAAAC,OAAA,CAAAD,GAAA,IAAAL,wBAAA,CAAAK,GAAA;AAAA;AACA,IAAAE,
|
|
1
|
+
{"version":3,"names":["_CollectionViewsDropdown","require","Object","keys","forEach","key","exports","_CollectionViewsDropdownStandalone","_ViewsDropdown"],"sources":["../../../../src/components/CollectionViewsDropdown/index.ts"],"sourcesContent":["export * from './CollectionViewsDropdown';\nexport * from './CollectionViewsDropdownStandalone';\nexport * from './ViewsDropdown';\n"],"mappings":";;;AAAA,IAAAA,wBAAA,GAAAC,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAH,wBAAA,EAAAI,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAL,wBAAA,CAAAK,GAAA;EAAAC,OAAA,CAAAD,GAAA,IAAAL,wBAAA,CAAAK,GAAA;AAAA;AACA,IAAAE,kCAAA,GAAAN,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAI,kCAAA,EAAAH,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAE,kCAAA,CAAAF,GAAA;EAAAC,OAAA,CAAAD,GAAA,IAAAE,kCAAA,CAAAF,GAAA;AAAA;AACA,IAAAG,cAAA,GAAAP,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAK,cAAA,EAAAJ,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAG,cAAA,CAAAH,GAAA;EAAAC,OAAA,CAAAD,GAAA,IAAAG,cAAA,CAAAH,GAAA;AAAA","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sources":["../../../src/components/CtaProps.ts"],"sourcesContent":["import { IconElement } from '@wix/design-system';\n\nexport interface CtaBaseProps {\n /**\n * A callback that runs each time the button is clicked.\n */\n onClick?: () => void;\n /*\n * Button label.\n */\n label?: string;\n\n /*\n * A unique name for CTAClick bi event. For example: 'edit'.\n */\n biName?: string;\n /*\n * An optional Icon prefix.\n */\n prefixIcon?: IconElement;\n}\n"],"mappings":"","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_ToolbarCollectionContext","require","_react","_interopRequireDefault","_initCustomColumns","_CustomColumnsCTAButton","_jsxFileName","CustomColumns","onColumnClick","state","useToolbarCollectionContext","default","createElement","CustomColumnsCTAButton","__self","__source","fileName","lineNumber","columnNumber","setCustomColumnsState","dragAndDrop","undefined","displayName"],"sources":["../../../../src/components/CustomColumns/CustomColumns.tsx"],"sourcesContent":["import { useToolbarCollectionContext } from '../ToolbarCollectionContext';\nimport React from 'react';\nimport { setCustomColumnsState } from '../../state/initCustomColumns';\nimport { Column } from '../../model';\nimport { CustomColumnsCTAButton } from '../CustomColumnsPanel/CustomColumnsCTAButton';\nimport type { CustomColumnsDragAndDrop } from './CustomColumnsDragAndDrop';\n\nexport interface CustomColumnsBaseProps {\n /**\n *
|
|
1
|
+
{"version":3,"names":["_ToolbarCollectionContext","require","_react","_interopRequireDefault","_initCustomColumns","_CustomColumnsCTAButton","_jsxFileName","CustomColumns","onColumnClick","state","useToolbarCollectionContext","default","createElement","CustomColumnsCTAButton","__self","__source","fileName","lineNumber","columnNumber","setCustomColumnsState","dragAndDrop","undefined","displayName"],"sources":["../../../../src/components/CustomColumns/CustomColumns.tsx"],"sourcesContent":["import { useToolbarCollectionContext } from '../ToolbarCollectionContext';\nimport React from 'react';\nimport { setCustomColumnsState } from '../../state/initCustomColumns';\nimport { Column } from '../../model';\nimport { CustomColumnsCTAButton } from '../CustomColumnsPanel/CustomColumnsCTAButton';\nimport type { CustomColumnsDragAndDrop } from './CustomColumnsDragAndDrop';\n\nexport interface CustomColumnsBaseProps {\n /**\n * Adds a callback that is called when a column is clicked.\n * @param column\n * @param checked\n * @external\n */\n onColumnClick?: (column: Column, checked: boolean) => unknown;\n}\n\nexport interface CustomColumnsProps extends CustomColumnsBaseProps {}\n\nexport function CustomColumns({ onColumnClick }: CustomColumnsProps) {\n const state = useToolbarCollectionContext();\n return <CustomColumnsCTAButton onColumnClick={onColumnClick} state={state} />;\n}\n\nCustomColumns.setCustomColumnsState = setCustomColumnsState;\nCustomColumns.dragAndDrop = undefined as\n | typeof CustomColumnsDragAndDrop\n | undefined;\nCustomColumns.displayName = 'CustomColumns';\n"],"mappings":";;;;;AAAA,IAAAA,yBAAA,GAAAC,OAAA;AACA,IAAAC,MAAA,GAAAC,sBAAA,CAAAF,OAAA;AACA,IAAAG,kBAAA,GAAAH,OAAA;AAEA,IAAAI,uBAAA,GAAAJ,OAAA;AAAsF,IAAAK,YAAA;AAe/E,SAASC,aAAaA,CAAC;EAAEC;AAAkC,CAAC,EAAE;EACnE,MAAMC,KAAK,GAAG,IAAAC,qDAA2B,EAAC,CAAC;EAC3C,oBAAOR,MAAA,CAAAS,OAAA,CAAAC,aAAA,CAACP,uBAAA,CAAAQ,sBAAsB;IAACL,aAAa,EAAEA,aAAc;IAACC,KAAK,EAAEA,KAAM;IAAAK,MAAA;IAAAC,QAAA;MAAAC,QAAA,EAAAV,YAAA;MAAAW,UAAA;MAAAC,YAAA;IAAA;EAAA,CAAE,CAAC;AAC/E;AAEAX,aAAa,CAACY,qBAAqB,GAAGA,wCAAqB;AAC3DZ,aAAa,CAACa,WAAW,GAAGC,SAEf;AACbd,aAAa,CAACe,WAAW,GAAG,eAAe","ignoreList":[]}
|
|
@@ -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_ = "CustomFieldsViewWidgetSection862603193";
|
|
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
|
-
"breakWord": "
|
|
15
|
+
"root": "CustomFieldsViewWidgetSection862603193__root",
|
|
16
|
+
"breakWord": "CustomFieldsViewWidgetSection862603193__breakWord"
|
|
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/CustomFieldsWidget/CustomFieldsViewWidgetSection.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/CustomFieldsWidget/CustomFieldsViewWidgetSection.st.css.ts"],"sourcesContent":["// @ts-nocheck\n\n\nimport { classesRuntime, statesRuntime } from \"../../stylable-esm-runtime.js\";\n\n\n\nvar _namespace_ = \"CustomFieldsViewWidgetSection862603193\";\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\":\"CustomFieldsViewWidgetSection862603193__root\",\"breakWord\":\"CustomFieldsViewWidgetSection862603193__breakWord\"};\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,wCAAwC;AAC1D,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,8CAA8C;EAAC,WAAW,EAAC;AAAmD,CAAC;AACrI,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":[]}
|
|
@@ -77,7 +77,9 @@ class CollectionDataExtensionState {
|
|
|
77
77
|
dataExtension.container.initTask.runOnce();
|
|
78
78
|
await Promise.all([(_dataExtension$initTa = dataExtension.initTask.status.promise) == null ? void 0 : _dataExtension$initTa.catch(() => {}), dataExtension.container.initTask.status.promise]);
|
|
79
79
|
this._handleFetchSchemasError();
|
|
80
|
-
toolbar.setNewExtendedColumns(dataExtension.availableCustomFields
|
|
80
|
+
toolbar.setNewExtendedColumns(dataExtension.availableCustomFields, {
|
|
81
|
+
defaultHidden: true
|
|
82
|
+
});
|
|
81
83
|
});
|
|
82
84
|
return () => {
|
|
83
85
|
disposers.forEach(d => d == null ? void 0 : d());
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_bexCore","require","_bi","CollectionDataExtensionState","constructor","params","_defineProperty2","default","TaskState","toolbar","DataExtension","dataExtension","DataExtensionState","container","fqdn","collection","product","queryName","reportBi","closeSidePanel","hideAddFieldCTA","_getFetchSchemasError","err","WixPatternsError","errorCode","originalException","_handleFetchSchemasError","_this$dataExtension$c","_this$dataExtension$c2","error","initTask","status","cairoError","showToast","call","message","translate","action","uiType","text","onClick","withoutDefaults","cairoTryAgainClicked","actionName","loaction","fetchSchemas","catch","bind","removeToastOnClick","type","biName","internalMonitor","reportError","cairoErrorInLoadingAComponent","errorType","name","init","customColumnsState","disposers","events","addEventListener","promise","runOnce","_dataExtension$initTa","Promise","all","setNewExtendedColumns","availableCustomFields","forEach","d","exports"],"sources":["../../../../src/components/DataExtension/CollectionDataExtensionState.ts"],"sourcesContent":["import {\n addEventListener,\n WixPatternsContainer,\n WixPatternsError,\n DataExtensionState,\n DataExtensionOverrides,\n FiltersMap,\n TaskState,\n withoutDefaults,\n} from '@wix/bex-core';\nimport { ToolbarCollectionState } from '../../state';\nimport { DataExtensionType } from './DataExtension';\nimport {\n cairoErrorInLoadingAComponent,\n cairoTryAgainClicked,\n} from '@wix/bex-core/bi';\n\nexport interface CollectionDataExtensionStateParams<T, F extends FiltersMap>\n extends DataExtensionOverrides {\n container: WixPatternsContainer;\n toolbar: ToolbarCollectionState<T, F>;\n DataExtension: DataExtensionType;\n}\n\nexport class CollectionDataExtensionState<T, F extends FiltersMap> {\n readonly dataExtension;\n readonly toolbar;\n readonly DataExtension;\n readonly initTask = new TaskState();\n constructor(params: CollectionDataExtensionStateParams<T, F>) {\n this.toolbar = params.toolbar;\n this.DataExtension = params.DataExtension;\n this.dataExtension = new DataExtensionState({\n container: params.container,\n fqdn: params.toolbar.collection.fqdn ?? {\n product: params.toolbar.collection.queryName,\n },\n reportBi: params.toolbar.reportBi,\n closeSidePanel: params.toolbar.closeSidePanel,\n hideAddFieldCTA: params.hideAddFieldCTA,\n });\n }\n\n _getFetchSchemasError(err: unknown) {\n return new WixPatternsError({\n errorCode: 'InitCustomFieldsDataExtensionFailed',\n originalException: err,\n });\n }\n\n _handleFetchSchemasError() {\n const error = this.dataExtension.initTask.status.error;\n\n if (!error) {\n return;\n }\n\n const cairoError = this._getFetchSchemasError(error);\n this.dataExtension.container.showToast?.({\n message: this.dataExtension.container.translate(\n 'cairo.customFields.fetch.technicalError',\n ),\n action: {\n uiType: 'LINK',\n text: this.dataExtension.container.translate('cairo.toast.retry'),\n onClick: () => {\n this.dataExtension.reportBi(\n withoutDefaults(cairoTryAgainClicked)({\n actionName: 'Fetch extended fields',\n loaction: 'toast',\n }),\n );\n this.dataExtension\n .fetchSchemas()\n .catch(this._handleFetchSchemasError.bind(this));\n },\n removeToastOnClick: true,\n },\n type: 'WARNING',\n biName: 'cairo-fetch-schemas-error-toast',\n });\n\n this.dataExtension.container.internalMonitor.reportError({\n error: cairoError,\n });\n\n this.dataExtension.reportBi(\n cairoErrorInLoadingAComponent({\n errorType: cairoError.name,\n }),\n );\n }\n\n init() {\n const { initTask, dataExtension, toolbar } = this;\n const { customColumnsState } = toolbar;\n\n const disposers = [\n dataExtension.init(),\n ...(customColumnsState?.events\n ? [\n addEventListener(\n customColumnsState.events,\n 'beforeInitialFetch',\n () => initTask.status.promise,\n ),\n ]\n : []),\n ];\n\n initTask.runOnce(async () => {\n dataExtension.initTask.runOnce();\n dataExtension.container.initTask.runOnce();\n\n await Promise.all([\n dataExtension.initTask.status.promise?.catch(() => {}),\n dataExtension.container.initTask.status.promise,\n ]);\n\n this._handleFetchSchemasError();\n toolbar.setNewExtendedColumns(dataExtension.availableCustomFields);\n });\n\n return () => {\n disposers.forEach((d) => d?.());\n };\n }\n}\n"],"mappings":";;;;;;AAAA,IAAAA,QAAA,GAAAC,OAAA;AAYA,IAAAC,GAAA,GAAAD,OAAA;AAYO,MAAME,4BAA4B,CAA0B;EAKjEC,WAAWA,CAACC,MAAgD,EAAE;IAAA,IAAAC,gBAAA,CAAAC,OAAA;IAAA,IAAAD,gBAAA,CAAAC,OAAA;IAAA,IAAAD,gBAAA,CAAAC,OAAA;IAAA,IAAAD,gBAAA,CAAAC,OAAA,oBAD1C,IAAIC,kBAAS,CAAC,CAAC;IAEjC,IAAI,CAACC,OAAO,GAAGJ,MAAM,CAACI,OAAO;IAC7B,IAAI,CAACC,aAAa,GAAGL,MAAM,CAACK,aAAa;IACzC,IAAI,CAACC,aAAa,GAAG,IAAIC,2BAAkB,CAAC;MAC1CC,SAAS,EAAER,MAAM,CAACQ,SAAS;MAC3BC,IAAI,EAAET,MAAM,CAACI,OAAO,CAACM,UAAU,CAACD,IAAI,IAAI;QACtCE,OAAO,EAAEX,MAAM,CAACI,OAAO,CAACM,UAAU,CAACE;MACrC,CAAC;MACDC,QAAQ,EAAEb,MAAM,CAACI,OAAO,CAACS,QAAQ;MACjCC,cAAc,EAAEd,MAAM,CAACI,OAAO,CAACU,cAAc;MAC7CC,eAAe,EAAEf,MAAM,CAACe;IAC1B,CAAC,CAAC;EACJ;EAEAC,qBAAqBA,CAACC,GAAY,EAAE;IAClC,OAAO,IAAIC,yBAAgB,CAAC;MAC1BC,SAAS,EAAE,qCAAqC;MAChDC,iBAAiB,EAAEH;IACrB,CAAC,CAAC;EACJ;EAEAI,wBAAwBA,CAAA,EAAG;IAAA,IAAAC,qBAAA,EAAAC,sBAAA;IACzB,MAAMC,KAAK,GAAG,IAAI,CAAClB,aAAa,CAACmB,QAAQ,CAACC,MAAM,CAACF,KAAK;IAEtD,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AGhD,OAAO;IAEtC,MAAMiD,SAAS,GAAG,CAChB/C,aAAa,CAAC6C,IAAI,CAAC,CAAC,EACpB,IAAIC,kBAAkB,YAAlBA,kBAAkB,CAAEE,MAAM,GAC1B,CACE,IAAAC,yBAAgB,EACdH,kBAAkB,CAACE,MAAM,EACzB,oBAAoB,EACpB,MAAM7B,QAAQ,CAACC,MAAM,CAAC8B,OACxB,CAAC,CACF,GACD,EAAE,CAAC,CACR;IAED/B,QAAQ,CAACgC,OAAO,CAAC,YAAY;MAAA,IAAAC,qBAAA;MAC3BpD,aAAa,CAACmB,QAAQ,CAACgC,OAAO,CAAC,CAAC;MAChCnD,aAAa,CAACE,SAAS,CAACiB,QAAQ,CAACgC,OAAO,CAAC,CAAC;MAE1C,MAAME,OAAO,CAACC,GAAG,CAAC,EAAAF,qBAAA,GAChBpD,aAAa,CAACmB,QAAQ,CAACC,MAAM,CAAC8B,OAAO,qBAArCE,qBAAA,CAAuCjB,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,EACtDnC,aAAa,CAACE,SAAS,CAACiB,QAAQ,CAACC,MAAM,CAAC8B,OAAO,CAChD,CAAC;MAEF,IAAI,CAACnC,wBAAwB,CAAC,CAAC;MAC/BjB,OAAO,CAACyD,qBAAqB,CAACvD,aAAa,CAACwD,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"names":["_bexCore","require","_bi","CollectionDataExtensionState","constructor","params","_defineProperty2","default","TaskState","toolbar","DataExtension","dataExtension","DataExtensionState","container","fqdn","collection","product","queryName","reportBi","closeSidePanel","hideAddFieldCTA","_getFetchSchemasError","err","WixPatternsError","errorCode","originalException","_handleFetchSchemasError","_this$dataExtension$c","_this$dataExtension$c2","error","initTask","status","cairoError","showToast","call","message","translate","action","uiType","text","onClick","withoutDefaults","cairoTryAgainClicked","actionName","loaction","fetchSchemas","catch","bind","removeToastOnClick","type","biName","internalMonitor","reportError","cairoErrorInLoadingAComponent","errorType","name","init","customColumnsState","disposers","events","addEventListener","promise","runOnce","_dataExtension$initTa","Promise","all","setNewExtendedColumns","availableCustomFields","defaultHidden","forEach","d","exports"],"sources":["../../../../src/components/DataExtension/CollectionDataExtensionState.ts"],"sourcesContent":["import {\n addEventListener,\n WixPatternsContainer,\n WixPatternsError,\n DataExtensionState,\n DataExtensionOverrides,\n FiltersMap,\n TaskState,\n withoutDefaults,\n} from '@wix/bex-core';\nimport { ToolbarCollectionState } from '../../state';\nimport { DataExtensionType } from './DataExtension';\nimport {\n cairoErrorInLoadingAComponent,\n cairoTryAgainClicked,\n} from '@wix/bex-core/bi';\n\nexport interface CollectionDataExtensionStateParams<T, F extends FiltersMap>\n extends DataExtensionOverrides {\n container: WixPatternsContainer;\n toolbar: ToolbarCollectionState<T, F>;\n DataExtension: DataExtensionType;\n}\n\nexport class CollectionDataExtensionState<T, F extends FiltersMap> {\n readonly dataExtension;\n readonly toolbar;\n readonly DataExtension;\n readonly initTask = new TaskState();\n constructor(params: CollectionDataExtensionStateParams<T, F>) {\n this.toolbar = params.toolbar;\n this.DataExtension = params.DataExtension;\n this.dataExtension = new DataExtensionState({\n container: params.container,\n fqdn: params.toolbar.collection.fqdn ?? {\n product: params.toolbar.collection.queryName,\n },\n reportBi: params.toolbar.reportBi,\n closeSidePanel: params.toolbar.closeSidePanel,\n hideAddFieldCTA: params.hideAddFieldCTA,\n });\n }\n\n _getFetchSchemasError(err: unknown) {\n return new WixPatternsError({\n errorCode: 'InitCustomFieldsDataExtensionFailed',\n originalException: err,\n });\n }\n\n _handleFetchSchemasError() {\n const error = this.dataExtension.initTask.status.error;\n\n if (!error) {\n return;\n }\n\n const cairoError = this._getFetchSchemasError(error);\n this.dataExtension.container.showToast?.({\n message: this.dataExtension.container.translate(\n 'cairo.customFields.fetch.technicalError',\n ),\n action: {\n uiType: 'LINK',\n text: this.dataExtension.container.translate('cairo.toast.retry'),\n onClick: () => {\n this.dataExtension.reportBi(\n withoutDefaults(cairoTryAgainClicked)({\n actionName: 'Fetch extended fields',\n loaction: 'toast',\n }),\n );\n this.dataExtension\n .fetchSchemas()\n .catch(this._handleFetchSchemasError.bind(this));\n },\n removeToastOnClick: true,\n },\n type: 'WARNING',\n biName: 'cairo-fetch-schemas-error-toast',\n });\n\n this.dataExtension.container.internalMonitor.reportError({\n error: cairoError,\n });\n\n this.dataExtension.reportBi(\n cairoErrorInLoadingAComponent({\n errorType: cairoError.name,\n }),\n );\n }\n\n init() {\n const { initTask, dataExtension, toolbar } = this;\n const { customColumnsState } = toolbar;\n\n const disposers = [\n dataExtension.init(),\n ...(customColumnsState?.events\n ? [\n addEventListener(\n customColumnsState.events,\n 'beforeInitialFetch',\n () => initTask.status.promise,\n ),\n ]\n : []),\n ];\n\n initTask.runOnce(async () => {\n dataExtension.initTask.runOnce();\n dataExtension.container.initTask.runOnce();\n\n await Promise.all([\n dataExtension.initTask.status.promise?.catch(() => {}),\n dataExtension.container.initTask.status.promise,\n ]);\n\n this._handleFetchSchemasError();\n toolbar.setNewExtendedColumns(dataExtension.availableCustomFields, {\n defaultHidden: true,\n });\n });\n\n return () => {\n disposers.forEach((d) => d?.());\n };\n }\n}\n"],"mappings":";;;;;;AAAA,IAAAA,QAAA,GAAAC,OAAA;AAYA,IAAAC,GAAA,GAAAD,OAAA;AAYO,MAAME,4BAA4B,CAA0B;EAKjEC,WAAWA,CAACC,MAAgD,EAAE;IAAA,IAAAC,gBAAA,CAAAC,OAAA;IAAA,IAAAD,gBAAA,CAAAC,OAAA;IAAA,IAAAD,gBAAA,CAAAC,OAAA;IAAA,IAAAD,gBAAA,CAAAC,OAAA,oBAD1C,IAAIC,kBAAS,CAAC,CAAC;IAEjC,IAAI,CAACC,OAAO,GAAGJ,MAAM,CAACI,OAAO;IAC7B,IAAI,CAACC,aAAa,GAAGL,MAAM,CAACK,aAAa;IACzC,IAAI,CAACC,aAAa,GAAG,IAAIC,2BAAkB,CAAC;MAC1CC,SAAS,EAAER,MAAM,CAACQ,SAAS;MAC3BC,IAAI,EAAET,MAAM,CAACI,OAAO,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AACC,MAAM,CAAC8B,OAAO,CAChD,CAAC;MAEF,IAAI,CAACnC,wBAAwB,CAAC,CAAC;MAC/BjB,OAAO,CAACyD,qBAAqB,CAACvD,aAAa,CAACwD,qBAAqB,EAAE;QACjEC,aAAa,EAAE;MACjB,CAAC,CAAC;IACJ,CAAC,CAAC;IAEF,OAAO,MAAM;MACXV,SAAS,CAACW,OAAO,CAAEC,CAAC,IAAKA,CAAC,oBAADA,CAAC,CAAG,CAAC,CAAC;IACjC,CAAC;EACH;AACF;AAACC,OAAA,CAAApE,4BAAA,GAAAA,4BAAA","ignoreList":[]}
|
|
@@ -5,14 +5,14 @@ exports.vars = exports.style = exports.stVars = exports.st = exports.namespace =
|
|
|
5
5
|
var _stylableEsmRuntime = require("../../stylable-esm-runtime.js");
|
|
6
6
|
// @ts-nocheck
|
|
7
7
|
|
|
8
|
-
var _namespace_ = "
|
|
8
|
+
var _namespace_ = "DragHandle1566303245";
|
|
9
9
|
var _style_ = _stylableEsmRuntime.classesRuntime.bind(null, _namespace_);
|
|
10
10
|
var cssStates = exports.cssStates = _stylableEsmRuntime.statesRuntime.bind(null, _namespace_);
|
|
11
11
|
var style = exports.style = _style_;
|
|
12
12
|
var st = exports.st = _style_;
|
|
13
13
|
var namespace = exports.namespace = _namespace_;
|
|
14
14
|
var classes = exports.classes = {
|
|
15
|
-
"root": "
|
|
15
|
+
"root": "DragHandle1566303245__root"
|
|
16
16
|
};
|
|
17
17
|
var keyframes = exports.keyframes = {};
|
|
18
18
|
var layers = exports.layers = {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_stylableEsmRuntime","require","_namespace_","_style_","classesRuntime","bind","cssStates","exports","statesRuntime","style","st","namespace","classes","keyframes","layers","containers","stVars","vars"],"sources":["../../../../src/components/DragHandle/DragHandle.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/DragHandle/DragHandle.st.css.ts"],"sourcesContent":["// @ts-nocheck\n\n\nimport { classesRuntime, statesRuntime } from \"../../stylable-esm-runtime.js\";\n\n\n\nvar _namespace_ = \"DragHandle1566303245\";\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\":\"DragHandle1566303245__root\"};\nexport var keyframes = {}; \nexport var layers = {};\nexport var containers = {};\nexport var stVars = {}; \nexport var vars = {}; \n\n\n\n\n"],"mappings":";;;;AAGA,IAAAA,mBAAA,GAAAC,OAAA;AAHA;;AAOA,IAAIC,WAAW,GAAG,sBAAsB;AACxC,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;AAA4B,CAAC;AACnD,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":[]}
|
|
@@ -27,7 +27,7 @@ function _CollectionEmptyState(props) {
|
|
|
27
27
|
__self: this,
|
|
28
28
|
__source: {
|
|
29
29
|
fileName: _jsxFileName,
|
|
30
|
-
lineNumber:
|
|
30
|
+
lineNumber: 30,
|
|
31
31
|
columnNumber: 9
|
|
32
32
|
}
|
|
33
33
|
})
|
|
@@ -36,14 +36,14 @@ function _CollectionEmptyState(props) {
|
|
|
36
36
|
__self: this,
|
|
37
37
|
__source: {
|
|
38
38
|
fileName: _jsxFileName,
|
|
39
|
-
lineNumber:
|
|
39
|
+
lineNumber: 33,
|
|
40
40
|
columnNumber: 25
|
|
41
41
|
}
|
|
42
42
|
})),
|
|
43
43
|
__self: this,
|
|
44
44
|
__source: {
|
|
45
45
|
fileName: _jsxFileName,
|
|
46
|
-
lineNumber:
|
|
46
|
+
lineNumber: 25,
|
|
47
47
|
columnNumber: 5
|
|
48
48
|
}
|
|
49
49
|
}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireDefault","require","_mobxReactLite","_AddItemEmptyState","_react2","_EmptyStateBase","_NewItemButton","_jsxFileName","_CollectionEmptyState","props","translate","t","useWixPatternsContainer","addNewCta","default","createElement","EmptyStateBase","_extends2","dataHook","title","subtitle","image","AddItemEmptyState","__self","__source","fileName","lineNumber","columnNumber","cta","NewItemButton","CollectionEmptyState","exports","observer"],"sources":["../../../../src/components/EmptyState/CollectionEmptyState.tsx"],"sourcesContent":["import React from 'react';\nimport { observer } from 'mobx-react-lite';\nimport { AddItemEmptyState } from '../Illustration/AddItemEmptyState';\nimport { useWixPatternsContainer } from '@wix/bex-core/react';\nimport { EmptyStateBase, EmptyStateBaseProps } from './EmptyStateBase';\nimport { NewItemButton, NewItemButtonProps } from './NewItemButton';\n\nexport interface CollectionEmptyStateProps\n extends Omit<Partial<EmptyStateBaseProps>, 'cta'> {\n /**\n * Configuration for
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireDefault","require","_mobxReactLite","_AddItemEmptyState","_react2","_EmptyStateBase","_NewItemButton","_jsxFileName","_CollectionEmptyState","props","translate","t","useWixPatternsContainer","addNewCta","default","createElement","EmptyStateBase","_extends2","dataHook","title","subtitle","image","AddItemEmptyState","__self","__source","fileName","lineNumber","columnNumber","cta","NewItemButton","CollectionEmptyState","exports","observer"],"sources":["../../../../src/components/EmptyState/CollectionEmptyState.tsx"],"sourcesContent":["import React from 'react';\nimport { observer } from 'mobx-react-lite';\nimport { AddItemEmptyState } from '../Illustration/AddItemEmptyState';\nimport { useWixPatternsContainer } from '@wix/bex-core/react';\nimport { EmptyStateBase, EmptyStateBaseProps } from './EmptyStateBase';\nimport { NewItemButton, NewItemButtonProps } from './NewItemButton';\n\nexport interface CollectionEmptyStateProps\n extends Omit<Partial<EmptyStateBaseProps>, 'cta'> {\n /**\n * Configuration for the default call to action button.\\\n * `onClick`: Adds a callback for when the button is clicked. <br>\n * `text`: Text of the button.\n * To render the default add new item button, you must provide the `onClick` callback.\n * @external\n */\n addNewCta?: NewItemButtonProps;\n}\n\nfunction _CollectionEmptyState(props: CollectionEmptyStateProps) {\n const { translate: t } = useWixPatternsContainer();\n const { addNewCta } = props;\n\n return (\n <EmptyStateBase\n dataHook=\"collection-empty-state\"\n title={t('cairo.emptyState.additem.title')}\n subtitle={t('cairo.emptyState.additem.text')}\n image={\n <AddItemEmptyState data-hook=\"empty-state-new-item-illustration\" />\n }\n {...props}\n cta={addNewCta && <NewItemButton {...addNewCta} />}\n />\n );\n}\n\nexport const CollectionEmptyState = observer(_CollectionEmptyState);\n"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,cAAA,GAAAD,OAAA;AACA,IAAAE,kBAAA,GAAAF,OAAA;AAC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|
34
34
|
__self: this,
|
|
35
35
|
__source: {
|
|
36
36
|
fileName: _jsxFileName,
|
|
37
|
-
lineNumber:
|
|
37
|
+
lineNumber: 34,
|
|
38
38
|
columnNumber: 14
|
|
39
39
|
}
|
|
40
40
|
}),
|
|
41
41
|
__self: this,
|
|
42
42
|
__source: {
|
|
43
43
|
fileName: _jsxFileName,
|
|
44
|
-
lineNumber:
|
|
44
|
+
lineNumber: 28,
|
|
45
45
|
columnNumber: 5
|
|
46
46
|
}
|
|
47
47
|
}));
|
|
@@ -53,7 +53,7 @@ function ResetFiltersButton(props) {
|
|
|
53
53
|
__self: this,
|
|
54
54
|
__source: {
|
|
55
55
|
fileName: _jsxFileName,
|
|
56
|
-
lineNumber:
|
|
56
|
+
lineNumber: 45,
|
|
57
57
|
columnNumber: 19
|
|
58
58
|
}
|
|
59
59
|
}),
|
|
@@ -67,7 +67,7 @@ function ResetFiltersButton(props) {
|
|
|
67
67
|
__self: this,
|
|
68
68
|
__source: {
|
|
69
69
|
fileName: _jsxFileName,
|
|
70
|
-
lineNumber:
|
|
70
|
+
lineNumber: 43,
|
|
71
71
|
columnNumber: 5
|
|
72
72
|
}
|
|
73
73
|
}));
|
|
@@ -90,7 +90,7 @@ const getNoResultsStateTexts = (state, t) => {
|
|
|
90
90
|
__self: void 0,
|
|
91
91
|
__source: {
|
|
92
92
|
fileName: _jsxFileName,
|
|
93
|
-
lineNumber:
|
|
93
|
+
lineNumber: 73,
|
|
94
94
|
columnNumber: 9
|
|
95
95
|
}
|
|
96
96
|
}, t('cairo.emptyState.reset.button'))
|
|
@@ -105,7 +105,7 @@ const getNoResultsStateTexts = (state, t) => {
|
|
|
105
105
|
__self: void 0,
|
|
106
106
|
__source: {
|
|
107
107
|
fileName: _jsxFileName,
|
|
108
|
-
lineNumber:
|
|
108
|
+
lineNumber: 85,
|
|
109
109
|
columnNumber: 9
|
|
110
110
|
}
|
|
111
111
|
}, t('cairo.emptyState.filters.nothingFound.clearFilters.CTA'))
|
|
@@ -121,7 +121,7 @@ const getNoResultsStateTexts = (state, t) => {
|
|
|
121
121
|
__self: void 0,
|
|
122
122
|
__source: {
|
|
123
123
|
fileName: _jsxFileName,
|
|
124
|
-
lineNumber:
|
|
124
|
+
lineNumber: 98,
|
|
125
125
|
columnNumber: 7
|
|
126
126
|
}
|
|
127
127
|
}, t('cairo.emptyState.reset.button'))
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireDefault","require","_mobxReactLite","_MultiCollectionSupportProvider","_designSystem","_wixUiIconsCommon","_react2","_EmptyStateBase","_MagnifyingGlassArt","_jsxFileName","_CollectionNoResultsState","props","state","useMultiCollectionSupportContext","translate","t","useWixPatternsContainer","title","subtitle","cta","getNoResultsStateTexts","default","createElement","EmptyStateBase","_extends2","dataHook","image","MagnifyingGlassArt","__self","__source","fileName","lineNumber","columnNumber","ResetFiltersButton","useCollectionContext","TextButton","prefixIcon","Revert","onClick","emitter","emit","origin","resetFiltersAndRefresh","hasAvailableItems","hasNonPersistentCustomFilters","resultOriginQuerySearch","search","resultOriginQueryRawSearch","rawSearch","term","CollectionNoResultsState","exports","observer"],"sources":["../../../../src/components/EmptyState/CollectionNoResultsState.tsx"],"sourcesContent":["import React, { ReactNode } from 'react';\nimport { observer } from 'mobx-react-lite';\nimport { useMultiCollectionSupportContext } from '../MultiCollectionSupportProvider';\nimport { TextButton, TextButtonProps } from '@wix/design-system';\nimport { Revert } from '@wix/wix-ui-icons-common';\nimport {\n useWixPatternsContainer,\n useCollectionContext,\n} from '@wix/bex-core/react';\n// import { EmptyStateBasePrivateProps } from '../components/EmptyState/EmptyStateBase';\nimport { FiltersMap, MultiCollectionSupport, Translate } from '@wix/bex-core';\nimport { EmptyStateBase, EmptyStateBaseProps } from './EmptyStateBase';\nimport { MagnifyingGlassArt } from '../MagnifyingGlassArt';\n\
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireDefault","require","_mobxReactLite","_MultiCollectionSupportProvider","_designSystem","_wixUiIconsCommon","_react2","_EmptyStateBase","_MagnifyingGlassArt","_jsxFileName","_CollectionNoResultsState","props","state","useMultiCollectionSupportContext","translate","t","useWixPatternsContainer","title","subtitle","cta","getNoResultsStateTexts","default","createElement","EmptyStateBase","_extends2","dataHook","image","MagnifyingGlassArt","__self","__source","fileName","lineNumber","columnNumber","ResetFiltersButton","useCollectionContext","TextButton","prefixIcon","Revert","onClick","emitter","emit","origin","resetFiltersAndRefresh","hasAvailableItems","hasNonPersistentCustomFilters","resultOriginQuerySearch","search","resultOriginQueryRawSearch","rawSearch","term","CollectionNoResultsState","exports","observer"],"sources":["../../../../src/components/EmptyState/CollectionNoResultsState.tsx"],"sourcesContent":["import React, { ReactNode } from 'react';\nimport { observer } from 'mobx-react-lite';\nimport { useMultiCollectionSupportContext } from '../MultiCollectionSupportProvider';\nimport { TextButton, TextButtonProps } from '@wix/design-system';\nimport { Revert } from '@wix/wix-ui-icons-common';\nimport {\n useWixPatternsContainer,\n useCollectionContext,\n} from '@wix/bex-core/react';\n// import { EmptyStateBasePrivateProps } from '../components/EmptyState/EmptyStateBase';\nimport { FiltersMap, MultiCollectionSupport, Translate } from '@wix/bex-core';\nimport { EmptyStateBase, EmptyStateBaseProps } from './EmptyStateBase';\nimport { MagnifyingGlassArt } from '../MagnifyingGlassArt';\n\nexport interface CollectionNoResultsStateProps\n extends Omit<Partial<EmptyStateBaseProps>, 'cta' | 'image' | 'customCta'> {\n children?: ReactNode;\n}\n\nfunction _CollectionNoResultsState(\n props: Omit<CollectionNoResultsStateProps, 'image'>,\n) {\n const state = useMultiCollectionSupportContext();\n const { translate: t } = useWixPatternsContainer();\n const { title, subtitle, cta } = getNoResultsStateTexts(state, t);\n\n return (\n <EmptyStateBase\n dataHook=\"collection-empty-state\"\n title={title}\n subtitle={subtitle}\n {...props}\n cta={cta}\n image={<MagnifyingGlassArt data-hook=\"empty-state-glass-illustration\" />}\n />\n );\n}\n\nfunction ResetFiltersButton(props: TextButtonProps) {\n const state = useCollectionContext();\n\n return (\n <TextButton\n {...props}\n prefixIcon={<Revert />}\n dataHook=\"empty-state-clear-filters-button\"\n onClick={() => {\n state.emitter.emit('beforeClearFilters', { origin: 'empty-state' });\n state.resetFiltersAndRefresh();\n }}\n />\n );\n}\n\nconst getNoResultsStateTexts = (\n state: MultiCollectionSupport<FiltersMap>,\n t: Translate,\n) => {\n const {\n hasAvailableItems,\n hasNonPersistentCustomFilters,\n resultOriginQuerySearch: search,\n resultOriginQueryRawSearch: rawSearch,\n } = state;\n // has search no filter\n if (hasAvailableItems && search && !hasNonPersistentCustomFilters) {\n return {\n title: t('cairo.search.nothingMatches.title', {\n term: rawSearch,\n }),\n subtitle: t('cairo.search.nothingMatches.text'),\n cta: (\n <ResetFiltersButton>\n {t('cairo.emptyState.reset.button')}\n </ResetFiltersButton>\n ),\n };\n }\n // has filter no search\n if (hasAvailableItems && !search && hasNonPersistentCustomFilters) {\n return {\n title: t('cairo.search.noresults.title'),\n subtitle: t('cairo.emptyState.subtitle.noFilterResults'),\n cta: (\n <ResetFiltersButton>\n {t('cairo.emptyState.filters.nothingFound.clearFilters.CTA')}\n </ResetFiltersButton>\n ),\n };\n }\n // has filter and search\n return {\n title: t('cairo.search.nothingMatches.title', {\n term: rawSearch,\n }),\n subtitle: t('cairo.search.filter.nothingMatches.text'),\n cta: (\n <ResetFiltersButton>\n {t('cairo.emptyState.reset.button')}\n </ResetFiltersButton>\n ),\n };\n};\n\nexport const CollectionNoResultsState = observer(_CollectionNoResultsState);\n"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,cAAA,GAAAD,OAAA;AACA,IAAAE,+BAAA,GAAAF,OAAA;AACA,IAAAG,aAAA,GAAAH,OAAA;AACA,IAAAI,iBAAA,GAAAJ,OAAA;AACA,IAAAK,OAAA,GAAAL,OAAA;AAMA,IAAAM,eAAA,GAAAN,OAAA;AACA,IAAAO,mBAAA,GAAAP,OAAA;AAA2D,IAAAQ,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,YAAA;UAAAsB,UAAA;UAAAC,YAAA;QAAA;MAAA,GAChBjB,CAAC,CAAC,wDAAwD,CACzC;IAExB,CAAC;EACH;EACA;EACA,OAAO;IACLE,KAAK,EAAEF,CAAC,CAAC,mCAAmC,EAAE;MAC5CkC,IAAI,EAAED;IACR,CAAC,CAAC;IACF9B,QAAQ,EAAEH,CAAC,CAAC,yCAAyC,CAAC;IACtDI,GAAG,eACDpB,MAAA,CAAAsB,OAAA,CAAAC,aAAA,CAACW,kBAAkB;MAAAL,MAAA;MAAAC,QAAA;QAAAC,QAAA,EAAArB,YAAA;QAAAsB,UAAA;QAAAC,YAAA;MAAA;IAAA,GAChBjB,CAAC,CAAC,+BAA+B,CAChB;EAExB,CAAC;AACH,CAAC;AAEM,MAAMmC,wBAAwB,GAAAC,OAAA,CAAAD,wBAAA,GAAG,IAAAE,uBAAQ,EAAC1C,yBAAyB,CAAC","ignoreList":[]}
|
|
@@ -28,7 +28,7 @@ function _CollectionPremiumEmptyState(props) {
|
|
|
28
28
|
__self: this,
|
|
29
29
|
__source: {
|
|
30
30
|
fileName: _jsxFileName,
|
|
31
|
-
lineNumber:
|
|
31
|
+
lineNumber: 30,
|
|
32
32
|
columnNumber: 9
|
|
33
33
|
}
|
|
34
34
|
})
|
|
@@ -37,14 +37,14 @@ function _CollectionPremiumEmptyState(props) {
|
|
|
37
37
|
__self: this,
|
|
38
38
|
__source: {
|
|
39
39
|
fileName: _jsxFileName,
|
|
40
|
-
lineNumber:
|
|
40
|
+
lineNumber: 33,
|
|
41
41
|
columnNumber: 12
|
|
42
42
|
}
|
|
43
43
|
})),
|
|
44
44
|
__self: this,
|
|
45
45
|
__source: {
|
|
46
46
|
fileName: _jsxFileName,
|
|
47
|
-
lineNumber:
|
|
47
|
+
lineNumber: 25,
|
|
48
48
|
columnNumber: 5
|
|
49
49
|
}
|
|
50
50
|
}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireDefault","require","_mobxReactLite","_EmptyStateBase","_CollectionPremiumEmptyStateIllustration","_react2","_PremiumButton","_jsxFileName","_CollectionPremiumEmptyState","props","translate","t","useWixPatternsContainer","upgradeCta","rest","default","createElement","EmptyStateBase","_extends2","dataHook","title","subtitle","image","CollectionPremiumEmptyStateIllustration","__self","__source","fileName","lineNumber","columnNumber","cta","PremiumButton","CollectionPremiumEmptyState","exports","observer"],"sources":["../../../../src/components/EmptyState/CollectionPremiumEmptyState.tsx"],"sourcesContent":["import React from 'react';\nimport { observer } from 'mobx-react-lite';\nimport { EmptyStateBase, EmptyStateBaseProps } from './EmptyStateBase';\nimport { CollectionPremiumEmptyStateIllustration } from '../Illustration/CollectionPremiumEmptyStateIllustration';\nimport { useWixPatternsContainer } from '@wix/bex-core/react';\nimport { PremiumButton, PremiumButtonProps } from './PremiumButton';\n\nexport interface CollectionPremiumEmptyStateProps\n extends Omit<Partial<EmptyStateBaseProps>, 'cta'> {\n /**\n *
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireDefault","require","_mobxReactLite","_EmptyStateBase","_CollectionPremiumEmptyStateIllustration","_react2","_PremiumButton","_jsxFileName","_CollectionPremiumEmptyState","props","translate","t","useWixPatternsContainer","upgradeCta","rest","default","createElement","EmptyStateBase","_extends2","dataHook","title","subtitle","image","CollectionPremiumEmptyStateIllustration","__self","__source","fileName","lineNumber","columnNumber","cta","PremiumButton","CollectionPremiumEmptyState","exports","observer"],"sources":["../../../../src/components/EmptyState/CollectionPremiumEmptyState.tsx"],"sourcesContent":["import React from 'react';\nimport { observer } from 'mobx-react-lite';\nimport { EmptyStateBase, EmptyStateBaseProps } from './EmptyStateBase';\nimport { CollectionPremiumEmptyStateIllustration } from '../Illustration/CollectionPremiumEmptyStateIllustration';\nimport { useWixPatternsContainer } from '@wix/bex-core/react';\nimport { PremiumButton, PremiumButtonProps } from './PremiumButton';\n\nexport interface CollectionPremiumEmptyStateProps\n extends Omit<Partial<EmptyStateBaseProps>, 'cta'> {\n /**\n * Configures the default call to action button.\\\n * `onClick`: Adds a callback for when the button is clicked. <br>\n * `text`: Text of the button.\n * To render the default upgrade button, you must provide the `onClick` callback.\n * @external\n */\n upgradeCta: PremiumButtonProps;\n}\n\nfunction _CollectionPremiumEmptyState(props: CollectionPremiumEmptyStateProps) {\n const { translate: t } = useWixPatternsContainer();\n const { upgradeCta, ...rest } = props;\n\n return (\n <EmptyStateBase\n dataHook=\"premium-empty-state\"\n title={t('cairo.emptyState.premium.title')}\n subtitle={t('cairo.emptyState.premium.text')}\n image={\n <CollectionPremiumEmptyStateIllustration data-hook=\"empty-state-premium-illustration\" />\n }\n {...rest}\n cta={<PremiumButton {...upgradeCta} />}\n />\n );\n}\n\nexport const CollectionPremiumEmptyState = observer(\n _CollectionPremiumEmptyState,\n);\n"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,cAAA,GAAAD,OAAA;AACA,IAAAE,eAAA,GAAAF,OAAA;AACA,IAAAG,wCAAA,GAAAH,OAAA;AACA,IAAAI,OAAA,GAAAJ,OAAA;AACA,IAAAK,cAAA,GAAAL,OAAA;AAAoE,IAAAM,YAAA;AAcpE,SAASC,4BAA4BA,CAACC,KAAuC,EAAE;EAC7E,MAAM;IAAEC,SAAS,EAAEC;EAAE,CAAC,GAAG,IAAAC,+BAAuB,EAAC,CAAC;EAClD,MAAM;IAAEC,UAAU;IAAE,GAAGC;EAAK,CAAC,GAAGL,KAAK;EAErC,oBACEV,MAAA,CAAAgB,OAAA,CAAAC,aAAA,CAACb,eAAA,CAAAc,cAAc,MAAAC,SAAA,CAAAH,OAAA;IACbI,QAAQ,EAAC,qBAAqB;IAC9BC,KAAK,EAAET,CAAC,CAAC,gCAAgC,CAAE;IAC3CU,QAAQ,EAAEV,CAAC,CAAC,+BAA+B,CAAE;IAC7CW,KAAK,eACHvB,MAAA,CAAAgB,OAAA,CAAAC,aAAA,CAACZ,wCAAA,CAAAmB,uCAAuC;MAAC,aAAU,kCAAkC;MAAAC,MAAA;MAAAC,QAAA;QAAAC,QAAA,EAAAnB,YAAA;QAAAoB,UAAA;QAAAC,YAAA;MAAA;IAAA,CAAE;EACxF,GACGd,IAAI;IACRe,GAAG,eAAE9B,MAAA,CAAAgB,OAAA,CAAAC,aAAA,CAACV,cAAA,CAAAwB,aAAa,MAAAZ,SAAA,CAAAH,OAAA,MAAKF,UAAU;MAAAW,MAAA;MAAAC,QAAA;QAAAC,QAAA,EAAAnB,YAAA;QAAAoB,UAAA;QAAAC,YAAA;MAAA;IAAA,EAAG,CAAE;IAAAJ,MAAA;IAAAC,QAAA;MAAAC,QAAA,EAAAnB,YAAA;MAAAoB,UAAA;MAAAC,YAAA;IAAA;EAAA,EACxC,CAAC;AAEN;AAEO,MAAMG,2BAA2B,GAAAC,OAAA,CAAAD,2BAAA,GAAG,IAAAE,uBAAQ,EACjDzB,4BACF,CAAC","ignoreList":[]}
|
|
@@ -22,10 +22,11 @@ function _EmptyStateBase(props) {
|
|
|
22
22
|
if (cta || customCta) {
|
|
23
23
|
child = /*#__PURE__*/_react.default.createElement(_designSystem.Box, {
|
|
24
24
|
gap: "SP5",
|
|
25
|
+
verticalAlign: "middle",
|
|
25
26
|
__self: this,
|
|
26
27
|
__source: {
|
|
27
28
|
fileName: _jsxFileName,
|
|
28
|
-
lineNumber:
|
|
29
|
+
lineNumber: 49,
|
|
29
30
|
columnNumber: 7
|
|
30
31
|
}
|
|
31
32
|
}, customCta, cta);
|
|
@@ -44,7 +45,7 @@ function _EmptyStateBase(props) {
|
|
|
44
45
|
__self: this,
|
|
45
46
|
__source: {
|
|
46
47
|
fileName: _jsxFileName,
|
|
47
|
-
lineNumber:
|
|
48
|
+
lineNumber: 70,
|
|
48
49
|
columnNumber: 22
|
|
49
50
|
}
|
|
50
51
|
}, image) : undefined
|
|
@@ -52,7 +53,7 @@ function _EmptyStateBase(props) {
|
|
|
52
53
|
__self: this,
|
|
53
54
|
__source: {
|
|
54
55
|
fileName: _jsxFileName,
|
|
55
|
-
lineNumber:
|
|
56
|
+
lineNumber: 66,
|
|
56
57
|
columnNumber: 5
|
|
57
58
|
}
|
|
58
59
|
}), child);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireDefault","require","_designSystem","_mobxReactLite","_jsxFileName","_EmptyStateBase","props","children","customCta","title","subtitle","cta","image","rest","child","default","createElement","Box","gap","__self","__source","fileName","lineNumber","columnNumber","Fragment","EmptyState","_extends2","theme","style","display","undefined","EmptyStateBase","exports","observer"],"sources":["../../../../src/components/EmptyState/EmptyStateBase.tsx"],"sourcesContent":["import React, { ReactNode } from 'react';\nimport { Box, EmptyState, EmptyStateProps } from '@wix/design-system';\nimport { observer } from 'mobx-react-lite';\n\nexport interface EmptyStateBaseProps\n extends EmptyStateBasePrivateProps,\n Omit<Partial<EmptyStateProps>, 'title' | 'subtitle' | 'image'> {\n /**\n * Overrides the default title.\n * @external\n */\n title: string;\n /**\n * Overrides the default subtitle.\n * @external\n */\n subtitle: string;\n /**\n * Overrides the default
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireDefault","require","_designSystem","_mobxReactLite","_jsxFileName","_EmptyStateBase","props","children","customCta","title","subtitle","cta","image","rest","child","default","createElement","Box","gap","verticalAlign","__self","__source","fileName","lineNumber","columnNumber","Fragment","EmptyState","_extends2","theme","style","display","undefined","EmptyStateBase","exports","observer"],"sources":["../../../../src/components/EmptyState/EmptyStateBase.tsx"],"sourcesContent":["import React, { ReactNode } from 'react';\nimport { Box, EmptyState, EmptyStateProps } from '@wix/design-system';\nimport { observer } from 'mobx-react-lite';\n\nexport interface EmptyStateBaseProps\n extends EmptyStateBasePrivateProps,\n Omit<Partial<EmptyStateProps>, 'title' | 'subtitle' | 'image'> {\n /**\n * Overrides the default title.\n * @external\n */\n title: string;\n /**\n * Overrides the default subtitle.\n * @external\n */\n subtitle: string;\n /**\n * Overrides the default image.\n * Accepts a custom `ReactElement` or boolean value.\n * Pass `false` to hide the default image.\n * @external\n */\n image?: boolean | ReactNode;\n children?: ReactNode;\n cta?: ReactNode;\n /**\n * Adds another custom call to action button.\n * Pass a [TextButton](https://www.docs.wixdesignsystem.com/?path=/story/components-actions--textbutton) component.\n * @external\n */\n customCta?: ReactNode;\n}\n\nexport interface EmptyStateBasePrivateProps {\n title: string;\n subtitle: string;\n cta?: ReactNode;\n image?: string | ReactNode;\n}\n\nfunction _EmptyStateBase(props: EmptyStateBaseProps) {\n const { children, customCta, title, subtitle, cta, image, ...rest } = props;\n\n let child;\n\n if (cta || customCta) {\n child = (\n <Box gap=\"SP5\" verticalAlign=\"middle\">\n {customCta}\n {cta}\n </Box>\n );\n }\n\n if (children) {\n child = (\n <>\n {child}\n {children}\n </>\n );\n }\n\n return (\n <EmptyState\n title={title}\n subtitle={subtitle}\n theme=\"page-no-border\"\n image={image ? <div style={{ display: 'flex' }}>{image}</div> : undefined}\n {...rest}\n >\n {child}\n </EmptyState>\n );\n}\n\nexport const EmptyStateBase = observer(_EmptyStateBase);\n"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,aAAA,GAAAD,OAAA;AACA,IAAAE,cAAA,GAAAF,OAAA;AAA2C,IAAAG,YAAA;AAuC3C,SAASC,eAAeA,CAACC,KAA0B,EAAE;EACnD,MAAM;IAAEC,QAAQ;IAAEC,SAAS;IAAEC,KAAK;IAAEC,QAAQ;IAAEC,GAAG;IAAEC,KAAK;IAAE,GAAGC;EAAK,CAAC,GAAGP,KAAK;EAE3E,IAAIQ,KAAK;EAET,IAAIH,GAAG,IAAIH,SAAS,EAAE;IACpBM,KAAK,gBACHf,MAAA,CAAAgB,OAAA,CAAAC,aAAA,CAACd,aAAA,CAAAe,GAAG;MAACC,GAAG,EAAC,KAAK;MAACC,aAAa,EAAC,QAAQ;MAAAC,MAAA;MAAAC,QAAA;QAAAC,QAAA,EAAAlB,YAAA;QAAAmB,UAAA;QAAAC,YAAA;MAAA;IAAA,GAClChB,SAAS,EACTG,GACE,CACN;EACH;EAEA,IAAIJ,QAAQ,EAAE;IACZO,KAAK,gBACHf,MAAA,CAAAgB,OAAA,CAAAC,aAAA,CAAAjB,MAAA,CAAAgB,OAAA,CAAAU,QAAA,QACGX,KAAK,EACLP,QACD,CACH;EACH;EAEA,oBACER,MAAA,CAAAgB,OAAA,CAAAC,aAAA,CAACd,aAAA,CAAAwB,UAAU,MAAAC,SAAA,CAAAZ,OAAA;IACTN,KAAK,EAAEA,KAAM;IACbC,QAAQ,EAAEA,QAAS;IACnBkB,KAAK,EAAC,gBAAgB;IACtBhB,KAAK,EAAEA,KAAK,gBAAGb,MAAA,CAAAgB,OAAA,CAAAC,aAAA;MAAKa,KAAK,EAAE;QAAEC,OAAO,EAAE;MAAO,CAAE;MAAAV,MAAA;MAAAC,QAAA;QAAAC,QAAA,EAAAlB,YAAA;QAAAmB,UAAA;QAAAC,YAAA;MAAA;IAAA,GAAEZ,KAAW,CAAC,GAAGmB;EAAU,GACtElB,IAAI;IAAAO,MAAA;IAAAC,QAAA;MAAAC,QAAA,EAAAlB,YAAA;MAAAmB,UAAA;MAAAC,YAAA;IAAA;EAAA,IAEPV,KACS,CAAC;AAEjB;AAEO,MAAMkB,cAAc,GAAAC,OAAA,CAAAD,cAAA,GAAG,IAAAE,uBAAQ,EAAC7B,eAAe,CAAC","ignoreList":[]}
|
|
@@ -5,14 +5,14 @@ exports.vars = exports.style = exports.stVars = exports.st = exports.namespace =
|
|
|
5
5
|
var _stylableEsmRuntime = require("../../stylable-esm-runtime.js");
|
|
6
6
|
// @ts-nocheck
|
|
7
7
|
|
|
8
|
-
var _namespace_ = "
|
|
8
|
+
var _namespace_ = "Fade1021616923";
|
|
9
9
|
var _style_ = _stylableEsmRuntime.classesRuntime.bind(null, _namespace_);
|
|
10
10
|
var cssStates = exports.cssStates = _stylableEsmRuntime.statesRuntime.bind(null, _namespace_);
|
|
11
11
|
var style = exports.style = _style_;
|
|
12
12
|
var st = exports.st = _style_;
|
|
13
13
|
var namespace = exports.namespace = _namespace_;
|
|
14
14
|
var classes = exports.classes = {
|
|
15
|
-
"root": "
|
|
15
|
+
"root": "Fade1021616923__root"
|
|
16
16
|
};
|
|
17
17
|
var keyframes = exports.keyframes = {};
|
|
18
18
|
var layers = exports.layers = {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_stylableEsmRuntime","require","_namespace_","_style_","classesRuntime","bind","cssStates","exports","statesRuntime","style","st","namespace","classes","keyframes","layers","containers","stVars","vars"],"sources":["../../../../src/components/Fade/Fade.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/Fade/Fade.st.css.ts"],"sourcesContent":["// @ts-nocheck\n\n\nimport { classesRuntime, statesRuntime } from \"../../stylable-esm-runtime.js\";\n\n\n\nvar _namespace_ = \"Fade1021616923\";\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\":\"Fade1021616923__root\"};\nexport var keyframes = {}; \nexport var layers = {};\nexport var containers = {};\nexport var stVars = {}; \nexport var vars = {}; \n\n\n\n\n"],"mappings":";;;;AAGA,IAAAA,mBAAA,GAAAC,OAAA;AAHA;;AAOA,IAAIC,WAAW,GAAG,gBAAgB;AAClC,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;AAAsB,CAAC;AAC7C,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":[]}
|