@wix/patterns 1.348.0 → 1.350.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.js +20 -14
- package/dist/cjs/components/CollectionSectionHeader/CollectionSectionHeader.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/CollectionSectionHeader/CollectionSectionHeader.types.js.map +1 -1
- package/dist/cjs/components/CollectionSectionHeader/CollectionSectionHeader.uni.driver.js +2 -1
- package/dist/cjs/components/CollectionSectionHeader/CollectionSectionHeader.uni.driver.js.map +1 -1
- package/dist/cjs/components/CollectionSectionHeader/CollectionSectionHeaderActionBar.js +50 -7
- package/dist/cjs/components/CollectionSectionHeader/CollectionSectionHeaderActionBar.js.map +1 -1
- package/dist/cjs/components/CollectionTable/CollectionTable.js +10 -10
- package/dist/cjs/components/CollectionTable/CollectionTable.js.map +1 -1
- package/dist/cjs/components/CollectionTable/CollectionTable.st.css.js +2 -2
- package/dist/cjs/components/CollectionTable/CollectionTable.st.css.js.map +1 -1
- package/dist/cjs/components/CollectionTable/useTableCollectionSyncProps.js +3 -1
- package/dist/cjs/components/CollectionTable/useTableCollectionSyncProps.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 +4 -4
- package/dist/cjs/components/CollectionToolbar/SearchOrCustomFilter.st.css.js.map +1 -1
- package/dist/cjs/components/CollectionViewsDropdown/AutoCompleteReadonly.js +12 -5
- package/dist/cjs/components/CollectionViewsDropdown/AutoCompleteReadonly.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/AutoCompleteReadonlyState.js +8 -0
- package/dist/cjs/components/CollectionViewsDropdown/AutoCompleteReadonlyState.js.map +1 -1
- package/dist/cjs/components/CollectionViewsDropdown/ViewsDropdown.js +39 -13
- 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/CustomFieldsPanel/ManageFieldsPopoverMenu.js +15 -11
- package/dist/cjs/components/CustomFieldsPanel/ManageFieldsPopoverMenu.js.map +1 -1
- package/dist/cjs/components/CustomFieldsWidget/CustomFieldsWidgetCommonComponents.js +8 -5
- package/dist/cjs/components/CustomFieldsWidget/CustomFieldsWidgetCommonComponents.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/GridSections/GridSectionHeader.js +2 -0
- package/dist/cjs/components/GridSections/GridSectionHeader.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/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/Table/TableBase.js +3 -1
- package/dist/cjs/components/Table/TableBase.js.map +1 -1
- package/dist/cjs/components/TableGridSwitch/TableGridSwitch.js +7 -5
- package/dist/cjs/components/TableGridSwitch/TableGridSwitch.js.map +1 -1
- package/dist/cjs/components/TableSections/TableSectionRow.js +7 -2
- package/dist/cjs/components/TableSections/TableSectionRow.js.map +1 -1
- package/dist/cjs/components/TableSections/TableSections.js +10 -2
- package/dist/cjs/components/TableSections/TableSections.js.map +1 -1
- package/dist/cjs/components/TableSections/TableSectionsState.js +46 -5
- package/dist/cjs/components/TableSections/TableSectionsState.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/useToolbarCollectionSyncProps.js +2 -1
- 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/dashboard/WixPatternsDashboardBaseProvider.js +2 -1
- package/dist/cjs/dashboard/WixPatternsDashboardBaseProvider.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/CollectionViewsQueryCompareHelper.js +6 -1
- package/dist/cjs/state/CollectionViewsQueryCompareHelper.js.map +1 -1
- package/dist/cjs/state/CollectionViewsState.js +12 -0
- package/dist/cjs/state/CollectionViewsState.js.map +1 -1
- package/dist/cjs/state/FeaturesAvailabilityBIParams.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/TableGridSwitchFoldersState.js +1 -0
- package/dist/cjs/state/TableGridSwitchFoldersState.js.map +1 -1
- package/dist/cjs/state/TableGridSwitchState.js +1 -0
- package/dist/cjs/state/TableGridSwitchState.js.map +1 -1
- package/dist/cjs/state/ToolbarCollectionState.js +3 -0
- 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/Collapse/Collapse.st.css.js.map +1 -1
- package/dist/esm/components/CollectionPageNew/CollectionPage.st.css.js +2 -2
- package/dist/esm/components/CollectionSectionHeader/CollectionSectionHeader.js +3 -3
- package/dist/esm/components/CollectionSectionHeader/CollectionSectionHeader.js.map +1 -1
- package/dist/esm/components/CollectionSectionHeader/CollectionSectionHeader.st.css.js +2 -2
- package/dist/esm/components/CollectionSectionHeader/CollectionSectionHeader.uni.driver.js +2 -1
- package/dist/esm/components/CollectionSectionHeader/CollectionSectionHeader.uni.driver.js.map +1 -1
- package/dist/esm/components/CollectionSectionHeader/CollectionSectionHeaderActionBar.js +19 -6
- package/dist/esm/components/CollectionSectionHeader/CollectionSectionHeaderActionBar.js.map +1 -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/useTableCollectionSyncProps.js +2 -1
- package/dist/esm/components/CollectionTable/useTableCollectionSyncProps.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/SearchOrCustomFilter.st.css.js +2 -2
- package/dist/esm/components/CollectionToolbar/SearchOrCustomFilter.st.css.js.map +1 -1
- package/dist/esm/components/CollectionViewsDropdown/AutoCompleteReadonly.js +10 -5
- package/dist/esm/components/CollectionViewsDropdown/AutoCompleteReadonly.js.map +1 -1
- package/dist/esm/components/CollectionViewsDropdown/AutoCompleteReadonly.st.css.js +2 -2
- package/dist/esm/components/CollectionViewsDropdown/AutoCompleteReadonly.st.css.js.map +1 -1
- package/dist/esm/components/CollectionViewsDropdown/AutoCompleteReadonlyState.js +6 -0
- package/dist/esm/components/CollectionViewsDropdown/AutoCompleteReadonlyState.js.map +1 -1
- package/dist/esm/components/CollectionViewsDropdown/ViewsDropdown.js +7 -5
- 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/CustomFieldsPanel/ManageFieldsPopoverMenu.js +3 -2
- package/dist/esm/components/CustomFieldsPanel/ManageFieldsPopoverMenu.js.map +1 -1
- package/dist/esm/components/CustomFieldsWidget/CustomFieldsWidgetCommonComponents.js +3 -2
- package/dist/esm/components/CustomFieldsWidget/CustomFieldsWidgetCommonComponents.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/EntityPage/EntityPagePlain.st.css.js.map +1 -1
- package/dist/esm/components/Fade/Fade.st.css.js +2 -2
- package/dist/esm/components/Fade/Fade.st.css.js.map +1 -1
- package/dist/esm/components/GridSections/GridSectionHeader.js +2 -2
- package/dist/esm/components/GridSections/GridSectionHeader.js.map +1 -1
- package/dist/esm/components/GridSections/GridSectionsState.js +2 -2
- 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/Heading/Heading.st.css.js.map +1 -1
- 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/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/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/TableBase.js +1 -1
- package/dist/esm/components/Table/TableBase.js.map +1 -1
- package/dist/esm/components/TableGridSwitch/TableGridSwitch.js +2 -0
- package/dist/esm/components/TableGridSwitch/TableGridSwitch.js.map +1 -1
- package/dist/esm/components/TableSections/TableSectionRow.js +2 -2
- package/dist/esm/components/TableSections/TableSectionRow.js.map +1 -1
- package/dist/esm/components/TableSections/TableSections.js +8 -3
- package/dist/esm/components/TableSections/TableSections.js.map +1 -1
- package/dist/esm/components/TableSections/TableSectionsState.js +42 -6
- package/dist/esm/components/TableSections/TableSectionsState.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/useToolbarCollectionSyncProps.js +1 -0
- 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/ToolbarItemBox/ToolbarItemBox.st.css.js.map +1 -1
- package/dist/esm/components/common.st.css.js +2 -2
- package/dist/esm/components/common.st.css.js.map +1 -1
- package/dist/esm/dashboard/WixPatternsDashboardBaseProvider.js +1 -1
- package/dist/esm/dashboard/WixPatternsDashboardBaseProvider.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/CollectionViewsQueryCompareHelper.js +6 -1
- package/dist/esm/state/CollectionViewsQueryCompareHelper.js.map +1 -1
- package/dist/esm/state/CollectionViewsState.js +8 -1
- package/dist/esm/state/CollectionViewsState.js.map +1 -1
- package/dist/esm/state/FormPage/FormPageHeader.st.css.js +2 -2
- package/dist/esm/state/TableGridSwitchFoldersState.js +1 -0
- package/dist/esm/state/TableGridSwitchFoldersState.js.map +1 -1
- package/dist/esm/state/TableGridSwitchState.js +1 -0
- package/dist/esm/state/TableGridSwitchState.js.map +1 -1
- 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/Collapse/Collapse.st.css.d.ts.map +1 -1
- package/dist/types/components/CollectionSectionHeader/CollectionSectionHeader.d.ts +5 -1
- package/dist/types/components/CollectionSectionHeader/CollectionSectionHeader.d.ts.map +1 -1
- package/dist/types/components/CollectionSectionHeader/CollectionSectionHeader.types.d.ts +19 -0
- package/dist/types/components/CollectionSectionHeader/CollectionSectionHeader.types.d.ts.map +1 -1
- package/dist/types/components/CollectionSectionHeader/CollectionSectionHeader.uni.driver.d.ts +1 -0
- package/dist/types/components/CollectionSectionHeader/CollectionSectionHeader.uni.driver.d.ts.map +1 -1
- package/dist/types/components/CollectionSectionHeader/CollectionSectionHeaderActionBar.d.ts +7 -2
- package/dist/types/components/CollectionSectionHeader/CollectionSectionHeaderActionBar.d.ts.map +1 -1
- package/dist/types/components/CollectionTable/CollectionTable.d.ts +1 -0
- package/dist/types/components/CollectionTable/CollectionTable.d.ts.map +1 -1
- package/dist/types/components/CollectionTable/useTableCollectionSyncProps.d.ts +1 -0
- package/dist/types/components/CollectionTable/useTableCollectionSyncProps.d.ts.map +1 -1
- package/dist/types/components/CollectionToolbar/CollectionToolbar.st.css.d.ts.map +1 -1
- package/dist/types/components/CollectionToolbar/SearchOrCustomFilter.st.css.d.ts.map +1 -1
- package/dist/types/components/CollectionViewsDropdown/AutoCompleteReadonly.d.ts.map +1 -1
- package/dist/types/components/CollectionViewsDropdown/AutoCompleteReadonly.st.css.d.ts.map +1 -1
- package/dist/types/components/CollectionViewsDropdown/AutoCompleteReadonlyState.d.ts +4 -0
- package/dist/types/components/CollectionViewsDropdown/AutoCompleteReadonlyState.d.ts.map +1 -1
- package/dist/types/components/CollectionViewsDropdown/ViewsDropdown.d.ts.map +1 -1
- package/dist/types/components/CustomFieldsPanel/ManageFieldsPopoverMenu.d.ts.map +1 -1
- package/dist/types/components/CustomFieldsWidget/CustomFieldsWidgetCommonComponents.d.ts.map +1 -1
- package/dist/types/components/EntityPage/EntityPagePlain.st.css.d.ts.map +1 -1
- package/dist/types/components/Fade/Fade.st.css.d.ts.map +1 -1
- package/dist/types/components/Grid/Grid.uni.driver.d.ts +1 -0
- package/dist/types/components/Grid/Grid.uni.driver.d.ts.map +1 -1
- package/dist/types/components/Grid/GridFolders.uni.driver.d.ts +2 -0
- package/dist/types/components/Grid/GridFolders.uni.driver.d.ts.map +1 -1
- package/dist/types/components/Grid/GridFoldersSection.uni.driver.d.ts +1 -0
- package/dist/types/components/Grid/GridFoldersSection.uni.driver.d.ts.map +1 -1
- package/dist/types/components/GridSections/GridSectionHeader.d.ts.map +1 -1
- package/dist/types/components/GridSections/GridSectionsState.d.ts +1 -0
- package/dist/types/components/GridSections/GridSectionsState.d.ts.map +1 -1
- package/dist/types/components/Heading/Heading.st.css.d.ts.map +1 -1
- package/dist/types/components/InputOverflow/InputOverflow.st.css.d.ts.map +1 -1
- package/dist/types/components/LoadingRow/LoadingRow.st.css.d.ts.map +1 -1
- package/dist/types/components/NestedTable/NestedTable.uni.driver.d.ts +1 -0
- 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/PickerContentAdditionalStep.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 +1 -0
- package/dist/types/components/Table/Table.uni.driver.d.ts.map +1 -1
- package/dist/types/components/Table/TableBase.d.ts.map +1 -1
- package/dist/types/components/TableFolders/TableFolders.uni.driver.d.ts +1 -0
- package/dist/types/components/TableFolders/TableFolders.uni.driver.d.ts.map +1 -1
- package/dist/types/components/TableGridSwitch/TableGridSwitch.d.ts +3 -1
- package/dist/types/components/TableGridSwitch/TableGridSwitch.d.ts.map +1 -1
- package/dist/types/components/TableGridSwitch/TableGridSwitch.uni.driver.d.ts +2 -0
- package/dist/types/components/TableGridSwitch/TableGridSwitch.uni.driver.d.ts.map +1 -1
- package/dist/types/components/TableSections/TableSectionRow.d.ts.map +1 -1
- package/dist/types/components/TableSections/TableSections.d.ts +6 -2
- package/dist/types/components/TableSections/TableSections.d.ts.map +1 -1
- package/dist/types/components/TableSections/TableSectionsState.d.ts +10 -1
- package/dist/types/components/TableSections/TableSectionsState.d.ts.map +1 -1
- package/dist/types/components/ToolbarCollection/useToolbarCollectionSyncProps.d.ts +1 -0
- package/dist/types/components/ToolbarCollection/useToolbarCollectionSyncProps.d.ts.map +1 -1
- package/dist/types/components/ToolbarItemBox/ToolbarItemBox.st.css.d.ts.map +1 -1
- package/dist/types/components/common.st.css.d.ts.map +1 -1
- package/dist/types/model/view.d.ts +6 -0
- package/dist/types/model/view.d.ts.map +1 -1
- package/dist/types/state/CollectionViewsQueryCompareHelper.d.ts.map +1 -1
- package/dist/types/state/CollectionViewsState.d.ts +2 -1
- package/dist/types/state/CollectionViewsState.d.ts.map +1 -1
- package/dist/types/state/FeaturesAvailabilityBIParams.d.ts +1 -0
- package/dist/types/state/FeaturesAvailabilityBIParams.d.ts.map +1 -1
- package/dist/types/state/TableGridSwitchFoldersState.d.ts.map +1 -1
- package/dist/types/state/TableGridSwitchState.d.ts.map +1 -1
- package/dist/types/state/ToolbarCollectionState.d.ts +6 -1
- package/dist/types/state/ToolbarCollectionState.d.ts.map +1 -1
- package/dist/types/testkit/enzyme.d.ts +8 -0
- package/dist/types/testkit/enzyme.d.ts.map +1 -1
- package/dist/types/testkit/jsdom.d.ts +8 -0
- package/dist/types/testkit/jsdom.d.ts.map +1 -1
- package/dist/types/testkit/playwright.d.ts +8 -0
- package/dist/types/testkit/playwright.d.ts.map +1 -1
- package/dist/types/testkit/puppeteer.d.ts +8 -0
- package/dist/types/testkit/puppeteer.d.ts.map +1 -1
- package/dist/types/version.d.ts +1 -1
- package/package.json +2 -2
- 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/CollectionSectionHeader/CollectionSectionHeader.tsx +18 -4
- package/src/components/CollectionSectionHeader/CollectionSectionHeader.types.ts +20 -0
- package/src/components/CollectionSectionHeader/CollectionSectionHeader.uni.driver.ts +6 -0
- package/src/components/CollectionSectionHeader/CollectionSectionHeaderActionBar.tsx +41 -8
- package/src/components/CollectionTable/CollectionTable.st.css.ts +2 -2
- package/src/components/CollectionTable/CollectionTable.tsx +1 -0
- package/src/components/CollectionTable/useTableCollectionSyncProps.ts +3 -0
- package/src/components/CollectionToolbar/CollectionToolbar.st.css.ts +2 -2
- package/src/components/CollectionToolbar/SearchOrCustomFilter.st.css.ts +2 -2
- package/src/components/CollectionViewsDropdown/AutoCompleteReadonly.st.css.ts +2 -2
- package/src/components/CollectionViewsDropdown/AutoCompleteReadonly.tsx +14 -4
- package/src/components/CollectionViewsDropdown/AutoCompleteReadonlyState.ts +10 -0
- package/src/components/CollectionViewsDropdown/ViewsDropdown.st.css.ts +2 -2
- package/src/components/CollectionViewsDropdown/ViewsDropdown.tsx +22 -6
- package/src/components/CustomFieldsPanel/ManageFieldsPopoverMenu.tsx +3 -1
- package/src/components/CustomFieldsWidget/CustomFieldsWidgetCommonComponents.tsx +5 -2
- 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/GridSections/GridSectionHeader.tsx +2 -1
- package/src/components/GridSections/GridSectionsState.ts +3 -2
- package/src/components/Heading/Heading.st.css.ts +2 -2
- package/src/components/InputOverflow/InputOverflow.st.css.ts +2 -2
- package/src/components/LoadingRow/LoadingRow.st.css.ts +3 -3
- package/src/components/MaxHeightText/MaxHeightText.st.css.ts +2 -2
- package/src/components/MaxLines/MaxLines.st.css.ts +2 -2
- package/src/components/MultiBulkActionToolbar/MultiBulkActionToolbar.st.css.ts +2 -2
- package/src/components/NestedTable/NestedTablePlaceholderStatesRow.st.css.ts +2 -2
- package/src/components/NestedTable/NestedTableRow.st.css.ts +2 -2
- package/src/components/NestedTableDragAndDrop/MultipleDragOverlayEffect.st.css.ts +2 -2
- package/src/components/NestedTableDragAndDrop/NestedTableDragAndDropRow.st.css.ts +2 -2
- package/src/components/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/Table/TableBase.tsx +2 -0
- package/src/components/TableGridSwitch/TableGridSwitch.tsx +9 -1
- package/src/components/TableSections/TableSectionRow.tsx +4 -1
- package/src/components/TableSections/TableSections.tsx +19 -2
- package/src/components/TableSections/TableSectionsState.ts +61 -6
- 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/useToolbarCollectionSyncProps.ts +2 -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/dashboard/WixPatternsDashboardBaseProvider.tsx +2 -2
- package/src/model/view.ts +7 -0
- package/src/state/CollectionPage/CollectionPageHeader.st.css.ts +2 -2
- package/src/state/CollectionViewsQueryCompareHelper.ts +6 -1
- package/src/state/CollectionViewsState.ts +16 -1
- package/src/state/FeaturesAvailabilityBIParams.ts +1 -0
- package/src/state/FormPage/FormPageHeader.st.css.ts +2 -2
- package/src/state/TableGridSwitchFoldersState.ts +2 -0
- package/src/state/TableGridSwitchState.ts +2 -0
- package/src/state/ToolbarCollectionState.ts +14 -1
- package/src/styles.global.css +1 -1
- package/src/version.ts +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireWildcard","require","_mobxReactLite","_designSystem","_ViewsDropdownModals","_ViewsDropdownStCss","_ManageViewPopover","_viewsDropdownRenderHelpers","_AutoCompleteReadonly","_ViewsDropdownPrefix","_","_jsxFileName","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","_ViewsDropdown","onSelect","dataHook","state","showTotal","dropdownWidth","dropdownProps","container","useWixPatternsContainer","views","viewsState","currentView","collection","localSearchState","filteredCategoriesWithViews","translate","showLoader","result","status","isIdle","isLoading","viewsOptions","useMemo","viewsWithoutCategory","categories","map","view","buildViewOption","flatMap","category","buildCategoryOption","initTask","options","fixedFooter","createElement","Box","width","align","verticalAlign","padding","__self","__source","fileName","lineNumber","columnNumber","Loader","size","undefined","table","mainCollection","shouldShowTotal","totalStatus","showRefreshLoader","direction","AutoCompleteReadonly","_extends2","emptyStateMessage","autoCompleteReadonlyState","value","inputValue","onChange","setInputValueAndScheduleSearch","target","clearInput","clearSearch","popoverProps","placement","onInputClicked","viewsStateBIReporter","clickOnViewDropdownBI","border","selectedId","id","selectedLabel","getViewName","textOverflow","prefix","ViewsDropdownPrefix","suffix","className","Input","Affix","total","st","classes","root","option","events","emit","toString","getView","selectView","placeholder","paddingLeft","ManageViewPopover","origin","ViewsDropdownModals","ViewsDropdown","exports","observer"],"sources":["../../../../src/components/CollectionViewsDropdown/ViewsDropdown.tsx"],"sourcesContent":["import React, { useMemo } from 'react';\nimport { observer } from 'mobx-react-lite';\nimport {\n Box,\n DropdownPropsControlled as DropdownProps,\n Input,\n Loader,\n} from '@wix/design-system';\nimport { CollectionViewsState } from '../../state';\nimport { FiltersMap } from '@wix/bex-core';\nimport { ViewsDropdownModals } from './ViewsDropdownModals';\nimport { View } from '../../model';\nimport { classes, st } from './ViewsDropdown.st.css.js';\nimport { ManageViewPopover } from './ManageViewPopover';\nimport {\n buildCategoryOption,\n buildViewOption,\n getViewName,\n} from './viewsDropdownRenderHelpers';\nimport { AutoCompleteReadonly } from './AutoCompleteReadonly';\nimport { ViewsDropdownPrefix } from './ViewsDropdownPrefix';\nimport { useWixPatternsContainer } from '../..';\n\nexport type ViewsDropdownProps<T, F extends FiltersMap> = {\n state: CollectionViewsState<T, F>;\n onSelect?: (view: View<F>) => void;\n dataHook: string;\n showTotal?: boolean;\n} & Omit<DropdownProps, 'onSelect'>;\n\nfunction _ViewsDropdown<T, F extends FiltersMap>({\n onSelect,\n dataHook,\n state,\n showTotal = true,\n dropdownWidth = '200px',\n ...dropdownProps\n}: ViewsDropdownProps<T, F>) {\n const container = useWixPatternsContainer();\n const { views: viewsState } = state;\n const { currentView, collection, localSearchState } = viewsState;\n const { filteredCategoriesWithViews } = localSearchState;\n const { translate: t } = collection;\n const showLoader =\n collection.result.status.isIdle || collection.result.status.isLoading;\n\n const viewsOptions = useMemo(() => {\n const { viewsWithoutCategory, categories } = filteredCategoriesWithViews;\n\n return [\n ...viewsWithoutCategory.map((view) =>\n buildViewOption({ view, viewsState }),\n ),\n ...categories.flatMap((category) => [\n buildCategoryOption({ category, viewsState }),\n ...category.views.map((view) => buildViewOption({ view, viewsState })),\n ]),\n ];\n }, [filteredCategoriesWithViews, container.initTask.status]);\n\n const { options, fixedFooter } = showLoader\n ? {\n options: [],\n fixedFooter: (\n <Box\n dataHook=\"initial-loader\"\n width=\"100%\"\n align=\"center\"\n verticalAlign=\"middle\"\n padding=\"SP2\"\n >\n <Loader size=\"small\" />\n </Box>\n ),\n }\n : {\n options: viewsOptions,\n fixedFooter: undefined,\n };\n\n const {\n table: { collection: mainCollection },\n } = state;\n\n const shouldShowTotal =\n showTotal &&\n (mainCollection.totalStatus === 'success' ||\n mainCollection.showRefreshLoader);\n\n return (\n <Box dataHook={dataHook}>\n <Box width={dropdownWidth} direction=\"vertical\">\n <AutoCompleteReadonly\n emptyStateMessage={\n !showLoader && t('cairo.viewsDropdown.nothingMatches.text')\n }\n state={state.views.autoCompleteReadonlyState}\n value={localSearchState.inputValue}\n onChange={(e) =>\n localSearchState.setInputValueAndScheduleSearch(e.target.value)\n }\n clearInput={() => localSearchState.clearSearch()}\n dropdownWidth={dropdownWidth}\n popoverProps={{ placement: 'bottom-start' }}\n {...dropdownProps}\n onInputClicked={(e) => {\n state.viewsStateBIReporter.clickOnViewDropdownBI();\n dropdownProps?.onInputClicked?.(e);\n }}\n fixedFooter={fixedFooter}\n border=\"round\"\n selectedId={currentView?.id}\n selectedLabel={\n currentView\n ? getViewName({ view: currentView, viewsState })\n : undefined\n }\n textOverflow=\"ellipsis\"\n prefix={<ViewsDropdownPrefix state={state} />}\n suffix={\n shouldShowTotal ? (\n <Box className=\"total-count\">\n <Input.Affix>\n ({state.table.collection.result.total})\n </Input.Affix>\n </Box>\n ) : undefined\n }\n className={st(classes.root)}\n dataHook=\"collection-views-dropdown\"\n onSelect={(option) => {\n viewsState.events.emit('beforeSelectView');\n const id = option.id.toString();\n const view = viewsState.getView(id);\n if (view) {\n onSelect?.(view);\n viewsState.selectView({ id });\n viewsState.events.emit('afterSelectView', { view });\n }\n localSearchState.clearSearch();\n }}\n options={options}\n placeholder={t('cairo.viewDropdown.unsavedView.status')}\n />\n </Box>\n\n <Box verticalAlign=\"middle\" paddingLeft=\"SP2\">\n <ManageViewPopover origin=\"MainToolbar\" state={state} />\n </Box>\n\n <ViewsDropdownModals state={state} />\n </Box>\n );\n}\n\nexport const ViewsDropdown = observer(_ViewsDropdown);\n"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,cAAA,GAAAD,OAAA;AACA,IAAAE,aAAA,GAAAF,OAAA;AAQA,IAAAG,oBAAA,GAAAH,OAAA;AAEA,IAAAI,mBAAA,GAAAJ,OAAA;AACA,IAAAK,kBAAA,GAAAL,OAAA;AACA,IAAAM,2BAAA,GAAAN,OAAA;AAKA,IAAAO,qBAAA,GAAAP,OAAA;AACA,IAAAQ,oBAAA,GAAAR,OAAA;AACA,IAAAS,CAAA,GAAAT,OAAA;AAAgD,IAAAU,YAAA;AAAA,SAAAX,wBAAAY,CAAA,EAAAC,CAAA,6BAAAC,OAAA,MAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAd,uBAAA,YAAAA,CAAAY,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,CAAAM,GAAA,CAAAZ,CAAA,GAAAM,CAAA,CAAAO,GAAA,CAAAb,CAAA,EAAAQ,CAAA,gBAAAP,CAAA,IAAAD,CAAA,gBAAAC,CAAA,OAAAa,cAAA,CAAAC,IAAA,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_ViewsDropdownModals","_ViewsDropdownStCss","_ManageViewPopover","_viewsDropdownRenderHelpers","_AutoCompleteReadonly","_ViewsDropdownPrefix","_","_jsxFileName","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","_ViewsDropdown","onSelect","dataHook","state","showTotal","dropdownWidth","dropdownProps","container","useWixPatternsContainer","views","viewsState","currentView","collection","localSearchState","filteredCategoriesWithViews","translate","showLoader","result","status","isIdle","isLoading","viewsOptions","useMemo","viewsWithoutCategory","categories","map","view","buildViewOption","flatMap","category","buildCategoryOption","initTask","options","fixedFooter","createElement","Box","width","align","verticalAlign","padding","__self","__source","fileName","lineNumber","columnNumber","Loader","size","undefined","table","mainCollection","shouldShowTotal","totalStatus","showRefreshLoader","direction","AutoCompleteReadonly","_extends2","emptyStateMessage","autoCompleteReadonlyState","value","inputValue","onChange","setInputValueAndScheduleSearch","target","clearInput","clearSearch","popoverProps","placement","onInputClicked","viewsStateBIReporter","clickOnViewDropdownBI","border","selectedId","id","selectedLabel","getViewName","textOverflow","prefix","onClick","focusInput","style","cursor","display","ViewsDropdownPrefix","suffix","className","Input","Affix","total","st","classes","root","option","events","emit","toString","getView","selectView","placeholder","paddingLeft","ManageViewPopover","origin","ViewsDropdownModals","ViewsDropdown","exports","observer"],"sources":["../../../../src/components/CollectionViewsDropdown/ViewsDropdown.tsx"],"sourcesContent":["import React, { useMemo } from 'react';\nimport { observer } from 'mobx-react-lite';\nimport {\n Box,\n DropdownPropsControlled as DropdownProps,\n Input,\n Loader,\n} from '@wix/design-system';\nimport { CollectionViewsState } from '../../state';\nimport { FiltersMap } from '@wix/bex-core';\nimport { ViewsDropdownModals } from './ViewsDropdownModals';\nimport { View } from '../../model';\nimport { classes, st } from './ViewsDropdown.st.css.js';\nimport { ManageViewPopover } from './ManageViewPopover';\nimport {\n buildCategoryOption,\n buildViewOption,\n getViewName,\n} from './viewsDropdownRenderHelpers';\nimport { AutoCompleteReadonly } from './AutoCompleteReadonly';\nimport { ViewsDropdownPrefix } from './ViewsDropdownPrefix';\nimport { useWixPatternsContainer } from '../..';\n\nexport type ViewsDropdownProps<T, F extends FiltersMap> = {\n state: CollectionViewsState<T, F>;\n onSelect?: (view: View<F>) => void;\n dataHook: string;\n showTotal?: boolean;\n} & Omit<DropdownProps, 'onSelect'>;\n\nfunction _ViewsDropdown<T, F extends FiltersMap>({\n onSelect,\n dataHook,\n state,\n showTotal = true,\n dropdownWidth = '200px',\n ...dropdownProps\n}: ViewsDropdownProps<T, F>) {\n const container = useWixPatternsContainer();\n const { views: viewsState } = state;\n const { currentView, collection, localSearchState } = viewsState;\n const { filteredCategoriesWithViews } = localSearchState;\n const { translate: t } = collection;\n const showLoader =\n collection.result.status.isIdle || collection.result.status.isLoading;\n\n const viewsOptions = useMemo(() => {\n const { viewsWithoutCategory, categories } = filteredCategoriesWithViews;\n\n return [\n ...viewsWithoutCategory.map((view) =>\n buildViewOption({ view, viewsState }),\n ),\n ...categories.flatMap((category) => [\n buildCategoryOption({ category, viewsState }),\n ...category.views.map((view) => buildViewOption({ view, viewsState })),\n ]),\n ];\n }, [filteredCategoriesWithViews, container.initTask.status]);\n\n const { options, fixedFooter } = showLoader\n ? {\n options: [],\n fixedFooter: (\n <Box\n dataHook=\"initial-loader\"\n width=\"100%\"\n align=\"center\"\n verticalAlign=\"middle\"\n padding=\"SP2\"\n >\n <Loader size=\"small\" />\n </Box>\n ),\n }\n : {\n options: viewsOptions,\n fixedFooter: undefined,\n };\n\n const {\n table: { collection: mainCollection },\n } = state;\n\n const shouldShowTotal =\n showTotal &&\n (mainCollection.totalStatus === 'success' ||\n mainCollection.showRefreshLoader);\n\n return (\n <Box dataHook={dataHook}>\n <Box width={dropdownWidth} direction=\"vertical\">\n <AutoCompleteReadonly\n emptyStateMessage={\n !showLoader && t('cairo.viewsDropdown.nothingMatches.text')\n }\n state={state.views.autoCompleteReadonlyState}\n value={localSearchState.inputValue}\n onChange={(e) =>\n localSearchState.setInputValueAndScheduleSearch(e.target.value)\n }\n clearInput={() => localSearchState.clearSearch()}\n dropdownWidth={dropdownWidth}\n popoverProps={{ placement: 'bottom-start' }}\n {...dropdownProps}\n onInputClicked={(e) => {\n state.viewsStateBIReporter.clickOnViewDropdownBI();\n dropdownProps?.onInputClicked?.(e);\n }}\n fixedFooter={fixedFooter}\n border=\"round\"\n selectedId={currentView?.id}\n selectedLabel={\n currentView\n ? getViewName({ view: currentView, viewsState })\n : undefined\n }\n textOverflow=\"ellipsis\"\n prefix={\n <div\n data-hook=\"views-dropdown-prefix\"\n onClick={() => viewsState.autoCompleteReadonlyState.focusInput()}\n style={{ cursor: 'pointer', display: 'inline-flex' }}\n >\n <ViewsDropdownPrefix state={state} />\n </div>\n }\n suffix={\n shouldShowTotal ? (\n <div\n data-hook=\"views-dropdown-suffix\"\n onClick={() =>\n viewsState.autoCompleteReadonlyState.focusInput()\n }\n style={{ cursor: 'pointer', display: 'inline-flex' }}\n >\n <Box className=\"total-count\">\n <Input.Affix>\n ({state.table.collection.result.total})\n </Input.Affix>\n </Box>\n </div>\n ) : undefined\n }\n className={st(classes.root)}\n dataHook=\"collection-views-dropdown\"\n onSelect={(option) => {\n viewsState.events.emit('beforeSelectView');\n const id = option.id.toString();\n const view = viewsState.getView(id);\n if (view) {\n onSelect?.(view);\n viewsState.selectView({ id });\n viewsState.events.emit('afterSelectView', { view });\n }\n localSearchState.clearSearch();\n }}\n options={options}\n placeholder={t('cairo.viewDropdown.unsavedView.status')}\n />\n </Box>\n\n <Box verticalAlign=\"middle\" paddingLeft=\"SP2\">\n <ManageViewPopover origin=\"MainToolbar\" state={state} />\n </Box>\n\n <ViewsDropdownModals state={state} />\n </Box>\n );\n}\n\nexport const ViewsDropdown = observer(_ViewsDropdown);\n"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,cAAA,GAAAD,OAAA;AACA,IAAAE,aAAA,GAAAF,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;IAAAqC,MAAA;IAAAC,QAAA;MAAAC,QAAA,EAAA9D,YAAA;MAAA+D,UAAA;MAAAC,YAAA;IAAA;EAAA,CAAE,CACjC,CAAC;AAEV;AAEO,MAAM0D,aAAa,GAAAC,OAAA,CAAAD,aAAA,GAAG,IAAAE,uBAAQ,EAACxG,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_ = "ViewsDropdown3364347350";
|
|
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": "ViewsDropdown3364347350__root"
|
|
16
16
|
};
|
|
17
17
|
var keyframes = exports.keyframes = {};
|
|
18
18
|
var layers = exports.layers = {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_stylableEsmRuntime","require","_namespace_","_style_","classesRuntime","bind","cssStates","exports","statesRuntime","style","st","namespace","classes","keyframes","layers","containers","stVars","vars"],"sources":["../../../../src/components/CollectionViewsDropdown/ViewsDropdown.st.css.ts"],"sourcesContent":["// @ts-nocheck\n\n\nimport { classesRuntime, statesRuntime } from \"../../stylable-esm-runtime.js\";\n\n\n\nvar _namespace_ = \"
|
|
1
|
+
{"version":3,"names":["_stylableEsmRuntime","require","_namespace_","_style_","classesRuntime","bind","cssStates","exports","statesRuntime","style","st","namespace","classes","keyframes","layers","containers","stVars","vars"],"sources":["../../../../src/components/CollectionViewsDropdown/ViewsDropdown.st.css.ts"],"sourcesContent":["// @ts-nocheck\n\n\nimport { classesRuntime, statesRuntime } from \"../../stylable-esm-runtime.js\";\n\n\n\nvar _namespace_ = \"ViewsDropdown3364347350\";\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\":\"ViewsDropdown3364347350__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":[]}
|
|
@@ -22,6 +22,9 @@ function _ManageFieldsPopoverMenu({
|
|
|
22
22
|
const {
|
|
23
23
|
translate: t
|
|
24
24
|
} = container;
|
|
25
|
+
const {
|
|
26
|
+
stackingRootRef
|
|
27
|
+
} = (0, _react2.usePageContext)();
|
|
25
28
|
if (!state.dataExtension.hasWritePermissions) {
|
|
26
29
|
return /*#__PURE__*/_react.default.createElement(_CustomFields.CustomFieldsDisabledTooltip, {
|
|
27
30
|
disabled: !state.dataExtension.hasWritePermissions,
|
|
@@ -29,7 +32,7 @@ function _ManageFieldsPopoverMenu({
|
|
|
29
32
|
__self: this,
|
|
30
33
|
__source: {
|
|
31
34
|
fileName: _jsxFileName,
|
|
32
|
-
lineNumber:
|
|
35
|
+
lineNumber: 30,
|
|
33
36
|
columnNumber: 7
|
|
34
37
|
}
|
|
35
38
|
}, /*#__PURE__*/_react.default.createElement(_designSystem.IconButton, {
|
|
@@ -38,14 +41,14 @@ function _ManageFieldsPopoverMenu({
|
|
|
38
41
|
__self: this,
|
|
39
42
|
__source: {
|
|
40
43
|
fileName: _jsxFileName,
|
|
41
|
-
lineNumber:
|
|
44
|
+
lineNumber: 34,
|
|
42
45
|
columnNumber: 9
|
|
43
46
|
}
|
|
44
47
|
}, /*#__PURE__*/_react.default.createElement(_wixUiIconsCommon.MoreSmall, {
|
|
45
48
|
__self: this,
|
|
46
49
|
__source: {
|
|
47
50
|
fileName: _jsxFileName,
|
|
48
|
-
lineNumber:
|
|
51
|
+
lineNumber: 35,
|
|
49
52
|
columnNumber: 11
|
|
50
53
|
}
|
|
51
54
|
})));
|
|
@@ -76,6 +79,7 @@ function _ManageFieldsPopoverMenu({
|
|
|
76
79
|
return /*#__PURE__*/_react.default.createElement(_designSystem.PopoverMenu, {
|
|
77
80
|
textSize: "small",
|
|
78
81
|
placement: "bottom-end",
|
|
82
|
+
appendTo: stackingRootRef.current || 'parent',
|
|
79
83
|
dataHook: "custom-field-options",
|
|
80
84
|
onShow: onTriggerMenu,
|
|
81
85
|
triggerElement: /*#__PURE__*/_react.default.createElement(_designSystem.Tooltip, {
|
|
@@ -83,7 +87,7 @@ function _ManageFieldsPopoverMenu({
|
|
|
83
87
|
__self: this,
|
|
84
88
|
__source: {
|
|
85
89
|
fileName: _jsxFileName,
|
|
86
|
-
lineNumber:
|
|
90
|
+
lineNumber: 80,
|
|
87
91
|
columnNumber: 9
|
|
88
92
|
}
|
|
89
93
|
}, /*#__PURE__*/_react.default.createElement(_designSystem.IconButton, {
|
|
@@ -93,21 +97,21 @@ function _ManageFieldsPopoverMenu({
|
|
|
93
97
|
__self: this,
|
|
94
98
|
__source: {
|
|
95
99
|
fileName: _jsxFileName,
|
|
96
|
-
lineNumber:
|
|
100
|
+
lineNumber: 81,
|
|
97
101
|
columnNumber: 11
|
|
98
102
|
}
|
|
99
103
|
}, /*#__PURE__*/_react.default.createElement(_wixUiIconsCommon.MoreSmall, {
|
|
100
104
|
__self: this,
|
|
101
105
|
__source: {
|
|
102
106
|
fileName: _jsxFileName,
|
|
103
|
-
lineNumber:
|
|
107
|
+
lineNumber: 86,
|
|
104
108
|
columnNumber: 13
|
|
105
109
|
}
|
|
106
110
|
}))),
|
|
107
111
|
__self: this,
|
|
108
112
|
__source: {
|
|
109
113
|
fileName: _jsxFileName,
|
|
110
|
-
lineNumber:
|
|
114
|
+
lineNumber: 73,
|
|
111
115
|
columnNumber: 5
|
|
112
116
|
}
|
|
113
117
|
}, /*#__PURE__*/_react.default.createElement(_designSystem.PopoverMenu.MenuItem, {
|
|
@@ -116,7 +120,7 @@ function _ManageFieldsPopoverMenu({
|
|
|
116
120
|
__self: this,
|
|
117
121
|
__source: {
|
|
118
122
|
fileName: _jsxFileName,
|
|
119
|
-
lineNumber:
|
|
123
|
+
lineNumber: 93,
|
|
120
124
|
columnNumber: 21
|
|
121
125
|
}
|
|
122
126
|
}),
|
|
@@ -135,7 +139,7 @@ function _ManageFieldsPopoverMenu({
|
|
|
135
139
|
__self: this,
|
|
136
140
|
__source: {
|
|
137
141
|
fileName: _jsxFileName,
|
|
138
|
-
lineNumber:
|
|
142
|
+
lineNumber: 91,
|
|
139
143
|
columnNumber: 7
|
|
140
144
|
}
|
|
141
145
|
}), /*#__PURE__*/_react.default.createElement(_designSystem.PopoverMenu.MenuItem, {
|
|
@@ -144,7 +148,7 @@ function _ManageFieldsPopoverMenu({
|
|
|
144
148
|
__self: this,
|
|
145
149
|
__source: {
|
|
146
150
|
fileName: _jsxFileName,
|
|
147
|
-
lineNumber:
|
|
151
|
+
lineNumber: 110,
|
|
148
152
|
columnNumber: 21
|
|
149
153
|
}
|
|
150
154
|
}),
|
|
@@ -163,7 +167,7 @@ function _ManageFieldsPopoverMenu({
|
|
|
163
167
|
__self: this,
|
|
164
168
|
__source: {
|
|
165
169
|
fileName: _jsxFileName,
|
|
166
|
-
lineNumber:
|
|
170
|
+
lineNumber: 108,
|
|
167
171
|
columnNumber: 7
|
|
168
172
|
}
|
|
169
173
|
}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_designSystem","require","_react","_interopRequireDefault","_react2","_wixUiIconsCommon","_bexCore","_bi","_mobxReactLite","_CustomFields","_jsxFileName","_ManageFieldsPopoverMenu","state","id","origin","location","container","useWixPatternsContainer","translate","t","dataExtension","hasWritePermissions","default","createElement","CustomFieldsDisabledTooltip","disabled","content","__self","__source","fileName","lineNumber","columnNumber","IconButton","size","dataHook","MoreSmall","reportCtaClickedBi","ctaIndex","ctaName","moreActionsIndex","reportBi","withoutDefaults","cairoCtaClicked","filteredListSize","availableUserCustomFields","length","isSelectAll","numCtas","numItems","url","window","href","onTriggerMenu","PopoverMenu","textSize","placement","onShow","triggerElement","Tooltip","skin","MenuItem","prefixIcon","EditSmall","text","onClick","openCustomFieldModal","fieldId","ArchiveSmall","archiveFieldModal","modal","open","ManageFieldsPopoverMenu","exports","observer"],"sources":["../../../../src/components/CustomFieldsPanel/ManageFieldsPopoverMenu.tsx"],"sourcesContent":["import { IconButton, PopoverMenu, Tooltip } from '@wix/design-system';\nimport React from 'react';\nimport { useWixPatternsContainer } from '@wix/bex-core/react';\nimport { ArchiveSmall, EditSmall, MoreSmall } from '@wix/wix-ui-icons-common';\nimport { CustomFieldOrigin, withoutDefaults } from '@wix/bex-core';\nimport { cairoCtaClicked } from '@wix/bex-core/bi';\nimport { observer } from 'mobx-react-lite';\nimport { CustomFieldsDisabledTooltip } from '../CustomFields';\nimport { CustomFieldsPanelState } from '../../state/CustomFields/CustomFieldsPanelState';\n\nexport interface ManageFieldsPopoverMenuProps {\n state: CustomFieldsPanelState;\n id: string;\n origin: CustomFieldOrigin;\n location: string;\n}\n\nfunction _ManageFieldsPopoverMenu({\n state,\n id,\n origin,\n location,\n}: ManageFieldsPopoverMenuProps) {\n const container = useWixPatternsContainer();\n const { translate: t } = container;\n\n if (!state.dataExtension.hasWritePermissions) {\n return (\n <CustomFieldsDisabledTooltip\n disabled={!state.dataExtension.hasWritePermissions}\n content={t('cairo.customFields.writePermission.tooltip')}\n >\n <IconButton size=\"tiny\" dataHook=\"custom-field-options-icon-button\">\n <MoreSmall />\n </IconButton>\n </CustomFieldsDisabledTooltip>\n );\n }\n\n const reportCtaClickedBi = ({\n ctaIndex,\n ctaName,\n moreActionsIndex,\n }: {\n ctaIndex: number;\n ctaName: string;\n moreActionsIndex?: number;\n }) => {\n state?.reportBi(\n withoutDefaults(cairoCtaClicked)({\n ctaIndex,\n ctaName,\n filteredListSize: state?.dataExtension.availableUserCustomFields.length,\n isSelectAll: false,\n location,\n moreActionsIndex,\n numCtas: 2,\n numItems: 1,\n url: typeof window !== 'undefined' ? window.location.href : '',\n }),\n );\n };\n\n const onTriggerMenu = () => {\n reportCtaClickedBi({\n ctaIndex: 0,\n ctaName: 'More Actions Menu',\n });\n };\n\n return (\n <PopoverMenu\n textSize=\"small\"\n placement=\"bottom-end\"\n dataHook=\"custom-field-options\"\n onShow={onTriggerMenu}\n triggerElement={\n <Tooltip content={t('cairo.custom-columns.more-actions.tooltip')}>\n <IconButton\n size=\"tiny\"\n dataHook=\"custom-field-options-icon-button\"\n skin=\"light\"\n >\n <MoreSmall />\n </IconButton>\n </Tooltip>\n }\n >\n <PopoverMenu.MenuItem\n dataHook=\"custom-field-options-edit\"\n prefixIcon={<EditSmall />}\n text={t('cairo.customFields.edit.CTA')}\n onClick={() => {\n reportCtaClickedBi({\n ctaIndex: 1,\n ctaName: 'Edit',\n moreActionsIndex: 1,\n });\n state.openCustomFieldModal({\n fieldId: id,\n origin,\n });\n }}\n />\n\n <PopoverMenu.MenuItem\n dataHook=\"custom-field-options-archive\"\n prefixIcon={<ArchiveSmall />}\n text={t('cairo.customFields.archive.CTA')}\n onClick={() => {\n reportCtaClickedBi({\n ctaIndex: 2,\n ctaName: 'Archive',\n moreActionsIndex: 2,\n });\n state.archiveFieldModal.modal.open({ id, origin });\n }}\n />\n </PopoverMenu>\n );\n}\n\nexport const ManageFieldsPopoverMenu = observer(_ManageFieldsPopoverMenu);\n"],"mappings":";;;;;AAAA,IAAAA,aAAA,GAAAC,OAAA;AACA,IAAAC,MAAA,GAAAC,sBAAA,CAAAF,OAAA;AACA,IAAAG,OAAA,GAAAH,OAAA;AACA,IAAAI,iBAAA,GAAAJ,OAAA;AACA,IAAAK,QAAA,GAAAL,OAAA;AACA,IAAAM,GAAA,GAAAN,OAAA;AACA,IAAAO,cAAA,GAAAP,OAAA;AACA,IAAAQ,aAAA,GAAAR,OAAA;AAA8D,IAAAS,YAAA;AAU9D,SAASC,wBAAwBA,CAAC;EAChCC,KAAK;EACLC,EAAE;EACFC,MAAM;EACNC;AAC4B,CAAC,EAAE;EAC/B,MAAMC,SAAS,GAAG,IAAAC,+BAAuB,EAAC,CAAC;EAC3C,MAAM;IAAEC,SAAS,EAAEC;EAAE,CAAC,GAAGH,SAAS;
|
|
1
|
+
{"version":3,"names":["_designSystem","require","_react","_interopRequireDefault","_react2","_wixUiIconsCommon","_bexCore","_bi","_mobxReactLite","_CustomFields","_jsxFileName","_ManageFieldsPopoverMenu","state","id","origin","location","container","useWixPatternsContainer","translate","t","stackingRootRef","usePageContext","dataExtension","hasWritePermissions","default","createElement","CustomFieldsDisabledTooltip","disabled","content","__self","__source","fileName","lineNumber","columnNumber","IconButton","size","dataHook","MoreSmall","reportCtaClickedBi","ctaIndex","ctaName","moreActionsIndex","reportBi","withoutDefaults","cairoCtaClicked","filteredListSize","availableUserCustomFields","length","isSelectAll","numCtas","numItems","url","window","href","onTriggerMenu","PopoverMenu","textSize","placement","appendTo","current","onShow","triggerElement","Tooltip","skin","MenuItem","prefixIcon","EditSmall","text","onClick","openCustomFieldModal","fieldId","ArchiveSmall","archiveFieldModal","modal","open","ManageFieldsPopoverMenu","exports","observer"],"sources":["../../../../src/components/CustomFieldsPanel/ManageFieldsPopoverMenu.tsx"],"sourcesContent":["import { IconButton, PopoverMenu, Tooltip } from '@wix/design-system';\nimport React from 'react';\nimport { useWixPatternsContainer, usePageContext } from '@wix/bex-core/react';\nimport { ArchiveSmall, EditSmall, MoreSmall } from '@wix/wix-ui-icons-common';\nimport { CustomFieldOrigin, withoutDefaults } from '@wix/bex-core';\nimport { cairoCtaClicked } from '@wix/bex-core/bi';\nimport { observer } from 'mobx-react-lite';\nimport { CustomFieldsDisabledTooltip } from '../CustomFields';\nimport { CustomFieldsPanelState } from '../../state/CustomFields/CustomFieldsPanelState';\n\nexport interface ManageFieldsPopoverMenuProps {\n state: CustomFieldsPanelState;\n id: string;\n origin: CustomFieldOrigin;\n location: string;\n}\n\nfunction _ManageFieldsPopoverMenu({\n state,\n id,\n origin,\n location,\n}: ManageFieldsPopoverMenuProps) {\n const container = useWixPatternsContainer();\n const { translate: t } = container;\n const { stackingRootRef } = usePageContext();\n\n if (!state.dataExtension.hasWritePermissions) {\n return (\n <CustomFieldsDisabledTooltip\n disabled={!state.dataExtension.hasWritePermissions}\n content={t('cairo.customFields.writePermission.tooltip')}\n >\n <IconButton size=\"tiny\" dataHook=\"custom-field-options-icon-button\">\n <MoreSmall />\n </IconButton>\n </CustomFieldsDisabledTooltip>\n );\n }\n\n const reportCtaClickedBi = ({\n ctaIndex,\n ctaName,\n moreActionsIndex,\n }: {\n ctaIndex: number;\n ctaName: string;\n moreActionsIndex?: number;\n }) => {\n state?.reportBi(\n withoutDefaults(cairoCtaClicked)({\n ctaIndex,\n ctaName,\n filteredListSize: state?.dataExtension.availableUserCustomFields.length,\n isSelectAll: false,\n location,\n moreActionsIndex,\n numCtas: 2,\n numItems: 1,\n url: typeof window !== 'undefined' ? window.location.href : '',\n }),\n );\n };\n\n const onTriggerMenu = () => {\n reportCtaClickedBi({\n ctaIndex: 0,\n ctaName: 'More Actions Menu',\n });\n };\n\n return (\n <PopoverMenu\n textSize=\"small\"\n placement=\"bottom-end\"\n appendTo={stackingRootRef.current || 'parent'}\n dataHook=\"custom-field-options\"\n onShow={onTriggerMenu}\n triggerElement={\n <Tooltip content={t('cairo.custom-columns.more-actions.tooltip')}>\n <IconButton\n size=\"tiny\"\n dataHook=\"custom-field-options-icon-button\"\n skin=\"light\"\n >\n <MoreSmall />\n </IconButton>\n </Tooltip>\n }\n >\n <PopoverMenu.MenuItem\n dataHook=\"custom-field-options-edit\"\n prefixIcon={<EditSmall />}\n text={t('cairo.customFields.edit.CTA')}\n onClick={() => {\n reportCtaClickedBi({\n ctaIndex: 1,\n ctaName: 'Edit',\n moreActionsIndex: 1,\n });\n state.openCustomFieldModal({\n fieldId: id,\n origin,\n });\n }}\n />\n\n <PopoverMenu.MenuItem\n dataHook=\"custom-field-options-archive\"\n prefixIcon={<ArchiveSmall />}\n text={t('cairo.customFields.archive.CTA')}\n onClick={() => {\n reportCtaClickedBi({\n ctaIndex: 2,\n ctaName: 'Archive',\n moreActionsIndex: 2,\n });\n state.archiveFieldModal.modal.open({ id, origin });\n }}\n />\n </PopoverMenu>\n );\n}\n\nexport const ManageFieldsPopoverMenu = observer(_ManageFieldsPopoverMenu);\n"],"mappings":";;;;;AAAA,IAAAA,aAAA,GAAAC,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;IACnB5B,QAAQ,EAAC,8BAA8B;IACvC6B,UAAU,eAAE/D,MAAA,CAAAsB,OAAA,CAAAC,aAAA,CAACpB,iBAAA,CAAAkE,YAAY;MAAA1C,MAAA;MAAAC,QAAA;QAAAC,QAAA,EAAArB,YAAA;QAAAsB,UAAA;QAAAC,YAAA;MAAA;IAAA,CAAE,CAAE;IAC7BkC,IAAI,EAAEhD,CAAC,CAAC,gCAAgC,CAAE;IAC1CiD,OAAO,EAAEA,CAAA,KAAM;MACb9B,kBAAkB,CAAC;QACjBC,QAAQ,EAAE,CAAC;QACXC,OAAO,EAAE,SAAS;QAClBC,gBAAgB,EAAE;MACpB,CAAC,CAAC;MACF7B,KAAK,CAAC4D,iBAAiB,CAACC,KAAK,CAACC,IAAI,CAAC;QAAE7D,EAAE;QAAEC;MAAO,CAAC,CAAC;IACpD,CAAE;IAAAe,MAAA;IAAAC,QAAA;MAAAC,QAAA,EAAArB,YAAA;MAAAsB,UAAA;MAAAC,YAAA;IAAA;EAAA,CACH,CACU,CAAC;AAElB;AAEO,MAAM0C,uBAAuB,GAAAC,OAAA,CAAAD,uBAAA,GAAG,IAAAE,uBAAQ,EAAClE,wBAAwB,CAAC","ignoreList":[]}
|
|
@@ -12,6 +12,9 @@ const _CustomFieldsWidgetCommonComponents = ({
|
|
|
12
12
|
state
|
|
13
13
|
}) => {
|
|
14
14
|
const page = (0, _react2.usePageContext)();
|
|
15
|
+
const {
|
|
16
|
+
useRelativeSidePanel
|
|
17
|
+
} = (0, _react2.useWixPatternsContainer)();
|
|
15
18
|
const {
|
|
16
19
|
modalsContainerRef,
|
|
17
20
|
stackingRootRef
|
|
@@ -24,12 +27,12 @@ const _CustomFieldsWidgetCommonComponents = ({
|
|
|
24
27
|
const ArchiveFieldModal = state.ArchiveFieldModal;
|
|
25
28
|
return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, WixPatternsModalsContainer && /*#__PURE__*/_react.default.createElement(WixPatternsModalsContainer, {
|
|
26
29
|
rootRef: stackingRootRef,
|
|
27
|
-
anchorRef: modalsContainerRef,
|
|
30
|
+
anchorRef: useRelativeSidePanel ? stackingRootRef : modalsContainerRef,
|
|
28
31
|
state: state.panels,
|
|
29
32
|
__self: void 0,
|
|
30
33
|
__source: {
|
|
31
34
|
fileName: _jsxFileName,
|
|
32
|
-
lineNumber:
|
|
35
|
+
lineNumber: 29,
|
|
33
36
|
columnNumber: 9
|
|
34
37
|
}
|
|
35
38
|
}), CustomFieldModal && /*#__PURE__*/_react.default.createElement(CustomFieldModal, {
|
|
@@ -37,7 +40,7 @@ const _CustomFieldsWidgetCommonComponents = ({
|
|
|
37
40
|
__self: void 0,
|
|
38
41
|
__source: {
|
|
39
42
|
fileName: _jsxFileName,
|
|
40
|
-
lineNumber:
|
|
43
|
+
lineNumber: 38,
|
|
41
44
|
columnNumber: 9
|
|
42
45
|
}
|
|
43
46
|
}), ArchiveFieldModal && /*#__PURE__*/_react.default.createElement(ArchiveFieldModal, {
|
|
@@ -45,7 +48,7 @@ const _CustomFieldsWidgetCommonComponents = ({
|
|
|
45
48
|
__self: void 0,
|
|
46
49
|
__source: {
|
|
47
50
|
fileName: _jsxFileName,
|
|
48
|
-
lineNumber:
|
|
51
|
+
lineNumber: 41,
|
|
49
52
|
columnNumber: 9
|
|
50
53
|
}
|
|
51
54
|
}), state.dataExtension.deleteFieldModal && /*#__PURE__*/_react.default.createElement(_DeleteFieldModal.DeleteFieldModal, {
|
|
@@ -53,7 +56,7 @@ const _CustomFieldsWidgetCommonComponents = ({
|
|
|
53
56
|
__self: void 0,
|
|
54
57
|
__source: {
|
|
55
58
|
fileName: _jsxFileName,
|
|
56
|
-
lineNumber:
|
|
59
|
+
lineNumber: 44,
|
|
57
60
|
columnNumber: 9
|
|
58
61
|
}
|
|
59
62
|
}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireDefault","require","_mobxReactLite","_react2","_DeleteFieldModal","_jsxFileName","_CustomFieldsWidgetCommonComponents","state","page","usePageContext","modalsContainerRef","stackingRootRef","isLoading","WixPatternsModalsContainer","CustomFieldModal","ArchiveFieldModal","default","createElement","Fragment","rootRef","anchorRef","panels","__self","__source","fileName","lineNumber","columnNumber","customFieldsPanel","customFieldModal","archiveFieldModal","dataExtension","deleteFieldModal","DeleteFieldModal","CustomFieldsWidgetCommonComponents","exports","observer"],"sources":["../../../../src/components/CustomFieldsWidget/CustomFieldsWidgetCommonComponents.tsx"],"sourcesContent":["import React from 'react';\nimport { observer } from 'mobx-react-lite';\nimport { usePageContext } from '@wix/bex-core/react';\nimport { CustomFieldsWidgetState } from '../../state';\nimport { DeleteFieldModal } from '../ArchivedItemsPanel/DeleteFieldModal';\n\ninterface CustomFieldsWidgetCommonComponentsProps {\n state: CustomFieldsWidgetState;\n}\n\nconst _CustomFieldsWidgetCommonComponents = ({\n state,\n}: CustomFieldsWidgetCommonComponentsProps) => {\n const page = usePageContext();\n\n const { modalsContainerRef, stackingRootRef } = page;\n\n if (state.isLoading) {\n return null;\n }\n const WixPatternsModalsContainer = state.WixPatternsModalsContainer;\n const CustomFieldModal = state.CustomFieldModal;\n const ArchiveFieldModal = state.ArchiveFieldModal;\n\n return (\n <>\n {WixPatternsModalsContainer && (\n <WixPatternsModalsContainer\n rootRef={stackingRootRef}\n anchorRef={modalsContainerRef}\n state={state.panels}\n />\n )}\n {CustomFieldModal && (\n <CustomFieldModal state={state.customFieldsPanel.customFieldModal} />\n )}\n {ArchiveFieldModal && (\n <ArchiveFieldModal state={state.customFieldsPanel.archiveFieldModal} />\n )}\n {state.dataExtension.deleteFieldModal && (\n <DeleteFieldModal state={state.dataExtension.deleteFieldModal} />\n )}\n </>\n );\n};\n\nexport const CustomFieldsWidgetCommonComponents = observer(\n _CustomFieldsWidgetCommonComponents,\n);\n"],"mappings":";;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,cAAA,GAAAD,OAAA;AACA,IAAAE,OAAA,GAAAF,OAAA;AAEA,IAAAG,iBAAA,GAAAH,OAAA;AAA0E,IAAAI,YAAA;AAM1E,MAAMC,mCAAmC,GAAGA,CAAC;EAC3CC;AACuC,CAAC,KAAK;EAC7C,MAAMC,IAAI,GAAG,IAAAC,sBAAc,EAAC,CAAC;
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireDefault","require","_mobxReactLite","_react2","_DeleteFieldModal","_jsxFileName","_CustomFieldsWidgetCommonComponents","state","page","usePageContext","useRelativeSidePanel","useWixPatternsContainer","modalsContainerRef","stackingRootRef","isLoading","WixPatternsModalsContainer","CustomFieldModal","ArchiveFieldModal","default","createElement","Fragment","rootRef","anchorRef","panels","__self","__source","fileName","lineNumber","columnNumber","customFieldsPanel","customFieldModal","archiveFieldModal","dataExtension","deleteFieldModal","DeleteFieldModal","CustomFieldsWidgetCommonComponents","exports","observer"],"sources":["../../../../src/components/CustomFieldsWidget/CustomFieldsWidgetCommonComponents.tsx"],"sourcesContent":["import React from 'react';\nimport { observer } from 'mobx-react-lite';\nimport { usePageContext, useWixPatternsContainer } from '@wix/bex-core/react';\nimport { CustomFieldsWidgetState } from '../../state';\nimport { DeleteFieldModal } from '../ArchivedItemsPanel/DeleteFieldModal';\n\ninterface CustomFieldsWidgetCommonComponentsProps {\n state: CustomFieldsWidgetState;\n}\n\nconst _CustomFieldsWidgetCommonComponents = ({\n state,\n}: CustomFieldsWidgetCommonComponentsProps) => {\n const page = usePageContext();\n const { useRelativeSidePanel } = useWixPatternsContainer();\n\n const { modalsContainerRef, stackingRootRef } = page;\n\n if (state.isLoading) {\n return null;\n }\n const WixPatternsModalsContainer = state.WixPatternsModalsContainer;\n const CustomFieldModal = state.CustomFieldModal;\n const ArchiveFieldModal = state.ArchiveFieldModal;\n\n return (\n <>\n {WixPatternsModalsContainer && (\n <WixPatternsModalsContainer\n rootRef={stackingRootRef}\n anchorRef={\n useRelativeSidePanel ? stackingRootRef : modalsContainerRef\n }\n state={state.panels}\n />\n )}\n {CustomFieldModal && (\n <CustomFieldModal state={state.customFieldsPanel.customFieldModal} />\n )}\n {ArchiveFieldModal && (\n <ArchiveFieldModal state={state.customFieldsPanel.archiveFieldModal} />\n )}\n {state.dataExtension.deleteFieldModal && (\n <DeleteFieldModal state={state.dataExtension.deleteFieldModal} />\n )}\n </>\n );\n};\n\nexport const CustomFieldsWidgetCommonComponents = observer(\n _CustomFieldsWidgetCommonComponents,\n);\n"],"mappings":";;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,cAAA,GAAAD,OAAA;AACA,IAAAE,OAAA,GAAAF,OAAA;AAEA,IAAAG,iBAAA,GAAAH,OAAA;AAA0E,IAAAI,YAAA;AAM1E,MAAMC,mCAAmC,GAAGA,CAAC;EAC3CC;AACuC,CAAC,KAAK;EAC7C,MAAMC,IAAI,GAAG,IAAAC,sBAAc,EAAC,CAAC;EAC7B,MAAM;IAAEC;EAAqB,CAAC,GAAG,IAAAC,+BAAuB,EAAC,CAAC;EAE1D,MAAM;IAAEC,kBAAkB;IAAEC;EAAgB,CAAC,GAAGL,IAAI;EAEpD,IAAID,KAAK,CAACO,SAAS,EAAE;IACnB,OAAO,IAAI;EACb;EACA,MAAMC,0BAA0B,GAAGR,KAAK,CAACQ,0BAA0B;EACnE,MAAMC,gBAAgB,GAAGT,KAAK,CAACS,gBAAgB;EAC/C,MAAMC,iBAAiB,GAAGV,KAAK,CAACU,iBAAiB;EAEjD,oBACElB,MAAA,CAAAmB,OAAA,CAAAC,aAAA,CAAApB,MAAA,CAAAmB,OAAA,CAAAE,QAAA,QACGL,0BAA0B,iBACzBhB,MAAA,CAAAmB,OAAA,CAAAC,aAAA,CAACJ,0BAA0B;IACzBM,OAAO,EAAER,eAAgB;IACzBS,SAAS,EACPZ,oBAAoB,GAAGG,eAAe,GAAGD,kBAC1C;IACDL,KAAK,EAAEA,KAAK,CAACgB,MAAO;IAAAC,MAAA;IAAAC,QAAA;MAAAC,QAAA,EAAArB,YAAA;MAAAsB,UAAA;MAAAC,YAAA;IAAA;EAAA,CACrB,CACF,EACAZ,gBAAgB,iBACfjB,MAAA,CAAAmB,OAAA,CAAAC,aAAA,CAACH,gBAAgB;IAACT,KAAK,EAAEA,KAAK,CAACsB,iBAAiB,CAACC,gBAAiB;IAAAN,MAAA;IAAAC,QAAA;MAAAC,QAAA,EAAArB,YAAA;MAAAsB,UAAA;MAAAC,YAAA;IAAA;EAAA,CAAE,CACrE,EACAX,iBAAiB,iBAChBlB,MAAA,CAAAmB,OAAA,CAAAC,aAAA,CAACF,iBAAiB;IAACV,KAAK,EAAEA,KAAK,CAACsB,iBAAiB,CAACE,iBAAkB;IAAAP,MAAA;IAAAC,QAAA;MAAAC,QAAA,EAAArB,YAAA;MAAAsB,UAAA;MAAAC,YAAA;IAAA;EAAA,CAAE,CACvE,EACArB,KAAK,CAACyB,aAAa,CAACC,gBAAgB,iBACnClC,MAAA,CAAAmB,OAAA,CAAAC,aAAA,CAACf,iBAAA,CAAA8B,gBAAgB;IAAC3B,KAAK,EAAEA,KAAK,CAACyB,aAAa,CAACC,gBAAiB;IAAAT,MAAA;IAAAC,QAAA;MAAAC,QAAA,EAAArB,YAAA;MAAAsB,UAAA;MAAAC,YAAA;IAAA;EAAA,CAAE,CAElE,CAAC;AAEP,CAAC;AAEM,MAAMO,kCAAkC,GAAAC,OAAA,CAAAD,kCAAA,GAAG,IAAAE,uBAAQ,EACxD/B,mCACF,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_ = "DragHandle3028207720";
|
|
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": "DragHandle3028207720__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_ = \"DragHandle3028207720\";\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\":\"DragHandle3028207720__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_ = "EntityPagePlain2668659888";
|
|
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": "EntityPagePlain2668659888__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_ = \"EntityPagePlain2668659888\";\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\":\"EntityPagePlain2668659888__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,2BAA2B;AAC7C,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;AAAiC,CAAC;AACxD,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_ = "Fade3563359266";
|
|
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": "Fade3563359266__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_ = \"Fade3563359266\";\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\":\"Fade3563359266__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":[]}
|
|
@@ -19,6 +19,7 @@ function _GridSectionHeader(props) {
|
|
|
19
19
|
} = state;
|
|
20
20
|
const {
|
|
21
21
|
sectionId,
|
|
22
|
+
sectionIndex,
|
|
22
23
|
section,
|
|
23
24
|
range
|
|
24
25
|
} = sectionDescriptor;
|
|
@@ -30,6 +31,7 @@ function _GridSectionHeader(props) {
|
|
|
30
31
|
return /*#__PURE__*/_react.default.createElement(_CollectionSectionHeader.CollectionSectionHeader, {
|
|
31
32
|
dataHook: "grid-section-header",
|
|
32
33
|
sectionId: sectionId,
|
|
34
|
+
sectionIndex: sectionIndex,
|
|
33
35
|
section: sectionWithCount,
|
|
34
36
|
skin: layoutType === 'list' ? 'light' : 'neutral',
|
|
35
37
|
biComponentType: "GridSections",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireDefault","require","_mobxReactLite","_CollectionSectionHeader","_jsxFileName","_GridSectionHeader","props","sectionDescriptor","state","gridBase","layoutType","sectionId","section","range","sectionWithCount","count","length","hasMore","isLast","gridSections","collection","fetchedLastPage","default","createElement","CollectionSectionHeader","dataHook","skin","biComponentType","__self","__source","fileName","lineNumber","columnNumber","GridSectionHeader","exports","observer"],"sources":["../../../../src/components/GridSections/GridSectionHeader.tsx"],"sourcesContent":["import React from 'react';\nimport { FiltersMap } from '@wix/bex-core';\nimport { SectionRange } from './GridSectionsState';\nimport { observer } from 'mobx-react-lite';\nimport { GridSectionsSectionState } from './GridSectionsSectionState';\nimport { CollectionSectionHeader } from '../CollectionSectionHeader';\n\nexport interface GridSectionHeaderProps<T, F extends FiltersMap> {\n sectionDescriptor: SectionRange;\n state: GridSectionsSectionState<T, F>;\n}\n\nfunction _GridSectionHeader<T, F extends FiltersMap>(\n props: GridSectionHeaderProps<T, F>,\n) {\n const { sectionDescriptor, state } = props;\n\n const {\n gridBase: { layoutType },\n } = state;\n\n const { sectionId, section, range } = sectionDescriptor;\n\n const sectionWithCount = {\n ...section,\n count: range.length,\n hasMore: state.isLast && !state.gridSections.collection.fetchedLastPage,\n };\n\n return (\n <CollectionSectionHeader\n dataHook=\"grid-section-header\"\n sectionId={sectionId}\n section={sectionWithCount}\n skin={layoutType === 'list' ? 'light' : 'neutral'}\n biComponentType=\"GridSections\"\n />\n );\n}\n\nexport const GridSectionHeader = observer(_GridSectionHeader);\n"],"mappings":";;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AAGA,IAAAC,cAAA,GAAAD,OAAA;AAEA,IAAAE,wBAAA,GAAAF,OAAA;AAAqE,IAAAG,YAAA;AAOrE,SAASC,kBAAkBA,CACzBC,KAAmC,EACnC;EACA,MAAM;IAAEC,iBAAiB;IAAEC;EAAM,CAAC,GAAGF,KAAK;EAE1C,MAAM;IACJG,QAAQ,EAAE;MAAEC;IAAW;EACzB,CAAC,GAAGF,KAAK;EAET,MAAM;IAAEG,SAAS;IAAEC,OAAO;IAAEC;EAAM,CAAC,
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireDefault","require","_mobxReactLite","_CollectionSectionHeader","_jsxFileName","_GridSectionHeader","props","sectionDescriptor","state","gridBase","layoutType","sectionId","sectionIndex","section","range","sectionWithCount","count","length","hasMore","isLast","gridSections","collection","fetchedLastPage","default","createElement","CollectionSectionHeader","dataHook","skin","biComponentType","__self","__source","fileName","lineNumber","columnNumber","GridSectionHeader","exports","observer"],"sources":["../../../../src/components/GridSections/GridSectionHeader.tsx"],"sourcesContent":["import React from 'react';\nimport { FiltersMap } from '@wix/bex-core';\nimport { SectionRange } from './GridSectionsState';\nimport { observer } from 'mobx-react-lite';\nimport { GridSectionsSectionState } from './GridSectionsSectionState';\nimport { CollectionSectionHeader } from '../CollectionSectionHeader';\n\nexport interface GridSectionHeaderProps<T, F extends FiltersMap> {\n sectionDescriptor: SectionRange;\n state: GridSectionsSectionState<T, F>;\n}\n\nfunction _GridSectionHeader<T, F extends FiltersMap>(\n props: GridSectionHeaderProps<T, F>,\n) {\n const { sectionDescriptor, state } = props;\n\n const {\n gridBase: { layoutType },\n } = state;\n\n const { sectionId, sectionIndex, section, range } = sectionDescriptor;\n\n const sectionWithCount = {\n ...section,\n count: range.length,\n hasMore: state.isLast && !state.gridSections.collection.fetchedLastPage,\n };\n\n return (\n <CollectionSectionHeader\n dataHook=\"grid-section-header\"\n sectionId={sectionId}\n sectionIndex={sectionIndex}\n section={sectionWithCount}\n skin={layoutType === 'list' ? 'light' : 'neutral'}\n biComponentType=\"GridSections\"\n />\n );\n}\n\nexport const GridSectionHeader = observer(_GridSectionHeader);\n"],"mappings":";;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AAGA,IAAAC,cAAA,GAAAD,OAAA;AAEA,IAAAE,wBAAA,GAAAF,OAAA;AAAqE,IAAAG,YAAA;AAOrE,SAASC,kBAAkBA,CACzBC,KAAmC,EACnC;EACA,MAAM;IAAEC,iBAAiB;IAAEC;EAAM,CAAC,GAAGF,KAAK;EAE1C,MAAM;IACJG,QAAQ,EAAE;MAAEC;IAAW;EACzB,CAAC,GAAGF,KAAK;EAET,MAAM;IAAEG,SAAS;IAAEC,YAAY;IAAEC,OAAO;IAAEC;EAAM,CAAC,GAAGP,iBAAiB;EAErE,MAAMQ,gBAAgB,GAAG;IACvB,GAAGF,OAAO;IACVG,KAAK,EAAEF,KAAK,CAACG,MAAM;IACnBC,OAAO,EAAEV,KAAK,CAACW,MAAM,IAAI,CAACX,KAAK,CAACY,YAAY,CAACC,UAAU,CAACC;EAC1D,CAAC;EAED,oBACEvB,MAAA,CAAAwB,OAAA,CAAAC,aAAA,CAACrB,wBAAA,CAAAsB,uBAAuB;IACtBC,QAAQ,EAAC,qBAAqB;IAC9Bf,SAAS,EAAEA,SAAU;IACrBC,YAAY,EAAEA,YAAa;IAC3BC,OAAO,EAAEE,gBAAiB;IAC1BY,IAAI,EAAEjB,UAAU,KAAK,MAAM,GAAG,OAAO,GAAG,SAAU;IAClDkB,eAAe,EAAC,cAAc;IAAAC,MAAA;IAAAC,QAAA;MAAAC,QAAA,EAAA3B,YAAA;MAAA4B,UAAA;MAAAC,YAAA;IAAA;EAAA,CAC/B,CAAC;AAEN;AAEO,MAAMC,iBAAiB,GAAAC,OAAA,CAAAD,iBAAA,GAAG,IAAAE,uBAAQ,EAAC/B,kBAAkB,CAAC","ignoreList":[]}
|
|
@@ -43,7 +43,7 @@ class GridSectionsState {
|
|
|
43
43
|
sectionItemsMap[sectionId].push(item);
|
|
44
44
|
});
|
|
45
45
|
let currentIndex = 0;
|
|
46
|
-
return orderedSections.map(sectionId => {
|
|
46
|
+
return orderedSections.map((sectionId, sectionIndex) => {
|
|
47
47
|
const sectionItems = sectionItemsMap[sectionId];
|
|
48
48
|
const section = renderSection ? renderSection(sectionId, sectionItems) : {
|
|
49
49
|
title: sectionId
|
|
@@ -55,6 +55,7 @@ class GridSectionsState {
|
|
|
55
55
|
currentIndex += sectionItems.length;
|
|
56
56
|
return {
|
|
57
57
|
sectionId,
|
|
58
|
+
sectionIndex,
|
|
58
59
|
section,
|
|
59
60
|
range
|
|
60
61
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_mobx","require","GridSectionsState","constructor","params","_defineProperty2","default","collection","toolbar","groupBy","renderSection","parentState","makeObservable","sections","computed","observable","ref","sectionItemsMap","orderedSections","result","items","forEach","item","sectionId","push","currentIndex","map","sectionItems","section","title","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 type {\n Section,\n GroupBy,\n RenderSection,\n} from '../CollectionSectionHeader';\n\nexport interface SectionRange {\n sectionId: string;\n section: Section;\n range: {\n start: number;\n length: number;\n };\n}\n\nexport interface GridSectionsStateParams<T, F extends FiltersMap> {\n readonly collection: CollectionState<T, F>;\n readonly toolbar: ToolbarCollectionState<T, F>;\n readonly groupBy: GroupBy<T>;\n readonly renderSection?: RenderSection<T>;\n readonly parentState: GridState<T, F>;\n}\n\nexport class GridSectionsState<T, F extends FiltersMap> {\n groupBy: GroupBy<T>;\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.groupBy = params.groupBy;\n this.renderSection = params.renderSection;\n this.parentState = params.parentState;\n\n makeObservable(this, {\n sections: computed,\n groupBy: observable.ref,\n renderSection: observable.ref,\n });\n }\n\n get sections(): SectionRange[] {\n const { collection, groupBy, renderSection } = this;\n\n if (!groupBy) {\n return [];\n }\n\n const sectionItemsMap: Record<string, T[]> = {};\n const orderedSections: string[] = [];\n\n collection.result.items.forEach((item) => {\n const sectionId = groupBy(item);\n\n if (!sectionItemsMap[sectionId]) {\n sectionItemsMap[sectionId] = [];\n orderedSections.push(sectionId);\n }\n sectionItemsMap[sectionId].push(item);\n });\n\n let currentIndex = 0;\n return orderedSections.map((sectionId) => {\n const sectionItems = sectionItemsMap[sectionId];\n\n const section = renderSection\n ? renderSection(sectionId, sectionItems)\n : { title: sectionId };\n\n const range = {\n start: currentIndex,\n length: sectionItems.length,\n };\n\n currentIndex += sectionItems.length;\n\n return { sectionId, section, range };\n });\n }\n}\n"],"mappings":";;;;;;AACA,IAAAA,KAAA,GAAAC,OAAA;
|
|
1
|
+
{"version":3,"names":["_mobx","require","GridSectionsState","constructor","params","_defineProperty2","default","collection","toolbar","groupBy","renderSection","parentState","makeObservable","sections","computed","observable","ref","sectionItemsMap","orderedSections","result","items","forEach","item","sectionId","push","currentIndex","map","sectionIndex","sectionItems","section","title","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 type {\n Section,\n GroupBy,\n RenderSection,\n} from '../CollectionSectionHeader';\n\nexport interface SectionRange {\n sectionId: string;\n sectionIndex: number;\n section: Section;\n range: {\n start: number;\n length: number;\n };\n}\n\nexport interface GridSectionsStateParams<T, F extends FiltersMap> {\n readonly collection: CollectionState<T, F>;\n readonly toolbar: ToolbarCollectionState<T, F>;\n readonly groupBy: GroupBy<T>;\n readonly renderSection?: RenderSection<T>;\n readonly parentState: GridState<T, F>;\n}\n\nexport class GridSectionsState<T, F extends FiltersMap> {\n groupBy: GroupBy<T>;\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.groupBy = params.groupBy;\n this.renderSection = params.renderSection;\n this.parentState = params.parentState;\n\n makeObservable(this, {\n sections: computed,\n groupBy: observable.ref,\n renderSection: observable.ref,\n });\n }\n\n get sections(): SectionRange[] {\n const { collection, groupBy, renderSection } = this;\n\n if (!groupBy) {\n return [];\n }\n\n const sectionItemsMap: Record<string, T[]> = {};\n const orderedSections: string[] = [];\n\n collection.result.items.forEach((item) => {\n const sectionId = groupBy(item);\n\n if (!sectionItemsMap[sectionId]) {\n sectionItemsMap[sectionId] = [];\n orderedSections.push(sectionId);\n }\n sectionItemsMap[sectionId].push(item);\n });\n\n let currentIndex = 0;\n return orderedSections.map((sectionId, sectionIndex) => {\n const sectionItems = sectionItemsMap[sectionId];\n\n const section = renderSection\n ? renderSection(sectionId, sectionItems)\n : { title: sectionId };\n\n const range = {\n start: currentIndex,\n length: sectionItems.length,\n };\n\n currentIndex += sectionItems.length;\n\n return { sectionId, sectionIndex, section, range };\n });\n }\n}\n"],"mappings":";;;;;;AACA,IAAAA,KAAA,GAAAC,OAAA;AA0BO,MAAMC,iBAAiB,CAA0B;EAOtDC,WAAWA,CAACC,MAAqC,EAAE;IAAA,IAAAC,gBAAA,CAAAC,OAAA;IAAA,IAAAD,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,OAAO,GAAGL,MAAM,CAACK,OAAO;IAC7B,IAAI,CAACC,aAAa,GAAGN,MAAM,CAACM,aAAa;IACzC,IAAI,CAACC,WAAW,GAAGP,MAAM,CAACO,WAAW;IAErC,IAAAC,oBAAc,EAAC,IAAI,EAAE;MACnBC,QAAQ,EAAEC,cAAQ;MAClBL,OAAO,EAAEM,gBAAU,CAACC,GAAG;MACvBN,aAAa,EAAEK,gBAAU,CAACC;IAC5B,CAAC,CAAC;EACJ;EAEA,IAAIH,QAAQA,CAAA,EAAmB;IAC7B,MAAM;MAAEN,UAAU;MAAEE,OAAO;MAAEC;IAAc,CAAC,GAAG,IAAI;IAEnD,IAAI,CAACD,OAAO,EAAE;MACZ,OAAO,EAAE;IACX;IAEA,MAAMQ,eAAoC,GAAG,CAAC,CAAC;IAC/C,MAAMC,eAAyB,GAAG,EAAE;IAEpCX,UAAU,CAACY,MAAM,CAACC,KAAK,CAACC,OAAO,CAAEC,IAAI,IAAK;MACxC,MAAMC,SAAS,GAAGd,OAAO,CAACa,IAAI,CAAC;MAE/B,IAAI,CAACL,eAAe,CAACM,SAAS,CAAC,EAAE;QAC/BN,eAAe,CAACM,SAAS,CAAC,GAAG,EAAE;QAC/BL,eAAe,CAACM,IAAI,CAACD,SAAS,CAAC;MACjC;MACAN,eAAe,CAACM,SAAS,CAAC,CAACC,IAAI,CAACF,IAAI,CAAC;IACvC,CAAC,CAAC;IAEF,IAAIG,YAAY,GAAG,CAAC;IACpB,OAAOP,eAAe,CAACQ,GAAG,CAAC,CAACH,SAAS,EAAEI,YAAY,KAAK;MACtD,MAAMC,YAAY,GAAGX,eAAe,CAACM,SAAS,CAAC;MAE/C,MAAMM,OAAO,GAAGnB,aAAa,GACzBA,aAAa,CAACa,SAAS,EAAEK,YAAY,CAAC,GACtC;QAAEE,KAAK,EAAEP;MAAU,CAAC;MAExB,MAAMQ,KAAK,GAAG;QACZC,KAAK,EAAEP,YAAY;QACnBQ,MAAM,EAAEL,YAAY,CAACK;MACvB,CAAC;MAEDR,YAAY,IAAIG,YAAY,CAACK,MAAM;MAEnC,OAAO;QAAEV,SAAS;QAAEI,YAAY;QAAEE,OAAO;QAAEE;MAAM,CAAC;IACpD,CAAC,CAAC;EACJ;AACF;AAACG,OAAA,CAAAhC,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_ = "Heading766337662";
|
|
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": "Heading766337662__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_ = \"Heading766337662\";\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\":\"Heading766337662__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,kBAAkB;AACpC,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;AAAwB,CAAC;AAC/C,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_ = "InputOverflow1779509954";
|
|
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": "InputOverflow1779509954__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_ = \"InputOverflow1779509954\";\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\":\"InputOverflow1779509954__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,17 +5,17 @@ exports.vars = exports.style = exports.stVars = exports.st = exports.namespace =
|
|
|
5
5
|
var _stylableEsmRuntime = require("../../stylable-esm-runtime.js");
|
|
6
6
|
// @ts-nocheck
|
|
7
7
|
|
|
8
|
-
var _namespace_ = "
|
|
8
|
+
var _namespace_ = "LoadingRow553533932";
|
|
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": "LoadingRow553533932__root"
|
|
16
16
|
};
|
|
17
17
|
var keyframes = exports.keyframes = {
|
|
18
|
-
"gradientSwoosh": "
|
|
18
|
+
"gradientSwoosh": "LoadingRow553533932__gradientSwoosh"
|
|
19
19
|
};
|
|
20
20
|
var layers = exports.layers = {};
|
|
21
21
|
var containers = exports.containers = {};
|