@wix/patterns 1.358.0 → 1.360.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/CardContainer/CardContainer.st.css.js +2 -2
- package/dist/cjs/components/CardContainer/CardContainer.st.css.js.map +1 -1
- package/dist/cjs/components/Collapse/Collapse.st.css.js +3 -3
- package/dist/cjs/components/Collapse/Collapse.st.css.js.map +1 -1
- package/dist/cjs/components/CollectionPageNew/CollectionPage.st.css.js +2 -2
- package/dist/cjs/components/CollectionPageNew/CollectionPage.st.css.js.map +1 -1
- package/dist/cjs/components/CollectionSectionHeader/CollectionSectionHeader.st.css.js +3 -3
- package/dist/cjs/components/CollectionSectionHeader/CollectionSectionHeader.st.css.js.map +1 -1
- package/dist/cjs/components/CollectionTable/CollectionTable.js +12 -11
- package/dist/cjs/components/CollectionTable/CollectionTable.js.map +1 -1
- package/dist/cjs/components/CollectionTable/CollectionTable.st.css.js +2 -2
- package/dist/cjs/components/CollectionTable/CollectionTable.st.css.js.map +1 -1
- package/dist/cjs/components/CollectionTable/CollectionTable.uni.driver.js +8 -0
- package/dist/cjs/components/CollectionTable/CollectionTable.uni.driver.js.map +1 -1
- package/dist/cjs/components/CollectionTable/CollectionTableWSRTable.js +10 -8
- package/dist/cjs/components/CollectionTable/CollectionTableWSRTable.js.map +1 -1
- package/dist/cjs/components/CollectionToolbar/CollectionToolbar.js +24 -22
- package/dist/cjs/components/CollectionToolbar/CollectionToolbar.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/CollectionToolbarActionsGroupProps.js.map +1 -1
- package/dist/cjs/components/CollectionToolbar/CollectionToolbarActionsGroupResponsiveLayout.js +13 -10
- package/dist/cjs/components/CollectionToolbar/CollectionToolbarActionsGroupResponsiveLayout.js.map +1 -1
- package/dist/cjs/components/CollectionToolbar/CollectionToolbarActionsToolbarItemsGroup.js +21 -11
- package/dist/cjs/components/CollectionToolbar/CollectionToolbarActionsToolbarItemsGroup.js.map +1 -1
- package/dist/cjs/components/CollectionToolbar/SearchOrCustomFilter.st.css.js +4 -4
- package/dist/cjs/components/CollectionToolbar/SearchOrCustomFilter.st.css.js.map +1 -1
- package/dist/cjs/components/CollectionToolbar/useIsCollectionToolbarExists.js +2 -1
- package/dist/cjs/components/CollectionToolbar/useIsCollectionToolbarExists.js.map +1 -1
- package/dist/cjs/components/CollectionToolbars/CollectionToolbars.js +13 -13
- 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.uni.driver.js +85 -11
- package/dist/cjs/components/CollectionViewsDropdown/CollectionViewsDropdown.uni.driver.js.map +1 -1
- package/dist/cjs/components/CollectionViewsDropdown/ManageViewPopover.js +102 -75
- package/dist/cjs/components/CollectionViewsDropdown/ManageViewPopover.js.map +1 -1
- package/dist/cjs/components/CollectionViewsDropdown/ManageViewPopover.uni.driver.js +23 -9
- package/dist/cjs/components/CollectionViewsDropdown/ManageViewPopover.uni.driver.js.map +1 -1
- package/dist/cjs/components/CollectionViewsDropdown/SaveToNewViewFooter.js +63 -0
- package/dist/cjs/components/CollectionViewsDropdown/SaveToNewViewFooter.js.map +1 -0
- package/dist/cjs/components/CollectionViewsDropdown/SaveToNewViewFooter.uni.driver.js +20 -0
- package/dist/cjs/components/CollectionViewsDropdown/SaveToNewViewFooter.uni.driver.js.map +1 -0
- package/dist/cjs/components/CollectionViewsDropdown/ViewsDropdown.js +64 -30
- 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/ViewsDropdownPrefix.js +15 -9
- package/dist/cjs/components/CollectionViewsDropdown/ViewsDropdownPrefix.js.map +1 -1
- package/dist/cjs/components/CollectionViewsDropdown/viewsDropdownRenderHelpers.js +20 -12
- package/dist/cjs/components/CollectionViewsDropdown/viewsDropdownRenderHelpers.js.map +1 -1
- package/dist/cjs/components/CustomDrawerLayout.js +13 -11
- package/dist/cjs/components/CustomDrawerLayout.js.map +1 -1
- package/dist/cjs/components/DragHandle/DragHandle.st.css.js +2 -2
- package/dist/cjs/components/DragHandle/DragHandle.st.css.js.map +1 -1
- package/dist/cjs/components/EntityPage/EntityPagePlain.st.css.js +2 -2
- package/dist/cjs/components/EntityPage/EntityPagePlain.st.css.js.map +1 -1
- package/dist/cjs/components/Fade/Fade.st.css.js +2 -2
- package/dist/cjs/components/Fade/Fade.st.css.js.map +1 -1
- package/dist/cjs/components/Grid/Grid.js +8 -7
- package/dist/cjs/components/Grid/Grid.js.map +1 -1
- package/dist/cjs/components/Heading/Heading.st.css.js +2 -2
- package/dist/cjs/components/Heading/Heading.st.css.js.map +1 -1
- package/dist/cjs/components/ImportButton/ImportButton.js +137 -0
- package/dist/cjs/components/ImportButton/ImportButton.js.map +1 -0
- package/dist/cjs/components/ImportButton/ImportButton.uni.driver.js +21 -0
- package/dist/cjs/components/ImportButton/ImportButton.uni.driver.js.map +1 -0
- package/dist/cjs/components/ImportButton/ImportButtonModalLayout.js +100 -0
- package/dist/cjs/components/ImportButton/ImportButtonModalLayout.js.map +1 -0
- package/dist/cjs/components/ImportButton/ImportModal.js +55 -0
- package/dist/cjs/components/ImportButton/ImportModal.js.map +1 -0
- package/dist/cjs/components/ImportButton/ImportModal.uni.driver.js +65 -0
- package/dist/cjs/components/ImportButton/ImportModal.uni.driver.js.map +1 -0
- package/dist/cjs/components/ImportButton/ImportProps.js +4 -0
- package/dist/cjs/components/ImportButton/ImportProps.js.map +1 -0
- package/dist/cjs/components/ImportButton/ImportStepConfiguration.js +220 -0
- package/dist/cjs/components/ImportButton/ImportStepConfiguration.js.map +1 -0
- package/dist/cjs/components/ImportButton/ImportStepError.js +39 -0
- package/dist/cjs/components/ImportButton/ImportStepError.js.map +1 -0
- package/dist/cjs/components/ImportButton/ImportStepProgress.js +86 -0
- package/dist/cjs/components/ImportButton/ImportStepProgress.js.map +1 -0
- package/dist/cjs/components/ImportButton/ImportStepUpload.js +76 -0
- package/dist/cjs/components/ImportButton/ImportStepUpload.js.map +1 -0
- package/dist/cjs/components/ImportButton/ImportStepUpload.st.css +3 -0
- package/dist/cjs/components/ImportButton/ImportStepUpload.st.css.js +23 -0
- package/dist/cjs/components/ImportButton/ImportStepUpload.st.css.js.map +1 -0
- package/dist/cjs/components/ImportButton/ImportStepper.js +54 -0
- package/dist/cjs/components/ImportButton/ImportStepper.js.map +1 -0
- package/dist/cjs/components/ImportButton/getImportModalStepProps.js +124 -0
- package/dist/cjs/components/ImportButton/getImportModalStepProps.js.map +1 -0
- package/dist/cjs/components/ImportButton/index.js +26 -0
- package/dist/cjs/components/ImportButton/index.js.map +1 -0
- package/dist/cjs/components/InputOverflow/InputOverflow.st.css.js +2 -2
- package/dist/cjs/components/InputOverflow/InputOverflow.st.css.js.map +1 -1
- package/dist/cjs/components/LoadingRow/LoadingRow.st.css.js +3 -3
- package/dist/cjs/components/LoadingRow/LoadingRow.st.css.js.map +1 -1
- package/dist/cjs/components/MaxHeightText/MaxHeightText.st.css.js +2 -2
- package/dist/cjs/components/MaxHeightText/MaxHeightText.st.css.js.map +1 -1
- package/dist/cjs/components/MaxLines/MaxLines.st.css.js +2 -2
- package/dist/cjs/components/MaxLines/MaxLines.st.css.js.map +1 -1
- package/dist/cjs/components/MultiBulkActionToolbar/MultiBulkActionToolbar.st.css.js +5 -5
- package/dist/cjs/components/MultiBulkActionToolbar/MultiBulkActionToolbar.st.css.js.map +1 -1
- package/dist/cjs/components/NestedTable/NestedTablePlaceholderStatesRow.st.css.js +2 -2
- package/dist/cjs/components/NestedTable/NestedTablePlaceholderStatesRow.st.css.js.map +1 -1
- package/dist/cjs/components/NestedTable/NestedTableRow.st.css.js +5 -5
- package/dist/cjs/components/NestedTable/NestedTableRow.st.css.js.map +1 -1
- package/dist/cjs/components/NestedTableDragAndDrop/MultipleDragOverlayEffect.st.css.js +2 -2
- package/dist/cjs/components/NestedTableDragAndDrop/MultipleDragOverlayEffect.st.css.js.map +1 -1
- package/dist/cjs/components/NestedTableDragAndDrop/NestedTableDragAndDropRow.st.css.js +2 -2
- package/dist/cjs/components/NestedTableDragAndDrop/NestedTableDragAndDropRow.st.css.js.map +1 -1
- package/dist/cjs/components/PickerContent/PickerContent.st.css.js +2 -2
- package/dist/cjs/components/PickerContent/PickerContent.st.css.js.map +1 -1
- package/dist/cjs/components/PickerContent/PickerContentAdditionalStep.st.css.js +4 -4
- package/dist/cjs/components/PickerContent/PickerContentAdditionalStep.st.css.js.map +1 -1
- package/dist/cjs/components/PickerTableListItem/PickerTableListItem.st.css.js +2 -2
- package/dist/cjs/components/PickerTableListItem/PickerTableListItem.st.css.js.map +1 -1
- package/dist/cjs/components/ScrollableContent/ScrollableContent.st.css.js +2 -2
- package/dist/cjs/components/ScrollableContent/ScrollableContent.st.css.js.map +1 -1
- package/dist/cjs/components/SkeletonCard/SkeletonCard.st.css.js +3 -3
- package/dist/cjs/components/SkeletonCard/SkeletonCard.st.css.js.map +1 -1
- package/dist/cjs/components/SlidingModal/SlidingModal.st.css.js +2 -2
- package/dist/cjs/components/SlidingModal/SlidingModal.st.css.js.map +1 -1
- package/dist/cjs/components/TableFolders/TableFolders.js +6 -5
- package/dist/cjs/components/TableFolders/TableFolders.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 +5 -3
- package/dist/cjs/components/ToolbarCollection/ToolbarCollection.js.map +1 -1
- package/dist/cjs/components/ToolbarCollection/useToolbarCollectionSyncProps.js +9 -0
- package/dist/cjs/components/ToolbarCollection/useToolbarCollectionSyncProps.js.map +1 -1
- package/dist/cjs/components/ToolbarItem/ToolbarItem.st.css.js +2 -2
- package/dist/cjs/components/ToolbarItem/ToolbarItem.st.css.js.map +1 -1
- package/dist/cjs/components/ToolbarItemBox/ToolbarItemBox.st.css.js +2 -2
- package/dist/cjs/components/ToolbarItemBox/ToolbarItemBox.st.css.js.map +1 -1
- package/dist/cjs/components/common.st.css.js +4 -4
- package/dist/cjs/components/common.st.css.js.map +1 -1
- package/dist/cjs/index.js +12 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/model/view.js.map +1 -1
- package/dist/cjs/state/CollectionPage/CollectionPageHeader.st.css.js +2 -2
- package/dist/cjs/state/CollectionPage/CollectionPageHeader.st.css.js.map +1 -1
- package/dist/cjs/state/CollectionViewsStateBIReporter.js +20 -2
- package/dist/cjs/state/CollectionViewsStateBIReporter.js.map +1 -1
- package/dist/cjs/state/FormPage/FormPageHeader.st.css.js +2 -2
- package/dist/cjs/state/FormPage/FormPageHeader.st.css.js.map +1 -1
- package/dist/cjs/state/ToolbarCollectionState.js +4 -1
- package/dist/cjs/state/ToolbarCollectionState.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/CardContainer/CardContainer.st.css.js +2 -2
- package/dist/esm/components/Collapse/Collapse.st.css.js +2 -2
- package/dist/esm/components/CollectionPageNew/CollectionPage.st.css.js +2 -2
- package/dist/esm/components/CollectionSectionHeader/CollectionSectionHeader.st.css.js +2 -2
- package/dist/esm/components/CollectionTable/CollectionTable.js +2 -1
- package/dist/esm/components/CollectionTable/CollectionTable.js.map +1 -1
- package/dist/esm/components/CollectionTable/CollectionTable.st.css.js +2 -2
- package/dist/esm/components/CollectionTable/CollectionTable.st.css.js.map +1 -1
- package/dist/esm/components/CollectionTable/CollectionTable.uni.driver.js +8 -0
- package/dist/esm/components/CollectionTable/CollectionTable.uni.driver.js.map +1 -1
- package/dist/esm/components/CollectionTable/CollectionTableWSRTable.js +2 -2
- package/dist/esm/components/CollectionTable/CollectionTableWSRTable.js.map +1 -1
- package/dist/esm/components/CollectionToolbar/CollectionToolbar.js +2 -2
- package/dist/esm/components/CollectionToolbar/CollectionToolbar.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/CollectionToolbarActionsGroupResponsiveLayout.js +5 -1
- package/dist/esm/components/CollectionToolbar/CollectionToolbarActionsGroupResponsiveLayout.js.map +1 -1
- package/dist/esm/components/CollectionToolbar/CollectionToolbarActionsToolbarItemsGroup.js +4 -1
- package/dist/esm/components/CollectionToolbar/CollectionToolbarActionsToolbarItemsGroup.js.map +1 -1
- package/dist/esm/components/CollectionToolbar/SearchOrCustomFilter.st.css.js +2 -2
- package/dist/esm/components/CollectionToolbar/useIsCollectionToolbarExists.js +2 -1
- package/dist/esm/components/CollectionToolbar/useIsCollectionToolbarExists.js.map +1 -1
- package/dist/esm/components/CollectionToolbars/CollectionToolbars.js.map +1 -1
- package/dist/esm/components/CollectionViewsDropdown/AutoCompleteReadonly.st.css.js +2 -2
- package/dist/esm/components/CollectionViewsDropdown/CollectionViewsDropdown.uni.driver.js +79 -11
- package/dist/esm/components/CollectionViewsDropdown/CollectionViewsDropdown.uni.driver.js.map +1 -1
- package/dist/esm/components/CollectionViewsDropdown/ManageViewPopover.js +28 -43
- package/dist/esm/components/CollectionViewsDropdown/ManageViewPopover.js.map +1 -1
- package/dist/esm/components/CollectionViewsDropdown/ManageViewPopover.uni.driver.js +24 -9
- package/dist/esm/components/CollectionViewsDropdown/ManageViewPopover.uni.driver.js.map +1 -1
- package/dist/esm/components/CollectionViewsDropdown/SaveToNewViewFooter.js +17 -0
- package/dist/esm/components/CollectionViewsDropdown/SaveToNewViewFooter.js.map +1 -0
- package/dist/esm/components/CollectionViewsDropdown/SaveToNewViewFooter.uni.driver.js +15 -0
- package/dist/esm/components/CollectionViewsDropdown/SaveToNewViewFooter.uni.driver.js.map +1 -0
- package/dist/esm/components/CollectionViewsDropdown/ViewsDropdown.js +33 -10
- 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/ViewsDropdownPrefix.js +7 -2
- package/dist/esm/components/CollectionViewsDropdown/ViewsDropdownPrefix.js.map +1 -1
- package/dist/esm/components/CollectionViewsDropdown/viewsDropdownRenderHelpers.js +7 -4
- package/dist/esm/components/CollectionViewsDropdown/viewsDropdownRenderHelpers.js.map +1 -1
- package/dist/esm/components/CustomDrawerLayout.js +5 -5
- package/dist/esm/components/CustomDrawerLayout.js.map +1 -1
- package/dist/esm/components/DragHandle/DragHandle.st.css.js +2 -2
- package/dist/esm/components/EntityPage/EntityPagePlain.st.css.js +2 -2
- package/dist/esm/components/Fade/Fade.st.css.js +2 -2
- package/dist/esm/components/Grid/Grid.js +3 -2
- package/dist/esm/components/Grid/Grid.js.map +1 -1
- package/dist/esm/components/Heading/Heading.st.css.js +2 -2
- package/dist/esm/components/ImportButton/ImportButton.js +33 -0
- package/dist/esm/components/ImportButton/ImportButton.js.map +1 -0
- package/dist/esm/components/ImportButton/ImportButton.uni.driver.js +15 -0
- package/dist/esm/components/ImportButton/ImportButton.uni.driver.js.map +1 -0
- package/dist/esm/components/ImportButton/ImportButtonModalLayout.js +40 -0
- package/dist/esm/components/ImportButton/ImportButtonModalLayout.js.map +1 -0
- package/dist/esm/components/ImportButton/ImportModal.js +19 -0
- package/dist/esm/components/ImportButton/ImportModal.js.map +1 -0
- package/dist/esm/components/ImportButton/ImportModal.uni.driver.js +58 -0
- package/dist/esm/components/ImportButton/ImportModal.uni.driver.js.map +1 -0
- package/dist/esm/components/ImportButton/ImportProps.js +2 -0
- package/dist/esm/components/ImportButton/ImportProps.js.map +1 -0
- package/dist/esm/components/ImportButton/ImportStepConfiguration.js +56 -0
- package/dist/esm/components/ImportButton/ImportStepConfiguration.js.map +1 -0
- package/dist/esm/components/ImportButton/ImportStepError.js +13 -0
- package/dist/esm/components/ImportButton/ImportStepError.js.map +1 -0
- package/dist/esm/components/ImportButton/ImportStepProgress.js +28 -0
- package/dist/esm/components/ImportButton/ImportStepProgress.js.map +1 -0
- package/dist/esm/components/ImportButton/ImportStepUpload.js +18 -0
- package/dist/esm/components/ImportButton/ImportStepUpload.js.map +1 -0
- package/dist/esm/components/ImportButton/ImportStepUpload.st.css +3 -0
- package/dist/esm/components/ImportButton/ImportStepUpload.st.css.js +15 -0
- package/dist/esm/components/ImportButton/ImportStepUpload.st.css.js.map +1 -0
- package/dist/esm/components/ImportButton/ImportStepper.js +31 -0
- package/dist/esm/components/ImportButton/ImportStepper.js.map +1 -0
- package/dist/esm/components/ImportButton/getImportModalStepProps.js +53 -0
- package/dist/esm/components/ImportButton/getImportModalStepProps.js.map +1 -0
- package/dist/esm/components/ImportButton/index.js +3 -0
- package/dist/esm/components/ImportButton/index.js.map +1 -0
- package/dist/esm/components/InputOverflow/InputOverflow.st.css.js +2 -2
- package/dist/esm/components/InputOverflow/InputOverflow.st.css.js.map +1 -1
- package/dist/esm/components/LoadingRow/LoadingRow.st.css.js +3 -3
- package/dist/esm/components/LoadingRow/LoadingRow.st.css.js.map +1 -1
- package/dist/esm/components/MaxHeightText/MaxHeightText.st.css.js +2 -2
- package/dist/esm/components/MaxLines/MaxLines.st.css.js +2 -2
- package/dist/esm/components/MultiBulkActionToolbar/MultiBulkActionToolbar.st.css.js +2 -2
- package/dist/esm/components/NestedTable/NestedTablePlaceholderStatesRow.st.css.js +2 -2
- package/dist/esm/components/NestedTable/NestedTableRow.st.css.js +2 -2
- package/dist/esm/components/NestedTableDragAndDrop/MultipleDragOverlayEffect.st.css.js +2 -2
- package/dist/esm/components/NestedTableDragAndDrop/NestedTableDragAndDropRow.st.css.js +2 -2
- package/dist/esm/components/NestedTableDragAndDrop/NestedTableDragAndDropRow.st.css.js.map +1 -1
- package/dist/esm/components/PickerContent/PickerContent.st.css.js +2 -2
- package/dist/esm/components/PickerContent/PickerContent.st.css.js.map +1 -1
- package/dist/esm/components/PickerContent/PickerContentAdditionalStep.st.css.js +2 -2
- package/dist/esm/components/PickerTableListItem/PickerTableListItem.st.css.js +2 -2
- package/dist/esm/components/ScrollableContent/ScrollableContent.st.css.js +2 -2
- package/dist/esm/components/SkeletonCard/SkeletonCard.st.css.js +2 -2
- package/dist/esm/components/SkeletonCard/SkeletonCard.st.css.js.map +1 -1
- package/dist/esm/components/SlidingModal/SlidingModal.st.css.js +2 -2
- package/dist/esm/components/TableFolders/TableFolders.js +2 -1
- package/dist/esm/components/TableFolders/TableFolders.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/ToolbarCollection/ToolbarCollection.js +2 -2
- package/dist/esm/components/ToolbarCollection/ToolbarCollection.js.map +1 -1
- package/dist/esm/components/ToolbarCollection/useToolbarCollectionSyncProps.js +9 -1
- package/dist/esm/components/ToolbarCollection/useToolbarCollectionSyncProps.js.map +1 -1
- package/dist/esm/components/ToolbarItem/ToolbarItem.st.css.js +2 -2
- package/dist/esm/components/ToolbarItemBox/ToolbarItemBox.st.css.js +2 -2
- package/dist/esm/components/common.st.css.js +2 -2
- package/dist/esm/index.js +3 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/model/view.js.map +1 -1
- package/dist/esm/state/CollectionPage/CollectionPageHeader.st.css.js +2 -2
- package/dist/esm/state/CollectionPage/CollectionPageHeader.st.css.js.map +1 -1
- package/dist/esm/state/CollectionViewsStateBIReporter.js +19 -1
- package/dist/esm/state/CollectionViewsStateBIReporter.js.map +1 -1
- package/dist/esm/state/FormPage/FormPageHeader.st.css.js +2 -2
- package/dist/esm/state/FormPage/FormPageHeader.st.css.js.map +1 -1
- package/dist/esm/state/ToolbarCollectionState.js +2 -0
- package/dist/esm/state/ToolbarCollectionState.js.map +1 -1
- package/dist/esm/styles.global.css +1 -1
- package/dist/esm/version.js +1 -1
- package/dist/types/components/CollectionTable/CollectionTable.d.ts.map +1 -1
- package/dist/types/components/CollectionTable/CollectionTable.st.css.d.ts.map +1 -1
- package/dist/types/components/CollectionTable/CollectionTable.uni.driver.d.ts +384 -179
- package/dist/types/components/CollectionTable/CollectionTable.uni.driver.d.ts.map +1 -1
- package/dist/types/components/CollectionTable/CollectionTableWSRTable.d.ts.map +1 -1
- package/dist/types/components/CollectionToolbar/CollectionToolbar.d.ts +1 -0
- package/dist/types/components/CollectionToolbar/CollectionToolbar.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 +2 -2
- package/dist/types/components/CollectionToolbar/CollectionToolbarActionsGroupProps.d.ts +1 -0
- package/dist/types/components/CollectionToolbar/CollectionToolbarActionsGroupProps.d.ts.map +1 -1
- package/dist/types/components/CollectionToolbar/CollectionToolbarActionsGroupResponsiveLayout.d.ts.map +1 -1
- package/dist/types/components/CollectionToolbar/CollectionToolbarActionsToolbarItemsGroup.d.ts.map +1 -1
- package/dist/types/components/CollectionToolbar/useIsCollectionToolbarExists.d.ts.map +1 -1
- package/dist/types/components/CollectionToolbars/CollectionToolbars.d.ts +1 -1
- package/dist/types/components/CollectionToolbars/CollectionToolbars.d.ts.map +1 -1
- package/dist/types/components/CollectionViewsDropdown/CollectionViewsDropdown.uni.driver.d.ts +9 -9
- package/dist/types/components/CollectionViewsDropdown/CollectionViewsDropdown.uni.driver.d.ts.map +1 -1
- package/dist/types/components/CollectionViewsDropdown/ManageViewPopover.d.ts +8 -5
- package/dist/types/components/CollectionViewsDropdown/ManageViewPopover.d.ts.map +1 -1
- package/dist/types/components/CollectionViewsDropdown/ManageViewPopover.uni.driver.d.ts +6 -6
- package/dist/types/components/CollectionViewsDropdown/ManageViewPopover.uni.driver.d.ts.map +1 -1
- package/dist/types/components/CollectionViewsDropdown/SaveToNewViewFooter.d.ts +12 -0
- package/dist/types/components/CollectionViewsDropdown/SaveToNewViewFooter.d.ts.map +1 -0
- package/dist/types/components/CollectionViewsDropdown/SaveToNewViewFooter.uni.driver.d.ts +18 -0
- package/dist/types/components/CollectionViewsDropdown/SaveToNewViewFooter.uni.driver.d.ts.map +1 -0
- package/dist/types/components/CollectionViewsDropdown/ViewsDropdown.d.ts +1 -0
- package/dist/types/components/CollectionViewsDropdown/ViewsDropdown.d.ts.map +1 -1
- package/dist/types/components/CollectionViewsDropdown/ViewsDropdownPrefix.d.ts.map +1 -1
- package/dist/types/components/CollectionViewsDropdown/viewsDropdownRenderHelpers.d.ts +3 -2
- package/dist/types/components/CollectionViewsDropdown/viewsDropdownRenderHelpers.d.ts.map +1 -1
- package/dist/types/components/CustomDrawerLayout.d.ts +1 -0
- package/dist/types/components/CustomDrawerLayout.d.ts.map +1 -1
- package/dist/types/components/Grid/Grid.d.ts.map +1 -1
- package/dist/types/components/Grid/Grid.uni.driver.d.ts +2 -2
- package/dist/types/components/Grid/GridFolders.uni.driver.d.ts +6 -6
- package/dist/types/components/Grid/GridFoldersSection.uni.driver.d.ts +2 -2
- package/dist/types/components/ImportButton/ImportButton.d.ts +9 -0
- package/dist/types/components/ImportButton/ImportButton.d.ts.map +1 -0
- package/dist/types/components/ImportButton/ImportButton.uni.driver.d.ts +91 -0
- package/dist/types/components/ImportButton/ImportButton.uni.driver.d.ts.map +1 -0
- package/dist/types/components/ImportButton/ImportButtonModalLayout.d.ts +8 -0
- package/dist/types/components/ImportButton/ImportButtonModalLayout.d.ts.map +1 -0
- package/dist/types/components/ImportButton/ImportModal.d.ts +9 -0
- package/dist/types/components/ImportButton/ImportModal.d.ts.map +1 -0
- package/dist/types/components/ImportButton/ImportModal.uni.driver.d.ts +92 -0
- package/dist/types/components/ImportButton/ImportModal.uni.driver.d.ts.map +1 -0
- package/dist/types/components/ImportButton/ImportProps.d.ts +17 -0
- package/dist/types/components/ImportButton/ImportProps.d.ts.map +1 -0
- package/dist/types/components/ImportButton/ImportStepConfiguration.d.ts +11 -0
- package/dist/types/components/ImportButton/ImportStepConfiguration.d.ts.map +1 -0
- package/dist/types/components/ImportButton/ImportStepError.d.ts +11 -0
- package/dist/types/components/ImportButton/ImportStepError.d.ts.map +1 -0
- package/dist/types/components/ImportButton/ImportStepProgress.d.ts +11 -0
- package/dist/types/components/ImportButton/ImportStepProgress.d.ts.map +1 -0
- package/dist/types/components/ImportButton/ImportStepUpload.d.ts +11 -0
- package/dist/types/components/ImportButton/ImportStepUpload.d.ts.map +1 -0
- package/dist/types/components/ImportButton/ImportStepUpload.st.css.d.ts +14 -0
- package/dist/types/components/ImportButton/ImportStepUpload.st.css.d.ts.map +1 -0
- package/dist/types/components/ImportButton/ImportStepper.d.ts +12 -0
- package/dist/types/components/ImportButton/ImportStepper.d.ts.map +1 -0
- package/dist/types/components/ImportButton/getImportModalStepProps.d.ts +11 -0
- package/dist/types/components/ImportButton/getImportModalStepProps.d.ts.map +1 -0
- package/dist/types/components/ImportButton/index.d.ts +4 -0
- package/dist/types/components/ImportButton/index.d.ts.map +1 -0
- package/dist/types/components/InputOverflow/InputOverflow.st.css.d.ts.map +1 -1
- package/dist/types/components/Kanban/Kanban.uni.driver.d.ts +2 -2
- package/dist/types/components/LoadingRow/LoadingRow.st.css.d.ts.map +1 -1
- package/dist/types/components/NestedTable/NestedTable.uni.driver.d.ts +179 -43
- package/dist/types/components/NestedTable/NestedTable.uni.driver.d.ts.map +1 -1
- package/dist/types/components/NestedTableDragAndDrop/NestedTableDragAndDropRow.st.css.d.ts.map +1 -1
- package/dist/types/components/PickerContent/PickerContent.st.css.d.ts.map +1 -1
- package/dist/types/components/SkeletonCard/SkeletonCard.st.css.d.ts.map +1 -1
- package/dist/types/components/Table/Table.uni.driver.d.ts +191 -23
- package/dist/types/components/Table/Table.uni.driver.d.ts.map +1 -1
- package/dist/types/components/TableFolders/TableFolders.d.ts.map +1 -1
- package/dist/types/components/TableFolders/TableFolders.uni.driver.d.ts +182 -16
- package/dist/types/components/TableFolders/TableFolders.uni.driver.d.ts.map +1 -1
- package/dist/types/components/TableGridSwitch/TableGridSwitch.uni.driver.d.ts +179 -7
- package/dist/types/components/TableGridSwitch/TableGridSwitch.uni.driver.d.ts.map +1 -1
- package/dist/types/components/ToolbarCollection/ToolbarCollection.d.ts +8 -0
- package/dist/types/components/ToolbarCollection/ToolbarCollection.d.ts.map +1 -1
- package/dist/types/components/ToolbarCollection/useToolbarCollectionSyncProps.d.ts.map +1 -1
- package/dist/types/index.d.ts +5 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/model/view.d.ts +1 -0
- package/dist/types/model/view.d.ts.map +1 -1
- package/dist/types/state/CollectionPage/CollectionPageHeader.st.css.d.ts.map +1 -1
- package/dist/types/state/CollectionViewsStateBIReporter.d.ts.map +1 -1
- package/dist/types/state/FormPage/FormPageHeader.st.css.d.ts.map +1 -1
- package/dist/types/state/ToolbarCollectionState.d.ts +3 -0
- package/dist/types/state/ToolbarCollectionState.d.ts.map +1 -1
- package/dist/types/testkit/enzyme.d.ts +724 -36
- package/dist/types/testkit/enzyme.d.ts.map +1 -1
- package/dist/types/testkit/jsdom.d.ts +726 -38
- package/dist/types/testkit/jsdom.d.ts.map +1 -1
- package/dist/types/testkit/playwright.d.ts +724 -36
- package/dist/types/testkit/playwright.d.ts.map +1 -1
- package/dist/types/testkit/puppeteer.d.ts +726 -38
- package/dist/types/testkit/puppeteer.d.ts.map +1 -1
- package/dist/types/version.d.ts +1 -1
- package/package.json +3 -3
- package/src/components/CardContainer/CardContainer.st.css.ts +2 -2
- package/src/components/Collapse/Collapse.st.css.ts +2 -2
- package/src/components/CollectionPageNew/CollectionPage.st.css.ts +2 -2
- package/src/components/CollectionSectionHeader/CollectionSectionHeader.st.css.ts +2 -2
- package/src/components/CollectionTable/CollectionTable.st.css.ts +2 -2
- package/src/components/CollectionTable/CollectionTable.tsx +2 -0
- package/src/components/CollectionTable/CollectionTable.uni.driver.ts +13 -0
- package/src/components/CollectionTable/CollectionTableWSRTable.tsx +2 -0
- package/src/components/CollectionToolbar/CollectionToolbar.st.css.ts +2 -2
- package/src/components/CollectionToolbar/CollectionToolbar.tsx +3 -0
- package/src/components/CollectionToolbar/CollectionToolbarActionsGroupProps.ts +1 -0
- package/src/components/CollectionToolbar/CollectionToolbarActionsGroupResponsiveLayout.tsx +5 -0
- package/src/components/CollectionToolbar/CollectionToolbarActionsToolbarItemsGroup.tsx +8 -0
- package/src/components/CollectionToolbar/SearchOrCustomFilter.st.css.ts +2 -2
- package/src/components/CollectionToolbar/useIsCollectionToolbarExists.tsx +2 -0
- package/src/components/CollectionToolbars/CollectionToolbars.tsx +1 -0
- package/src/components/CollectionViewsDropdown/AutoCompleteReadonly.st.css.ts +2 -2
- package/src/components/CollectionViewsDropdown/CollectionViewsDropdown.uni.driver.ts +87 -11
- package/src/components/CollectionViewsDropdown/ManageViewPopover.tsx +80 -49
- package/src/components/CollectionViewsDropdown/ManageViewPopover.uni.driver.ts +25 -9
- package/src/components/CollectionViewsDropdown/SaveToNewViewFooter.tsx +38 -0
- package/src/components/CollectionViewsDropdown/SaveToNewViewFooter.uni.driver.ts +21 -0
- package/src/components/CollectionViewsDropdown/ViewsDropdown.st.css.ts +2 -2
- package/src/components/CollectionViewsDropdown/ViewsDropdown.tsx +55 -13
- package/src/components/CollectionViewsDropdown/ViewsDropdownPrefix.tsx +13 -2
- package/src/components/CollectionViewsDropdown/viewsDropdownRenderHelpers.tsx +17 -8
- package/src/components/CustomDrawerLayout.tsx +10 -5
- package/src/components/DragHandle/DragHandle.st.css.ts +2 -2
- package/src/components/EntityPage/EntityPagePlain.st.css.ts +2 -2
- package/src/components/Fade/Fade.st.css.ts +2 -2
- package/src/components/Grid/Grid.tsx +2 -0
- package/src/components/Heading/Heading.st.css.ts +2 -2
- package/src/components/ImportButton/ImportButton.tsx +103 -0
- package/src/components/ImportButton/ImportButton.uni.driver.ts +18 -0
- package/src/components/ImportButton/ImportButtonModalLayout.tsx +94 -0
- package/src/components/ImportButton/ImportModal.tsx +46 -0
- package/src/components/ImportButton/ImportModal.uni.driver.ts +108 -0
- package/src/components/ImportButton/ImportProps.tsx +21 -0
- package/src/components/ImportButton/ImportStepConfiguration.tsx +139 -0
- package/src/components/ImportButton/ImportStepError.tsx +26 -0
- package/src/components/ImportButton/ImportStepProgress.tsx +67 -0
- package/src/components/ImportButton/ImportStepUpload.st.css +3 -0
- package/src/components/ImportButton/ImportStepUpload.st.css.ts +25 -0
- package/src/components/ImportButton/ImportStepUpload.tsx +44 -0
- package/src/components/ImportButton/ImportStepper.tsx +48 -0
- package/src/components/ImportButton/getImportModalStepProps.tsx +75 -0
- package/src/components/ImportButton/index.ts +3 -0
- package/src/components/InputOverflow/InputOverflow.st.css.ts +2 -2
- package/src/components/LoadingRow/LoadingRow.st.css.ts +3 -3
- package/src/components/MaxHeightText/MaxHeightText.st.css.ts +2 -2
- package/src/components/MaxLines/MaxLines.st.css.ts +2 -2
- package/src/components/MultiBulkActionToolbar/MultiBulkActionToolbar.st.css.ts +2 -2
- package/src/components/NestedTable/NestedTablePlaceholderStatesRow.st.css.ts +2 -2
- package/src/components/NestedTable/NestedTableRow.st.css.ts +2 -2
- package/src/components/NestedTableDragAndDrop/MultipleDragOverlayEffect.st.css.ts +2 -2
- package/src/components/NestedTableDragAndDrop/NestedTableDragAndDropRow.st.css.ts +2 -2
- package/src/components/PickerContent/PickerContent.st.css.ts +2 -2
- package/src/components/PickerContent/PickerContentAdditionalStep.st.css.ts +2 -2
- package/src/components/PickerTableListItem/PickerTableListItem.st.css.ts +2 -2
- package/src/components/ScrollableContent/ScrollableContent.st.css.ts +2 -2
- package/src/components/SkeletonCard/SkeletonCard.st.css.ts +2 -2
- package/src/components/SlidingModal/SlidingModal.st.css.ts +2 -2
- package/src/components/TableFolders/TableFolders.tsx +2 -0
- package/src/components/TabsFilter/TabsFilter.st.css.ts +2 -2
- package/src/components/Tags/ManageTags/ManageTagsModal/ManageTagsModal.st.css.ts +2 -2
- package/src/components/ToolbarCollection/ToolbarCollection.tsx +10 -0
- package/src/components/ToolbarCollection/useToolbarCollectionSyncProps.ts +11 -0
- package/src/components/ToolbarItem/ToolbarItem.st.css.ts +2 -2
- package/src/components/ToolbarItemBox/ToolbarItemBox.st.css.ts +2 -2
- package/src/components/common.st.css.ts +2 -2
- package/src/index.ts +6 -0
- package/src/model/view.ts +1 -0
- package/src/state/CollectionPage/CollectionPageHeader.st.css.ts +2 -2
- package/src/state/CollectionViewsStateBIReporter.ts +28 -0
- package/src/state/FormPage/FormPageHeader.st.css.ts +2 -2
- package/src/state/ToolbarCollectionState.ts +3 -0
- package/src/styles.global.css +1 -1
- package/src/version.ts +1 -1
|
@@ -8,11 +8,16 @@ var _designSystem = require("@wix/design-system");
|
|
|
8
8
|
var _wixUiIconsCommon = require("@wix/wix-ui-icons-common");
|
|
9
9
|
var _react = _interopRequireDefault(require("react"));
|
|
10
10
|
var _mobxReactLite = require("mobx-react-lite");
|
|
11
|
+
var _ = require("../..");
|
|
12
|
+
var _ViewsDropdown = require("./ViewsDropdown");
|
|
11
13
|
var _jsxFileName = "/home/builduser/work/843658b9f44192f0/packages/cairo/dist/cjs/components/CollectionViewsDropdown/ViewsDropdownPrefix.tsx";
|
|
12
14
|
function _ViewsDropdownPrefix(props) {
|
|
15
|
+
var _container$internalEx;
|
|
13
16
|
const {
|
|
14
17
|
state
|
|
15
18
|
} = props;
|
|
19
|
+
const container = (0, _.useWixPatternsContainer)();
|
|
20
|
+
const isRedesign = (_container$internalEx = container.internalExperiments) == null ? void 0 : _container$internalEx.enabled(_ViewsDropdown.VIEWS_REDESIGN_EXPERIMENT);
|
|
16
21
|
const {
|
|
17
22
|
views
|
|
18
23
|
} = state;
|
|
@@ -26,7 +31,7 @@ function _ViewsDropdownPrefix(props) {
|
|
|
26
31
|
__self: this,
|
|
27
32
|
__source: {
|
|
28
33
|
fileName: _jsxFileName,
|
|
29
|
-
lineNumber:
|
|
34
|
+
lineNumber: 37,
|
|
30
35
|
columnNumber: 7
|
|
31
36
|
}
|
|
32
37
|
}, /*#__PURE__*/_react.default.createElement(_designSystem.Box, {
|
|
@@ -34,7 +39,7 @@ function _ViewsDropdownPrefix(props) {
|
|
|
34
39
|
__self: this,
|
|
35
40
|
__source: {
|
|
36
41
|
fileName: _jsxFileName,
|
|
37
|
-
lineNumber:
|
|
42
|
+
lineNumber: 38,
|
|
38
43
|
columnNumber: 9
|
|
39
44
|
}
|
|
40
45
|
}, /*#__PURE__*/_react.default.createElement(_designSystem.Tooltip, {
|
|
@@ -43,7 +48,7 @@ function _ViewsDropdownPrefix(props) {
|
|
|
43
48
|
__self: this,
|
|
44
49
|
__source: {
|
|
45
50
|
fileName: _jsxFileName,
|
|
46
|
-
lineNumber:
|
|
51
|
+
lineNumber: 39,
|
|
47
52
|
columnNumber: 11
|
|
48
53
|
}
|
|
49
54
|
}, /*#__PURE__*/_react.default.createElement(_designSystem.Box, {
|
|
@@ -52,24 +57,25 @@ function _ViewsDropdownPrefix(props) {
|
|
|
52
57
|
__self: this,
|
|
53
58
|
__source: {
|
|
54
59
|
fileName: _jsxFileName,
|
|
55
|
-
lineNumber:
|
|
60
|
+
lineNumber: 47,
|
|
56
61
|
columnNumber: 13
|
|
57
62
|
}
|
|
58
63
|
}, /*#__PURE__*/_react.default.createElement(_wixUiIconsCommon.StatusAlertSmall, {
|
|
59
64
|
__self: this,
|
|
60
65
|
__source: {
|
|
61
66
|
fileName: _jsxFileName,
|
|
62
|
-
lineNumber:
|
|
67
|
+
lineNumber: 48,
|
|
63
68
|
columnNumber: 15
|
|
64
69
|
}
|
|
65
70
|
})))));
|
|
66
71
|
}
|
|
67
72
|
if (views.isDefaultView) {
|
|
73
|
+
const DefaultIcon = isRedesign ? _wixUiIconsCommon.PinSmall : _wixUiIconsCommon.FlagSmall;
|
|
68
74
|
return /*#__PURE__*/_react.default.createElement(_designSystem.Input.Affix, {
|
|
69
75
|
__self: this,
|
|
70
76
|
__source: {
|
|
71
77
|
fileName: _jsxFileName,
|
|
72
|
-
lineNumber:
|
|
78
|
+
lineNumber: 59,
|
|
73
79
|
columnNumber: 7
|
|
74
80
|
}
|
|
75
81
|
}, /*#__PURE__*/_react.default.createElement(_designSystem.Box, {
|
|
@@ -77,14 +83,14 @@ function _ViewsDropdownPrefix(props) {
|
|
|
77
83
|
__self: this,
|
|
78
84
|
__source: {
|
|
79
85
|
fileName: _jsxFileName,
|
|
80
|
-
lineNumber:
|
|
86
|
+
lineNumber: 60,
|
|
81
87
|
columnNumber: 9
|
|
82
88
|
}
|
|
83
|
-
}, /*#__PURE__*/_react.default.createElement(
|
|
89
|
+
}, /*#__PURE__*/_react.default.createElement(DefaultIcon, {
|
|
84
90
|
__self: this,
|
|
85
91
|
__source: {
|
|
86
92
|
fileName: _jsxFileName,
|
|
87
|
-
lineNumber:
|
|
93
|
+
lineNumber: 61,
|
|
88
94
|
columnNumber: 11
|
|
89
95
|
}
|
|
90
96
|
})));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_designSystem","require","_wixUiIconsCommon","_react","_interopRequireDefault","_mobxReactLite","_jsxFileName","_ViewsDropdownPrefix","props","state","views","collection","translate","t","isCurrentViewSelected","isViewChanged","default","createElement","Input","Affix","__self","__source","fileName","lineNumber","columnNumber","Box","dataHook","Tooltip","appendTo","content","verticalAlign","color","StatusAlertSmall","isDefaultView","FlagSmall","ViewsDropdownPrefix","exports","observer"],"sources":["../../../../src/components/CollectionViewsDropdown/ViewsDropdownPrefix.tsx"],"sourcesContent":["import { Box, Input, Tooltip } from '@wix/design-system';\nimport {
|
|
1
|
+
{"version":3,"names":["_designSystem","require","_wixUiIconsCommon","_react","_interopRequireDefault","_mobxReactLite","_","_ViewsDropdown","_jsxFileName","_ViewsDropdownPrefix","props","_container$internalEx","state","container","useWixPatternsContainer","isRedesign","internalExperiments","enabled","VIEWS_REDESIGN_EXPERIMENT","views","collection","translate","t","isCurrentViewSelected","isViewChanged","default","createElement","Input","Affix","__self","__source","fileName","lineNumber","columnNumber","Box","dataHook","Tooltip","appendTo","content","verticalAlign","color","StatusAlertSmall","isDefaultView","DefaultIcon","PinSmall","FlagSmall","ViewsDropdownPrefix","exports","observer"],"sources":["../../../../src/components/CollectionViewsDropdown/ViewsDropdownPrefix.tsx"],"sourcesContent":["import { Box, Input, Tooltip } from '@wix/design-system';\nimport {\n FlagSmall,\n PinSmall,\n StatusAlertSmall,\n} from '@wix/wix-ui-icons-common';\nimport React from 'react';\nimport { FiltersMap } from '@wix/bex-core';\nimport { CollectionViewsState } from '../../state';\nimport { observer } from 'mobx-react-lite';\nimport { useWixPatternsContainer } from '../..';\nimport { VIEWS_REDESIGN_EXPERIMENT } from './ViewsDropdown';\n\nexport type ViewsDropdownPrefixProps<T, F extends FiltersMap> = {\n state: CollectionViewsState<T, F>;\n};\n\nexport function _ViewsDropdownPrefix<T, F extends FiltersMap>(\n props: ViewsDropdownPrefixProps<T, F>,\n) {\n const { state } = props;\n const container = useWixPatternsContainer();\n const isRedesign = container.internalExperiments?.enabled(\n VIEWS_REDESIGN_EXPERIMENT,\n );\n\n const { views } = state;\n const {\n collection: { translate: t },\n } = views;\n\n if (\n !views.isCurrentViewSelected ||\n (views.isCurrentViewSelected && state.isViewChanged)\n ) {\n return (\n <Input.Affix>\n <Box dataHook=\"view-pending-changes\">\n <Tooltip\n appendTo=\"window\"\n content={\n views.isCurrentViewSelected\n ? t('cairo.manageView.tooltip')\n : t('cairo.manageView.unsaved.tooltip')\n }\n >\n <Box verticalAlign=\"middle\" color=\"D40\">\n <StatusAlertSmall />\n </Box>\n </Tooltip>\n </Box>\n </Input.Affix>\n );\n }\n\n if (views.isDefaultView) {\n const DefaultIcon = isRedesign ? PinSmall : FlagSmall;\n return (\n <Input.Affix>\n <Box dataHook=\"view-default\">\n <DefaultIcon />\n </Box>\n </Input.Affix>\n );\n }\n\n return null;\n}\n\nexport const ViewsDropdownPrefix = observer(_ViewsDropdownPrefix);\n"],"mappings":";;;;;;AAAA,IAAAA,aAAA,GAAAC,OAAA;AACA,IAAAC,iBAAA,GAAAD,OAAA;AAKA,IAAAE,MAAA,GAAAC,sBAAA,CAAAH,OAAA;AAGA,IAAAI,cAAA,GAAAJ,OAAA;AACA,IAAAK,CAAA,GAAAL,OAAA;AACA,IAAAM,cAAA,GAAAN,OAAA;AAA4D,IAAAO,YAAA;AAMrD,SAASC,oBAAoBA,CAClCC,KAAqC,EACrC;EAAA,IAAAC,qBAAA;EACA,MAAM;IAAEC;EAAM,CAAC,GAAGF,KAAK;EACvB,MAAMG,SAAS,GAAG,IAAAC,yBAAuB,EAAC,CAAC;EAC3C,MAAMC,UAAU,IAAAJ,qBAAA,GAAGE,SAAS,CAACG,mBAAmB,qBAA7BL,qBAAA,CAA+BM,OAAO,CACvDC,wCACF,CAAC;EAED,MAAM;IAAEC;EAAM,CAAC,GAAGP,KAAK;EACvB,MAAM;IACJQ,UAAU,EAAE;MAAEC,SAAS,EAAEC;IAAE;EAC7B,CAAC,GAAGH,KAAK;EAET,IACE,CAACA,KAAK,CAACI,qBAAqB,IAC3BJ,KAAK,CAACI,qBAAqB,IAAIX,KAAK,CAACY,aAAc,EACpD;IACA,oBACErB,MAAA,CAAAsB,OAAA,CAAAC,aAAA,CAAC1B,aAAA,CAAA2B,KAAK,CAACC,KAAK;MAAAC,MAAA;MAAAC,QAAA;QAAAC,QAAA,EAAAvB,YAAA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AAA;IAAA,gBACV9B,MAAA,CAAAsB,OAAA,CAAAC,aAAA,CAAC1B,aAAA,CAAAkC,GAAG;MAACC,QAAQ,EAAC,cAAc;MAAAN,MAAA;MAAAC,QAAA;QAAAC,QAAA,EAAAvB,YAAA;QAAAwB,UAAA;QAAAC,YAAA;MAAA;IAAA,gBAC1B9B,MAAA,CAAAsB,OAAA,CAAAC,aAAA,CAACiB,WAAW;MAAAd,MAAA;MAAAC,QAAA;QAAAC,QAAA,EAAAvB,YAAA;QAAAwB,UAAA;QAAAC,YAAA;MAAA;IAAA,CAAE,CACX,CACM,CAAC;EAElB;EAEA,OAAO,IAAI;AACb;AAEO,MAAMa,mBAAmB,GAAAC,OAAA,CAAAD,mBAAA,GAAG,IAAAE,uBAAQ,EAACvC,oBAAoB,CAAC","ignoreList":[]}
|
|
@@ -6,7 +6,6 @@ exports.buildCategoryOption = buildCategoryOption;
|
|
|
6
6
|
exports.buildViewOption = buildViewOption;
|
|
7
7
|
exports.getCategoryName = getCategoryName;
|
|
8
8
|
exports.getViewName = getViewName;
|
|
9
|
-
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
10
9
|
var _designSystem = require("@wix/design-system");
|
|
11
10
|
var _index = require("../../index");
|
|
12
11
|
var _react = _interopRequireDefault(require("react"));
|
|
@@ -27,24 +26,31 @@ function buildCategoryOption({
|
|
|
27
26
|
viewsState,
|
|
28
27
|
category
|
|
29
28
|
}) {
|
|
29
|
+
const {
|
|
30
|
+
translate: t
|
|
31
|
+
} = viewsState.collection;
|
|
32
|
+
const categoryName = getCategoryName({
|
|
33
|
+
category,
|
|
34
|
+
viewsState
|
|
35
|
+
});
|
|
30
36
|
return (0, _designSystem.listItemSectionBuilder)({
|
|
31
37
|
id: category.id,
|
|
32
|
-
title:
|
|
33
|
-
category,
|
|
34
|
-
viewsState
|
|
35
|
-
}),
|
|
38
|
+
title: categoryName,
|
|
36
39
|
type: 'subheader',
|
|
37
40
|
dataHook: 'view-category',
|
|
38
|
-
suffix:
|
|
39
|
-
size:
|
|
40
|
-
|
|
41
|
+
suffix: /*#__PURE__*/_react.default.createElement(_designSystem.InfoIcon, {
|
|
42
|
+
size: "small",
|
|
43
|
+
content: t('cairo.viewDropdown.category.info'),
|
|
44
|
+
tooltipProps: {
|
|
45
|
+
maxWidth: 240
|
|
46
|
+
},
|
|
41
47
|
__self: this,
|
|
42
48
|
__source: {
|
|
43
49
|
fileName: _jsxFileName,
|
|
44
|
-
lineNumber:
|
|
50
|
+
lineNumber: 46,
|
|
45
51
|
columnNumber: 7
|
|
46
52
|
}
|
|
47
|
-
})
|
|
53
|
+
})
|
|
48
54
|
});
|
|
49
55
|
}
|
|
50
56
|
function getViewName({
|
|
@@ -57,7 +63,8 @@ function getViewName({
|
|
|
57
63
|
}
|
|
58
64
|
function buildViewOption({
|
|
59
65
|
viewsState,
|
|
60
|
-
view
|
|
66
|
+
view,
|
|
67
|
+
suffix
|
|
61
68
|
}) {
|
|
62
69
|
const viewName = getViewName({
|
|
63
70
|
view,
|
|
@@ -67,7 +74,8 @@ function buildViewOption({
|
|
|
67
74
|
id: view.id,
|
|
68
75
|
title: viewName,
|
|
69
76
|
label: viewName,
|
|
70
|
-
dataHook:
|
|
77
|
+
dataHook: 'view-item',
|
|
78
|
+
suffix
|
|
71
79
|
});
|
|
72
80
|
}
|
|
73
81
|
//# sourceMappingURL=viewsDropdownRenderHelpers.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_designSystem","require","_index","_react","_interopRequireDefault","_jsxFileName","getCategoryName","category","viewsState","translate","t","collection","id","PREDEFINED_VIEWS_ID","name","buildCategoryOption","listItemSectionBuilder","title","type","dataHook","suffix","
|
|
1
|
+
{"version":3,"names":["_designSystem","require","_index","_react","_interopRequireDefault","_jsxFileName","getCategoryName","category","viewsState","translate","t","collection","id","PREDEFINED_VIEWS_ID","name","buildCategoryOption","categoryName","listItemSectionBuilder","title","type","dataHook","suffix","default","createElement","InfoIcon","size","content","tooltipProps","maxWidth","__self","__source","fileName","lineNumber","columnNumber","getViewName","view","length","buildViewOption","viewName","listItemSelectBuilder","label"],"sources":["../../../../src/components/CollectionViewsDropdown/viewsDropdownRenderHelpers.tsx"],"sourcesContent":["import {\n InfoIcon,\n listItemSectionBuilder,\n listItemSelectBuilder,\n} from '@wix/design-system';\nimport {\n BasicCategory,\n PREDEFINED_VIEWS_ID,\n PrivateView,\n ViewsState,\n} from '../../index';\nimport { FiltersMap, TranslationsKeys } from '@wix/bex-core';\nimport React, { ReactNode } from 'react';\n\nexport function getCategoryName<F extends FiltersMap>({\n category,\n viewsState,\n}: {\n viewsState: ViewsState<F>;\n category: BasicCategory;\n}) {\n const { translate: t } = viewsState.collection;\n\n if (category.id === PREDEFINED_VIEWS_ID) {\n return t('cairo.viewDropdown.category.predefinedViews');\n }\n return category.name;\n}\n\nexport function buildCategoryOption<F extends FiltersMap>({\n viewsState,\n category,\n}: {\n viewsState: ViewsState<F>;\n category: BasicCategory;\n}) {\n const { translate: t } = viewsState.collection;\n const categoryName = getCategoryName({ category, viewsState });\n\n return listItemSectionBuilder({\n id: category.id,\n title: categoryName,\n type: 'subheader',\n dataHook: 'view-category',\n suffix: (\n <InfoIcon\n size=\"small\"\n content={t('cairo.viewDropdown.category.info' as TranslationsKeys)}\n tooltipProps={{ maxWidth: 240 }}\n />\n ),\n });\n}\n\nexport function getViewName<F extends FiltersMap>({\n view,\n}: {\n viewsState: ViewsState<F>;\n view: PrivateView<F>;\n}) {\n if (view.name.length > 0) {\n return view.name;\n }\n\n return '';\n}\n\nexport function buildViewOption<F extends FiltersMap>({\n viewsState,\n view,\n suffix,\n}: {\n viewsState: ViewsState<F>;\n view: PrivateView<F>;\n suffix?: ReactNode;\n}) {\n const viewName = getViewName({ view, viewsState });\n return listItemSelectBuilder({\n id: view.id,\n title: viewName,\n label: viewName,\n dataHook: 'view-item',\n suffix,\n });\n}\n"],"mappings":";;;;;;;;AAAA,IAAAA,aAAA,GAAAC,OAAA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AAO,EAAE;AACX;AAEO,SAASuB,eAAeA,CAAuB;EACpD7B,UAAU;EACV2B,IAAI;EACJd;AAKF,CAAC,EAAE;EACD,MAAMiB,QAAQ,GAAGJ,WAAW,CAAC;IAAEC,IAAI;IAAE3B;EAAW,CAAC,CAAC;EAClD,OAAO,IAAA+B,mCAAqB,EAAC;IAC3B3B,EAAE,EAAEuB,IAAI,CAACvB,EAAE;IACXM,KAAK,EAAEoB,QAAQ;IACfE,KAAK,EAAEF,QAAQ;IACflB,QAAQ,EAAE,WAAW;IACrBC;EACF,CAAC,CAAC;AACJ","ignoreList":[]}
|
|
@@ -17,30 +17,30 @@ function CustomDrawerLayout(props) {
|
|
|
17
17
|
secondaryButtonProps,
|
|
18
18
|
primaryButtonProps,
|
|
19
19
|
primaryButtonOnClick,
|
|
20
|
-
secondaryButtonOnClick
|
|
20
|
+
secondaryButtonOnClick,
|
|
21
|
+
removeContentPadding
|
|
21
22
|
} = props;
|
|
22
23
|
return /*#__PURE__*/_react.default.createElement(_designSystem.Box, {
|
|
23
24
|
dataHook: dataHook,
|
|
24
25
|
direction: "vertical",
|
|
25
|
-
padding: "SP3",
|
|
26
|
+
padding: "SP3 0",
|
|
26
27
|
backgroundColor: "white",
|
|
27
28
|
borderRadius: "12px",
|
|
28
29
|
__self: this,
|
|
29
30
|
__source: {
|
|
30
31
|
fileName: _jsxFileName,
|
|
31
|
-
lineNumber:
|
|
32
|
+
lineNumber: 32,
|
|
32
33
|
columnNumber: 5
|
|
33
34
|
}
|
|
34
35
|
}, title && /*#__PURE__*/_react.default.createElement(_designSystem.Box, {
|
|
35
36
|
direction: "vertical",
|
|
36
|
-
|
|
37
|
-
paddingBottom: "SP1",
|
|
37
|
+
padding: "SP1 SP3",
|
|
38
38
|
marginBottom: "SP4",
|
|
39
39
|
align: "center",
|
|
40
40
|
__self: this,
|
|
41
41
|
__source: {
|
|
42
42
|
fileName: _jsxFileName,
|
|
43
|
-
lineNumber:
|
|
43
|
+
lineNumber: 40,
|
|
44
44
|
columnNumber: 9
|
|
45
45
|
}
|
|
46
46
|
}, /*#__PURE__*/_react.default.createElement(_designSystem.Heading, {
|
|
@@ -49,25 +49,27 @@ function CustomDrawerLayout(props) {
|
|
|
49
49
|
__self: this,
|
|
50
50
|
__source: {
|
|
51
51
|
fileName: _jsxFileName,
|
|
52
|
-
lineNumber:
|
|
52
|
+
lineNumber: 46,
|
|
53
53
|
columnNumber: 11
|
|
54
54
|
}
|
|
55
55
|
}, title)), /*#__PURE__*/_react.default.createElement(_designSystem.Box, {
|
|
56
56
|
flex: 1,
|
|
57
57
|
marginBottom: "SP4",
|
|
58
|
+
padding: removeContentPadding ? undefined : '0 SP3',
|
|
58
59
|
__self: this,
|
|
59
60
|
__source: {
|
|
60
61
|
fileName: _jsxFileName,
|
|
61
|
-
lineNumber:
|
|
62
|
+
lineNumber: 52,
|
|
62
63
|
columnNumber: 7
|
|
63
64
|
}
|
|
64
65
|
}, children), /*#__PURE__*/_react.default.createElement(_designSystem.Box, {
|
|
65
66
|
direction: "vertical",
|
|
66
67
|
gap: "SP4",
|
|
68
|
+
padding: "0 SP3",
|
|
67
69
|
__self: this,
|
|
68
70
|
__source: {
|
|
69
71
|
fileName: _jsxFileName,
|
|
70
|
-
lineNumber:
|
|
72
|
+
lineNumber: 60,
|
|
71
73
|
columnNumber: 7
|
|
72
74
|
}
|
|
73
75
|
}, primaryButtonText && /*#__PURE__*/_react.default.createElement(_designSystem.Button, (0, _extends2.default)({
|
|
@@ -79,7 +81,7 @@ function CustomDrawerLayout(props) {
|
|
|
79
81
|
__self: this,
|
|
80
82
|
__source: {
|
|
81
83
|
fileName: _jsxFileName,
|
|
82
|
-
lineNumber:
|
|
84
|
+
lineNumber: 62,
|
|
83
85
|
columnNumber: 11
|
|
84
86
|
}
|
|
85
87
|
}), primaryButtonText), secondaryButtonText && /*#__PURE__*/_react.default.createElement(_designSystem.Button, (0, _extends2.default)({
|
|
@@ -91,7 +93,7 @@ function CustomDrawerLayout(props) {
|
|
|
91
93
|
__self: this,
|
|
92
94
|
__source: {
|
|
93
95
|
fileName: _jsxFileName,
|
|
94
|
-
lineNumber:
|
|
96
|
+
lineNumber: 74,
|
|
95
97
|
columnNumber: 11
|
|
96
98
|
}
|
|
97
99
|
}), secondaryButtonText)));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireDefault","require","_designSystem","_jsxFileName","CustomDrawerLayout","props","dataHook","title","children","primaryButtonText","secondaryButtonText","secondaryButtonProps","primaryButtonProps","primaryButtonOnClick","secondaryButtonOnClick","default","createElement","Box","direction","padding","backgroundColor","borderRadius","__self","__source","fileName","lineNumber","columnNumber","
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireDefault","require","_designSystem","_jsxFileName","CustomDrawerLayout","props","dataHook","title","children","primaryButtonText","secondaryButtonText","secondaryButtonProps","primaryButtonProps","primaryButtonOnClick","secondaryButtonOnClick","removeContentPadding","default","createElement","Box","direction","padding","backgroundColor","borderRadius","__self","__source","fileName","lineNumber","columnNumber","marginBottom","align","Heading","size","textAlign","flex","undefined","gap","Button","_extends2","fullWidth","priority","onClick"],"sources":["../../../src/components/CustomDrawerLayout.tsx"],"sourcesContent":["import React, { ReactNode } from 'react';\nimport { Box, Button, ButtonProps, Heading } from '@wix/design-system';\n\nexport interface CustomDrawerLayoutProps {\n dataHook?: string;\n title?: ReactNode;\n children?: ReactNode;\n primaryButtonText?: ReactNode;\n secondaryButtonText?: ReactNode;\n secondaryButtonProps?: Partial<Omit<ButtonProps, 'as'>>;\n primaryButtonProps?: Partial<Omit<ButtonProps, 'as'>>;\n primaryButtonOnClick?: () => void;\n secondaryButtonOnClick?: () => void;\n removeContentPadding?: boolean;\n}\n\nexport function CustomDrawerLayout(props: CustomDrawerLayoutProps) {\n const {\n dataHook,\n title,\n children,\n primaryButtonText,\n secondaryButtonText,\n secondaryButtonProps,\n primaryButtonProps,\n primaryButtonOnClick,\n secondaryButtonOnClick,\n removeContentPadding,\n } = props;\n\n return (\n <Box\n dataHook={dataHook}\n direction=\"vertical\"\n padding=\"SP3 0\"\n backgroundColor=\"white\"\n borderRadius=\"12px\"\n >\n {title && (\n <Box\n direction=\"vertical\"\n padding=\"SP1 SP3\"\n marginBottom=\"SP4\"\n align=\"center\"\n >\n <Heading size=\"small\" textAlign=\"center\">\n {title}\n </Heading>\n </Box>\n )}\n\n <Box\n flex={1}\n marginBottom=\"SP4\"\n padding={removeContentPadding ? undefined : '0 SP3'}\n >\n {children}\n </Box>\n\n <Box direction=\"vertical\" gap=\"SP4\" padding=\"0 SP3\">\n {primaryButtonText && (\n <Button\n dataHook=\"baseModalLayout-primary-button\"\n fullWidth\n priority=\"primary\"\n onClick={primaryButtonOnClick}\n {...(primaryButtonProps as ButtonProps)}\n >\n {primaryButtonText}\n </Button>\n )}\n\n {secondaryButtonText && (\n <Button\n dataHook=\"baseModalLayout-secondary-button\"\n fullWidth\n onClick={secondaryButtonOnClick}\n priority=\"secondary\"\n {...(secondaryButtonProps as ButtonProps)}\n >\n {secondaryButtonText}\n </Button>\n )}\n </Box>\n </Box>\n );\n}\n"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,aAAA,GAAAD,OAAA;AAAuE,IAAAE,YAAA;AAehE,SAASC,kBAAkBA,CAACC,KAA8B,EAAE;EACjE,MAAM;IACJC,QAAQ;IACRC,KAAK;IACLC,QAAQ;IACRC,iBAAiB;IACjBC,mBAAmB;IACnBC,oBAAoB;IACpBC,kBAAkB;IAClBC,oBAAoB;IACpBC,sBAAsB;IACtBC;EACF,CAAC,GAAGV,KAAK;EAET,oBACEN,MAAA,CAAAiB,OAAA,CAAAC,aAAA,CAACf,aAAA,CAAAgB,GAAG;IACFZ,QAAQ,EAAEA,QAAS;IACnBa,SAAS,EAAC,UAAU;IACpBC,OAAO,EAAC,OAAO;IACfC,eAAe,EAAC,OAAO;IACvBC,YAAY,EAAC,MAAM;IAAAC,MAAA;IAAAC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,EAAC,gCAAgC;IACzCgC,SAAS;IACTC,QAAQ,EAAC,SAAS;IAClBC,OAAO,EAAE3B;EAAqB,GACzBD,kBAAkB;IAAAW,MAAA;IAAAC,QAAA;MAAAC,QAAA,EAAAtB,YAAA;MAAAuB,UAAA;MAAAC,YAAA;IAAA;EAAA,IAEtBlB,iBACK,CACT,EAEAC,mBAAmB,iBAClBX,MAAA,CAAAiB,OAAA,CAAAC,aAAA,CAACf,aAAA,CAAAkC,MAAM,MAAAC,SAAA,CAAArB,OAAA;IACLV,QAAQ,EAAC,kCAAkC;IAC3CgC,SAAS;IACTE,OAAO,EAAE1B,sBAAuB;IAChCyB,QAAQ,EAAC;EAAW,GACf5B,oBAAoB;IAAAY,MAAA;IAAAC,QAAA;MAAAC,QAAA,EAAAtB,YAAA;MAAAuB,UAAA;MAAAC,YAAA;IAAA;EAAA,IAExBjB,mBACK,CAEP,CACF,CAAC;AAEV","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_ = "DragHandle2576753877";
|
|
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": "DragHandle2576753877__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_ = \"DragHandle2576753877\";\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\":\"DragHandle2576753877__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":[]}
|
|
@@ -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_ = "EntityPagePlain875261530";
|
|
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": "EntityPagePlain875261530__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/EntityPage/EntityPagePlain.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/EntityPage/EntityPagePlain.st.css.ts"],"sourcesContent":["// @ts-nocheck\n\n\nimport { classesRuntime, statesRuntime } from \"../../stylable-esm-runtime.js\";\n\n\n\nvar _namespace_ = \"EntityPagePlain875261530\";\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\":\"EntityPagePlain875261530__root\"};\nexport var keyframes = {}; \nexport var layers = {};\nexport var containers = {};\nexport var stVars = {}; \nexport var vars = {\"wds-page-header-padding-horizontal\":\"--wds-page-header-padding-horizontal\"}; \n\n\n\n\n"],"mappings":";;;;AAGA,IAAAA,mBAAA,GAAAC,OAAA;AAHA;;AAOA,IAAIC,WAAW,GAAG,0BAA0B;AAC5C,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;AAAgC,CAAC;AACvD,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;EAAC,oCAAoC,EAAC;AAAsC,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_ = "Fade3970104487";
|
|
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": "Fade3970104487__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_ = \"Fade3970104487\";\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\":\"Fade3970104487__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":[]}
|
|
@@ -33,6 +33,7 @@ function _Grid(props) {
|
|
|
33
33
|
cardProps,
|
|
34
34
|
dataHook,
|
|
35
35
|
exportModal,
|
|
36
|
+
importModal,
|
|
36
37
|
sections
|
|
37
38
|
} = props;
|
|
38
39
|
const {
|
|
@@ -58,7 +59,7 @@ function _Grid(props) {
|
|
|
58
59
|
__self: this,
|
|
59
60
|
__source: {
|
|
60
61
|
fileName: _jsxFileName,
|
|
61
|
-
lineNumber:
|
|
62
|
+
lineNumber: 121,
|
|
62
63
|
columnNumber: 5
|
|
63
64
|
}
|
|
64
65
|
}), /*#__PURE__*/_react.default.createElement(_ToolbarCollection.ToolbarCollection, (0, _extends2.default)({}, props, {
|
|
@@ -67,7 +68,7 @@ function _Grid(props) {
|
|
|
67
68
|
__self: this,
|
|
68
69
|
__source: {
|
|
69
70
|
fileName: _jsxFileName,
|
|
70
|
-
lineNumber:
|
|
71
|
+
lineNumber: 127,
|
|
71
72
|
columnNumber: 7
|
|
72
73
|
}
|
|
73
74
|
}), /*#__PURE__*/_react.default.createElement(_GridPlaceholderStates.GridPlaceholderStates, {
|
|
@@ -78,14 +79,14 @@ function _Grid(props) {
|
|
|
78
79
|
__self: this,
|
|
79
80
|
__source: {
|
|
80
81
|
fileName: _jsxFileName,
|
|
81
|
-
lineNumber:
|
|
82
|
+
lineNumber: 128,
|
|
82
83
|
columnNumber: 9
|
|
83
84
|
}
|
|
84
85
|
}, /*#__PURE__*/_react.default.createElement(_ToolbarCollectionContentAutoSizer.ToolbarCollectionContentAutoSizer, {
|
|
85
86
|
__self: this,
|
|
86
87
|
__source: {
|
|
87
88
|
fileName: _jsxFileName,
|
|
88
|
-
lineNumber:
|
|
89
|
+
lineNumber: 134,
|
|
89
90
|
columnNumber: 11
|
|
90
91
|
}
|
|
91
92
|
}, sections ? /*#__PURE__*/_react.default.createElement(sections.GridSections, (0, _extends2.default)({}, props, {
|
|
@@ -95,7 +96,7 @@ function _Grid(props) {
|
|
|
95
96
|
__self: this,
|
|
96
97
|
__source: {
|
|
97
98
|
fileName: _jsxFileName,
|
|
98
|
-
lineNumber:
|
|
99
|
+
lineNumber: 136,
|
|
99
100
|
columnNumber: 15
|
|
100
101
|
}
|
|
101
102
|
})) : /*#__PURE__*/_react.default.createElement(_GridSingleGridContent.GridSingleGridContent, (0, _extends2.default)({}, props, {
|
|
@@ -103,10 +104,10 @@ function _Grid(props) {
|
|
|
103
104
|
__self: this,
|
|
104
105
|
__source: {
|
|
105
106
|
fileName: _jsxFileName,
|
|
106
|
-
lineNumber:
|
|
107
|
+
lineNumber: 143,
|
|
107
108
|
columnNumber: 15
|
|
108
109
|
}
|
|
109
|
-
}))))), exportModal ?? toolbar.featuredComponents.exportModal.value);
|
|
110
|
+
}))))), exportModal ?? toolbar.featuredComponents.exportModal.value, importModal ?? toolbar.featuredComponents.importModal.value);
|
|
110
111
|
}
|
|
111
112
|
const Grid = exports.Grid = (0, _mobxReactLite.observer)(_Grid);
|
|
112
113
|
//# sourceMappingURL=Grid.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireWildcard","require","_getToolbarCollectionFeaturesInitializers","_ToolbarCollectionContentAutoSizer","_GridPlaceholderStates","_CollectionCard","_ToolbarCollection","_mobxReactLite","_useToolbarCollectionSyncProps","_GridSingleGridContent","_jsxFileName","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","_Grid","props","state","dragAndDrop","renderError","errorState","err","isOnline","retry","emptyState","noResultsState","cardProps","dataHook","exportModal","sections","toolbar","useToolbarCollectionSyncProps","isUsingDragAndDrop","isUsingBulkActionsToolbar","isUsingHorizontalScroll","isUsingFolders","isUsingTableVirtualization","useEffect","init","featuresInitializers","getToolbarCollectionFeaturesInitializers","createElement","CollectionCard","_extends2","__self","__source","fileName","lineNumber","columnNumber","ToolbarCollection","sticky","GridPlaceholderStates","ToolbarCollectionContentAutoSizer","GridSections","groupBy","renderSection","GridSingleGridContent","featuredComponents","value","Grid","exports","observer"],"sources":["../../../../src/components/Grid/Grid.tsx"],"sourcesContent":["import React, { useEffect } from 'react';\nimport { FiltersMap } from '@wix/bex-core';\nimport { GridPresetProps } from './Grid.types';\nimport { GridState, LayoutType } from '../../state';\nimport { getToolbarCollectionFeaturesInitializers } from '../../state/getToolbarCollectionFeaturesInitializers';\nimport { ToolbarCollectionContentAutoSizer } from '../ToolbarCollectionContentAutoSizer';\nimport { BulkActionToolbarRenderProp } from '../BulkAction';\nimport { GridItemBaseProps } from './GridItemBaseProps';\nimport { GridPlaceholderStates } from './GridPlaceholderStates';\nimport { CollectionCard } from '../CollectionCard';\nimport {\n ToolbarCollection,\n ToolbarCollectionBaseProps,\n} from '../ToolbarCollection';\nimport { observer } from 'mobx-react-lite';\nimport { useToolbarCollectionSyncProps } from '../ToolbarCollection/useToolbarCollectionSyncProps';\nimport type { GridSectionsContent } from '../GridSections/GridSectionsContent';\nimport type { GroupBy, RenderSection } from '../CollectionSectionHeader';\nimport { GridSingleGridContent } from './GridSingleGridContent';\nimport { GridDragAndDrop } from '../GridDragAndDropDndKit/GridDragAndDrop';\n\ninterface GridBaseProps<T, F extends FiltersMap>\n extends Omit<ToolbarCollectionBaseProps<T, F>, 'sticky' | 'maxSelection'>,\n GridItemBaseProps<T, F> {\n dataHook?: string;\n /**\n * Adds functionality to allow visitors to reorder items manually.\n * For more information, see the [Drag and Drop Overview](./?path=/story/features-sort-drag-and-drop--overview).\n * @overrideType [GridDragAndDrop](./?path=/story/features-sort-drag-and-drop--griddraganddrop)\n * @external\n */\n dragAndDrop?: typeof GridDragAndDrop;\n\n /**\n * Grid state instance created using [`useGridCollection`](./?path=/story/base-components-collections-grid-usegridcollection--usegridcollection).\n * @overrideType [GridState](./?path=/story/base-components-collections-grid-gridstate--gridstate)\n * @external\n */\n state: GridState<T, F>;\n\n /**\n * A toolbar for performing bulk actions on multiple items.<br> <br>\n * Supported parameters: <br>\n * -`selectedValues`: [array] Items that are checked in the selection column. <br>\n * -`uncheckedValues`: [array] Items that are unchecked in the selection column. <br>\n * -`isSelectAll`: [bool] Whether **Select All** is checked. <br>\n * -`openModal`: [func] Opens a modal that contains the component from `bulkActionModal` render prop. <br>\n * -`clearSelection`: [func] Clears all selections. Call this after the action on the selected items finishes. <br>\n * -`total`: [number] Total number of items in the server. <br>\n * -`openConfirmModal`: [func] Opens a `<MessageModalLayout>` to confirm an action is about to be applied to the selected items. <br>\n * -`query`: [object] Current paging, sorting, and filtering. Often used together with bulk actions, such as `updateAll`. <br>\n * @external\n */\n bulkActionToolbar?: BulkActionToolbarRenderProp<T, F>;\n\n /**\n * Creates [grid sections](./?path=/story/features-display-grid-sections--grid-sections) that group data based on the values of a specific field.\n * @external\n * @overrideType [SectionsProp](./?path=/story/common-types--sectionsprop)\n */\n sections?: {\n GridSections: typeof GridSectionsContent;\n groupBy: GroupBy<T>;\n renderSection?: RenderSection<T>;\n };\n\n layoutType?: LayoutType;\n}\n\nexport type GridBasePropsWithoutPreset<T, F extends FiltersMap> = Omit<\n GridBaseProps<T, F>,\n 'preset' | 'renderItem'\n>;\n\nexport type GridProps<T, F extends FiltersMap> = GridPresetProps<\n T,\n GridBasePropsWithoutPreset<T, F>\n>;\n\nfunction _Grid<T, F extends FiltersMap = FiltersMap>(props: GridProps<T, F>) {\n const {\n state,\n dragAndDrop,\n renderError,\n errorState = renderError &&\n (((err, { isOnline, retry }) =>\n renderError?.({ err, isOnline, retry })) as GridProps<\n T,\n F\n >['errorState']),\n emptyState,\n noResultsState,\n cardProps,\n dataHook,\n exportModal,\n sections,\n } = props;\n\n const { toolbar } = state;\n\n useToolbarCollectionSyncProps({\n ...props,\n state: state.toolbar,\n isUsingDragAndDrop: !!dragAndDrop,\n isUsingBulkActionsToolbar: false,\n isUsingHorizontalScroll: false,\n isUsingFolders: false,\n isUsingTableVirtualization: false,\n });\n\n useEffect(\n () =>\n state.init({\n featuresInitializers: getToolbarCollectionFeaturesInitializers(props),\n }),\n [],\n );\n\n return (\n <CollectionCard\n errorState={false}\n state={toolbar}\n dataHook={dataHook}\n {...cardProps}\n >\n <ToolbarCollection {...props} sticky state={toolbar}>\n <GridPlaceholderStates\n state={state.toolbar}\n errorState={errorState}\n emptyState={emptyState}\n noResultsState={noResultsState}\n >\n <ToolbarCollectionContentAutoSizer>\n {sections ? (\n <sections.GridSections\n {...props}\n groupBy={sections.groupBy}\n renderSection={sections.renderSection}\n state={state}\n />\n ) : (\n <GridSingleGridContent {...props} state={state} />\n )}\n </ToolbarCollectionContentAutoSizer>\n </GridPlaceholderStates>\n </ToolbarCollection>\n {exportModal ?? toolbar.featuredComponents.exportModal.value}\n </CollectionCard>\n );\n}\n\nexport const Grid = observer(_Grid);\n"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AAIA,IAAAC,yCAAA,GAAAD,OAAA;AACA,IAAAE,kCAAA,GAAAF,OAAA;AAGA,IAAAG,sBAAA,GAAAH,OAAA;AACA,IAAAI,eAAA,GAAAJ,OAAA;AACA,IAAAK,kBAAA,GAAAL,OAAA;AAIA,IAAAM,cAAA,GAAAN,OAAA;AACA,IAAAO,8BAAA,GAAAP,OAAA;AAGA,IAAAQ,sBAAA,GAAAR,OAAA;AAAgE,IAAAS,YAAA;AAAA,SAAAV,wBAAAW,CAAA,EAAAC,CAAA,6BAAAC,OAAA,MAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAb,uBAAA,YAAAA,CAAAW,CAAA,EAAAC,CAAA,SAAAA,CAAA,IAAAD,CAAA,IAAAA,CAAA,CAAAK,UAAA,SAAAL,CAAA,MAAAM,CAAA,EAAAC,CAAA,EAAAC,CAAA,KAAAC,SAAA,QAAAC,OAAA,EAAAV,CAAA,iBAAAA,CAAA,uBAAAA,CAAA,yBAAAA,CAAA,SAAAQ,CAAA,MAAAF,CAAA,GAAAL,CAAA,GAAAG,CAAA,GAAAD,CAAA,QAAAG,CAAA,CAAAK,GAAA,CAAAX,CAAA,UAAAM,CAAA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,aAAa,EAAE1B,QAAQ,CAAC0B,aAAc;IACtCtC,KAAK,EAAEA,KAAM;IAAA2B,MAAA;IAAAC,QAAA;MAAAC,QAAA,EAAAnD,YAAA;MAAAoD,UAAA;MAAAC,YAAA;IAAA;EAAA,EACd,CAAC,gBAEFhE,MAAA,CAAAsB,OAAA,CAAAmC,aAAA,CAAC/C,sBAAA,CAAA8D,qBAAqB,MAAAb,SAAA,CAAArC,OAAA,MAAKU,KAAK;IAAEC,KAAK,EAAEA,KAAM;IAAA2B,MAAA;IAAAC,QAAA;MAAAC,QAAA,EAAAnD,YAAA;MAAAoD,UAAA;MAAAC,YAAA;IAAA;EAAA,EAAE,CAElB,CACd,CACN,CAAC,EACnBpB,WAAW,IAAIE,OAAO,CAAC2B,kBAAkB,CAAC7B,WAAW,CAAC8B,KACzC,CAAC;AAErB;AAEO,MAAMC,IAAI,GAAAC,OAAA,CAAAD,IAAA,GAAG,IAAAE,uBAAQ,EAAC9C,KAAK,CAAC","ignoreList":[]}
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireWildcard","require","_getToolbarCollectionFeaturesInitializers","_ToolbarCollectionContentAutoSizer","_GridPlaceholderStates","_CollectionCard","_ToolbarCollection","_mobxReactLite","_useToolbarCollectionSyncProps","_GridSingleGridContent","_jsxFileName","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","_Grid","props","state","dragAndDrop","renderError","errorState","err","isOnline","retry","emptyState","noResultsState","cardProps","dataHook","exportModal","importModal","sections","toolbar","useToolbarCollectionSyncProps","isUsingDragAndDrop","isUsingBulkActionsToolbar","isUsingHorizontalScroll","isUsingFolders","isUsingTableVirtualization","useEffect","init","featuresInitializers","getToolbarCollectionFeaturesInitializers","createElement","CollectionCard","_extends2","__self","__source","fileName","lineNumber","columnNumber","ToolbarCollection","sticky","GridPlaceholderStates","ToolbarCollectionContentAutoSizer","GridSections","groupBy","renderSection","GridSingleGridContent","featuredComponents","value","Grid","exports","observer"],"sources":["../../../../src/components/Grid/Grid.tsx"],"sourcesContent":["import React, { useEffect } from 'react';\nimport { FiltersMap } from '@wix/bex-core';\nimport { GridPresetProps } from './Grid.types';\nimport { GridState, LayoutType } from '../../state';\nimport { getToolbarCollectionFeaturesInitializers } from '../../state/getToolbarCollectionFeaturesInitializers';\nimport { ToolbarCollectionContentAutoSizer } from '../ToolbarCollectionContentAutoSizer';\nimport { BulkActionToolbarRenderProp } from '../BulkAction';\nimport { GridItemBaseProps } from './GridItemBaseProps';\nimport { GridPlaceholderStates } from './GridPlaceholderStates';\nimport { CollectionCard } from '../CollectionCard';\nimport {\n ToolbarCollection,\n ToolbarCollectionBaseProps,\n} from '../ToolbarCollection';\nimport { observer } from 'mobx-react-lite';\nimport { useToolbarCollectionSyncProps } from '../ToolbarCollection/useToolbarCollectionSyncProps';\nimport type { GridSectionsContent } from '../GridSections/GridSectionsContent';\nimport type { GroupBy, RenderSection } from '../CollectionSectionHeader';\nimport { GridSingleGridContent } from './GridSingleGridContent';\nimport { GridDragAndDrop } from '../GridDragAndDropDndKit/GridDragAndDrop';\n\ninterface GridBaseProps<T, F extends FiltersMap>\n extends Omit<ToolbarCollectionBaseProps<T, F>, 'sticky' | 'maxSelection'>,\n GridItemBaseProps<T, F> {\n dataHook?: string;\n /**\n * Adds functionality to allow visitors to reorder items manually.\n * For more information, see the [Drag and Drop Overview](./?path=/story/features-sort-drag-and-drop--overview).\n * @overrideType [GridDragAndDrop](./?path=/story/features-sort-drag-and-drop--griddraganddrop)\n * @external\n */\n dragAndDrop?: typeof GridDragAndDrop;\n\n /**\n * Grid state instance created using [`useGridCollection`](./?path=/story/base-components-collections-grid-usegridcollection--usegridcollection).\n * @overrideType [GridState](./?path=/story/base-components-collections-grid-gridstate--gridstate)\n * @external\n */\n state: GridState<T, F>;\n\n /**\n * A toolbar for performing bulk actions on multiple items.<br> <br>\n * Supported parameters: <br>\n * -`selectedValues`: [array] Items that are checked in the selection column. <br>\n * -`uncheckedValues`: [array] Items that are unchecked in the selection column. <br>\n * -`isSelectAll`: [bool] Whether **Select All** is checked. <br>\n * -`openModal`: [func] Opens a modal that contains the component from `bulkActionModal` render prop. <br>\n * -`clearSelection`: [func] Clears all selections. Call this after the action on the selected items finishes. <br>\n * -`total`: [number] Total number of items in the server. <br>\n * -`openConfirmModal`: [func] Opens a `<MessageModalLayout>` to confirm an action is about to be applied to the selected items. <br>\n * -`query`: [object] Current paging, sorting, and filtering. Often used together with bulk actions, such as `updateAll`. <br>\n * @external\n */\n bulkActionToolbar?: BulkActionToolbarRenderProp<T, F>;\n\n /**\n * Creates [grid sections](./?path=/story/features-display-grid-sections--grid-sections) that group data based on the values of a specific field.\n * @external\n * @overrideType [SectionsProp](./?path=/story/common-types--sectionsprop)\n */\n sections?: {\n GridSections: typeof GridSectionsContent;\n groupBy: GroupBy<T>;\n renderSection?: RenderSection<T>;\n };\n\n layoutType?: LayoutType;\n}\n\nexport type GridBasePropsWithoutPreset<T, F extends FiltersMap> = Omit<\n GridBaseProps<T, F>,\n 'preset' | 'renderItem'\n>;\n\nexport type GridProps<T, F extends FiltersMap> = GridPresetProps<\n T,\n GridBasePropsWithoutPreset<T, F>\n>;\n\nfunction _Grid<T, F extends FiltersMap = FiltersMap>(props: GridProps<T, F>) {\n const {\n state,\n dragAndDrop,\n renderError,\n errorState = renderError &&\n (((err, { isOnline, retry }) =>\n renderError?.({ err, isOnline, retry })) as GridProps<\n T,\n F\n >['errorState']),\n emptyState,\n noResultsState,\n cardProps,\n dataHook,\n exportModal,\n importModal,\n sections,\n } = props;\n\n const { toolbar } = state;\n\n useToolbarCollectionSyncProps({\n ...props,\n state: state.toolbar,\n isUsingDragAndDrop: !!dragAndDrop,\n isUsingBulkActionsToolbar: false,\n isUsingHorizontalScroll: false,\n isUsingFolders: false,\n isUsingTableVirtualization: false,\n });\n\n useEffect(\n () =>\n state.init({\n featuresInitializers: getToolbarCollectionFeaturesInitializers(props),\n }),\n [],\n );\n\n return (\n <CollectionCard\n errorState={false}\n state={toolbar}\n dataHook={dataHook}\n {...cardProps}\n >\n <ToolbarCollection {...props} sticky state={toolbar}>\n <GridPlaceholderStates\n state={state.toolbar}\n errorState={errorState}\n emptyState={emptyState}\n noResultsState={noResultsState}\n >\n <ToolbarCollectionContentAutoSizer>\n {sections ? (\n <sections.GridSections\n {...props}\n groupBy={sections.groupBy}\n renderSection={sections.renderSection}\n state={state}\n />\n ) : (\n <GridSingleGridContent {...props} state={state} />\n )}\n </ToolbarCollectionContentAutoSizer>\n </GridPlaceholderStates>\n </ToolbarCollection>\n {exportModal ?? toolbar.featuredComponents.exportModal.value}\n {importModal ?? toolbar.featuredComponents.importModal.value}\n </CollectionCard>\n );\n}\n\nexport const Grid = observer(_Grid);\n"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AAIA,IAAAC,yCAAA,GAAAD,OAAA;AACA,IAAAE,kCAAA,GAAAF,OAAA;AAGA,IAAAG,sBAAA,GAAAH,OAAA;AACA,IAAAI,eAAA,GAAAJ,OAAA;AACA,IAAAK,kBAAA,GAAAL,OAAA;AAIA,IAAAM,cAAA,GAAAN,OAAA;AACA,IAAAO,8BAAA,GAAAP,OAAA;AAGA,IAAAQ,sBAAA,GAAAR,OAAA;AAAgE,IAAAS,YAAA;AAAA,SAAAV,wBAAAW,CAAA,EAAAC,CAAA,6BAAAC,OAAA,MAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAb,uBAAA,YAAAA,CAAAW,CAAA,EAAAC,CAAA,SAAAA,CAAA,IAAAD,CAAA,IAAAA,CAAA,CAAAK,UAAA,SAAAL,CAAA,MAAAM,CAAA,EAAAC,CAAA,EAAAC,CAAA,KAAAC,SAAA,QAAAC,OAAA,EAAAV,CAAA,iBAAAA,CAAA,uBAAAA,CAAA,yBAAAA,CAAA,SAAAQ,CAAA,MAAAF,CAAA,GAAAL,CAAA,GAAAG,CAAA,GAA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AtC,OAAA,MAChBU,KAAK;IACTuC,OAAO,EAAEzB,QAAQ,CAACyB,OAAQ;IAC1BC,aAAa,EAAE1B,QAAQ,CAAC0B,aAAc;IACtCvC,KAAK,EAAEA,KAAM;IAAA4B,MAAA;IAAAC,QAAA;MAAAC,QAAA,EAAApD,YAAA;MAAAqD,UAAA;MAAAC,YAAA;IAAA;EAAA,EACd,CAAC,gBAEFjE,MAAA,CAAAsB,OAAA,CAAAoC,aAAA,CAAChD,sBAAA,CAAA+D,qBAAqB,MAAAb,SAAA,CAAAtC,OAAA,MAAKU,KAAK;IAAEC,KAAK,EAAEA,KAAM;IAAA4B,MAAA;IAAAC,QAAA;MAAAC,QAAA,EAAApD,YAAA;MAAAqD,UAAA;MAAAC,YAAA;IAAA;EAAA,EAAE,CAElB,CACd,CACN,CAAC,EACnBrB,WAAW,IAAIG,OAAO,CAAC2B,kBAAkB,CAAC9B,WAAW,CAAC+B,KAAK,EAC3D9B,WAAW,IAAIE,OAAO,CAAC2B,kBAAkB,CAAC7B,WAAW,CAAC8B,KACzC,CAAC;AAErB;AAEO,MAAMC,IAAI,GAAAC,OAAA,CAAAD,IAAA,GAAG,IAAAE,uBAAQ,EAAC/C,KAAK,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_ = "Heading3688798431";
|
|
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": "Heading3688798431__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/Heading/Heading.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/Heading/Heading.st.css.ts"],"sourcesContent":["// @ts-nocheck\n\n\nimport { classesRuntime, statesRuntime } from \"../../stylable-esm-runtime.js\";\n\n\n\nvar _namespace_ = \"Heading3688798431\";\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\":\"Heading3688798431__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,mBAAmB;AACrC,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;AAAyB,CAAC;AAChD,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":[]}
|