@wix/patterns 1.37.0 → 1.39.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/README.md +23 -0
- package/dist/cjs/components/{MultiBulkActionButton/MultiBulkActionButton.js → ActionControl/ActionButton.js} +12 -27
- package/dist/cjs/components/ActionControl/ActionButton.js.map +1 -0
- package/dist/cjs/components/ActionControl/ActionControl.js +33 -0
- package/dist/cjs/components/ActionControl/ActionControl.js.map +1 -0
- package/dist/cjs/components/{MultiBulkActionButton/MultiBulkActionPopover.js → ActionControl/ActionPopover.js} +12 -27
- package/dist/cjs/components/ActionControl/ActionPopover.js.map +1 -0
- package/dist/cjs/components/ActionControl/ActionSubItemProps.js +4 -0
- package/dist/cjs/components/ActionControl/ActionSubItemProps.js.map +1 -0
- package/dist/cjs/components/ActionControl/index.js +28 -0
- package/dist/cjs/components/ActionControl/index.js.map +1 -0
- 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/CollectionPageHeaderNew/CollectionPageHeader.js.map +1 -1
- package/dist/cjs/components/CollectionPageNew/CollectionPage.uni.driver.js +9 -1
- package/dist/cjs/components/CollectionPageNew/CollectionPage.uni.driver.js.map +1 -1
- package/dist/cjs/components/CollectionToolbar/CollectionToolbar.st.css.js +5 -5
- package/dist/cjs/components/CollectionToolbar/CollectionToolbar.st.css.js.map +1 -1
- package/dist/cjs/components/CollectionToolbar/SearchOrCustomFilter.st.css.js +3 -3
- package/dist/cjs/components/CollectionToolbar/SearchOrCustomFilter.st.css.js.map +1 -1
- package/dist/cjs/components/CollectionViewsDropdown/AutoCompleteReadonly.st.css.js +2 -2
- package/dist/cjs/components/CollectionViewsDropdown/AutoCompleteReadonly.st.css.js.map +1 -1
- package/dist/cjs/components/CollectionViewsDropdown/ViewsDropdown.st.css.js +2 -2
- package/dist/cjs/components/CollectionViewsDropdown/ViewsDropdown.st.css.js.map +1 -1
- package/dist/cjs/components/CustomFieldsWidget/CustomFieldsViewWidgetSection.st.css.js +3 -3
- package/dist/cjs/components/CustomFieldsWidget/CustomFieldsViewWidgetSection.st.css.js.map +1 -1
- package/dist/cjs/components/DragAndDrop/DragOverlayTestComponent.js +48 -0
- package/dist/cjs/components/DragAndDrop/DragOverlayTestComponent.js.map +1 -0
- 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/EntityPage.js +2 -2
- package/dist/cjs/components/EntityPage/EntityPage.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/GridSingleGridContent.js +1 -1
- package/dist/cjs/components/Grid/GridSingleGridContent.js.map +1 -1
- package/dist/cjs/components/Grid/useGridBaseSyncProps.js +6 -4
- package/dist/cjs/components/Grid/useGridBaseSyncProps.js.map +1 -1
- package/dist/cjs/components/GridSections/GridSectionsContent.js +7 -6
- package/dist/cjs/components/GridSections/GridSectionsContent.js.map +1 -1
- package/dist/cjs/components/GridSections/GridSectionsSectionState.js +1 -1
- package/dist/cjs/components/GridSections/GridSectionsSectionState.js.map +1 -1
- package/dist/cjs/components/GridSections/GridSectionsSingleSkeletonGrid.js +1 -1
- package/dist/cjs/components/GridSections/GridSectionsSingleSkeletonGrid.js.map +1 -1
- package/dist/cjs/components/GridSections/GridSectionsState.js +2 -1
- package/dist/cjs/components/GridSections/GridSectionsState.js.map +1 -1
- package/dist/cjs/components/Heading/Heading.st.css.js +2 -2
- package/dist/cjs/components/Heading/Heading.st.css.js.map +1 -1
- package/dist/cjs/components/InputOverflow/InputOverflow.st.css.js +2 -2
- package/dist/cjs/components/InputOverflow/InputOverflow.st.css.js.map +1 -1
- package/dist/cjs/components/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/MoreActions/{MoreActions.js → MoreActionsBase.js} +11 -27
- package/dist/cjs/components/MoreActions/MoreActionsBase.js.map +1 -0
- package/dist/cjs/components/MoreActions/MoreActionsIcon.js +42 -0
- package/dist/cjs/components/MoreActions/MoreActionsIcon.js.map +1 -0
- package/dist/cjs/components/MoreActions/MoreActionsText.js +47 -0
- package/dist/cjs/components/MoreActions/MoreActionsText.js.map +1 -0
- package/dist/cjs/components/MoreActions/index.js +7 -6
- package/dist/cjs/components/MoreActions/index.js.map +1 -1
- package/dist/cjs/components/MultiBulkActionToolbar/MultiBulkActionToolbar.js +86 -43
- 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/MultiBulkActionToolbar/MultiBulkActionToolbarState.js.map +1 -1
- package/dist/cjs/components/NestedTable/NestedTable.uni.driver.js +3 -1
- package/dist/cjs/components/NestedTable/NestedTable.uni.driver.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/DepthLimitMessage.js +48 -0
- package/dist/cjs/components/NestedTableDragAndDrop/DepthLimitMessage.js.map +1 -0
- package/dist/cjs/components/NestedTableDragAndDrop/NestedTableDragAndDropContext.js +33 -6
- package/dist/cjs/components/NestedTableDragAndDrop/NestedTableDragAndDropContext.js.map +1 -1
- package/dist/cjs/components/NestedTableDragAndDrop/NestedTableDragAndDropOverlay.js +50 -0
- package/dist/cjs/components/NestedTableDragAndDrop/NestedTableDragAndDropOverlay.js.map +1 -0
- package/dist/cjs/components/NestedTableDragAndDrop/NestedTableDragAndDropOverlayPopover.js +64 -0
- package/dist/cjs/components/NestedTableDragAndDrop/NestedTableDragAndDropOverlayPopover.js.map +1 -0
- package/dist/cjs/components/NestedTableDragAndDrop/NestedTableDragAndDropState.js +29 -1
- package/dist/cjs/components/NestedTableDragAndDrop/NestedTableDragAndDropState.js.map +1 -1
- package/dist/cjs/components/NestedTableDragAndDrop/NestedTableDragOverlay.uni.driver.js +15 -0
- package/dist/cjs/components/NestedTableDragAndDrop/NestedTableDragOverlay.uni.driver.js.map +1 -0
- package/dist/cjs/components/PickerContent/PickerContent.st.css.js +2 -2
- package/dist/cjs/components/PickerContent/PickerContent.st.css.js.map +1 -1
- package/dist/cjs/components/PickerContent/PickerContentAdditionalStep.st.css.js +4 -4
- package/dist/cjs/components/PickerContent/PickerContentAdditionalStep.st.css.js.map +1 -1
- package/dist/cjs/components/PickerTableListItem/PickerTableListItem.st.css.js +2 -2
- package/dist/cjs/components/PickerTableListItem/PickerTableListItem.st.css.js.map +1 -1
- package/dist/cjs/components/ScrollableContent/ScrollableContent.st.css.js +2 -2
- package/dist/cjs/components/ScrollableContent/ScrollableContent.st.css.js.map +1 -1
- package/dist/cjs/components/SecondaryActions/SecondaryActions.js +24 -0
- package/dist/cjs/components/SecondaryActions/SecondaryActions.js.map +1 -0
- package/dist/cjs/components/SecondaryActions/index.js +10 -0
- package/dist/cjs/components/SecondaryActions/index.js.map +1 -0
- package/dist/cjs/components/SkeletonCard/SkeletonCard.st.css.js +3 -3
- package/dist/cjs/components/SkeletonCard/SkeletonCard.st.css.js.map +1 -1
- package/dist/cjs/components/SlidingModal/SlidingModal.st.css.js +2 -2
- package/dist/cjs/components/SlidingModal/SlidingModal.st.css.js.map +1 -1
- package/dist/cjs/components/Table/TableVirtualHeader.st.css.js +2 -2
- package/dist/cjs/components/Table/TableVirtualHeader.st.css.js.map +1 -1
- package/dist/cjs/components/Table/getVirtualTableProps.js +1 -1
- package/dist/cjs/components/Table/getVirtualTableProps.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/Tags/ManageTags/ManageTagsModal/ManageTagsModal.uni.driver.js +2 -0
- package/dist/cjs/components/Tags/ManageTags/ManageTagsModal/ManageTagsModal.uni.driver.js.map +1 -1
- package/dist/cjs/components/ToolbarCollection/useToolbarCollectionSyncProps.js +10 -2
- package/dist/cjs/components/ToolbarCollection/useToolbarCollectionSyncProps.js.map +1 -1
- package/dist/cjs/components/ToolbarItemBox/ToolbarItemBox.st.css.js +2 -2
- package/dist/cjs/components/ToolbarItemBox/ToolbarItemBox.st.css.js.map +1 -1
- package/dist/cjs/components/common.st.css.js +4 -4
- package/dist/cjs/components/common.st.css.js.map +1 -1
- package/dist/cjs/hooks/useSyncCollectionOnEntityReturn.js +17 -5
- package/dist/cjs/hooks/useSyncCollectionOnEntityReturn.js.map +1 -1
- package/dist/cjs/index.js +13 -4
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/providers/WixPatternsRouterProvider.js +6 -12
- package/dist/cjs/providers/WixPatternsRouterProvider.js.map +1 -1
- package/dist/cjs/state/CollectionPage/useCollectionPageHeader.js +25 -8
- package/dist/cjs/state/CollectionPage/useCollectionPageHeader.js.map +1 -1
- package/dist/cjs/state/CustomColumnsState.js +23 -11
- package/dist/cjs/state/CustomColumnsState.js.map +1 -1
- package/dist/cjs/state/EntityPage/EntityPageState.js +9 -5
- package/dist/cjs/state/EntityPage/EntityPageState.js.map +1 -1
- package/dist/cjs/state/GridBaseState.js +6 -3
- package/dist/cjs/state/GridBaseState.js.map +1 -1
- package/dist/cjs/state/GridFoldersState.js +1 -0
- package/dist/cjs/state/GridFoldersState.js.map +1 -1
- package/dist/cjs/state/GridParentState.js +4 -0
- package/dist/cjs/state/GridParentState.js.map +1 -0
- package/dist/cjs/state/GridState.js +5 -0
- package/dist/cjs/state/GridState.js.map +1 -1
- package/dist/cjs/state/NestedTableState/NestedTableNodeState.js +22 -2
- package/dist/cjs/state/NestedTableState/NestedTableNodeState.js.map +1 -1
- package/dist/cjs/state/TagsBulkAssignPopoverState.js +10 -4
- package/dist/cjs/state/TagsBulkAssignPopoverState.js.map +1 -1
- package/dist/cjs/state/TagsModalState.js +11 -4
- package/dist/cjs/state/TagsModalState.js.map +1 -1
- package/dist/cjs/state/WixPatternsRouterState.js +9 -1
- package/dist/cjs/state/WixPatternsRouterState.js.map +1 -1
- package/dist/cjs/styles.global.css +1 -1
- package/dist/cjs/test-utils/TagsMocks.js +23 -1
- package/dist/cjs/test-utils/TagsMocks.js.map +1 -1
- package/dist/cjs/testkit/puppeteer.js +3 -1
- package/dist/cjs/testkit/puppeteer.js.map +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/cjs/version.js.map +1 -1
- package/dist/esm/components/ActionControl/ActionButton.js +10 -0
- package/dist/esm/components/ActionControl/ActionButton.js.map +1 -0
- package/dist/esm/components/ActionControl/ActionControl.js +8 -0
- package/dist/esm/components/ActionControl/ActionControl.js.map +1 -0
- package/dist/esm/components/{MultiBulkActionButton/MultiBulkActionPopover.js → ActionControl/ActionPopover.js} +5 -19
- package/dist/esm/components/ActionControl/ActionPopover.js.map +1 -0
- package/dist/esm/components/ActionControl/ActionSubItemProps.js +2 -0
- package/dist/esm/components/ActionControl/ActionSubItemProps.js.map +1 -0
- package/dist/esm/components/ActionControl/index.js +5 -0
- package/dist/esm/components/ActionControl/index.js.map +1 -0
- package/dist/esm/components/Collapse/Collapse.st.css.js +2 -2
- package/dist/esm/components/CollectionPageHeaderNew/CollectionPageHeader.js.map +1 -1
- package/dist/esm/components/CollectionPageNew/CollectionPage.uni.driver.js +9 -1
- package/dist/esm/components/CollectionPageNew/CollectionPage.uni.driver.js.map +1 -1
- package/dist/esm/components/CollectionToolbar/CollectionToolbar.st.css.js +2 -2
- package/dist/esm/components/CollectionToolbar/SearchOrCustomFilter.st.css.js +2 -2
- package/dist/esm/components/CollectionViewsDropdown/AutoCompleteReadonly.st.css.js +2 -2
- package/dist/esm/components/CollectionViewsDropdown/AutoCompleteReadonly.st.css.js.map +1 -1
- package/dist/esm/components/CollectionViewsDropdown/ViewsDropdown.st.css.js +2 -2
- package/dist/esm/components/CollectionViewsDropdown/ViewsDropdown.st.css.js.map +1 -1
- 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/DragAndDrop/DragOverlayTestComponent.js +19 -0
- package/dist/esm/components/DragAndDrop/DragOverlayTestComponent.js.map +1 -0
- package/dist/esm/components/DragHandle/DragHandle.st.css.js +2 -2
- package/dist/esm/components/EntityPage/EntityPage.js +2 -2
- package/dist/esm/components/EntityPage/EntityPage.js.map +1 -1
- package/dist/esm/components/Fade/Fade.st.css.js +2 -2
- package/dist/esm/components/Grid/GridSingleGridContent.js.map +1 -1
- package/dist/esm/components/Grid/useGridBaseSyncProps.js +7 -4
- package/dist/esm/components/Grid/useGridBaseSyncProps.js.map +1 -1
- package/dist/esm/components/GridSections/GridSectionsContent.js +2 -1
- package/dist/esm/components/GridSections/GridSectionsContent.js.map +1 -1
- package/dist/esm/components/GridSections/GridSectionsSectionState.js +1 -1
- package/dist/esm/components/GridSections/GridSectionsSectionState.js.map +1 -1
- package/dist/esm/components/GridSections/GridSectionsSingleSkeletonGrid.js.map +1 -1
- package/dist/esm/components/GridSections/GridSectionsState.js +1 -1
- package/dist/esm/components/GridSections/GridSectionsState.js.map +1 -1
- package/dist/esm/components/Heading/Heading.st.css.js +2 -2
- package/dist/esm/components/InputOverflow/InputOverflow.st.css.js +2 -2
- package/dist/esm/components/MaxHeightText/MaxHeightText.st.css.js +2 -2
- package/dist/esm/components/MaxHeightText/MaxHeightText.st.css.js.map +1 -1
- package/dist/esm/components/MaxLines/MaxLines.st.css.js +2 -2
- package/dist/esm/components/MoreActions/{MoreActions.js → MoreActionsBase.js} +6 -8
- package/dist/esm/components/MoreActions/MoreActionsBase.js.map +1 -0
- package/dist/esm/components/MoreActions/MoreActionsIcon.js +12 -0
- package/dist/esm/components/MoreActions/MoreActionsIcon.js.map +1 -0
- package/dist/esm/components/MoreActions/MoreActionsText.js +12 -0
- package/dist/esm/components/MoreActions/MoreActionsText.js.map +1 -0
- package/dist/esm/components/MoreActions/index.js +1 -1
- package/dist/esm/components/MoreActions/index.js.map +1 -1
- package/dist/esm/components/MultiBulkActionToolbar/MultiBulkActionToolbar.js +49 -6
- package/dist/esm/components/MultiBulkActionToolbar/MultiBulkActionToolbar.js.map +1 -1
- package/dist/esm/components/MultiBulkActionToolbar/MultiBulkActionToolbar.st.css.js +2 -2
- package/dist/esm/components/MultiBulkActionToolbar/MultiBulkActionToolbarState.js.map +1 -1
- package/dist/esm/components/NestedTable/NestedTable.uni.driver.js +2 -0
- package/dist/esm/components/NestedTable/NestedTable.uni.driver.js.map +1 -1
- package/dist/esm/components/NestedTable/NestedTableRow.st.css.js +2 -2
- package/dist/esm/components/NestedTableDragAndDrop/DepthLimitMessage.js +14 -0
- package/dist/esm/components/NestedTableDragAndDrop/DepthLimitMessage.js.map +1 -0
- package/dist/esm/components/NestedTableDragAndDrop/NestedTableDragAndDropContext.js +11 -2
- package/dist/esm/components/NestedTableDragAndDrop/NestedTableDragAndDropContext.js.map +1 -1
- package/dist/esm/components/NestedTableDragAndDrop/NestedTableDragAndDropOverlay.js +20 -0
- package/dist/esm/components/NestedTableDragAndDrop/NestedTableDragAndDropOverlay.js.map +1 -0
- package/dist/esm/components/NestedTableDragAndDrop/NestedTableDragAndDropOverlayPopover.js +15 -0
- package/dist/esm/components/NestedTableDragAndDrop/NestedTableDragAndDropOverlayPopover.js.map +1 -0
- package/dist/esm/components/NestedTableDragAndDrop/NestedTableDragAndDropState.js +30 -2
- package/dist/esm/components/NestedTableDragAndDrop/NestedTableDragAndDropState.js.map +1 -1
- package/dist/esm/components/NestedTableDragAndDrop/NestedTableDragOverlay.uni.driver.js +11 -0
- package/dist/esm/components/NestedTableDragAndDrop/NestedTableDragOverlay.uni.driver.js.map +1 -0
- package/dist/esm/components/PickerContent/PickerContent.st.css.js +2 -2
- package/dist/esm/components/PickerContent/PickerContentAdditionalStep.st.css.js +2 -2
- package/dist/esm/components/PickerContent/PickerContentAdditionalStep.st.css.js.map +1 -1
- package/dist/esm/components/PickerTableListItem/PickerTableListItem.st.css.js +2 -2
- package/dist/esm/components/ScrollableContent/ScrollableContent.st.css.js +2 -2
- package/dist/esm/components/ScrollableContent/ScrollableContent.st.css.js.map +1 -1
- package/dist/esm/components/SecondaryActions/SecondaryActions.js +9 -0
- package/dist/esm/components/SecondaryActions/SecondaryActions.js.map +1 -0
- package/dist/esm/components/SecondaryActions/index.js +2 -0
- package/dist/esm/components/SecondaryActions/index.js.map +1 -0
- 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/Table/TableVirtualHeader.st.css.js +2 -2
- package/dist/esm/components/Table/getVirtualTableProps.js +1 -1
- package/dist/esm/components/Table/getVirtualTableProps.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/Tags/ManageTags/ManageTagsModal/ManageTagsModal.uni.driver.js +5 -0
- package/dist/esm/components/Tags/ManageTags/ManageTagsModal/ManageTagsModal.uni.driver.js.map +1 -1
- package/dist/esm/components/ToolbarCollection/useToolbarCollectionSyncProps.js +9 -2
- package/dist/esm/components/ToolbarCollection/useToolbarCollectionSyncProps.js.map +1 -1
- package/dist/esm/components/ToolbarItemBox/ToolbarItemBox.st.css.js +2 -2
- package/dist/esm/components/common.st.css.js +2 -2
- package/dist/esm/components/common.st.css.js.map +1 -1
- package/dist/esm/hooks/useSyncCollectionOnEntityReturn.js +18 -6
- package/dist/esm/hooks/useSyncCollectionOnEntityReturn.js.map +1 -1
- package/dist/esm/index.js +1 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/providers/WixPatternsRouterProvider.js +5 -10
- package/dist/esm/providers/WixPatternsRouterProvider.js.map +1 -1
- package/dist/esm/state/CollectionPage/useCollectionPageHeader.js +12 -1
- package/dist/esm/state/CollectionPage/useCollectionPageHeader.js.map +1 -1
- package/dist/esm/state/CustomColumnsState.js +17 -8
- package/dist/esm/state/CustomColumnsState.js.map +1 -1
- package/dist/esm/state/EntityPage/EntityPageState.js +8 -4
- package/dist/esm/state/EntityPage/EntityPageState.js.map +1 -1
- package/dist/esm/state/GridBaseState.js +5 -2
- package/dist/esm/state/GridBaseState.js.map +1 -1
- package/dist/esm/state/GridFoldersState.js +2 -1
- package/dist/esm/state/GridFoldersState.js.map +1 -1
- package/dist/esm/state/GridParentState.js +2 -0
- package/dist/esm/state/GridParentState.js.map +1 -0
- package/dist/esm/state/GridState.js +5 -0
- package/dist/esm/state/GridState.js.map +1 -1
- package/dist/esm/state/NestedTableState/NestedTableNodeState.js +9 -0
- package/dist/esm/state/NestedTableState/NestedTableNodeState.js.map +1 -1
- package/dist/esm/state/TagsBulkAssignPopoverState.js +11 -5
- package/dist/esm/state/TagsBulkAssignPopoverState.js.map +1 -1
- package/dist/esm/state/TagsModalState.js +12 -5
- package/dist/esm/state/TagsModalState.js.map +1 -1
- package/dist/esm/state/WixPatternsRouterState.js +6 -1
- package/dist/esm/state/WixPatternsRouterState.js.map +1 -1
- package/dist/esm/styles.global.css +1 -1
- package/dist/esm/test-utils/TagsMocks.js +17 -1
- package/dist/esm/test-utils/TagsMocks.js.map +1 -1
- package/dist/esm/testkit/puppeteer.js +2 -0
- package/dist/esm/testkit/puppeteer.js.map +1 -1
- package/dist/esm/version.js +1 -1
- package/dist/types/components/ActionControl/ActionButton.d.ts +10 -0
- package/dist/types/components/ActionControl/ActionButton.d.ts.map +1 -0
- package/dist/types/components/ActionControl/ActionControl.d.ts +8 -0
- package/dist/types/components/ActionControl/ActionControl.d.ts.map +1 -0
- package/dist/types/components/ActionControl/ActionPopover.d.ts +8 -0
- package/dist/types/components/ActionControl/ActionPopover.d.ts.map +1 -0
- package/dist/types/components/{MultiBulkActionButton/MultiBulkActionSubItemProps.d.ts → ActionControl/ActionSubItemProps.d.ts} +6 -6
- package/dist/types/components/ActionControl/ActionSubItemProps.d.ts.map +1 -0
- package/dist/types/components/ActionControl/index.d.ts +5 -0
- package/dist/types/components/ActionControl/index.d.ts.map +1 -0
- package/dist/types/components/CollectionList/CollectionList.uni.driver.d.ts +20 -20
- package/dist/types/components/CollectionPageHeaderNew/CollectionPageHeader.d.ts +6 -0
- package/dist/types/components/CollectionPageHeaderNew/CollectionPageHeader.d.ts.map +1 -1
- package/dist/types/components/CollectionPageNew/CollectionPage.uni.driver.d.ts +30 -2
- package/dist/types/components/CollectionPageNew/CollectionPage.uni.driver.d.ts.map +1 -1
- package/dist/types/components/CollectionTable/CollectionTable.uni.driver.d.ts +40 -40
- package/dist/types/components/CollectionToolbar/CollectionToolbar.uni.driver.d.ts +20 -20
- package/dist/types/components/CollectionViewsDropdown/AutoCompleteReadonly.st.css.d.ts.map +1 -1
- package/dist/types/components/CollectionViewsDropdown/CollectionViewsDropdown.uni.driver.d.ts +10 -10
- package/dist/types/components/CollectionViewsDropdown/ViewsDropdown.st.css.d.ts.map +1 -1
- package/dist/types/components/CollectionViewsDropdown/ViewsDropdownListItem.uni.driver.d.ts +5 -5
- package/dist/types/components/CollectionViewsDropdown/viewsDropdownRenderHelpers.d.ts +3 -3
- package/dist/types/components/CustomFieldModal/CustomFieldModal.uni.driver.d.ts +51 -3
- 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 +51 -3
- package/dist/types/components/CustomFieldsWidget/CustomFieldsWidget.uni.driver.d.ts.map +1 -1
- package/dist/types/components/DragAndDrop/DragOverlayTestComponent.d.ts +13 -0
- package/dist/types/components/DragAndDrop/DragOverlayTestComponent.d.ts.map +1 -0
- package/dist/types/components/Grid/Grid.uni.driver.d.ts +20 -20
- package/dist/types/components/Grid/GridFolders.uni.driver.d.ts +60 -60
- package/dist/types/components/Grid/GridFoldersSection.uni.driver.d.ts +20 -20
- package/dist/types/components/Grid/GridSingleGridContent.d.ts +3 -7
- package/dist/types/components/Grid/GridSingleGridContent.d.ts.map +1 -1
- package/dist/types/components/Grid/useGridBaseSyncProps.d.ts.map +1 -1
- package/dist/types/components/GridSections/GridSectionsContent.d.ts +4 -9
- package/dist/types/components/GridSections/GridSectionsContent.d.ts.map +1 -1
- package/dist/types/components/GridSections/GridSectionsSingleSkeletonGrid.d.ts +3 -7
- package/dist/types/components/GridSections/GridSectionsSingleSkeletonGrid.d.ts.map +1 -1
- package/dist/types/components/GridSections/GridSectionsState.d.ts +3 -2
- package/dist/types/components/GridSections/GridSectionsState.d.ts.map +1 -1
- package/dist/types/components/InfiniteScrollCollectionList/InfiniteScrollCollectionList.uni.driver.d.ts +20 -20
- package/dist/types/components/MaxHeightText/MaxHeightText.st.css.d.ts.map +1 -1
- package/dist/types/components/MoreActions/{MoreActions.d.ts → MoreActionsBase.d.ts} +7 -6
- package/dist/types/components/MoreActions/MoreActionsBase.d.ts.map +1 -0
- package/dist/types/components/MoreActions/MoreActionsIcon.d.ts +12 -0
- package/dist/types/components/MoreActions/MoreActionsIcon.d.ts.map +1 -0
- package/dist/types/components/MoreActions/MoreActionsText.d.ts +8 -0
- package/dist/types/components/MoreActions/MoreActionsText.d.ts.map +1 -0
- package/dist/types/components/MoreActions/index.d.ts +2 -1
- package/dist/types/components/MoreActions/index.d.ts.map +1 -1
- package/dist/types/components/MultiBulkActionToolbar/MultiBulkActionToolbar.d.ts +3 -3
- package/dist/types/components/MultiBulkActionToolbar/MultiBulkActionToolbar.d.ts.map +1 -1
- package/dist/types/components/MultiBulkActionToolbar/MultiBulkActionToolbarState.d.ts +8 -8
- package/dist/types/components/MultiBulkActionToolbar/MultiBulkActionToolbarState.d.ts.map +1 -1
- package/dist/types/components/NestedTable/NestedTable.uni.driver.d.ts +211 -74
- package/dist/types/components/NestedTable/NestedTable.uni.driver.d.ts.map +1 -1
- package/dist/types/components/NestedTableDragAndDrop/DepthLimitMessage.d.ts +11 -0
- package/dist/types/components/NestedTableDragAndDrop/DepthLimitMessage.d.ts.map +1 -0
- package/dist/types/components/NestedTableDragAndDrop/NestedTableDragAndDropContext.d.ts +1 -1
- package/dist/types/components/NestedTableDragAndDrop/NestedTableDragAndDropContext.d.ts.map +1 -1
- package/dist/types/components/NestedTableDragAndDrop/NestedTableDragAndDropOverlay.d.ts +13 -0
- package/dist/types/components/NestedTableDragAndDrop/NestedTableDragAndDropOverlay.d.ts.map +1 -0
- package/dist/types/components/NestedTableDragAndDrop/NestedTableDragAndDropOverlayPopover.d.ts +12 -0
- package/dist/types/components/NestedTableDragAndDrop/NestedTableDragAndDropOverlayPopover.d.ts.map +1 -0
- package/dist/types/components/NestedTableDragAndDrop/NestedTableDragAndDropState.d.ts +1 -0
- package/dist/types/components/NestedTableDragAndDrop/NestedTableDragAndDropState.d.ts.map +1 -1
- package/dist/types/components/NestedTableDragAndDrop/NestedTableDragOverlay.uni.driver.d.ts +9 -0
- package/dist/types/components/NestedTableDragAndDrop/NestedTableDragOverlay.uni.driver.d.ts.map +1 -0
- package/dist/types/components/PickerContent/PickerContentAdditionalStep.st.css.d.ts.map +1 -1
- package/dist/types/components/ScrollableContent/ScrollableContent.st.css.d.ts.map +1 -1
- package/dist/types/components/SecondaryActions/SecondaryActions.d.ts +5 -0
- package/dist/types/components/SecondaryActions/SecondaryActions.d.ts.map +1 -0
- package/dist/types/components/SecondaryActions/index.d.ts +2 -0
- package/dist/types/components/SecondaryActions/index.d.ts.map +1 -0
- package/dist/types/components/SkeletonCard/SkeletonCard.st.css.d.ts.map +1 -1
- package/dist/types/components/Table/Table.uni.driver.d.ts +163 -47
- package/dist/types/components/Table/Table.uni.driver.d.ts.map +1 -1
- package/dist/types/components/TableFolders/TableFolders.uni.driver.d.ts +183 -67
- package/dist/types/components/TableFolders/TableFolders.uni.driver.d.ts.map +1 -1
- package/dist/types/components/TableGridSwitch/TableGridSwitch.uni.driver.d.ts +183 -67
- package/dist/types/components/TableGridSwitch/TableGridSwitch.uni.driver.d.ts.map +1 -1
- package/dist/types/components/TableGridSwitchFolders/TableGridSwitchFolders.uni.driver.d.ts +243 -127
- package/dist/types/components/TableGridSwitchFolders/TableGridSwitchFolders.uni.driver.d.ts.map +1 -1
- package/dist/types/components/Tags/BulkAssignTagsPopover/BulkAssignTagsPopover.uni.driver.d.ts +36 -2
- package/dist/types/components/Tags/BulkAssignTagsPopover/BulkAssignTagsPopover.uni.driver.d.ts.map +1 -1
- package/dist/types/components/Tags/ManageTags/ManageTagsModal/ManageTagsModal.st.css.d.ts.map +1 -1
- package/dist/types/components/Tags/ManageTags/ManageTagsModal/ManageTagsModal.uni.driver.d.ts +36 -2
- package/dist/types/components/Tags/ManageTags/ManageTagsModal/ManageTagsModal.uni.driver.d.ts.map +1 -1
- package/dist/types/components/TagsAssignButton/TagsAssignButton.uni.driver.d.ts +36 -2
- package/dist/types/components/TagsAssignButton/TagsAssignButton.uni.driver.d.ts.map +1 -1
- package/dist/types/components/ToolbarCollection/useToolbarCollectionSyncProps.d.ts.map +1 -1
- package/dist/types/components/common.st.css.d.ts.map +1 -1
- package/dist/types/hooks/useBuildOption.d.ts +3 -3
- package/dist/types/hooks/useSyncCollectionOnEntityReturn.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/providers/WixPatternsRouterProvider.d.ts +1 -1
- package/dist/types/providers/WixPatternsRouterProvider.d.ts.map +1 -1
- package/dist/types/state/CollectionPage/useCollectionPageHeader.d.ts.map +1 -1
- package/dist/types/state/CustomColumnsState.d.ts.map +1 -1
- package/dist/types/state/EntityPage/EntityPageState.d.ts +5 -3
- package/dist/types/state/EntityPage/EntityPageState.d.ts.map +1 -1
- package/dist/types/state/GridBaseState.d.ts +5 -7
- package/dist/types/state/GridBaseState.d.ts.map +1 -1
- package/dist/types/state/GridFoldersState.d.ts +2 -0
- package/dist/types/state/GridFoldersState.d.ts.map +1 -1
- package/dist/types/state/GridParentState.d.ts +8 -0
- package/dist/types/state/GridParentState.d.ts.map +1 -0
- package/dist/types/state/GridState.d.ts +2 -0
- package/dist/types/state/GridState.d.ts.map +1 -1
- package/dist/types/state/NestedTableState/NestedTableNodeState.d.ts +1 -0
- package/dist/types/state/NestedTableState/NestedTableNodeState.d.ts.map +1 -1
- package/dist/types/state/TagsBulkAssignPopoverState.d.ts.map +1 -1
- package/dist/types/state/TagsModalState.d.ts.map +1 -1
- package/dist/types/state/WixPatternsRouterState.d.ts +14 -3
- package/dist/types/state/WixPatternsRouterState.d.ts.map +1 -1
- package/dist/types/test-utils/TagsMocks.d.ts.map +1 -1
- package/dist/types/testkit/enzyme.d.ts +1123 -488
- package/dist/types/testkit/enzyme.d.ts.map +1 -1
- package/dist/types/testkit/jsdom.d.ts +1149 -489
- package/dist/types/testkit/jsdom.d.ts.map +1 -1
- package/dist/types/testkit/puppeteer.d.ts +1237 -490
- package/dist/types/testkit/puppeteer.d.ts.map +1 -1
- package/dist/types/utils/useWindowFlipPopoverProps.d.ts +1 -1
- package/dist/types/version.d.ts +1 -1
- package/package.json +4 -4
- package/dist/cjs/components/MoreActions/MoreActions.js.map +0 -1
- package/dist/cjs/components/MultiBulkActionButton/MultiBulkActionButton.js.map +0 -1
- package/dist/cjs/components/MultiBulkActionButton/MultiBulkActionControl.js +0 -38
- package/dist/cjs/components/MultiBulkActionButton/MultiBulkActionControl.js.map +0 -1
- package/dist/cjs/components/MultiBulkActionButton/MultiBulkActionPopover.js.map +0 -1
- package/dist/cjs/components/MultiBulkActionButton/MultiBulkActionSubItemProps.js +0 -4
- package/dist/cjs/components/MultiBulkActionButton/MultiBulkActionSubItemProps.js.map +0 -1
- package/dist/cjs/components/MultiBulkActionButton/index.js +0 -28
- package/dist/cjs/components/MultiBulkActionButton/index.js.map +0 -1
- package/dist/esm/components/MoreActions/MoreActions.js.map +0 -1
- package/dist/esm/components/MultiBulkActionButton/MultiBulkActionButton.js +0 -22
- package/dist/esm/components/MultiBulkActionButton/MultiBulkActionButton.js.map +0 -1
- package/dist/esm/components/MultiBulkActionButton/MultiBulkActionControl.js +0 -9
- package/dist/esm/components/MultiBulkActionButton/MultiBulkActionControl.js.map +0 -1
- package/dist/esm/components/MultiBulkActionButton/MultiBulkActionPopover.js.map +0 -1
- package/dist/esm/components/MultiBulkActionButton/MultiBulkActionSubItemProps.js +0 -2
- package/dist/esm/components/MultiBulkActionButton/MultiBulkActionSubItemProps.js.map +0 -1
- package/dist/esm/components/MultiBulkActionButton/index.js +0 -5
- package/dist/esm/components/MultiBulkActionButton/index.js.map +0 -1
- package/dist/types/components/MoreActions/MoreActions.d.ts.map +0 -1
- package/dist/types/components/MultiBulkActionButton/MultiBulkActionButton.d.ts +0 -12
- package/dist/types/components/MultiBulkActionButton/MultiBulkActionButton.d.ts.map +0 -1
- package/dist/types/components/MultiBulkActionButton/MultiBulkActionControl.d.ts +0 -9
- package/dist/types/components/MultiBulkActionButton/MultiBulkActionControl.d.ts.map +0 -1
- package/dist/types/components/MultiBulkActionButton/MultiBulkActionPopover.d.ts +0 -9
- package/dist/types/components/MultiBulkActionButton/MultiBulkActionPopover.d.ts.map +0 -1
- package/dist/types/components/MultiBulkActionButton/MultiBulkActionSubItemProps.d.ts.map +0 -1
- package/dist/types/components/MultiBulkActionButton/index.d.ts +0 -5
- package/dist/types/components/MultiBulkActionButton/index.d.ts.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireDefault","require","_mobxReactLite","_jsxFileName","_DragOverlayTestComponent","props","wrapperElement","Wrapper","style","children","className","zIndex","state","activeId","child","default","createElement","__self","__source","fileName","lineNumber","columnNumber","position","DragOverlayTestComponent","exports","observer"],"sources":["../../../../src/components/DragAndDrop/DragOverlayTestComponent.tsx"],"sourcesContent":["import { DragOverlayProps } from '@wix/wix-style-react-incubator/dnd-kit/core';\nimport React from 'react';\nimport { DragAndDropState } from './DragAndDropState';\nimport { FiltersMap } from '@wix/bex-core';\nimport { observer } from 'mobx-react-lite';\n\nexport interface DragOverlayTestComponentProps<T, F extends FiltersMap>\n extends DragOverlayProps {\n state: DragAndDropState<T, F>;\n}\n\nfunction _DragOverlayTestComponent<T, F extends FiltersMap>(\n props: DragOverlayTestComponentProps<T, F>,\n) {\n const {\n wrapperElement: Wrapper,\n style,\n children,\n className,\n zIndex,\n state,\n } = props;\n\n if (state.activeId == null) {\n return null;\n }\n\n let child = children;\n\n if (Wrapper) {\n child = <Wrapper>{children}</Wrapper>;\n }\n\n return (\n <div\n className={className}\n style={{\n position: 'fixed',\n ...style,\n zIndex,\n }}\n >\n {child}\n </div>\n );\n}\n\nexport const DragOverlayTestComponent = observer(_DragOverlayTestComponent);\n"],"mappings":";;;;;AACA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AAGA,IAAAC,cAAA,GAAAD,OAAA;AAA2C,IAAAE,YAAA;AAO3C,SAASC,yBAAyBA,CAChCC,KAA0C,EAC1C;EACA,MAAM;IACJC,cAAc,EAAEC,OAAO;IACvBC,KAAK;IACLC,QAAQ;IACRC,SAAS;IACTC,MAAM;IACNC;EACF,CAAC,GAAGP,KAAK;EAET,IAAIO,KAAK,CAACC,QAAQ,IAAI,IAAI,EAAE;IAC1B,OAAO,IAAI;EACb;EAEA,IAAIC,KAAK,GAAGL,QAAQ;EAEpB,IAAIF,OAAO,EAAE;IACXO,KAAK,gBAAGf,MAAA,CAAAgB,OAAA,CAAAC,aAAA,CAACT,OAAO;MAAAU,MAAA;MAAAC,QAAA;QAAAC,QAAA,EAAAhB,YAAA;QAAAiB,UAAA;QAAAC,YAAA;MAAA;IAAA,GAAEZ,QAAkB,CAAC;EACvC;EAEA,oBACEV,MAAA,CAAAgB,OAAA,CAAAC,aAAA;IACEN,SAAS,EAAEA,SAAU;IACrBF,KAAK,EAAE;MACLc,QAAQ,EAAE,OAAO;MACjB,GAAGd,KAAK;MACRG;IACF,CAAE;IAAAM,MAAA;IAAAC,QAAA;MAAAC,QAAA,EAAAhB,YAAA;MAAAiB,UAAA;MAAAC,YAAA;IAAA;EAAA,GAEDP,KACE,CAAC;AAEV;AAEO,MAAMS,wBAAwB,GAAAC,OAAA,CAAAD,wBAAA,GAAG,IAAAE,uBAAQ,EAACrB,yBAAyB,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_ = "DragHandle4276795587";
|
|
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": "DragHandle4276795587__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_ = \"DragHandle4276795587\";\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\":\"DragHandle4276795587__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":[]}
|
|
@@ -31,10 +31,10 @@ function _EntityPage({
|
|
|
31
31
|
requiredBy: 'WixPatterns/EntityPage'
|
|
32
32
|
});
|
|
33
33
|
}
|
|
34
|
-
const
|
|
34
|
+
const routerState = (0, _WixPatternsRouterProvider.useWixPatternsRouter)();
|
|
35
35
|
(0, _react.useState)(() => {
|
|
36
36
|
state.init({
|
|
37
|
-
|
|
37
|
+
routerState
|
|
38
38
|
});
|
|
39
39
|
});
|
|
40
40
|
return /*#__PURE__*/_react.default.createElement(_providers.EntityPageContextProvider, {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireWildcard","require","_EntityPageHeader","_EntityPageContent","_EntityPageCard","_EntityPageExtensions","_EntityPageMainContent","_EntityPageAdditionalContent","_mobxReactLite","_EntityPageWrapper","_providers","_reactHookForm","_minimalRequiredWdsRuntimeCheck","_FormPage","_WixPatternsRouterProvider","_jsxFileName","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","_EntityPage","state","rest","process","env","NODE_ENV","minimalRequiredWdsRuntimeCheck","required","requiredBy","
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireWildcard","require","_EntityPageHeader","_EntityPageContent","_EntityPageCard","_EntityPageExtensions","_EntityPageMainContent","_EntityPageAdditionalContent","_mobxReactLite","_EntityPageWrapper","_providers","_reactHookForm","_minimalRequiredWdsRuntimeCheck","_FormPage","_WixPatternsRouterProvider","_jsxFileName","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","_EntityPage","state","rest","process","env","NODE_ENV","minimalRequiredWdsRuntimeCheck","required","requiredBy","routerState","useWixPatternsRouter","useState","init","createElement","EntityPageContextProvider","value","__self","__source","fileName","lineNumber","columnNumber","FormPageProvider","formPage","FormProvider","_extends2","form","EntityPageWrapper","Header","EntityPageHeader","Content","EntityPageContent","MainContent","EntityPageMainContent","AdditionalContent","EntityPageAdditionalContent","Card","EntityPageCard","Extensions","EntityPageExtensions","displayName","EntityPage","exports","observer"],"sources":["../../../../src/components/EntityPage/EntityPage.tsx"],"sourcesContent":["import React, { useState } from 'react';\nimport { PageProps } from '@wix/design-system';\nimport { EntityPageState } from '../../state';\nimport { EntityPageHeader } from '../EntityPageHeader';\nimport { EntityPageContent } from '../EntityPageContent';\nimport { EntityPageCard } from '../EntityPageCard';\nimport { EntityPageExtensions } from '../EntityPageExtensions';\nimport { EntityPageMainContent } from '../EntityPageMainContent';\nimport { EntityPageAdditionalContent } from '../EntityPageAdditionalContent';\nimport { observer } from 'mobx-react-lite';\nimport { EntityPageWrapper } from './EntityPageWrapper';\nimport { EntityPageContextProvider } from '../../providers';\nimport { FieldValues, FormProvider } from 'react-hook-form';\nimport { minimalRequiredWdsRuntimeCheck } from '../../minimalRequiredWdsRuntimeCheck';\nimport { FormPageProvider } from '../FormPage';\nimport { useWixPatternsRouter } from '../../providers/WixPatternsRouterProvider';\n\nexport interface EntityPageProps<T, V extends FieldValues = FieldValues>\n extends PageProps {\n /**\n * EntityPageState instance created with the `useEntityPage` hook\n */\n state: EntityPageState<T, V>;\n}\n\nfunction _EntityPage<T, V extends FieldValues = FieldValues>({\n state,\n ...rest\n}: EntityPageProps<T, V>) {\n if (process.env.NODE_ENV !== 'production') {\n minimalRequiredWdsRuntimeCheck({\n required: '^1.73.0',\n requiredBy: 'WixPatterns/EntityPage',\n });\n }\n\n const routerState = useWixPatternsRouter();\n\n useState(() => {\n state.init({ routerState });\n });\n\n return (\n <EntityPageContextProvider value={state}>\n <FormPageProvider state={state.formPage}>\n <FormProvider {...state.form}>\n <EntityPageWrapper state={state} {...rest} />\n </FormProvider>\n </FormPageProvider>\n </EntityPageContextProvider>\n );\n}\n\n_EntityPage.Header = EntityPageHeader;\n_EntityPage.Content = EntityPageContent;\n_EntityPage.MainContent = EntityPageMainContent;\n_EntityPage.AdditionalContent = EntityPageAdditionalContent;\n_EntityPage.Card = EntityPageCard;\n_EntityPage.Extensions = EntityPageExtensions;\n\n_EntityPage.displayName = 'EntityPage';\n\nexport const EntityPage = observer(_EntityPage);\n"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AAGA,IAAAC,iBAAA,GAAAD,OAAA;AACA,IAAAE,kBAAA,GAAAF,OAAA;AACA,IAAAG,eAAA,GAAAH,OAAA;AACA,IAAAI,qBAAA,GAAAJ,OAAA;AACA,IAAAK,sBAAA,GAAAL,OAAA;AACA,IAAAM,4BAAA,GAAAN,OAAA;AACA,IAAAO,cAAA,GAAAP,OAAA;AACA,IAAAQ,kBAAA,GAAAR,OAAA;AACA,IAAAS,UAAA,GAAAT,OAAA;AACA,IAAAU,cAAA,GAAAV,OAAA;AACA,IAAAW,+BAAA,GAAAX,OAAA;AACA,IAAAY,SAAA,GAAAZ,OAAA;AACA,IAAAa,0BAAA,GAAAb,OAAA;AAAiF,IAAAc,YAAA;AAAA,SAAAC,yBAAAC,CAAA,6BAAAC,OAAA,mBAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAF,wBAA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AAI,GAAGC,8BAAc;AACjCpC,WAAW,CAACqC,UAAU,GAAGC,0CAAoB;AAE7CtC,WAAW,CAACuC,WAAW,GAAG,YAAY;AAE/B,MAAMC,UAAU,GAAAC,OAAA,CAAAD,UAAA,GAAG,IAAAE,uBAAQ,EAAC1C,WAAW,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_ = "Fade1334351312";
|
|
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": "Fade1334351312__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_ = \"Fade1334351312\";\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\":\"Fade1334351312__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":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_state","require","_GridContent","_react","_interopRequireWildcard","_jsxFileName","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","GridSingleGridContent","props","range","imagePlacement","state","parentState","layoutType","dragAndDrop","toolbar","collection","useState","GridBaseState","container","sizePreset","gridSizePresets","topGridSizePreset","draggable","createElement","GridContent","_extends2","paddingTop","paddingBottom","undefined","withInfiniteScrollLoader","__self","__source","fileName","lineNumber","columnNumber"],"sources":["../../../../src/components/Grid/GridSingleGridContent.tsx"],"sourcesContent":["import {
|
|
1
|
+
{"version":3,"names":["_state","require","_GridContent","_react","_interopRequireWildcard","_jsxFileName","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","GridSingleGridContent","props","range","imagePlacement","state","parentState","layoutType","dragAndDrop","toolbar","collection","useState","GridBaseState","container","sizePreset","gridSizePresets","topGridSizePreset","draggable","createElement","GridContent","_extends2","paddingTop","paddingBottom","undefined","withInfiniteScrollLoader","__self","__source","fileName","lineNumber","columnNumber"],"sources":["../../../../src/components/Grid/GridSingleGridContent.tsx"],"sourcesContent":["import { FiltersMap } from '@wix/bex-core';\nimport {\n GridBaseState,\n gridSizePresets,\n GridState,\n ToolbarCollectionState,\n topGridSizePreset,\n} from '../../state';\nimport { GridContent, GridContentBaseProps } from './GridContent';\nimport React, { useState } from 'react';\n\nexport interface GridSingleGridContentProps<T, F extends FiltersMap>\n extends GridContentBaseProps<T, F> {\n state: GridState<T, F>;\n range?: { start: number; length: number };\n}\n\nexport function GridSingleGridContent<T, F extends FiltersMap = FiltersMap>(\n props: GridSingleGridContentProps<T, F>,\n) {\n const {\n range,\n imagePlacement,\n state: parentState,\n layoutType,\n dragAndDrop,\n } = props;\n\n const { toolbar, collection } = parentState;\n\n const [state] = useState(\n () =>\n new GridBaseState({\n container: toolbar.container,\n toolbar: toolbar as ToolbarCollectionState<unknown, Partial<F>>,\n collection,\n sizePreset: imagePlacement\n ? gridSizePresets[imagePlacement]\n : topGridSizePreset,\n range,\n parentState,\n layoutType,\n draggable: dragAndDrop ? 'draggable' : 'none',\n }),\n );\n\n return (\n <GridContent\n {...props}\n paddingTop=\"SP4\"\n paddingBottom={state.layoutType === 'list' ? 'SP2' : undefined}\n state={state}\n withInfiniteScrollLoader\n />\n );\n}\n"],"mappings":";;;;;;AACA,IAAAA,MAAA,GAAAC,OAAA;AAOA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,MAAA,GAAAC,uBAAA,CAAAH,OAAA;AAAwC,IAAAI,YAAA;AAAA,SAAAC,yBAAAC,CAAA,6BAAAC,OAAA,mBAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAF,wBAAA,YAAAA,CAAAC,CAAA,WAAAA,CAAA,GAAAG,CAAA,GAAAD,CAAA,KAAAF,CAAA;AAAA,SAAAH,wBAAAG,CAAA,EAAAE,CAAA,SAAAA,CAAA,IAAAF,CAAA,IAAAA,CAAA,CAAAI,UAAA,SAAAJ,CAAA,eAAAA,CAAA,uBAAAA,CAAA,yBAAAA,CAAA,WAAAK,OAAA,EAAAL,CAAA,QAAAG,CAAA,GAAAJ,wBAAA,CAAAG,CAAA,OAAAC,CAAA,IAAAA,CAAA,CAAAG,GAAA,CAAAN,CAAA,UAAAG,CAAA,CAAAI,GAAA,CAAAP,CAAA,OAAAQ,CAAA,KAAAC,SAAA,UAAAC,CAAA,GAAAC,MAAA,CAAAC,cAAA,IAAAD,MAAA,CAAAE,wBAAA,WAAAC,CAAA,IAAAd,CAAA,oBAAAc,CAAA,OAAAC,cAAA,CAAAC,IAAA,CAAAhB,CAAA,EAAAc,CAAA,SAAAG,CAAA,GAAAP,CAAA,GAAAC,MAAA,CAAAE,wBAAA,CAAAb,CAAA,EAAAc,CAAA,UAAAG,CAAA,KAAAA,CAAA,CAAAV,GAAA,IA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seSyncProps(props) {
|
|
|
14
14
|
preset,
|
|
15
15
|
dragAndDrop,
|
|
16
16
|
range,
|
|
17
|
-
layoutType
|
|
17
|
+
layoutType,
|
|
18
|
+
imagePlacement
|
|
18
19
|
} = props;
|
|
19
20
|
const {
|
|
20
21
|
scrollableContentRef
|
|
@@ -69,11 +70,12 @@ function useGridBaseSyncProps(props) {
|
|
|
69
70
|
}, [layoutType]);
|
|
70
71
|
(0, _react.useEffect)(() => {
|
|
71
72
|
(0, _mobx.runInAction)(() => {
|
|
72
|
-
|
|
73
|
+
const sizePreset = imagePlacement ? _state.gridSizePresets[imagePlacement] : undefined;
|
|
74
|
+
if (!sizePreset) {
|
|
73
75
|
return;
|
|
74
76
|
}
|
|
75
|
-
state.
|
|
77
|
+
state._sizePreset = sizePreset;
|
|
76
78
|
});
|
|
77
|
-
}, []);
|
|
79
|
+
}, [imagePlacement]);
|
|
78
80
|
}
|
|
79
81
|
//# sourceMappingURL=useGridBaseSyncProps.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","require","_mobx","_state","_providers","_react2","useGridBaseSyncProps","props","state","renderAddItem","preset","dragAndDrop","range","layoutType","scrollableContentRef","useScrollableContentContext","modalsContainerRef","usePageContext","useState","_props$dragAndDrop","setStateObject","useEffect","collection","scrollableContent","current","runInAction","trailingItemsCount","filter","Boolean","length","_localLimit","_localStart","start","_draggable","
|
|
1
|
+
{"version":3,"names":["_react","require","_mobx","_state","_providers","_react2","useGridBaseSyncProps","props","state","renderAddItem","preset","dragAndDrop","range","layoutType","imagePlacement","scrollableContentRef","useScrollableContentContext","modalsContainerRef","usePageContext","useState","_props$dragAndDrop","setStateObject","useEffect","collection","scrollableContent","current","runInAction","trailingItemsCount","filter","Boolean","length","_localLimit","_localStart","start","_draggable","sizePreset","gridSizePresets","undefined","_sizePreset"],"sources":["../../../../src/components/Grid/useGridBaseSyncProps.ts"],"sourcesContent":["import { ReactElement, useEffect, useState } from 'react';\nimport { FiltersMap } from '@wix/bex-core';\nimport { runInAction } from 'mobx';\nimport { GridBaseState, gridSizePresets, LayoutType } from '../../state';\nimport { AddItemProps } from '@wix/design-system';\nimport { useScrollableContentContext } from '../../providers';\nimport { GridDragAndDrop } from '../GridDragAndDropDndKit/GridDragAndDrop';\nimport { usePageContext } from '@wix/bex-core/react';\n\nexport interface UseGridBaseSyncPropsParams<T, F extends FiltersMap> {\n state: GridBaseState<T, F>;\n preset?: 'full' | 'title' | 'empty';\n range?: { start: number; length: number };\n renderAddItem?: () => ReactElement<AddItemProps>;\n dragAndDrop?: typeof GridDragAndDrop;\n imagePlacement?: 'side' | 'top';\n layoutType?: LayoutType;\n}\n\nexport function useGridBaseSyncProps<T, F extends FiltersMap>(\n props: UseGridBaseSyncPropsParams<T, F>,\n) {\n const {\n state,\n renderAddItem,\n preset,\n dragAndDrop,\n range,\n layoutType,\n imagePlacement,\n } = props;\n const { scrollableContentRef } = useScrollableContentContext();\n const { modalsContainerRef } = usePageContext();\n\n useState(() => {\n props.dragAndDrop?.setStateObject({\n state,\n modalsContainerRef,\n });\n });\n\n useEffect(() => {\n const { collection } = state;\n\n const scrollableContent = scrollableContentRef?.current;\n\n if (scrollableContent) {\n collection.scrollableContent = scrollableContent;\n }\n\n return () => {\n collection.scrollableContent = null;\n };\n }, []);\n\n useEffect(() => {\n runInAction(() => {\n state.trailingItemsCount = [renderAddItem].filter(Boolean).length;\n });\n }, [renderAddItem]);\n\n useEffect(() => {\n runInAction(() => {\n state._localLimit = range?.length;\n state._localStart = range?.start ?? 0;\n });\n }, [range]);\n\n useEffect(() => {\n runInAction(() => {\n state.preset = preset ?? 'title';\n });\n }, [preset]);\n\n useEffect(() => {\n runInAction(() => {\n state._draggable = dragAndDrop ? 'draggable' : 'none';\n });\n }, [dragAndDrop]);\n\n useEffect(() => {\n runInAction(() => {\n state.layoutType = layoutType ?? 'grid';\n });\n }, [layoutType]);\n\n useEffect(() => {\n runInAction(() => {\n const sizePreset = imagePlacement\n ? gridSizePresets[imagePlacement]\n : undefined;\n\n if (!sizePreset) {\n return;\n }\n\n state._sizePreset = sizePreset;\n });\n }, [imagePlacement]);\n}\n"],"mappings":";;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AAEA,IAAAC,KAAA,GAAAD,OAAA;AACA,IAAAE,MAAA,GAAAF,OAAA;AAEA,IAAAG,UAAA,GAAAH,OAAA;AAEA,IAAAI,OAAA,GAAAJ,OAAA;AAYO,SAASK,oBAAoBA,CAClCC,KAAuC,EACvC;EACA,MAAM;IACJC,KAAK;IACLC,aAAa;IACbC,MAAM;IACNC,WAAW;IACXC,KAAK;IACLC,UAAU;IACVC;EACF,CAAC,GAAGP,KAAK;EACT,MAAM;IAAEQ;EAAqB,CAAC,GAAG,IAAAC,sCAA2B,EAAC,CAAC;EAC9D,MAAM;IAAEC;EAAmB,CAAC,GAAG,IAAAC,sBAAc,EAAC,CAAC;EAE/C,IAAAC,eAAQ,EAAC,MAAM;IAAA,IAAAC,kBAAA;IACb,CAAAA,kBAAA,GAAAb,KAAK,CAACI,WAAW,aAAjBS,kBAAA,CAAmBC,cAAc,CAAC;MAChCb,KAAK;MACLS;IACF,CAAC,CAAC;EACJ,CAAC,CAAC;EAEF,IAAAK,gBAAS,EAAC,MAAM;IACd,MAAM;MAAEC;IAAW,CAAC,GAAGf,KAAK;IAE5B,MAAMgB,iBAAiB,GAAGT,oBAAoB,oBAApBA,oBAAoB,CAAEU,OAAO;IAEvD,IAAID,iBAAiB,EAAE;MACrBD,UAAU,CAACC,iBAAiB,GAAGA,iBAAiB;IAClD;IAEA,OAAO,MAAM;MACXD,UAAU,CAACC,iBAAiB,GAAG,IAAI;IACrC,CAAC;EACH,CAAC,EAAE,EAAE,CAAC;EAEN,IAAAF,gBAAS,EAAC,MAAM;IACd,IAAAI,iBAAW,EAAC,MAAM;MAChBlB,KAAK,CAACmB,kBAAkB,GAAG,CAAClB,aAAa,CAAC,CAACmB,MAAM,CAACC,OAAO,CAAC,CAACC,MAAM;IACnE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(props) {
|
|
|
32
32
|
const [state] = (0, _react.useState)(() => grid._sections ?? (grid._sections = new _GridSectionsState.GridSectionsState({
|
|
33
33
|
toolbar: grid.toolbar,
|
|
34
34
|
collection: grid.collection,
|
|
35
|
-
renderSection
|
|
35
|
+
renderSection,
|
|
36
|
+
parentState: grid
|
|
36
37
|
})));
|
|
37
38
|
const {
|
|
38
39
|
sections
|
|
@@ -47,12 +48,12 @@ function _GridSectionsContent(props) {
|
|
|
47
48
|
let child;
|
|
48
49
|
if (!sections.length || showInitialLoader || showRefreshLoader) {
|
|
49
50
|
child = /*#__PURE__*/_react.default.createElement(_GridSectionsSingleSkeletonGrid.GridSectionsSingleSkeletonGrid, (0, _extends2.default)({}, props, {
|
|
50
|
-
state: state,
|
|
51
|
+
state: state.parentState,
|
|
51
52
|
__self: this,
|
|
52
53
|
__source: {
|
|
53
54
|
fileName: _jsxFileName,
|
|
54
|
-
lineNumber:
|
|
55
|
-
columnNumber:
|
|
55
|
+
lineNumber: 54,
|
|
56
|
+
columnNumber: 7
|
|
56
57
|
}
|
|
57
58
|
}));
|
|
58
59
|
} else {
|
|
@@ -63,7 +64,7 @@ function _GridSectionsContent(props) {
|
|
|
63
64
|
__self: this,
|
|
64
65
|
__source: {
|
|
65
66
|
fileName: _jsxFileName,
|
|
66
|
-
lineNumber:
|
|
67
|
+
lineNumber: 60,
|
|
67
68
|
columnNumber: 11
|
|
68
69
|
}
|
|
69
70
|
}))));
|
|
@@ -76,7 +77,7 @@ function _GridSectionsContent(props) {
|
|
|
76
77
|
__self: this,
|
|
77
78
|
__source: {
|
|
78
79
|
fileName: _jsxFileName,
|
|
79
|
-
lineNumber:
|
|
80
|
+
lineNumber: 72,
|
|
80
81
|
columnNumber: 5
|
|
81
82
|
}
|
|
82
83
|
}, child);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_GridSectionsState","require","_mobxReactLite","_GridSectionAndRepeater","_react","_interopRequireWildcard","_mobx","_designSystem","_GridSectionsSingleSkeletonGrid","_jsxFileName","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","_GridSectionsContent","props","state","grid","renderSection","layoutType","toolbar","showInitialLoader","multi","showRefreshLoader","useState","_sections","GridSectionsState","collection","sections","useEffect","runInAction","child","length","createElement","GridSectionsSingleSkeletonGrid","_extends2","__self","__source","fileName","lineNumber","columnNumber","Fragment","map","sectionDescriptor","GridSectionAndRepeater","key","section","id","Box","direction","width","paddingTop","undefined","paddingBottom","GridSectionsContent","exports","observer"],"sources":["../../../../src/components/GridSections/GridSectionsContent.tsx"],"sourcesContent":["import { GridSectionsState, Section } from './GridSectionsState';\nimport {
|
|
1
|
+
{"version":3,"names":["_GridSectionsState","require","_mobxReactLite","_GridSectionAndRepeater","_react","_interopRequireWildcard","_mobx","_designSystem","_GridSectionsSingleSkeletonGrid","_jsxFileName","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","_GridSectionsContent","props","state","grid","renderSection","layoutType","toolbar","showInitialLoader","multi","showRefreshLoader","useState","_sections","GridSectionsState","collection","parentState","sections","useEffect","runInAction","child","length","createElement","GridSectionsSingleSkeletonGrid","_extends2","__self","__source","fileName","lineNumber","columnNumber","Fragment","map","sectionDescriptor","GridSectionAndRepeater","key","section","id","Box","direction","width","paddingTop","undefined","paddingBottom","GridSectionsContent","exports","observer"],"sources":["../../../../src/components/GridSections/GridSectionsContent.tsx"],"sourcesContent":["import { GridSectionsState, Section } from './GridSectionsState';\nimport { FiltersMap } from '@wix/bex-core';\nimport { observer } from 'mobx-react-lite';\nimport { GridSectionAndRepeater } from './GridSectionAndRepeater';\nimport React, { useEffect, useState } from 'react';\nimport { GridContentBaseProps } from '../Grid/GridContent';\nimport { GridState } from '../../state';\nimport { runInAction } from 'mobx';\nimport { Box } from '@wix/design-system';\nimport { GridSectionsSingleSkeletonGrid } from './GridSectionsSingleSkeletonGrid';\n\nexport interface GridSectionsContentProps<T, F extends FiltersMap>\n extends GridContentBaseProps<T, F> {\n state: GridState<T, F>;\n renderSection?: (item: T) => Section;\n}\n\nfunction _GridSectionsContent<T, F extends FiltersMap>(\n props: GridSectionsContentProps<T, F>,\n) {\n const { state: grid, renderSection, layoutType } = props;\n\n const { toolbar } = grid;\n\n const {\n showInitialLoader,\n multi: { showRefreshLoader },\n } = toolbar;\n\n const [state] = useState(\n () =>\n (grid._sections ??= new GridSectionsState({\n toolbar: grid.toolbar,\n collection: grid.collection,\n renderSection,\n parentState: grid,\n })),\n );\n\n const { sections } = state;\n\n useEffect(() => {\n runInAction(() => {\n if (renderSection) {\n state.renderSection = renderSection;\n }\n });\n }, [renderSection]);\n\n let child;\n\n if (!sections.length || showInitialLoader || showRefreshLoader) {\n child = (\n <GridSectionsSingleSkeletonGrid {...props} state={state.parentState} />\n );\n } else {\n child = (\n <>\n {sections.map((sectionDescriptor) => (\n <GridSectionAndRepeater\n {...props}\n key={sectionDescriptor.section.id}\n sectionDescriptor={sectionDescriptor}\n state={state}\n />\n ))}\n </>\n );\n }\n\n return (\n <Box\n direction=\"vertical\"\n width=\"100%\"\n paddingTop={layoutType === 'list' ? 'SP2' : undefined}\n paddingBottom={layoutType === 'list' ? 'SP2' : undefined}\n >\n {child}\n </Box>\n );\n}\n\nexport const GridSectionsContent = observer(_GridSectionsContent);\n"],"mappings":";;;;;;AAAA,IAAAA,kBAAA,GAAAC,OAAA;AAEA,IAAAC,cAAA,GAAAD,OAAA;AACA,IAAAE,uBAAA,GAAAF,OAAA;AACA,IAAAG,MAAA,GAAAC,uBAAA,CAAAJ,OAAA;AAGA,IAAAK,KAAA,GAAAL,OAAA;AACA,IAAAM,aAAA,GAAAN,OAAA;AACA,IAAAO,+BAAA,GAAAP,OAAA;AAAkF,IAAAQ,YAAA;AAAA,SAAAC,yBAAAC,CAAA,6BAAAC,OAAA,mBAA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AAiB,CAACG,OAAO,CAACC,EAAG;MAClCJ,iBAAiB,EAAEA,iBAAkB;MACrC5B,KAAK,EAAEA,KAAM;MAAAqB,MAAA;MAAAC,QAAA;QAAAC,QAAA,EAAA9C,YAAA;QAAA+C,UAAA;QAAAC,YAAA;MAAA;IAAA,EACd,CACF,CACD,CACH;EACH;EAEA,oBACErD,MAAA,CAAAY,OAAA,CAAAkC,aAAA,CAAC3C,aAAA,CAAA0D,GAAG;IACFC,SAAS,EAAC,UAAU;IACpBC,KAAK,EAAC,MAAM;IACZC,UAAU,EAAEjC,UAAU,KAAK,MAAM,GAAG,KAAK,GAAGkC,SAAU;IACtDC,aAAa,EAAEnC,UAAU,KAAK,MAAM,GAAG,KAAK,GAAGkC,SAAU;IAAAhB,MAAA;IAAAC,QAAA;MAAAC,QAAA,EAAA9C,YAAA;MAAA+C,UAAA;MAAAC,YAAA;IAAA;EAAA,GAExDT,KACE,CAAC;AAEV;AAEO,MAAMuB,mBAAmB,GAAAC,OAAA,CAAAD,mBAAA,GAAG,IAAAE,uBAAQ,EAAC3C,oBAAoB,CAAC","ignoreList":[]}
|
|
@@ -27,7 +27,7 @@ class GridSectionsSectionState {
|
|
|
27
27
|
collection: toolbar.collection,
|
|
28
28
|
sizePreset: imagePlacement ? _state.gridSizePresets[imagePlacement] : _state.topGridSizePreset,
|
|
29
29
|
range: params.sectionDescriptor.range,
|
|
30
|
-
parentState: this.gridSections,
|
|
30
|
+
parentState: this.gridSections.parentState,
|
|
31
31
|
layoutType,
|
|
32
32
|
draggable
|
|
33
33
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_state","require","_mobx","GridSectionsSectionState","constructor","params","_defineProperty2","default","gridSections","sectionDescriptor","imagePlacement","draggable","layoutType","toolbar","gridBase","GridBaseState","container","collection","sizePreset","gridSizePresets","topGridSizePreset","range","parentState","makeObservable","isLast","computed","_sections","section","sections","length","id","exports"],"sources":["../../../../src/components/GridSections/GridSectionsSectionState.ts"],"sourcesContent":["import {\n GridBaseState,\n gridSizePresets,\n LayoutType,\n ToolbarCollectionState,\n topGridSizePreset,\n} from '../../state';\nimport { GridSectionsState, SectionRange } from './GridSectionsState';\nimport { FiltersMap } from '@wix/bex-core';\nimport { computed, makeObservable } from 'mobx';\n\nexport interface GridSectionsSectionStateParams<T, F extends FiltersMap> {\n readonly imagePlacement?: 'side' | 'top';\n readonly gridSections: GridSectionsState<T, F>;\n readonly sectionDescriptor: SectionRange;\n readonly layoutType: LayoutType | undefined;\n readonly draggable?: 'none' | 'draggable';\n}\n\nexport class GridSectionsSectionState<T, F extends FiltersMap> {\n gridBase;\n gridSections;\n sectionDescriptor;\n\n constructor(params: GridSectionsSectionStateParams<T, F>) {\n this.gridSections = params.gridSections;\n this.sectionDescriptor = params.sectionDescriptor;\n const { imagePlacement, draggable, layoutType } = params;\n const { toolbar } = this.gridSections;\n this.gridBase = new GridBaseState({\n container: toolbar.container,\n toolbar: toolbar as ToolbarCollectionState<unknown, Partial<F>>,\n collection: toolbar.collection,\n sizePreset: imagePlacement\n ? gridSizePresets[imagePlacement]\n : topGridSizePreset,\n range: params.sectionDescriptor.range,\n parentState: this.gridSections,\n layoutType,\n draggable,\n });\n\n makeObservable(this, {\n isLast: computed,\n });\n }\n\n get isLast() {\n const {\n sectionDescriptor: { section },\n gridSections: { sections },\n } = this;\n return sections[sections.length - 1]?.section.id === section.id;\n }\n}\n"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AASA,IAAAC,KAAA,GAAAD,OAAA;AAUO,MAAME,wBAAwB,CAA0B;EAK7DC,WAAWA,CAACC,MAA4C,EAAE;IAAA,IAAAC,gBAAA,CAAAC,OAAA;IAAA,IAAAD,gBAAA,CAAAC,OAAA;IAAA,IAAAD,gBAAA,CAAAC,OAAA;IACxD,IAAI,CAACC,YAAY,GAAGH,MAAM,CAACG,YAAY;IACvC,IAAI,CAACC,iBAAiB,GAAGJ,MAAM,CAACI,iBAAiB;IACjD,MAAM;MAAEC,cAAc;MAAEC,SAAS;MAAEC;IAAW,CAAC,GAAGP,MAAM;IACxD,MAAM;MAAEQ;IAAQ,CAAC,GAAG,IAAI,CAACL,YAAY;IACrC,IAAI,CAACM,QAAQ,GAAG,IAAIC,oBAAa,CAAC;MAChCC,SAAS,EAAEH,OAAO,CAACG,SAAS;MAC5BH,OAAO,EAAEA,OAAsD;MAC/DI,UAAU,EAAEJ,OAAO,CAACI,UAAU;MAC9BC,UAAU,EAAER,cAAc,GACtBS,sBAAe,CAACT,cAAc,CAAC,GAC/BU,wBAAiB;MACrBC,KAAK,EAAEhB,MAAM,CAACI,iBAAiB,CAACY,KAAK;MACrCC,WAAW,EAAE,IAAI,CAACd,YAAY;
|
|
1
|
+
{"version":3,"names":["_state","require","_mobx","GridSectionsSectionState","constructor","params","_defineProperty2","default","gridSections","sectionDescriptor","imagePlacement","draggable","layoutType","toolbar","gridBase","GridBaseState","container","collection","sizePreset","gridSizePresets","topGridSizePreset","range","parentState","makeObservable","isLast","computed","_sections","section","sections","length","id","exports"],"sources":["../../../../src/components/GridSections/GridSectionsSectionState.ts"],"sourcesContent":["import {\n GridBaseState,\n gridSizePresets,\n LayoutType,\n ToolbarCollectionState,\n topGridSizePreset,\n} from '../../state';\nimport { GridSectionsState, SectionRange } from './GridSectionsState';\nimport { FiltersMap } from '@wix/bex-core';\nimport { computed, makeObservable } from 'mobx';\n\nexport interface GridSectionsSectionStateParams<T, F extends FiltersMap> {\n readonly imagePlacement?: 'side' | 'top';\n readonly gridSections: GridSectionsState<T, F>;\n readonly sectionDescriptor: SectionRange;\n readonly layoutType: LayoutType | undefined;\n readonly draggable?: 'none' | 'draggable';\n}\n\nexport class GridSectionsSectionState<T, F extends FiltersMap> {\n gridBase;\n gridSections;\n sectionDescriptor;\n\n constructor(params: GridSectionsSectionStateParams<T, F>) {\n this.gridSections = params.gridSections;\n this.sectionDescriptor = params.sectionDescriptor;\n const { imagePlacement, draggable, layoutType } = params;\n const { toolbar } = this.gridSections;\n this.gridBase = new GridBaseState({\n container: toolbar.container,\n toolbar: toolbar as ToolbarCollectionState<unknown, Partial<F>>,\n collection: toolbar.collection,\n sizePreset: imagePlacement\n ? gridSizePresets[imagePlacement]\n : topGridSizePreset,\n range: params.sectionDescriptor.range,\n parentState: this.gridSections.parentState,\n layoutType,\n draggable,\n });\n\n makeObservable(this, {\n isLast: computed,\n });\n }\n\n get isLast() {\n const {\n sectionDescriptor: { section },\n gridSections: { sections },\n } = this;\n return sections[sections.length - 1]?.section.id === section.id;\n }\n}\n"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AASA,IAAAC,KAAA,GAAAD,OAAA;AAUO,MAAME,wBAAwB,CAA0B;EAK7DC,WAAWA,CAACC,MAA4C,EAAE;IAAA,IAAAC,gBAAA,CAAAC,OAAA;IAAA,IAAAD,gBAAA,CAAAC,OAAA;IAAA,IAAAD,gBAAA,CAAAC,OAAA;IACxD,IAAI,CAACC,YAAY,GAAGH,MAAM,CAACG,YAAY;IACvC,IAAI,CAACC,iBAAiB,GAAGJ,MAAM,CAACI,iBAAiB;IACjD,MAAM;MAAEC,cAAc;MAAEC,SAAS;MAAEC;IAAW,CAAC,GAAGP,MAAM;IACxD,MAAM;MAAEQ;IAAQ,CAAC,GAAG,IAAI,CAACL,YAAY;IACrC,IAAI,CAACM,QAAQ,GAAG,IAAIC,oBAAa,CAAC;MAChCC,SAAS,EAAEH,OAAO,CAACG,SAAS;MAC5BH,OAAO,EAAEA,OAAsD;MAC/DI,UAAU,EAAEJ,OAAO,CAACI,UAAU;MAC9BC,UAAU,EAAER,cAAc,GACtBS,sBAAe,CAACT,cAAc,CAAC,GAC/BU,wBAAiB;MACrBC,KAAK,EAAEhB,MAAM,CAACI,iBAAiB,CAACY,KAAK;MACrCC,WAAW,EAAE,IAAI,CAACd,YAAY,CAACc,WAAW;MAC1CV,UAAU;MACVD;IACF,CAAC,CAAC;IAEF,IAAAY,oBAAc,EAAC,IAAI,EAAE;MACnBC,MAAM,EAAEC;IACV,CAAC,CAAC;EACJ;EAEA,IAAID,MAAMA,CAAA,EAAG;IAAA,IAAAE,SAAA;IACX,MAAM;MACJjB,iBAAiB,EAAE;QAAEkB;MAAQ,CAAC;MAC9BnB,YAAY,EAAE;QAAEoB;MAAS;IAC3B,CAAC,GAAG,IAAI;IACR,OAAO,EAAAF,SAAA,GAAAE,QAAQ,CAACA,QAAQ,CAACC,MAAM,GAAG,CAAC,CAAC,qBAA7BH,SAAA,CAA+BC,OAAO,CAACG,EAAE,MAAKH,OAAO,CAACG,EAAE;EACjE;AACF;AAACC,OAAA,CAAA5B,wBAAA,GAAAA,wBAAA","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_state","require","_react","_interopRequireWildcard","_GridContent","_jsxFileName","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","GridSectionsSingleSkeletonGrid","props","range","imagePlacement","state","parentState","layoutType","toolbar","collection","useState","GridBaseState","container","sizePreset","gridSizePresets","topGridSizePreset","createElement","GridContent","_extends2","paddingTop","withInfiniteScrollLoader","__self","__source","fileName","lineNumber","columnNumber"],"sources":["../../../../src/components/GridSections/GridSectionsSingleSkeletonGrid.tsx"],"sourcesContent":["import {
|
|
1
|
+
{"version":3,"names":["_state","require","_react","_interopRequireWildcard","_GridContent","_jsxFileName","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","GridSectionsSingleSkeletonGrid","props","range","imagePlacement","state","parentState","layoutType","toolbar","collection","useState","GridBaseState","container","sizePreset","gridSizePresets","topGridSizePreset","createElement","GridContent","_extends2","paddingTop","withInfiniteScrollLoader","__self","__source","fileName","lineNumber","columnNumber"],"sources":["../../../../src/components/GridSections/GridSectionsSingleSkeletonGrid.tsx"],"sourcesContent":["import { FiltersMap } from '@wix/bex-core';\nimport {\n GridBaseState,\n gridSizePresets,\n GridState,\n ToolbarCollectionState,\n topGridSizePreset,\n} from '../../state';\nimport React, { useState } from 'react';\nimport { GridContent, GridContentBaseProps } from '../Grid/GridContent';\n\nexport interface GridSectionsSingleSkeletonGridProps<T, F extends FiltersMap>\n extends GridContentBaseProps<T, F> {\n state: GridState<T, F>;\n range?: { start: number; length: number };\n}\n\nexport function GridSectionsSingleSkeletonGrid<\n T,\n F extends FiltersMap = FiltersMap,\n>(props: GridSectionsSingleSkeletonGridProps<T, F>) {\n const { range, imagePlacement, state: parentState, layoutType } = props;\n\n const { toolbar, collection } = parentState;\n\n const [state] = useState(\n () =>\n new GridBaseState({\n container: toolbar.container,\n toolbar: toolbar as ToolbarCollectionState<unknown, Partial<F>>,\n collection,\n sizePreset: imagePlacement\n ? gridSizePresets[imagePlacement]\n : topGridSizePreset,\n range,\n parentState,\n layoutType,\n }),\n );\n\n return (\n <GridContent\n {...props}\n paddingTop={layoutType === 'list' ? 'SP2' : 'SP4'}\n state={state}\n withInfiniteScrollLoader\n />\n );\n}\n"],"mappings":";;;;;;AACA,IAAAA,MAAA,GAAAC,OAAA;AAOA,IAAAC,MAAA,GAAAC,uBAAA,CAAAF,OAAA;AACA,IAAAG,YAAA,GAAAH,OAAA;AAAwE,IAAAI,YAAA;AAAA,SAAAC,yBAAAC,CAAA,6BAAAC,OAAA,mBAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAF,wBAAA,YAAAA,CAAAC,CAAA,WAAAA,CAAA,GAAAG,CAAA,GAAAD,CAAA,KAAAF,CAAA;AAAA,SAAAJ,wBAAAI,CAAA,EAAAE,CAAA,SAAAA,CAAA,IAAAF,CAAA,IAAAA,CAAA,CAAAI,UAAA,SAAAJ,CAAA,eAAAA,CAAA,uBAAAA,CAAA,yBAAAA,CAAA,WAAAK,OAAA,EAAAL,CAAA,QAAAG,CAAA,GAAAJ,wBAAA,CAAAG,CAAA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AsC,WAAW,MAAAC,SAAA,CAAA/B,OAAA,MACNe,KAAK;IACTiB,UAAU,EAAEZ,UAAU,KAAK,MAAM,GAAG,KAAK,GAAG,KAAM;IAClDF,KAAK,EAAEA,KAAM;IACbe,wBAAwB;IAAAC,MAAA;IAAAC,QAAA;MAAAC,QAAA,EAAA3C,YAAA;MAAA4C,UAAA;MAAAC,YAAA;IAAA;EAAA,EACzB,CAAC;AAEN","ignoreList":[]}
|
|
@@ -10,10 +10,11 @@ class GridSectionsState {
|
|
|
10
10
|
(0, _defineProperty2.default)(this, "renderSection", void 0);
|
|
11
11
|
(0, _defineProperty2.default)(this, "toolbar", void 0);
|
|
12
12
|
(0, _defineProperty2.default)(this, "collection", void 0);
|
|
13
|
-
(0, _defineProperty2.default)(this, "
|
|
13
|
+
(0, _defineProperty2.default)(this, "parentState", void 0);
|
|
14
14
|
this.collection = params.collection;
|
|
15
15
|
this.toolbar = params.toolbar;
|
|
16
16
|
this.renderSection = params.renderSection;
|
|
17
|
+
this.parentState = params.parentState;
|
|
17
18
|
(0, _mobx.makeObservable)(this, {
|
|
18
19
|
sections: _mobx.computed,
|
|
19
20
|
renderSection: _mobx.observable.ref
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_mobx","require","GridSectionsState","constructor","params","_defineProperty2","default","collection","toolbar","renderSection","makeObservable","sections","computed","observable","ref","Object","values","result","items","reduce","acc","item","index","section","id","range","start","length","exports"],"sources":["../../../../src/components/GridSections/GridSectionsState.ts"],"sourcesContent":["import { CollectionState, FiltersMap } from '@wix/bex-core';\nimport { computed, makeObservable, observable } from 'mobx';\nimport {
|
|
1
|
+
{"version":3,"names":["_mobx","require","GridSectionsState","constructor","params","_defineProperty2","default","collection","toolbar","renderSection","parentState","makeObservable","sections","computed","observable","ref","Object","values","result","items","reduce","acc","item","index","section","id","range","start","length","exports"],"sources":["../../../../src/components/GridSections/GridSectionsState.ts"],"sourcesContent":["import { CollectionState, FiltersMap } from '@wix/bex-core';\nimport { computed, makeObservable, observable } from 'mobx';\nimport { GridState, ToolbarCollectionState } from '../../state';\nimport { CtaBaseProps } from '../CtaProps';\n\nexport interface Section {\n /**\n * A unique identifier for the section.\n * @external\n */\n id: string;\n /**\n * A title for the section.\n * @external\n */\n title: string;\n /**\n * A primary call to action for the section.\n * @overrideType [CtaBaseProps](./?path=/story/common-types--ctabaseprops)\n * @external\n */\n primaryAction?: CtaBaseProps;\n}\n\nexport interface SectionRange {\n section: Section;\n range: {\n start: number;\n length: number;\n };\n}\n\nexport type RenderSection<T> = (item: T) => Section;\n\nexport interface GridSectionsStateParams<T, F extends FiltersMap> {\n readonly collection: CollectionState<T, F>;\n readonly toolbar: ToolbarCollectionState<T, F>;\n readonly renderSection?: RenderSection<T>;\n readonly parentState: GridState<T, F>;\n}\n\nexport class GridSectionsState<T, F extends FiltersMap> {\n renderSection?: RenderSection<T>;\n readonly toolbar;\n readonly collection;\n readonly parentState;\n\n constructor(params: GridSectionsStateParams<T, F>) {\n this.collection = params.collection;\n this.toolbar = params.toolbar;\n this.renderSection = params.renderSection;\n this.parentState = params.parentState;\n\n makeObservable(this, {\n sections: computed,\n renderSection: observable.ref,\n });\n }\n\n get sections() {\n const { collection, renderSection } = this;\n\n if (!renderSection) {\n return [];\n }\n\n return Object.values(\n collection.result.items.reduce((acc, item, index) => {\n const section = renderSection(item);\n if (!acc[section.id]) {\n acc[section.id] = {\n section,\n range: {\n start: index,\n length: 0,\n },\n };\n }\n acc[section.id].range.length++;\n return acc;\n }, {} as Record<string, SectionRange>),\n );\n }\n}\n"],"mappings":";;;;;;AACA,IAAAA,KAAA,GAAAC,OAAA;AAwCO,MAAMC,iBAAiB,CAA0B;EAMtDC,WAAWA,CAACC,MAAqC,EAAE;IAAA,IAAAC,gBAAA,CAAAC,OAAA;IAAA,IAAAD,gBAAA,CAAAC,OAAA;IAAA,IAAAD,gBAAA,CAAAC,OAAA;IAAA,IAAAD,gBAAA,CAAAC,OAAA;IACjD,IAAI,CAACC,UAAU,GAAGH,MAAM,CAACG,UAAU;IACnC,IAAI,CAACC,OAAO,GAAGJ,MAAM,CAACI,OAAO;IAC7B,IAAI,CAACC,aAAa,GAAGL,MAAM,CAACK,aAAa;IACzC,IAAI,CAACC,WAAW,GAAGN,MAAM,CAACM,WAAW;IAErC,IAAAC,oBAAc,EAAC,IAAI,EAAE;MACnBC,QAAQ,EAAEC,cAAQ;MAClBJ,aAAa,EAAEK,gBAAU,CAACC;IAC5B,CAAC,CAAC;EACJ;EAEA,IAAIH,QAAQA,CAAA,EAAG;IACb,MAAM;MAAEL,UAAU;MAAEE;IAAc,CAAC,GAAG,IAAI;IAE1C,IAAI,CAACA,aAAa,EAAE;MAClB,OAAO,EAAE;IACX;IAEA,OAAOO,MAAM,CAACC,MAAM,CAClBV,UAAU,CAACW,MAAM,CAACC,KAAK,CAACC,MAAM,CAAC,CAACC,GAAG,EAAEC,IAAI,EAAEC,KAAK,KAAK;MACnD,MAAMC,OAAO,GAAGf,aAAa,CAACa,IAAI,CAAC;MACnC,IAAI,CAACD,GAAG,CAACG,OAAO,CAACC,EAAE,CAAC,EAAE;QACpBJ,GAAG,CAACG,OAAO,CAACC,EAAE,CAAC,GAAG;UAChBD,OAAO;UACPE,KAAK,EAAE;YACLC,KAAK,EAAEJ,KAAK;YACZK,MAAM,EAAE;UACV;QACF,CAAC;MACH;MACAP,GAAG,CAACG,OAAO,CAACC,EAAE,CAAC,CAACC,KAAK,CAACE,MAAM,EAAE;MAC9B,OAAOP,GAAG;IACZ,CAAC,EAAE,CAAC,CAAiC,CACvC,CAAC;EACH;AACF;AAACQ,OAAA,CAAA3B,iBAAA,GAAAA,iBAAA","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_ = "Heading2038556283";
|
|
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": "Heading2038556283__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_ = \"Heading2038556283\";\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\":\"Heading2038556283__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":[]}
|
|
@@ -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_ = "InputOverflow2885758257";
|
|
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": "InputOverflow2885758257__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/InputOverflow/InputOverflow.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/InputOverflow/InputOverflow.st.css.ts"],"sourcesContent":["// @ts-nocheck\n\n\nimport { classesRuntime, statesRuntime } from \"../../stylable-esm-runtime.js\";\n\n\n\nvar _namespace_ = \"InputOverflow2885758257\";\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\":\"InputOverflow2885758257__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":[]}
|
|
@@ -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_ = "MaxHeightText1578699789";
|
|
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": "MaxHeightText1578699789__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/MaxHeightText/MaxHeightText.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/MaxHeightText/MaxHeightText.st.css.ts"],"sourcesContent":["// @ts-nocheck\n\n\nimport { classesRuntime, statesRuntime } from \"../../stylable-esm-runtime.js\";\n\n\n\nvar _namespace_ = \"MaxHeightText1578699789\";\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\":\"MaxHeightText1578699789__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":[]}
|
|
@@ -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_ = "MaxLines4057492223";
|
|
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": "MaxLines4057492223__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/MaxLines/MaxLines.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/MaxLines/MaxLines.st.css.ts"],"sourcesContent":["// @ts-nocheck\n\n\nimport { classesRuntime, statesRuntime } from \"../../stylable-esm-runtime.js\";\n\n\n\nvar _namespace_ = \"MaxLines4057492223\";\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\":\"MaxLines4057492223__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,oBAAoB;AACtC,IAAIC,OAAO,GAAGC,kCAAc,CAACC,IAAI,CAAC,IAAI,EAAEH,WAAW,CAAC;AAE7C,IAAII,SAAS,GAAAC,OAAA,CAAAD,SAAA,GAAGE,iCAAa,CAACH,IAAI,CAAC,IAAI,EAAEH,WAAW,CAAC;AACrD,IAAIO,KAAK,GAAAF,OAAA,CAAAE,KAAA,GAAGN,OAAO;AACnB,IAAIO,EAA0C,GAAAH,OAAA,CAAAG,EAAA,GAAGP,OAAO;AAExD,IAAIQ,SAAS,GAAAJ,OAAA,CAAAI,SAAA,GAAGT,WAAW;AAC3B,IAAIU,OAAO,GAAAL,OAAA,CAAAK,OAAA,GAAG;EAAC,MAAM,EAAC;AAA0B,CAAC;AACjD,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":[]}
|