@ynput/ayon-frontend-shared 0.2.45 → 0.3.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/DetailsPanel.cjs.js +1 -1
- package/dist/DetailsPanel.es.js +72 -65
- package/dist/DetailsPanel.es.js.map +1 -1
- package/dist/ProjectTreeTable.cjs.js +1 -1
- package/dist/ProjectTreeTable.es.js +104 -102
- package/dist/Slicer.cjs.js +1 -1
- package/dist/Slicer.es.js +113 -4
- package/dist/Slicer.es.js.map +1 -1
- package/dist/Views.cjs.js.map +1 -1
- package/dist/Views.es.js.map +1 -1
- package/dist/_virtual/index.cjs10.js +1 -1
- package/dist/_virtual/index.cjs11.js +1 -1
- package/dist/_virtual/index.cjs12.js +1 -1
- package/dist/_virtual/index.es10.js +3 -3
- package/dist/_virtual/index.es11.js +5 -5
- package/dist/_virtual/index.es12.js +5 -5
- package/dist/components.cjs.js +1 -1
- package/dist/components.es.js +141 -139
- package/dist/components.es.js.map +1 -1
- package/dist/index.cjs.js +1 -1
- package/dist/index.es.js +61 -54
- package/dist/index.es.js.map +1 -1
- package/dist/node_modules/@reduxjs/toolkit/dist/query/rtk-query.modern.cjs.js +5 -5
- package/dist/node_modules/@reduxjs/toolkit/dist/query/rtk-query.modern.cjs.js.map +1 -1
- package/dist/node_modules/@reduxjs/toolkit/dist/query/rtk-query.modern.es.js +313 -305
- package/dist/node_modules/@reduxjs/toolkit/dist/query/rtk-query.modern.es.js.map +1 -1
- package/dist/node_modules/rehype/node_modules/unified/lib/index.cjs.js +1 -1
- package/dist/node_modules/rehype/node_modules/unified/lib/index.es.js +2 -2
- package/dist/node_modules/rehype/node_modules/vfile/lib/index.cjs.js +1 -1
- package/dist/node_modules/rehype/node_modules/vfile/lib/index.es.js +1 -1
- package/dist/node_modules/rehype-parse/lib/index.cjs.js +1 -1
- package/dist/node_modules/rehype-parse/lib/index.es.js +1 -1
- package/dist/shared/src/api/queries/views/updateViews.cjs.js +1 -1
- package/dist/shared/src/api/queries/views/updateViews.cjs.js.map +1 -1
- package/dist/shared/src/api/queries/views/updateViews.es.js +1 -1
- package/dist/shared/src/api/queries/views/updateViews.es.js.map +1 -1
- package/dist/shared/src/components/EntityPanelUploader/EntityPanelUploader.cjs.js +1 -1
- package/dist/shared/src/components/EntityPanelUploader/EntityPanelUploader.cjs.js.map +1 -1
- package/dist/shared/src/components/EntityPanelUploader/EntityPanelUploader.es.js +57 -50
- package/dist/shared/src/components/EntityPanelUploader/EntityPanelUploader.es.js.map +1 -1
- package/dist/shared/src/components/LinksManager/AddNewLinks.cjs.js +1 -1
- package/dist/shared/src/components/LinksManager/AddNewLinks.cjs.js.map +1 -1
- package/dist/shared/src/components/LinksManager/AddNewLinks.es.js +45 -38
- package/dist/shared/src/components/LinksManager/AddNewLinks.es.js.map +1 -1
- package/dist/shared/src/components/LinksManager/hooks/useUpdateLinks.cjs.js +1 -1
- package/dist/shared/src/components/LinksManager/hooks/useUpdateLinks.cjs.js.map +1 -1
- package/dist/shared/src/components/LinksManager/hooks/useUpdateLinks.es.js +47 -40
- package/dist/shared/src/components/LinksManager/hooks/useUpdateLinks.es.js.map +1 -1
- package/dist/shared/src/components/Powerpack/PowerpackDialog.cjs.js +1 -1
- package/dist/shared/src/components/Powerpack/PowerpackDialog.cjs.js.map +1 -1
- package/dist/shared/src/components/Powerpack/PowerpackDialog.es.js +49 -42
- package/dist/shared/src/components/Powerpack/PowerpackDialog.es.js.map +1 -1
- package/dist/shared/src/components/ProjectTableSettings/ProjectTableSettings.cjs.js +1 -1
- package/dist/shared/src/components/ProjectTableSettings/ProjectTableSettings.cjs.js.map +1 -1
- package/dist/shared/src/components/ProjectTableSettings/ProjectTableSettings.es.js +44 -37
- package/dist/shared/src/components/ProjectTableSettings/ProjectTableSettings.es.js.map +1 -1
- package/dist/shared/src/components/ProjectTableSettings/TableSettingsFallback.cjs.js +1 -1
- package/dist/shared/src/components/ProjectTableSettings/TableSettingsFallback.cjs.js.map +1 -1
- package/dist/shared/src/components/ProjectTableSettings/TableSettingsFallback.es.js +48 -41
- package/dist/shared/src/components/ProjectTableSettings/TableSettingsFallback.es.js.map +1 -1
- package/dist/shared/src/components/RemotePage/RemotePageWrapper.cjs.js +2 -0
- package/dist/shared/src/components/RemotePage/RemotePageWrapper.cjs.js.map +1 -0
- package/dist/shared/src/components/RemotePage/RemotePageWrapper.es.js +279 -0
- package/dist/shared/src/components/RemotePage/RemotePageWrapper.es.js.map +1 -0
- package/dist/shared/src/components/RenameForm/RenameForm.cjs.js +1 -1
- package/dist/shared/src/components/RenameForm/RenameForm.cjs.js.map +1 -1
- package/dist/shared/src/components/RenameForm/RenameForm.es.js +48 -41
- package/dist/shared/src/components/RenameForm/RenameForm.es.js.map +1 -1
- package/dist/shared/src/components/ReviewablesList/ReviewablesList.cjs.js +1 -1
- package/dist/shared/src/components/ReviewablesList/ReviewablesList.cjs.js.map +1 -1
- package/dist/shared/src/components/ReviewablesList/ReviewablesList.es.js +64 -57
- package/dist/shared/src/components/ReviewablesList/ReviewablesList.es.js.map +1 -1
- package/dist/shared/src/components/ReviewablesList/ReviewablesUpload.cjs.js +1 -1
- package/dist/shared/src/components/ReviewablesList/ReviewablesUpload.cjs.js.map +1 -1
- package/dist/shared/src/components/ReviewablesList/ReviewablesUpload.es.js +54 -47
- package/dist/shared/src/components/ReviewablesList/ReviewablesUpload.es.js.map +1 -1
- package/dist/shared/src/components/ReviewablesList/SortableReviewableCard.cjs.js +1 -1
- package/dist/shared/src/components/ReviewablesList/SortableReviewableCard.cjs.js.map +1 -1
- package/dist/shared/src/components/ReviewablesList/SortableReviewableCard.es.js +53 -46
- package/dist/shared/src/components/ReviewablesList/SortableReviewableCard.es.js.map +1 -1
- package/dist/shared/src/components/SimpleFormDialog/SimpleFormDialog.cjs.js +1 -1
- package/dist/shared/src/components/SimpleFormDialog/SimpleFormDialog.cjs.js.map +1 -1
- package/dist/shared/src/components/SimpleFormDialog/SimpleFormDialog.es.js +52 -45
- package/dist/shared/src/components/SimpleFormDialog/SimpleFormDialog.es.js.map +1 -1
- package/dist/shared/src/components/VersionUploader/components/UploadVersionForm.cjs.js +2 -2
- package/dist/shared/src/components/VersionUploader/components/UploadVersionForm.cjs.js.map +1 -1
- package/dist/shared/src/components/VersionUploader/components/UploadVersionForm.es.js +56 -49
- package/dist/shared/src/components/VersionUploader/components/UploadVersionForm.es.js.map +1 -1
- package/dist/shared/src/containers/Actions/ActionConfigDialog.cjs.js +1 -1
- package/dist/shared/src/containers/Actions/ActionConfigDialog.cjs.js.map +1 -1
- package/dist/shared/src/containers/Actions/ActionConfigDialog.es.js +53 -46
- package/dist/shared/src/containers/Actions/ActionConfigDialog.es.js.map +1 -1
- package/dist/shared/src/containers/Actions/InteractiveActionDialog.cjs.js +1 -1
- package/dist/shared/src/containers/Actions/InteractiveActionDialog.cjs.js.map +1 -1
- package/dist/shared/src/containers/Actions/InteractiveActionDialog.es.js +54 -47
- package/dist/shared/src/containers/Actions/InteractiveActionDialog.es.js.map +1 -1
- package/dist/shared/src/containers/DetailsPanel/DetailsPanel.cjs.js +1 -1
- package/dist/shared/src/containers/DetailsPanel/DetailsPanel.cjs.js.map +1 -1
- package/dist/shared/src/containers/DetailsPanel/DetailsPanel.es.js +70 -63
- package/dist/shared/src/containers/DetailsPanel/DetailsPanel.es.js.map +1 -1
- package/dist/shared/src/containers/DetailsPanel/DetailsPanelFiles/DetailsPanelFiles.cjs.js +1 -1
- package/dist/shared/src/containers/DetailsPanel/DetailsPanelFiles/DetailsPanelFiles.cjs.js.map +1 -1
- package/dist/shared/src/containers/DetailsPanel/DetailsPanelFiles/DetailsPanelFiles.es.js +49 -42
- package/dist/shared/src/containers/DetailsPanel/DetailsPanelFiles/DetailsPanelFiles.es.js.map +1 -1
- package/dist/shared/src/containers/DetailsPanel/DetailsPanelFloating/DetailsPanelFloating.cjs.js +1 -1
- package/dist/shared/src/containers/DetailsPanel/DetailsPanelFloating/DetailsPanelFloating.cjs.js.map +1 -1
- package/dist/shared/src/containers/DetailsPanel/DetailsPanelFloating/DetailsPanelFloating.es.js +68 -61
- package/dist/shared/src/containers/DetailsPanel/DetailsPanelFloating/DetailsPanelFloating.es.js.map +1 -1
- package/dist/shared/src/containers/DetailsPanel/DetailsPanelHeader/DetailsPanelHeader.cjs.js +1 -1
- package/dist/shared/src/containers/DetailsPanel/DetailsPanelHeader/DetailsPanelHeader.cjs.js.map +1 -1
- package/dist/shared/src/containers/DetailsPanel/DetailsPanelHeader/DetailsPanelHeader.es.js +93 -86
- package/dist/shared/src/containers/DetailsPanel/DetailsPanelHeader/DetailsPanelHeader.es.js.map +1 -1
- package/dist/shared/src/containers/DetailsPanel/FeedContextWrapper.cjs.js +1 -1
- package/dist/shared/src/containers/DetailsPanel/FeedContextWrapper.cjs.js.map +1 -1
- package/dist/shared/src/containers/DetailsPanel/FeedContextWrapper.es.js +47 -40
- package/dist/shared/src/containers/DetailsPanel/FeedContextWrapper.es.js.map +1 -1
- package/dist/shared/src/containers/EntityPickerDialog/EntityPickerDialog.cjs.js +1 -1
- package/dist/shared/src/containers/EntityPickerDialog/EntityPickerDialog.cjs.js.map +1 -1
- package/dist/shared/src/containers/EntityPickerDialog/EntityPickerDialog.es.js +46 -43
- package/dist/shared/src/containers/EntityPickerDialog/EntityPickerDialog.es.js.map +1 -1
- package/dist/shared/src/containers/EntityPickerDialog/components/EntityTypeTable.cjs.js +1 -1
- package/dist/shared/src/containers/EntityPickerDialog/components/EntityTypeTable.cjs.js.map +1 -1
- package/dist/shared/src/containers/EntityPickerDialog/components/EntityTypeTable.es.js +49 -46
- package/dist/shared/src/containers/EntityPickerDialog/components/EntityTypeTable.es.js.map +1 -1
- package/dist/shared/src/containers/EntityPickerDialog/components/EntityTypeTableHeader.cjs.js +1 -1
- package/dist/shared/src/containers/EntityPickerDialog/components/EntityTypeTableHeader.cjs.js.map +1 -1
- package/dist/shared/src/containers/EntityPickerDialog/components/EntityTypeTableHeader.es.js +49 -46
- package/dist/shared/src/containers/EntityPickerDialog/components/EntityTypeTableHeader.es.js.map +1 -1
- package/dist/shared/src/containers/EntityPickerDialog/components/EntityTypeTableSearch.cjs.js +1 -1
- package/dist/shared/src/containers/EntityPickerDialog/components/EntityTypeTableSearch.cjs.js.map +1 -1
- package/dist/shared/src/containers/EntityPickerDialog/components/EntityTypeTableSearch.es.js +49 -46
- package/dist/shared/src/containers/EntityPickerDialog/components/EntityTypeTableSearch.es.js.map +1 -1
- package/dist/shared/src/containers/Feed/components/ActivityComment/ActivityComment.cjs.js +1 -1
- package/dist/shared/src/containers/Feed/components/ActivityComment/ActivityComment.cjs.js.map +1 -1
- package/dist/shared/src/containers/Feed/components/ActivityComment/ActivityComment.es.js +50 -42
- package/dist/shared/src/containers/Feed/components/ActivityComment/ActivityComment.es.js.map +1 -1
- package/dist/shared/src/containers/Feed/components/ActivityComment/ActivityCommentMenu.cjs.js +1 -1
- package/dist/shared/src/containers/Feed/components/ActivityComment/ActivityCommentMenu.cjs.js.map +1 -1
- package/dist/shared/src/containers/Feed/components/ActivityComment/ActivityCommentMenu.es.js +55 -48
- package/dist/shared/src/containers/Feed/components/ActivityComment/ActivityCommentMenu.es.js.map +1 -1
- package/dist/shared/src/containers/Feed/components/CommentInput/CommentInput.cjs.js +2 -2
- package/dist/shared/src/containers/Feed/components/CommentInput/CommentInput.cjs.js.map +1 -1
- package/dist/shared/src/containers/Feed/components/CommentInput/CommentInput.es.js +70 -63
- package/dist/shared/src/containers/Feed/components/CommentInput/CommentInput.es.js.map +1 -1
- package/dist/shared/src/containers/Feed/components/Tooltips/EntityTooltip/EntityTooltip.cjs.js +1 -1
- package/dist/shared/src/containers/Feed/components/Tooltips/EntityTooltip/EntityTooltip.cjs.js.map +1 -1
- package/dist/shared/src/containers/Feed/components/Tooltips/EntityTooltip/EntityTooltip.es.js +47 -40
- package/dist/shared/src/containers/Feed/components/Tooltips/EntityTooltip/EntityTooltip.es.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/ProjectTreeTable.cjs.js +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/ProjectTreeTable.cjs.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/ProjectTreeTable.es.js +468 -448
- package/dist/shared/src/containers/ProjectTreeTable/ProjectTreeTable.es.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/buildTreeTableColumns.cjs.js +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/buildTreeTableColumns.cjs.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/buildTreeTableColumns.es.js +96 -89
- package/dist/shared/src/containers/ProjectTreeTable/buildTreeTableColumns.es.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/components/ColumnHeaderMenu.cjs.js +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/components/ColumnHeaderMenu.cjs.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/components/ColumnHeaderMenu.es.js +47 -40
- package/dist/shared/src/containers/ProjectTreeTable/components/ColumnHeaderMenu.es.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/components/GroupSettingsFallback.cjs.js +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/components/GroupSettingsFallback.cjs.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/components/GroupSettingsFallback.es.js +57 -50
- package/dist/shared/src/containers/ProjectTreeTable/components/GroupSettingsFallback.es.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/context/CellEditingProvider.cjs.js +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/context/CellEditingProvider.cjs.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/context/CellEditingProvider.es.js +54 -47
- package/dist/shared/src/containers/ProjectTreeTable/context/CellEditingProvider.es.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/context/ProjectTableContext.cjs.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/context/ProjectTableContext.es.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/context/ProjectTableProvider.cjs.js +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/context/ProjectTableProvider.cjs.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/context/ProjectTableProvider.es.js +63 -68
- package/dist/shared/src/containers/ProjectTreeTable/context/ProjectTableProvider.es.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/context/SelectionCellsProvider.cjs.js +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/context/SelectionCellsProvider.cjs.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/context/SelectionCellsProvider.es.js +49 -41
- package/dist/shared/src/containers/ProjectTreeTable/context/SelectionCellsProvider.es.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useBuildGroupByTableData.cjs.js +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useBuildGroupByTableData.cjs.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useBuildGroupByTableData.es.js +51 -44
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useBuildGroupByTableData.es.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useBuildProjectDataTable.cjs.js +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useBuildProjectDataTable.cjs.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useBuildProjectDataTable.es.js +48 -41
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useBuildProjectDataTable.es.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useCellContextMenu.cjs.js +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useCellContextMenu.cjs.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useCellContextMenu.es.js +55 -48
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useCellContextMenu.es.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useCheckSelectedCellsVisible.cjs.js +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useCheckSelectedCellsVisible.cjs.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useCheckSelectedCellsVisible.es.js +54 -47
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useCheckSelectedCellsVisible.es.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useColumnGroupBy.cjs.js +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useColumnGroupBy.cjs.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useColumnGroupBy.es.js +51 -44
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useColumnGroupBy.es.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useGetGroupedFields.cjs.js +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useGetGroupedFields.cjs.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useGetGroupedFields.es.js +51 -44
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useGetGroupedFields.es.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useGroupBySettings.cjs.js +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useGroupBySettings.cjs.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useGroupBySettings.es.js +51 -44
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useGroupBySettings.es.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useKeyboardNavigation.cjs.js +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useKeyboardNavigation.cjs.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useKeyboardNavigation.es.js +54 -47
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useKeyboardNavigation.es.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useMoveEntities.cjs.js +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useMoveEntities.cjs.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useMoveEntities.es.js +46 -39
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useMoveEntities.es.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/usePasteLinks.cjs.js +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/usePasteLinks.cjs.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/usePasteLinks.es.js +46 -39
- package/dist/shared/src/containers/ProjectTreeTable/hooks/usePasteLinks.es.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useQueryFilters.cjs.js +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useQueryFilters.cjs.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useQueryFilters.es.js +48 -41
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useQueryFilters.es.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/utils/cellUtils.cjs.js +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/utils/cellUtils.cjs.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/utils/cellUtils.es.js +62 -55
- package/dist/shared/src/containers/ProjectTreeTable/utils/cellUtils.es.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/utils/restrictedEntity.cjs.js +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/utils/restrictedEntity.cjs.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/utils/restrictedEntity.es.js +11 -6
- package/dist/shared/src/containers/ProjectTreeTable/utils/restrictedEntity.es.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/widgets/BooleanWidget.cjs.js +2 -2
- package/dist/shared/src/containers/ProjectTreeTable/widgets/BooleanWidget.cjs.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/widgets/BooleanWidget.es.js +16 -13
- package/dist/shared/src/containers/ProjectTreeTable/widgets/BooleanWidget.es.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/widgets/CellWidget.cjs.js +2 -2
- package/dist/shared/src/containers/ProjectTreeTable/widgets/CellWidget.cjs.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/widgets/CellWidget.es.js +342 -116
- package/dist/shared/src/containers/ProjectTreeTable/widgets/CellWidget.es.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/widgets/DateWidgetInput.cjs.js +2 -2
- package/dist/shared/src/containers/ProjectTreeTable/widgets/DateWidgetInput.cjs.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/widgets/DateWidgetInput.es.js +47 -40
- package/dist/shared/src/containers/ProjectTreeTable/widgets/DateWidgetInput.es.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/widgets/EnumWidget.cjs.js +2 -2
- package/dist/shared/src/containers/ProjectTreeTable/widgets/EnumWidget.cjs.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/widgets/EnumWidget.es.js +7 -7
- package/dist/shared/src/containers/ProjectTreeTable/widgets/EnumWidget.es.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/widgets/LinksWidget.cjs.js +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/widgets/LinksWidget.cjs.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/widgets/LinksWidget.es.js +69 -62
- package/dist/shared/src/containers/ProjectTreeTable/widgets/LinksWidget.es.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/widgets/NameWidget.cjs.js +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/widgets/NameWidget.cjs.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/widgets/NameWidget.es.js +51 -44
- package/dist/shared/src/containers/ProjectTreeTable/widgets/NameWidget.es.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/widgets/TextWidgetInput.cjs.js +2 -2
- package/dist/shared/src/containers/ProjectTreeTable/widgets/TextWidgetInput.cjs.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/widgets/TextWidgetInput.es.js +29 -33
- package/dist/shared/src/containers/ProjectTreeTable/widgets/TextWidgetInput.es.js.map +1 -1
- package/dist/shared/src/containers/RepresentationsList/RepresentationsList.cjs.js +1 -1
- package/dist/shared/src/containers/RepresentationsList/RepresentationsList.cjs.js.map +1 -1
- package/dist/shared/src/containers/RepresentationsList/RepresentationsList.es.js +118 -111
- package/dist/shared/src/containers/RepresentationsList/RepresentationsList.es.js.map +1 -1
- package/dist/shared/src/containers/SimpleTable/SimpleTable.cjs.js +1 -1
- package/dist/shared/src/containers/SimpleTable/SimpleTable.cjs.js.map +1 -1
- package/dist/shared/src/containers/SimpleTable/SimpleTable.es.js +49 -46
- package/dist/shared/src/containers/SimpleTable/SimpleTable.es.js.map +1 -1
- package/dist/shared/src/containers/Slicer/components/Slicer.cjs.js +2 -0
- package/dist/shared/src/containers/Slicer/components/Slicer.cjs.js.map +1 -0
- package/dist/shared/src/containers/Slicer/components/Slicer.es.js +82 -0
- package/dist/shared/src/containers/Slicer/components/Slicer.es.js.map +1 -0
- package/dist/shared/src/containers/Slicer/components/SlicerDropdownFallback.cjs.js +27 -0
- package/dist/shared/src/containers/Slicer/components/SlicerDropdownFallback.cjs.js.map +1 -0
- package/dist/shared/src/containers/Slicer/components/SlicerDropdownFallback.es.js +71 -0
- package/dist/shared/src/containers/Slicer/components/SlicerDropdownFallback.es.js.map +1 -0
- package/dist/shared/src/containers/Slicer/components/SlicerSearch.cjs.js +10 -0
- package/dist/shared/src/containers/Slicer/components/SlicerSearch.cjs.js.map +1 -0
- package/dist/shared/src/containers/Slicer/components/SlicerSearch.es.js +294 -0
- package/dist/shared/src/containers/Slicer/components/SlicerSearch.es.js.map +1 -0
- package/dist/shared/src/containers/Slicer/context/SlicerContext.cjs.js +2 -0
- package/dist/shared/src/containers/Slicer/context/SlicerContext.cjs.js.map +1 -0
- package/dist/shared/src/containers/Slicer/context/SlicerContext.es.js +215 -0
- package/dist/shared/src/containers/Slicer/context/SlicerContext.es.js.map +1 -0
- package/dist/shared/src/containers/Slicer/hooks/useFiltersWithHierarchy.cjs.js.map +1 -0
- package/dist/shared/src/containers/Slicer/hooks/useFiltersWithHierarchy.es.js.map +1 -0
- package/dist/shared/src/containers/Slicer/hooks/useProjectAnatomySlices.cjs.js +2 -0
- package/dist/shared/src/containers/Slicer/hooks/useProjectAnatomySlices.cjs.js.map +1 -0
- package/dist/shared/src/containers/Slicer/hooks/useProjectAnatomySlices.es.js +25 -0
- package/dist/shared/src/containers/Slicer/hooks/useProjectAnatomySlices.es.js.map +1 -0
- package/dist/shared/src/containers/Slicer/hooks/useSlicerAttributesData.cjs.js +2 -0
- package/dist/shared/src/containers/Slicer/hooks/useSlicerAttributesData.cjs.js.map +1 -0
- package/dist/shared/src/containers/Slicer/hooks/useSlicerAttributesData.es.js +28 -0
- package/dist/shared/src/containers/Slicer/hooks/useSlicerAttributesData.es.js.map +1 -0
- package/dist/shared/src/containers/Slicer/hooks/useTableDataBySlice.cjs.js +2 -0
- package/dist/shared/src/containers/Slicer/hooks/useTableDataBySlice.cjs.js.map +1 -0
- package/dist/shared/src/containers/Slicer/hooks/useTableDataBySlice.es.js +304 -0
- package/dist/shared/src/containers/Slicer/hooks/useTableDataBySlice.es.js.map +1 -0
- package/dist/shared/src/containers/Slicer/hooks/useUsersTable.cjs.js +2 -0
- package/dist/shared/src/containers/Slicer/hooks/useUsersTable.cjs.js.map +1 -0
- package/dist/shared/src/containers/Slicer/hooks/useUsersTable.es.js +99 -0
- package/dist/shared/src/containers/Slicer/hooks/useUsersTable.es.js.map +1 -0
- package/dist/shared/src/containers/Slicer/util/createFilterFromSlicer.cjs.js.map +1 -0
- package/dist/shared/src/containers/Slicer/util/createFilterFromSlicer.es.js.map +1 -0
- package/dist/shared/src/containers/Views/ViewsMenuContainer/BaseViewsTags.cjs.js +1 -1
- package/dist/shared/src/containers/Views/ViewsMenuContainer/BaseViewsTags.cjs.js.map +1 -1
- package/dist/shared/src/containers/Views/ViewsMenuContainer/BaseViewsTags.es.js +95 -88
- package/dist/shared/src/containers/Views/ViewsMenuContainer/BaseViewsTags.es.js.map +1 -1
- package/dist/shared/src/containers/Views/ViewsMenuContainer/ViewsMenuContainer.cjs.js +2 -2
- package/dist/shared/src/containers/Views/ViewsMenuContainer/ViewsMenuContainer.cjs.js.map +1 -1
- package/dist/shared/src/containers/Views/ViewsMenuContainer/ViewsMenuContainer.es.js +32 -31
- package/dist/shared/src/containers/Views/ViewsMenuContainer/ViewsMenuContainer.es.js.map +1 -1
- package/dist/shared/src/containers/Views/context/ViewsContext.cjs.js +1 -1
- package/dist/shared/src/containers/Views/context/ViewsContext.cjs.js.map +1 -1
- package/dist/shared/src/containers/Views/context/ViewsContext.es.js +125 -121
- package/dist/shared/src/containers/Views/context/ViewsContext.es.js.map +1 -1
- package/dist/shared/src/containers/Views/hooks/pages/useOverviewViewSettings.cjs.js +1 -1
- package/dist/shared/src/containers/Views/hooks/pages/useOverviewViewSettings.cjs.js.map +1 -1
- package/dist/shared/src/containers/Views/hooks/pages/useOverviewViewSettings.es.js +47 -49
- package/dist/shared/src/containers/Views/hooks/pages/useOverviewViewSettings.es.js.map +1 -1
- package/dist/shared/src/containers/Views/utils/viewUpdateHelper.cjs.js +1 -1
- package/dist/shared/src/containers/Views/utils/viewUpdateHelper.cjs.js.map +1 -1
- package/dist/shared/src/containers/Views/utils/viewUpdateHelper.es.js +6 -5
- package/dist/shared/src/containers/Views/utils/viewUpdateHelper.es.js.map +1 -1
- package/dist/shared/src/context/AddonContext.cjs.js.map +1 -1
- package/dist/shared/src/context/AddonContext.es.js.map +1 -1
- package/dist/shared/src/context/AddonProjectContext.cjs.js.map +1 -1
- package/dist/shared/src/context/AddonProjectContext.es.js.map +1 -1
- package/dist/shared/src/context/WebsocketContext.cjs.js +1 -1
- package/dist/shared/src/context/WebsocketContext.cjs.js.map +1 -1
- package/dist/shared/src/context/WebsocketContext.es.js +51 -44
- package/dist/shared/src/context/WebsocketContext.es.js.map +1 -1
- package/dist/shared/src/hooks/useGroupByRemoteModules.cjs.js.map +1 -1
- package/dist/shared/src/hooks/useGroupByRemoteModules.es.js.map +1 -1
- package/dist/shared/src/hooks/useLoadModules.cjs.js +1 -1
- package/dist/shared/src/hooks/useLoadModules.cjs.js.map +1 -1
- package/dist/shared/src/hooks/useLoadModules.es.js +7 -7
- package/dist/shared/src/hooks/useLoadModules.es.js.map +1 -1
- package/dist/shared/src/util/columnConfigConverter.cjs.js +1 -1
- package/dist/shared/src/util/columnConfigConverter.cjs.js.map +1 -1
- package/dist/shared/src/util/columnConfigConverter.es.js +69 -46
- package/dist/shared/src/util/columnConfigConverter.es.js.map +1 -1
- package/dist/shared/src/util/getGroupByDataType.cjs.js +1 -1
- package/dist/shared/src/util/getGroupByDataType.cjs.js.map +1 -1
- package/dist/shared/src/util/getGroupByDataType.es.js +4 -4
- package/dist/shared/src/util/getGroupByDataType.es.js.map +1 -1
- package/dist/types/api/queries/activities/getActivities.d.ts +1 -1
- package/dist/types/api/queries/entityLists/getLists.d.ts +183 -183
- package/dist/types/api/queries/links/getLinks.d.ts +1 -1
- package/dist/types/api/queries/overview/getOverview.d.ts +1 -1
- package/dist/types/api/queries/versions/getVersionsProducts.d.ts +2 -2
- package/dist/types/components/RemotePage/RemotePageWrapper.d.ts +28 -0
- package/dist/types/components/RemotePage/index.d.ts +1 -0
- package/dist/types/components/index.d.ts +31 -30
- package/dist/types/containers/ProjectTreeTable/context/ProjectTableContext.d.ts +0 -2
- package/dist/types/containers/ProjectTreeTable/context/ProjectTableProvider.d.ts +1 -4
- package/dist/types/containers/ProjectTreeTable/utils/restrictedEntity.d.ts +3 -3
- package/dist/types/containers/Slicer/components/Slicer.d.ts +9 -0
- package/dist/types/containers/Slicer/components/SlicerDropdownFallback.d.ts +7 -0
- package/dist/types/containers/Slicer/components/SlicerSearch.d.ts +6 -0
- package/dist/types/containers/Slicer/context/SlicerContext.d.ts +48 -0
- package/dist/types/containers/Slicer/hooks/index.d.ts +5 -0
- package/dist/types/containers/Slicer/{useFiltersWithHierarchy.d.ts → hooks/useFiltersWithHierarchy.d.ts} +1 -1
- package/dist/types/containers/Slicer/hooks/useProjectAnatomySlices.d.ts +51 -0
- package/dist/types/containers/Slicer/hooks/useSlicerAttributesData.d.ts +7 -0
- package/dist/types/containers/Slicer/hooks/useTableDataBySlice.d.ts +8 -0
- package/dist/types/containers/Slicer/hooks/useUsersTable.d.ts +10 -0
- package/dist/types/containers/Slicer/index.d.ts +4 -2
- package/dist/types/containers/Slicer/types.d.ts +35 -0
- package/dist/types/containers/Slicer/{createFilterFromSlicer.d.ts → util/createFilterFromSlicer.d.ts} +2 -2
- package/dist/types/containers/Slicer/util/index.d.ts +1 -0
- package/dist/types/containers/Views/ViewsMenuContainer/BaseViewsTags.d.ts +4 -1
- package/dist/types/containers/Views/hooks/pages/useOverviewViewSettings.d.ts +7 -1
- package/dist/types/containers/Views/index.d.ts +1 -1
- package/dist/types/containers/Views/utils/viewUpdateHelper.d.ts +1 -1
- package/dist/types/context/AddonContext.d.ts +10 -2
- package/dist/types/context/AddonProjectContext.d.ts +7 -12
- package/dist/types/hooks/useGroupByRemoteModules.d.ts +2 -1
- package/package.json +1 -1
- package/dist/shared/src/containers/Slicer/createFilterFromSlicer.cjs.js.map +0 -1
- package/dist/shared/src/containers/Slicer/createFilterFromSlicer.es.js.map +0 -1
- package/dist/shared/src/containers/Slicer/useFiltersWithHierarchy.cjs.js.map +0 -1
- package/dist/shared/src/containers/Slicer/useFiltersWithHierarchy.es.js.map +0 -1
- /package/dist/shared/src/containers/Slicer/{useFiltersWithHierarchy.cjs.js → hooks/useFiltersWithHierarchy.cjs.js} +0 -0
- /package/dist/shared/src/containers/Slicer/{useFiltersWithHierarchy.es.js → hooks/useFiltersWithHierarchy.es.js} +0 -0
- /package/dist/shared/src/containers/Slicer/{createFilterFromSlicer.cjs.js → util/createFilterFromSlicer.cjs.js} +0 -0
- /package/dist/shared/src/containers/Slicer/{createFilterFromSlicer.es.js → util/createFilterFromSlicer.es.js} +0 -0
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { j as e } from "../../../../_virtual/jsx-runtime.es.js";
|
|
2
|
-
import { useMemo as
|
|
2
|
+
import { useMemo as O, useRef as Vt, useCallback as rt, useEffect as ht } from "react";
|
|
3
3
|
import { useVirtualizer as Te } from "@tanstack/react-virtual";
|
|
4
|
-
import { useReactTable as Me, filterFns as Ie, getSortedRowModel as ze, getExpandedRowModel as ve, getFilteredRowModel as Pe, getCoreRowModel as De, flexRender as
|
|
5
|
-
import
|
|
6
|
-
import Ee, { isEntityExpandable as
|
|
7
|
-
import { TableWrapper as
|
|
8
|
-
import
|
|
9
|
-
import
|
|
4
|
+
import { useReactTable as Me, filterFns as Ie, getSortedRowModel as ze, getExpandedRowModel as ve, getFilteredRowModel as Pe, getCoreRowModel as De, flexRender as qt } from "@tanstack/react-table";
|
|
5
|
+
import L from "clsx";
|
|
6
|
+
import Ee, { isEntityExpandable as Oe } from "./buildTreeTableColumns.es.js";
|
|
7
|
+
import { TableWrapper as Le, TableContainer as He, TR as Ut, TD as xt, TableHeader as Ne, AnimatedEmptyPlaceholder as Bt, ColumnHeader as ke, HeaderCell as Ae, TableCellContent as Fe, HeaderButtons as Ve, ResizedHandler as Be } from "./ProjectTreeTable.styled.es.js";
|
|
8
|
+
import $e from "./components/HeaderActionButton.es.js";
|
|
9
|
+
import _e from "./components/RowDragHandleCellContent.es.js";
|
|
10
10
|
import "./components/RowSelectionHeader.es.js";
|
|
11
11
|
import "./components/SelectionCell.es.js";
|
|
12
12
|
import { ColumnHeaderMenu as Ke } from "./components/ColumnHeaderMenu.es.js";
|
|
13
|
-
import { EmptyPlaceholder as
|
|
13
|
+
import { EmptyPlaceholder as $t } from "../../components/EmptyPlaceholder/EmptyPlaceholder.es.js";
|
|
14
14
|
import "../../components/EmptyPlaceholder/EmptyPlaceholderFlex.styled.es.js";
|
|
15
|
-
import { useCellEditing as
|
|
16
|
-
import { useSelectionCellsContext as
|
|
17
|
-
import { ClipboardProvider as
|
|
18
|
-
import { useSelectedRowsContext as
|
|
19
|
-
import { useColumnSettingsContext as
|
|
15
|
+
import { useCellEditing as Gt } from "./context/CellEditingContext.es.js";
|
|
16
|
+
import { useSelectionCellsContext as yt, ROW_SELECTION_COLUMN_ID as A } from "./context/SelectionCellsContext.es.js";
|
|
17
|
+
import { ClipboardProvider as We } from "./context/ClipboardContext.es.js";
|
|
18
|
+
import { useSelectedRowsContext as qe } from "./context/SelectedRowsContext.es.js";
|
|
19
|
+
import { useColumnSettingsContext as Ue } from "./context/ColumnSettingsContext.es.js";
|
|
20
20
|
import { useMenuContext as Ge } from "../../context/MenuContext.es.js";
|
|
21
21
|
import Xe from "./hooks/useCustomColumnWidthVars.es.js";
|
|
22
22
|
import { usePrefetchFolderTasks as Ye } from "./hooks/usePrefetchFolderTasks.es.js";
|
|
@@ -27,7 +27,7 @@ import to from "./hooks/useDynamicRowHeight.es.js";
|
|
|
27
27
|
import { EntityPickerDialog as eo } from "../EntityPickerDialog/EntityPickerDialog.es.js";
|
|
28
28
|
import { useMoveEntities as oo } from "./hooks/useMoveEntities.es.js";
|
|
29
29
|
import "../ContextMenu/ContextMenuContext.es.js";
|
|
30
|
-
import { Icon as
|
|
30
|
+
import { Icon as Xt, Button as _t } from "@ynput/ayon-react-components";
|
|
31
31
|
/* empty css */
|
|
32
32
|
import { createPortal as Ct } from "react-dom";
|
|
33
33
|
import "../Feed/context/FeedContext.es.js";
|
|
@@ -72,7 +72,16 @@ import "../Feed/components/ActivityStatus/ActivityStatus.es.js";
|
|
|
72
72
|
import "../Feed/components/ActivityHeader/ActivityHeader.styled.es.js";
|
|
73
73
|
import "../Feed/components/ActivityDate.es.js";
|
|
74
74
|
import "../../components/AddonLoadingScreen/AddonLoadingScreen.es.js";
|
|
75
|
-
import "
|
|
75
|
+
import "../../../../node_modules/match-sorter/dist/match-sorter.esm.es.js";
|
|
76
|
+
import "../../components/AccessSearchInput/AccessSearchInput.styled.es.js";
|
|
77
|
+
import "../../components/AccessUser/AccessUser.es.js";
|
|
78
|
+
import "../../components/AttributeEditor/components/MinMaxField.es.js";
|
|
79
|
+
import { DragOverlay as so } from "@dnd-kit/core";
|
|
80
|
+
import { SortableContext as lo, verticalListSortingStrategy as mo, useSortable as ao } from "@dnd-kit/sortable";
|
|
81
|
+
import { CSS as po } from "../../../../node_modules/@dnd-kit/utilities/dist/utilities.esm.es.js";
|
|
82
|
+
import "../../components/EnumEditor/EnumEditor.styled.es.js";
|
|
83
|
+
import "../../components/Badge/Badge.es.js";
|
|
84
|
+
import "../../components/Chips/Chips.es.js";
|
|
76
85
|
import "../../api/base/client.es.js";
|
|
77
86
|
import "../../api/generated/graphql.es.js";
|
|
78
87
|
import "../../api/generated/graphqlLinks.es.js";
|
|
@@ -158,56 +167,47 @@ import "../../api/queries/views/getViews.es.js";
|
|
|
158
167
|
import "../../api/queries/views/updateViews.es.js";
|
|
159
168
|
import "../../api/queries/watchers/getWatchers.es.js";
|
|
160
169
|
import "../../api/queries/uris/getUris.es.js";
|
|
161
|
-
import { DragOverlay as so } from "@dnd-kit/core";
|
|
162
|
-
import { SortableContext as lo, verticalListSortingStrategy as mo, useSortable as ao } from "@dnd-kit/sortable";
|
|
163
|
-
import { CSS as po } from "../../../../node_modules/@dnd-kit/utilities/dist/utilities.esm.es.js";
|
|
164
|
-
import "../../components/ReviewablesList/ReviewablesList.styled.es.js";
|
|
165
|
-
import "../../components/ReviewablesList/ReviewablesUpload.styled.es.js";
|
|
166
|
-
import "axios";
|
|
167
|
-
import "../../components/ReviewableCard/ReviewableCard.es.js";
|
|
168
|
-
import "../../components/ReviewableProgressCard/ReviewableProgressCard.styled.es.js";
|
|
169
|
-
import "../../components/FileThumbnail/FileThumbnail.es.js";
|
|
170
|
-
import "../../components/Thumbnail/Thumbnail.styled.es.js";
|
|
171
|
-
import "../../components/Thumbnail/StackedThumbnails.es.js";
|
|
172
|
-
import "../../components/EntityPanelUploader/EntityPanelUploader.styled.es.js";
|
|
173
|
-
import "../../components/SimpleFormDialog/SimpleFormDialog.es.js";
|
|
174
|
-
import "../../components/EntityPath/EntityPath.styled.es.js";
|
|
175
|
-
import "../../components/EntityPath/SegmentProvider.es.js";
|
|
176
170
|
import "../../components/DetailsPanelAttributes/DetailsPanelAttributesEditor.es.js";
|
|
177
171
|
import "../../components/DetailsPanelDetails/DetailsPanelDetails.es.js";
|
|
178
172
|
import "../../components/DetailsPanelDetails/DetailsSection.es.js";
|
|
179
173
|
import "../../components/DetailsPanelDetails/FieldLabel.es.js";
|
|
180
|
-
import "../../components/
|
|
181
|
-
import "../../components/
|
|
174
|
+
import "../../components/EarlyPreview/EarlyPreview.es.js";
|
|
175
|
+
import "../../components/EntityPanelUploader/EntityPanelUploader.styled.es.js";
|
|
176
|
+
import "axios";
|
|
177
|
+
import "../../components/ReviewablesList/ReviewablesList.styled.es.js";
|
|
178
|
+
import "../../components/ReviewablesList/ReviewablesUpload.styled.es.js";
|
|
179
|
+
import "../../components/EntityPath/EntityPath.styled.es.js";
|
|
180
|
+
import "../../components/EntityPath/SegmentProvider.es.js";
|
|
181
|
+
import "../../components/FeaturedVersionOrder/FeaturedVersionOrder.es.js";
|
|
182
|
+
import "../../components/Feedback/FeedbackContext.es.js";
|
|
183
|
+
import "../../components/Feedback/SupportBubble.es.js";
|
|
184
|
+
import "../../components/FileThumbnail/FileThumbnail.es.js";
|
|
185
|
+
import "../../components/LegacyBadge/LegacyBadge.es.js";
|
|
186
|
+
import "../../components/LinksManager/LinksManager.styled.es.js";
|
|
187
|
+
import "date-fns";
|
|
182
188
|
import "../../components/Powerpack/PowerpackButton.es.js";
|
|
183
189
|
import "../../components/Powerpack/PricingLink.es.js";
|
|
184
190
|
import "../../components/Powerpack/PowerpackDialog.styled.es.js";
|
|
185
191
|
import "../../components/Powerpack/CTAButton.es.js";
|
|
186
192
|
import "../../components/Powerpack/RequiredAddonVersion.es.js";
|
|
193
|
+
import "../../components/ProjectTableSettings/ProjectTableSettings.es.js";
|
|
187
194
|
import "../../components/SizeSlider/SizeSlider.es.js";
|
|
195
|
+
import "../../components/ReviewableCard/ReviewableCard.es.js";
|
|
196
|
+
import "../../components/ReviewableProgressCard/ReviewableProgressCard.styled.es.js";
|
|
197
|
+
import "../../components/SearchFilter/filterDates.es.js";
|
|
188
198
|
import "../../components/SettingsPanel/SettingsPanel.es.js";
|
|
189
199
|
import "../../components/SettingsPanel/SettingsPanelItemTemplate.es.js";
|
|
190
|
-
import "../../components/AttributeEditor/components/MinMaxField.es.js";
|
|
191
|
-
import "../../components/EnumEditor/EnumEditor.styled.es.js";
|
|
192
|
-
import "../../components/SearchFilter/filterDates.es.js";
|
|
193
|
-
import "../../components/FeaturedVersionOrder/FeaturedVersionOrder.es.js";
|
|
194
|
-
import "../../components/Badge/Badge.es.js";
|
|
195
|
-
import "../../components/VersionUploader/components/UploadVersionDialog.es.js";
|
|
196
|
-
import "../../components/VersionUploader/context/VersionUploadContext.es.js";
|
|
197
|
-
import "../../components/Feedback/FeedbackContext.es.js";
|
|
198
|
-
import "../../components/Feedback/SupportBubble.es.js";
|
|
199
|
-
import "../../components/Chips/Chips.es.js";
|
|
200
|
-
import "../../components/LinksManager/LinksManager.styled.es.js";
|
|
201
|
-
import "../../components/StyledLink/StyledLink.es.js";
|
|
202
|
-
import "date-fns";
|
|
203
200
|
import "../../components/ShareOptionIcon/ShareOptionIcon.es.js";
|
|
204
|
-
import "../../components/
|
|
205
|
-
import "../../../../node_modules/match-sorter/dist/match-sorter.esm.es.js";
|
|
206
|
-
import "../../components/AccessSearchInput/AccessSearchInput.styled.es.js";
|
|
207
|
-
import "../../components/TableGridSwitch/TableGridSwitch.es.js";
|
|
201
|
+
import "../../components/SimpleFormDialog/SimpleFormDialog.es.js";
|
|
208
202
|
import "../../components/SortingSetting/SortingSetting.styled.es.js";
|
|
209
|
-
import "../../components/
|
|
210
|
-
import "../../components/
|
|
203
|
+
import "../../components/StyledLink/StyledLink.es.js";
|
|
204
|
+
import "../../components/TableGridSwitch/TableGridSwitch.es.js";
|
|
205
|
+
import "../../components/Thumbnail/Thumbnail.styled.es.js";
|
|
206
|
+
import "../../components/Thumbnail/StackedThumbnails.es.js";
|
|
207
|
+
import "../../components/ThumbnailSimple/ThumbnailSimple.es.js";
|
|
208
|
+
import "../../components/VersionUploader/components/UploadVersionDialog.es.js";
|
|
209
|
+
import "../../components/VersionUploader/context/VersionUploadContext.es.js";
|
|
210
|
+
import "../../components/Watchers/Watchers.es.js";
|
|
211
211
|
import "../../components/Menu/Menu.styled.es.js";
|
|
212
212
|
import "../../components/Menu/MenuItem.es.js";
|
|
213
213
|
import "../Feed/components/ActivityCategorySelect/CategoryTag.es.js";
|
|
@@ -218,14 +218,14 @@ import "../Feed/components/ActivityGroup/ActivityGroup.styled.es.js";
|
|
|
218
218
|
import "../Feed/Feed.styled.es.js";
|
|
219
219
|
import "../Feed/components/ActivityCategorySelect/ActivityCategorySelect.es.js";
|
|
220
220
|
import "../Feed/components/ActivityCategorySelect/CategoryDropdownItem.es.js";
|
|
221
|
-
import { parseCellId as uo, getCellId as
|
|
221
|
+
import { parseCellId as uo, getCellId as bt } from "./utils/cellUtils.es.js";
|
|
222
222
|
import { generateDummyAttributes as co, generateLoadingRows as go } from "./utils/loadingUtils.es.js";
|
|
223
|
-
import { isEntityRestricted as
|
|
224
|
-
import { useProjectTableContext as
|
|
225
|
-
import { getTableFieldOptions as
|
|
226
|
-
import { getReadOnlyLists as
|
|
223
|
+
import { isTargetReadOnly as fo, isEntityRestricted as Kt } from "./utils/restrictedEntity.es.js";
|
|
224
|
+
import { useProjectTableContext as Yt } from "./context/ProjectTableContext.es.js";
|
|
225
|
+
import { getTableFieldOptions as ho } from "./utils/getTableFieldOptions.es.js";
|
|
226
|
+
import { getReadOnlyLists as yo } from "./utils/getReadOnlyLists.es.js";
|
|
227
227
|
import { getEntityViewierIds as Co } from "./utils/getEntityViewerIds.es.js";
|
|
228
|
-
import { EDIT_TRIGGER_CLASS as
|
|
228
|
+
import { EDIT_TRIGGER_CLASS as Wt } from "./widgets/CellWidget.es.js";
|
|
229
229
|
import "./context/ProjectTableQueriesContext.es.js";
|
|
230
230
|
import "./context/DetailsPanelEntityContext.es.js";
|
|
231
231
|
import "../../../../_virtual/runtime.es.js";
|
|
@@ -233,7 +233,7 @@ import "../../../../_virtual/semver.es.js";
|
|
|
233
233
|
import "react-redux";
|
|
234
234
|
import "custom-protocol-check";
|
|
235
235
|
import "./components/GroupSettingsFallback.es.js";
|
|
236
|
-
import { useProjectDataContext as
|
|
236
|
+
import { useProjectDataContext as xo } from "./context/ProjectDataContext.es.js";
|
|
237
237
|
import "./widgets/CollapsedWidget.es.js";
|
|
238
238
|
import "./widgets/DateWidget.es.js";
|
|
239
239
|
import "./widgets/EnumWidget.es.js";
|
|
@@ -245,6 +245,13 @@ import "./widgets/ThumbnailWidget.es.js";
|
|
|
245
245
|
import "../../components/LinksManager/CellEditingDialog.es.js";
|
|
246
246
|
import "./widgets/EmptyWidget.es.js";
|
|
247
247
|
import "./widgets/ErrorWidget.es.js";
|
|
248
|
+
import "../SimpleTable/SimpleTable.styled.es.js";
|
|
249
|
+
import "@tanstack/match-sorter-utils";
|
|
250
|
+
import "../SimpleTable/context/SimpleTableContext.es.js";
|
|
251
|
+
import "../SimpleTable/SimpleTableRowTemplate.es.js";
|
|
252
|
+
import "../Slicer/hooks/useTableDataBySlice.es.js";
|
|
253
|
+
import "../Slicer/components/SlicerSearch.es.js";
|
|
254
|
+
import "../Slicer/context/SlicerContext.es.js";
|
|
248
255
|
import "../DetailsPanel/DetailsPanel.styled.es.js";
|
|
249
256
|
import "../DetailsPanel/FeedFilters/FeedFilters.styled.es.js";
|
|
250
257
|
import "../DetailsPanel/DetailsPanelHeader/DetailsPanelHeader.styled.es.js";
|
|
@@ -259,8 +266,8 @@ import "../Views/context/ViewsContext.es.js";
|
|
|
259
266
|
import "../Views/Views.styled.es.js";
|
|
260
267
|
import "../Views/ViewsMenuContainer/ViewsMenuContainer.es.js";
|
|
261
268
|
import "../Views/ViewsMenu/ViewsMenu.es.js";
|
|
262
|
-
const
|
|
263
|
-
const l = t.getIsPinned(), i = t.id !==
|
|
269
|
+
const nt = (t) => {
|
|
270
|
+
const l = t.getIsPinned(), i = t.id !== A && t.id !== U ? -30 : 0;
|
|
264
271
|
return {
|
|
265
272
|
left: l === "left" ? `${t.getStart("left") + i}px` : void 0,
|
|
266
273
|
// Removed offset
|
|
@@ -269,110 +276,110 @@ const rt = (t) => {
|
|
|
269
276
|
width: t.getSize(),
|
|
270
277
|
zIndex: l ? 100 : 0
|
|
271
278
|
};
|
|
272
|
-
},
|
|
279
|
+
}, st = (t, l) => `calc(var(--col-${l}-size) * 1px)`, U = "drag-handle", jl = ({
|
|
273
280
|
scope: t,
|
|
274
281
|
sliceId: l,
|
|
275
282
|
onScroll: i,
|
|
276
283
|
onScrollBottom: f,
|
|
277
284
|
// when the user scrolls to the bottom of the table, this callback is called
|
|
278
|
-
onOpenNew:
|
|
279
|
-
readOnly:
|
|
285
|
+
onOpenNew: y,
|
|
286
|
+
readOnly: C,
|
|
280
287
|
excludedColumns: x,
|
|
281
|
-
excludedSorting:
|
|
282
|
-
extraColumns:
|
|
288
|
+
excludedSorting: b,
|
|
289
|
+
extraColumns: w,
|
|
283
290
|
includeLinks: r,
|
|
284
|
-
isLoading:
|
|
285
|
-
isExpandable:
|
|
291
|
+
isLoading: R,
|
|
292
|
+
isExpandable: j,
|
|
286
293
|
clientSorting: s = !1,
|
|
287
294
|
sortableRows: u = !1,
|
|
288
|
-
onRowReorder:
|
|
289
|
-
dndActiveId:
|
|
295
|
+
onRowReorder: $,
|
|
296
|
+
dndActiveId: p,
|
|
290
297
|
// Destructure new prop
|
|
291
|
-
columnsConfig:
|
|
298
|
+
columnsConfig: H,
|
|
292
299
|
onScrollBottomGroupBy: c,
|
|
293
300
|
// Destructure new prop for group-by load more
|
|
294
|
-
contextMenuItems:
|
|
301
|
+
contextMenuItems: _,
|
|
295
302
|
// Additional context menu items from props
|
|
296
303
|
pt: h,
|
|
297
|
-
...
|
|
304
|
+
...G
|
|
298
305
|
}) => {
|
|
299
306
|
const {
|
|
300
|
-
columnVisibility:
|
|
301
|
-
columnPinning:
|
|
302
|
-
columnOrder:
|
|
303
|
-
columnSizing:
|
|
304
|
-
setAllColumns:
|
|
307
|
+
columnVisibility: N,
|
|
308
|
+
columnPinning: S,
|
|
309
|
+
columnOrder: D,
|
|
310
|
+
columnSizing: F,
|
|
311
|
+
setAllColumns: K,
|
|
305
312
|
sorting: g,
|
|
306
|
-
sortingOnChange:
|
|
307
|
-
columnPinningOnChange:
|
|
308
|
-
columnSizingOnChange:
|
|
309
|
-
columnVisibilityOnChange:
|
|
310
|
-
columnOrderOnChange:
|
|
311
|
-
groupBy:
|
|
312
|
-
} =
|
|
313
|
-
tableData:
|
|
314
|
-
attribFields:
|
|
313
|
+
sortingOnChange: P,
|
|
314
|
+
columnPinningOnChange: T,
|
|
315
|
+
columnSizingOnChange: X,
|
|
316
|
+
columnVisibilityOnChange: m,
|
|
317
|
+
columnOrderOnChange: V,
|
|
318
|
+
groupBy: E
|
|
319
|
+
} = Ue(), z = !!E, { productTypes: v, projectName: Q, ...Qt } = io(), {
|
|
320
|
+
tableData: W,
|
|
321
|
+
attribFields: B,
|
|
315
322
|
entitiesMap: Zt,
|
|
316
|
-
users:
|
|
323
|
+
users: wt,
|
|
317
324
|
isLoading: te,
|
|
318
325
|
error: ee,
|
|
319
|
-
isInitialized:
|
|
326
|
+
isInitialized: lt,
|
|
320
327
|
expanded: oe,
|
|
321
|
-
updateExpanded:
|
|
328
|
+
updateExpanded: Rt,
|
|
322
329
|
toggleExpandAll: ie,
|
|
323
|
-
showHierarchy:
|
|
330
|
+
showHierarchy: k,
|
|
324
331
|
fetchNextPage: re,
|
|
325
|
-
scopes:
|
|
332
|
+
scopes: q,
|
|
326
333
|
// or entityTypes
|
|
327
334
|
getEntityById: St,
|
|
328
335
|
onResetView: ne
|
|
329
|
-
} =
|
|
330
|
-
statuses:
|
|
331
|
-
folderTypes:
|
|
332
|
-
taskTypes:
|
|
333
|
-
tags:
|
|
334
|
-
linkTypes:
|
|
335
|
-
} = Qt || {},
|
|
336
|
-
() =>
|
|
337
|
-
users:
|
|
338
|
-
statuses:
|
|
339
|
-
folderTypes:
|
|
340
|
-
taskTypes:
|
|
341
|
-
productTypes:
|
|
342
|
-
tags:
|
|
343
|
-
scopes:
|
|
336
|
+
} = Yt(), { writableFields: jt } = xo(), Y = R || te, {
|
|
337
|
+
statuses: Tt = [],
|
|
338
|
+
folderTypes: Mt = [],
|
|
339
|
+
taskTypes: It = [],
|
|
340
|
+
tags: zt = [],
|
|
341
|
+
linkTypes: vt = []
|
|
342
|
+
} = Qt || {}, Z = O(
|
|
343
|
+
() => ho({
|
|
344
|
+
users: wt,
|
|
345
|
+
statuses: Tt,
|
|
346
|
+
folderTypes: Mt,
|
|
347
|
+
taskTypes: It,
|
|
348
|
+
productTypes: v,
|
|
349
|
+
tags: zt,
|
|
350
|
+
scopes: q
|
|
344
351
|
}),
|
|
345
|
-
[
|
|
346
|
-
),
|
|
347
|
-
const o =
|
|
348
|
-
|
|
352
|
+
[wt, Tt, Mt, It, q, zt]
|
|
353
|
+
), tt = Vt(null), Pt = Vt(0), { registerGrid: Dt } = yt(), { loadingAttrib: Et, loadingRows: se } = O(() => {
|
|
354
|
+
const o = tt.current?.querySelectorAll("tbody tr").length || 0, a = co(), d = go(
|
|
355
|
+
k && W.length > 0 ? Math.min(o, 50) : E ? Math.max(Pt.current, 50) : 50
|
|
349
356
|
);
|
|
350
|
-
return { loadingAttrib:
|
|
351
|
-
}, []), le = !
|
|
352
|
-
() =>
|
|
353
|
-
[
|
|
354
|
-
), { selectedCells:
|
|
355
|
-
async (o,
|
|
356
|
-
const { selection: d = [] } =
|
|
357
|
+
return { loadingAttrib: a, loadingRows: d };
|
|
358
|
+
}, []), le = !lt || Y, { readOnlyColumns: Ot, readOnlyAttribs: me } = O(
|
|
359
|
+
() => yo(B, jt, C),
|
|
360
|
+
[B, jt, C]
|
|
361
|
+
), { selectedCells: mt } = yt(), { updateEntities: Lt } = Gt(), ae = rt(
|
|
362
|
+
async (o, a) => {
|
|
363
|
+
const { selection: d = [] } = a || {}, n = [];
|
|
357
364
|
if (!d?.length)
|
|
358
365
|
n.push({ ...o, id: o.rowId });
|
|
359
366
|
else {
|
|
360
|
-
const { field:
|
|
361
|
-
for (const je of
|
|
362
|
-
const { colId:
|
|
363
|
-
if (
|
|
364
|
-
const
|
|
365
|
-
if (!
|
|
366
|
-
console.warn(`Entity with ID ${
|
|
367
|
+
const { field: I, value: ut, isAttrib: ct } = o;
|
|
368
|
+
for (const je of mt) {
|
|
369
|
+
const { colId: gt, rowId: it } = uo(je) || {};
|
|
370
|
+
if (gt === A) continue;
|
|
371
|
+
const ft = St(it || "");
|
|
372
|
+
if (!ft) {
|
|
373
|
+
console.warn(`Entity with ID ${it} not found for cell update.`);
|
|
367
374
|
continue;
|
|
368
375
|
}
|
|
369
|
-
(!
|
|
370
|
-
field:
|
|
371
|
-
rowId:
|
|
372
|
-
id:
|
|
373
|
-
value:
|
|
374
|
-
isAttrib:
|
|
375
|
-
type:
|
|
376
|
+
(!gt?.includes("attrib_") || gt?.replace("attrib_", "") === I) && it && n.push({
|
|
377
|
+
field: I,
|
|
378
|
+
rowId: it,
|
|
379
|
+
id: ft.entityId,
|
|
380
|
+
value: ut,
|
|
381
|
+
isAttrib: ct,
|
|
382
|
+
type: ft.entityType
|
|
376
383
|
});
|
|
377
384
|
}
|
|
378
385
|
}
|
|
@@ -382,27 +389,27 @@ const rt = (t) => {
|
|
|
382
389
|
}
|
|
383
390
|
await Lt(n, !0);
|
|
384
391
|
},
|
|
385
|
-
[Lt, St,
|
|
386
|
-
),
|
|
387
|
-
() =>
|
|
388
|
-
[
|
|
389
|
-
), pe = () =>
|
|
392
|
+
[Lt, St, mt]
|
|
393
|
+
), Ht = O(
|
|
394
|
+
() => lt ? B : Et,
|
|
395
|
+
[B, Et, lt]
|
|
396
|
+
), pe = () => q.includes("version") ? "Product / Version" : q.map((o) => ro(o)).join(" / "), at = O(() => {
|
|
390
397
|
const o = Ee({
|
|
391
|
-
scopes:
|
|
392
|
-
attribs:
|
|
393
|
-
links:
|
|
398
|
+
scopes: q,
|
|
399
|
+
attribs: Ht,
|
|
400
|
+
links: vt,
|
|
394
401
|
includeLinks: r,
|
|
395
|
-
showHierarchy:
|
|
396
|
-
options:
|
|
397
|
-
extraColumns:
|
|
402
|
+
showHierarchy: k,
|
|
403
|
+
options: Z,
|
|
404
|
+
extraColumns: w,
|
|
398
405
|
excluded: x,
|
|
399
|
-
excludedSorting:
|
|
400
|
-
groupBy:
|
|
406
|
+
excludedSorting: b,
|
|
407
|
+
groupBy: E,
|
|
401
408
|
nameLabel: pe()
|
|
402
409
|
});
|
|
403
410
|
return u ? [
|
|
404
411
|
{
|
|
405
|
-
id:
|
|
412
|
+
id: U,
|
|
406
413
|
header: () => null,
|
|
407
414
|
cell: () => null,
|
|
408
415
|
// Content rendered by TableBodyRow
|
|
@@ -418,25 +425,25 @@ const rt = (t) => {
|
|
|
418
425
|
...o
|
|
419
426
|
] : o;
|
|
420
427
|
}, [
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
428
|
+
q,
|
|
429
|
+
Ht,
|
|
430
|
+
k,
|
|
431
|
+
j,
|
|
432
|
+
Z,
|
|
433
|
+
vt,
|
|
427
434
|
r,
|
|
428
|
-
|
|
435
|
+
w,
|
|
429
436
|
x,
|
|
430
|
-
|
|
437
|
+
b,
|
|
431
438
|
u
|
|
432
439
|
]);
|
|
433
|
-
|
|
434
|
-
const o =
|
|
435
|
-
|
|
436
|
-
}, [
|
|
437
|
-
const
|
|
438
|
-
data: le ? se :
|
|
439
|
-
columns:
|
|
440
|
+
ht(() => {
|
|
441
|
+
const o = at.map((a) => a.id).filter(Boolean);
|
|
442
|
+
K(o);
|
|
443
|
+
}, [at, K]);
|
|
444
|
+
const M = Me({
|
|
445
|
+
data: le ? se : W,
|
|
446
|
+
columns: at,
|
|
440
447
|
defaultColumn: {
|
|
441
448
|
minSize: 50,
|
|
442
449
|
size: 150
|
|
@@ -447,24 +454,24 @@ const rt = (t) => {
|
|
|
447
454
|
enableSubRowSelection: !1,
|
|
448
455
|
//disable sub row selection
|
|
449
456
|
getSubRows: (o) => o.subRows,
|
|
450
|
-
getRowCanExpand: () => !!
|
|
457
|
+
getRowCanExpand: () => !!j || k || z,
|
|
451
458
|
getCoreRowModel: De(),
|
|
452
459
|
getFilteredRowModel: Pe(),
|
|
453
460
|
getExpandedRowModel: ve(),
|
|
454
461
|
filterFromLeafRows: !0,
|
|
455
462
|
// EXPANDABLE
|
|
456
|
-
onExpandedChange:
|
|
463
|
+
onExpandedChange: Rt,
|
|
457
464
|
// SORTING
|
|
458
465
|
enableSorting: !0,
|
|
459
466
|
getSortedRowModel: ze(),
|
|
460
467
|
sortDescFirst: !1,
|
|
461
468
|
manualSorting: !s,
|
|
462
|
-
onSortingChange:
|
|
469
|
+
onSortingChange: P,
|
|
463
470
|
columnResizeMode: "onChange",
|
|
464
|
-
onColumnPinningChange:
|
|
465
|
-
onColumnSizingChange:
|
|
466
|
-
onColumnVisibilityChange:
|
|
467
|
-
onColumnOrderChange:
|
|
471
|
+
onColumnPinningChange: T,
|
|
472
|
+
onColumnSizingChange: X,
|
|
473
|
+
onColumnVisibilityChange: m,
|
|
474
|
+
onColumnOrderChange: V,
|
|
468
475
|
// @ts-ignore
|
|
469
476
|
filterFns: Ie,
|
|
470
477
|
state: {
|
|
@@ -472,98 +479,98 @@ const rt = (t) => {
|
|
|
472
479
|
sorting: g,
|
|
473
480
|
columnPinning: (() => {
|
|
474
481
|
const o = [];
|
|
475
|
-
u && o.push(
|
|
476
|
-
const
|
|
477
|
-
(n) => n !==
|
|
482
|
+
u && o.push(U), o.push(A);
|
|
483
|
+
const a = (S.left || []).filter(
|
|
484
|
+
(n) => n !== U && n !== A
|
|
478
485
|
);
|
|
479
|
-
return o.push(...
|
|
486
|
+
return o.push(...a), {
|
|
480
487
|
left: [...new Set(o)],
|
|
481
|
-
right:
|
|
488
|
+
right: S.right
|
|
482
489
|
};
|
|
483
490
|
})(),
|
|
484
|
-
columnSizing:
|
|
485
|
-
columnVisibility:
|
|
486
|
-
columnOrder:
|
|
491
|
+
columnSizing: F,
|
|
492
|
+
columnVisibility: N,
|
|
493
|
+
columnOrder: D
|
|
487
494
|
},
|
|
488
495
|
meta: {
|
|
489
|
-
projectName:
|
|
490
|
-
options:
|
|
491
|
-
readOnly:
|
|
496
|
+
projectName: Q,
|
|
497
|
+
options: Z,
|
|
498
|
+
readOnly: Ot,
|
|
492
499
|
updateEntities: ae,
|
|
493
500
|
toggleExpandAll: ie,
|
|
494
501
|
loadMoreRows: re,
|
|
495
|
-
selection: Array.from(
|
|
496
|
-
columnsConfig:
|
|
502
|
+
selection: Array.from(mt),
|
|
503
|
+
columnsConfig: H
|
|
497
504
|
}
|
|
498
|
-
}), { rows:
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
}, [
|
|
502
|
-
if (!
|
|
503
|
-
const o =
|
|
504
|
-
if (
|
|
505
|
-
const
|
|
506
|
-
return
|
|
505
|
+
}), { rows: J } = M.getRowModel();
|
|
506
|
+
ht(() => {
|
|
507
|
+
Pt.current = J.length;
|
|
508
|
+
}, [J.length]), ht(() => {
|
|
509
|
+
if (!J.length) return;
|
|
510
|
+
const o = J.map((n) => n.id), d = [...M.getAllLeafColumns().map((n) => n.id)].sort((n, I) => {
|
|
511
|
+
if (A === I) return 1;
|
|
512
|
+
const ut = S.left?.includes(n) ? 0 : 1, ct = S.left?.includes(I) ? 0 : 1;
|
|
513
|
+
return ut - ct;
|
|
507
514
|
});
|
|
508
|
-
|
|
509
|
-
}, [
|
|
510
|
-
const
|
|
511
|
-
visibleColumns:
|
|
512
|
-
tableContainerRef:
|
|
513
|
-
columnPinning:
|
|
514
|
-
columnSizing:
|
|
515
|
-
columnOrder:
|
|
516
|
-
}),
|
|
515
|
+
Dt(o, d);
|
|
516
|
+
}, [J, M.getAllLeafColumns(), S, A, Dt]);
|
|
517
|
+
const Nt = M.getVisibleLeafColumns(), { columnVirtualizer: pt, virtualPaddingLeft: et, virtualPaddingRight: ot } = Qe({
|
|
518
|
+
visibleColumns: Nt,
|
|
519
|
+
tableContainerRef: tt,
|
|
520
|
+
columnPinning: S,
|
|
521
|
+
columnSizing: F,
|
|
522
|
+
columnOrder: D
|
|
523
|
+
}), kt = Xe(M, F), { getRowHeight: de, defaultRowHeight: At } = to(), ue = O(() => B.reduce((o, a) => (a.data?.enum?.length && (o[a.name] = a.data?.enum), o), {}), [B]), ce = O(() => W.map((o) => o.id), [W]), ge = O(() => !p || !u ? null : W.find((o) => o.id === p), [p, W, u]), fe = rt(
|
|
517
524
|
(o) => {
|
|
518
525
|
if (i?.(o), f) {
|
|
519
|
-
const
|
|
520
|
-
if (
|
|
521
|
-
const { scrollHeight: d, scrollTop: n, clientHeight:
|
|
522
|
-
d - n -
|
|
526
|
+
const a = o.currentTarget;
|
|
527
|
+
if (a && !k && !E) {
|
|
528
|
+
const { scrollHeight: d, scrollTop: n, clientHeight: I } = a;
|
|
529
|
+
d - n - I < 500 && !Y && f(o);
|
|
523
530
|
}
|
|
524
531
|
}
|
|
525
|
-
if (c &&
|
|
526
|
-
const
|
|
527
|
-
|
|
532
|
+
if (c && E) {
|
|
533
|
+
const I = o.currentTarget?.querySelector(".load-more")?.getAttribute("id")?.split("-")[2];
|
|
534
|
+
I && c(I);
|
|
528
535
|
}
|
|
529
536
|
},
|
|
530
|
-
[i, f, c,
|
|
537
|
+
[i, f, c, k, E, Y]
|
|
531
538
|
), {
|
|
532
539
|
isEntityPickerOpen: he,
|
|
533
|
-
handleMoveSubmit:
|
|
534
|
-
closeMoveDialog:
|
|
535
|
-
movingEntities:
|
|
540
|
+
handleMoveSubmit: ye,
|
|
541
|
+
closeMoveDialog: Ce,
|
|
542
|
+
movingEntities: dt,
|
|
536
543
|
handleMoveToRoot: xe,
|
|
537
544
|
getDisabledFolderIds: be,
|
|
538
545
|
getDisabledMessage: we
|
|
539
546
|
} = oo({
|
|
540
|
-
projectName:
|
|
541
|
-
}),
|
|
542
|
-
|
|
543
|
-
const
|
|
544
|
-
|
|
547
|
+
projectName: Q
|
|
548
|
+
}), Re = (o) => {
|
|
549
|
+
ye(o);
|
|
550
|
+
const a = o[0];
|
|
551
|
+
Rt((d) => typeof d == "boolean" ? d || { [a]: !0 } : d[a] ? d : {
|
|
545
552
|
...d,
|
|
546
|
-
[
|
|
553
|
+
[a]: !0
|
|
547
554
|
});
|
|
548
|
-
},
|
|
549
|
-
|
|
555
|
+
}, Ft = /* @__PURE__ */ e.jsxs(
|
|
556
|
+
We,
|
|
550
557
|
{
|
|
551
558
|
entitiesMap: Zt,
|
|
552
|
-
columnEnums: { ...
|
|
559
|
+
columnEnums: { ...Z, ...ue },
|
|
553
560
|
columnReadOnly: me,
|
|
554
|
-
visibleColumns:
|
|
561
|
+
visibleColumns: Nt,
|
|
555
562
|
children: [
|
|
556
|
-
/* @__PURE__ */ e.jsx(
|
|
563
|
+
/* @__PURE__ */ e.jsx(Le, { ...G, children: /* @__PURE__ */ e.jsx(
|
|
557
564
|
He,
|
|
558
565
|
{
|
|
559
|
-
ref:
|
|
566
|
+
ref: tt,
|
|
560
567
|
style: { height: "100%", padding: 0 },
|
|
561
568
|
onScroll: fe,
|
|
562
569
|
...h?.container,
|
|
563
|
-
className:
|
|
570
|
+
className: L(
|
|
564
571
|
"table-container",
|
|
565
572
|
{
|
|
566
|
-
resizing:
|
|
573
|
+
resizing: M.getState().columnSizingInfo.isResizingColumn
|
|
567
574
|
},
|
|
568
575
|
h?.container?.className
|
|
569
576
|
),
|
|
@@ -574,20 +581,20 @@ const rt = (t) => {
|
|
|
574
581
|
display: "grid",
|
|
575
582
|
borderCollapse: "collapse",
|
|
576
583
|
userSelect: "none",
|
|
577
|
-
...
|
|
578
|
-
width:
|
|
579
|
-
cursor:
|
|
584
|
+
...kt,
|
|
585
|
+
width: M.getTotalSize(),
|
|
586
|
+
cursor: M.getState().columnSizingInfo.isResizingColumn ? "col-resize" : void 0
|
|
580
587
|
},
|
|
581
588
|
children: [
|
|
582
589
|
/* @__PURE__ */ e.jsx(
|
|
583
|
-
|
|
590
|
+
bo,
|
|
584
591
|
{
|
|
585
|
-
columnVirtualizer:
|
|
586
|
-
table:
|
|
587
|
-
virtualPaddingLeft:
|
|
588
|
-
virtualPaddingRight:
|
|
589
|
-
isLoading:
|
|
590
|
-
readOnlyColumns:
|
|
592
|
+
columnVirtualizer: pt,
|
|
593
|
+
table: M,
|
|
594
|
+
virtualPaddingLeft: et,
|
|
595
|
+
virtualPaddingRight: ot,
|
|
596
|
+
isLoading: Y,
|
|
597
|
+
readOnlyColumns: Ot,
|
|
591
598
|
sortableRows: u,
|
|
592
599
|
...h?.head
|
|
593
600
|
}
|
|
@@ -595,23 +602,23 @@ const rt = (t) => {
|
|
|
595
602
|
/* @__PURE__ */ e.jsx(
|
|
596
603
|
So,
|
|
597
604
|
{
|
|
598
|
-
columnVirtualizer:
|
|
599
|
-
table:
|
|
600
|
-
tableContainerRef:
|
|
601
|
-
virtualPaddingLeft:
|
|
602
|
-
virtualPaddingRight:
|
|
603
|
-
showHierarchy:
|
|
604
|
-
attribs:
|
|
605
|
-
onOpenNew:
|
|
605
|
+
columnVirtualizer: pt,
|
|
606
|
+
table: M,
|
|
607
|
+
tableContainerRef: tt,
|
|
608
|
+
virtualPaddingLeft: et,
|
|
609
|
+
virtualPaddingRight: ot,
|
|
610
|
+
showHierarchy: k,
|
|
611
|
+
attribs: B,
|
|
612
|
+
onOpenNew: y,
|
|
606
613
|
rowOrderIds: ce,
|
|
607
614
|
sortableRows: u,
|
|
608
615
|
error: ee,
|
|
609
|
-
isLoading:
|
|
610
|
-
isGrouping:
|
|
616
|
+
isLoading: Y,
|
|
617
|
+
isGrouping: z,
|
|
611
618
|
getRowHeight: de,
|
|
612
|
-
defaultRowHeight:
|
|
619
|
+
defaultRowHeight: At,
|
|
613
620
|
onResetView: ne,
|
|
614
|
-
contextMenuItems:
|
|
621
|
+
contextMenuItems: _
|
|
615
622
|
}
|
|
616
623
|
)
|
|
617
624
|
]
|
|
@@ -619,14 +626,14 @@ const rt = (t) => {
|
|
|
619
626
|
)
|
|
620
627
|
}
|
|
621
628
|
) }),
|
|
622
|
-
he &&
|
|
629
|
+
he && Q && dt?.entities && dt.entities.length > 0 && /* @__PURE__ */ e.jsx(
|
|
623
630
|
eo,
|
|
624
631
|
{
|
|
625
|
-
projectName:
|
|
632
|
+
projectName: Q,
|
|
626
633
|
entityType: "folder",
|
|
627
|
-
onSubmit:
|
|
628
|
-
onClose:
|
|
629
|
-
showMoveToRoot:
|
|
634
|
+
onSubmit: Re,
|
|
635
|
+
onClose: Ce,
|
|
636
|
+
showMoveToRoot: dt.entities.every(
|
|
630
637
|
(o) => o.entityType === "folder"
|
|
631
638
|
),
|
|
632
639
|
onMoveToRoot: xe,
|
|
@@ -636,56 +643,56 @@ const rt = (t) => {
|
|
|
636
643
|
)
|
|
637
644
|
]
|
|
638
645
|
}
|
|
639
|
-
),
|
|
646
|
+
), Se = u && p && Ct(
|
|
640
647
|
/* @__PURE__ */ e.jsx(so, { dropAnimation: null, children: ge ? (() => {
|
|
641
|
-
const o =
|
|
648
|
+
const o = M.getRowModel().rows.find((d) => d.id === p);
|
|
642
649
|
if (!o) return null;
|
|
643
|
-
const
|
|
650
|
+
const a = M.getTotalSize();
|
|
644
651
|
return /* @__PURE__ */ e.jsx(
|
|
645
652
|
"table",
|
|
646
653
|
{
|
|
647
654
|
style: {
|
|
648
|
-
width:
|
|
655
|
+
width: a,
|
|
649
656
|
borderCollapse: "collapse",
|
|
650
657
|
backgroundColor: "var(--md-sys-color-surface-container-high)",
|
|
651
658
|
boxShadow: "0 0 10px rgba(0,0,0,0.2)",
|
|
652
|
-
...
|
|
659
|
+
...kt
|
|
653
660
|
},
|
|
654
|
-
children: /* @__PURE__ */ e.jsx("tbody", { children: /* @__PURE__ */ e.jsxs(
|
|
655
|
-
|
|
656
|
-
|
|
661
|
+
children: /* @__PURE__ */ e.jsx("tbody", { children: /* @__PURE__ */ e.jsxs(Ut, { style: { display: "flex", userSelect: "none" }, children: [
|
|
662
|
+
et ? /* @__PURE__ */ e.jsx("td", { style: { display: "flex", width: et } }) : null,
|
|
663
|
+
pt.getVirtualItems().map((d) => {
|
|
657
664
|
const n = o.getVisibleCells()[d.index];
|
|
658
665
|
if (!n) return null;
|
|
659
|
-
const
|
|
660
|
-
...
|
|
661
|
-
width:
|
|
666
|
+
const I = {
|
|
667
|
+
...nt(n.column),
|
|
668
|
+
width: st(o.id, n.column.id),
|
|
662
669
|
display: "flex",
|
|
663
670
|
alignItems: "center",
|
|
664
|
-
height:
|
|
671
|
+
height: At
|
|
665
672
|
};
|
|
666
|
-
return n.column.id ===
|
|
667
|
-
|
|
673
|
+
return n.column.id === U ? /* @__PURE__ */ e.jsxs(
|
|
674
|
+
xt,
|
|
668
675
|
{
|
|
669
|
-
style: { ...
|
|
670
|
-
className:
|
|
676
|
+
style: { ...I, justifyContent: "center" },
|
|
677
|
+
className: L(n.column.id),
|
|
671
678
|
children: [
|
|
672
|
-
/* @__PURE__ */ e.jsx(
|
|
679
|
+
/* @__PURE__ */ e.jsx(Xt, { icon: "drag_handle" }),
|
|
673
680
|
" "
|
|
674
681
|
]
|
|
675
682
|
},
|
|
676
683
|
`overlay-drag-${n.id}`
|
|
677
684
|
) : /* @__PURE__ */ e.jsx(
|
|
678
|
-
|
|
685
|
+
Jt,
|
|
679
686
|
{
|
|
680
687
|
cell: n,
|
|
681
|
-
cellId: `overlay-${
|
|
688
|
+
cellId: `overlay-${bt(o.id, n.column.id)}`,
|
|
682
689
|
rowId: o.id,
|
|
683
|
-
showHierarchy:
|
|
690
|
+
showHierarchy: k
|
|
684
691
|
},
|
|
685
692
|
`overlay-cell-${n.id}`
|
|
686
693
|
);
|
|
687
694
|
}),
|
|
688
|
-
|
|
695
|
+
ot ? /* @__PURE__ */ e.jsx("td", { style: { display: "flex", width: ot } }) : null
|
|
689
696
|
] }) })
|
|
690
697
|
}
|
|
691
698
|
);
|
|
@@ -693,53 +700,53 @@ const rt = (t) => {
|
|
|
693
700
|
document.body
|
|
694
701
|
);
|
|
695
702
|
return u ? /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
] }) :
|
|
699
|
-
},
|
|
703
|
+
Ft,
|
|
704
|
+
Se
|
|
705
|
+
] }) : Ft;
|
|
706
|
+
}, bo = ({
|
|
700
707
|
columnVirtualizer: t,
|
|
701
708
|
table: l,
|
|
702
709
|
virtualPaddingLeft: i,
|
|
703
710
|
virtualPaddingRight: f,
|
|
704
|
-
isLoading:
|
|
705
|
-
readOnlyColumns:
|
|
711
|
+
isLoading: y,
|
|
712
|
+
readOnlyColumns: C,
|
|
706
713
|
sortableRows: x,
|
|
707
|
-
...
|
|
708
|
-
}) => /* @__PURE__ */ e.jsx(Ne, { ...
|
|
709
|
-
|
|
714
|
+
...b
|
|
715
|
+
}) => /* @__PURE__ */ e.jsx(Ne, { ...b, children: l.getHeaderGroups().map((w) => /* @__PURE__ */ e.jsx(
|
|
716
|
+
wo,
|
|
710
717
|
{
|
|
711
718
|
columnVirtualizer: t,
|
|
712
|
-
headerGroup:
|
|
719
|
+
headerGroup: w,
|
|
713
720
|
virtualPaddingLeft: i,
|
|
714
721
|
virtualPaddingRight: f,
|
|
715
|
-
isLoading:
|
|
716
|
-
readOnlyColumns:
|
|
722
|
+
isLoading: y,
|
|
723
|
+
readOnlyColumns: C,
|
|
717
724
|
sortableRows: x
|
|
718
725
|
},
|
|
719
|
-
|
|
720
|
-
)) }),
|
|
726
|
+
w.id
|
|
727
|
+
)) }), wo = ({
|
|
721
728
|
columnVirtualizer: t,
|
|
722
729
|
headerGroup: l,
|
|
723
730
|
virtualPaddingLeft: i,
|
|
724
731
|
virtualPaddingRight: f,
|
|
725
|
-
isLoading:
|
|
726
|
-
readOnlyColumns:
|
|
732
|
+
isLoading: y,
|
|
733
|
+
readOnlyColumns: C,
|
|
727
734
|
sortableRows: x
|
|
728
735
|
}) => {
|
|
729
|
-
const
|
|
736
|
+
const b = t.getVirtualItems();
|
|
730
737
|
return /* @__PURE__ */ e.jsxs(ke, { style: { display: "flex" }, children: [
|
|
731
738
|
i ? (
|
|
732
739
|
//fake empty column to the left for virtualization scroll padding
|
|
733
740
|
/* @__PURE__ */ e.jsx("th", { style: { display: "flex", width: i } })
|
|
734
741
|
) : null,
|
|
735
|
-
|
|
736
|
-
const r = l.headers[
|
|
742
|
+
b.map((w) => {
|
|
743
|
+
const r = l.headers[w.index];
|
|
737
744
|
return /* @__PURE__ */ e.jsx(
|
|
738
|
-
|
|
745
|
+
Ro,
|
|
739
746
|
{
|
|
740
747
|
header: r,
|
|
741
|
-
isLoading:
|
|
742
|
-
isReadOnly:
|
|
748
|
+
isLoading: y,
|
|
749
|
+
isReadOnly: C?.includes(r.id),
|
|
743
750
|
canSort: r.column.getCanSort(),
|
|
744
751
|
canFilter: r.column.getCanFilter(),
|
|
745
752
|
canHide: r.column.getCanHide(),
|
|
@@ -755,54 +762,54 @@ const rt = (t) => {
|
|
|
755
762
|
/* @__PURE__ */ e.jsx("th", { style: { display: "flex", width: f } })
|
|
756
763
|
) : null
|
|
757
764
|
] }, l.id);
|
|
758
|
-
},
|
|
765
|
+
}, Ro = ({
|
|
759
766
|
header: t,
|
|
760
767
|
isLoading: l,
|
|
761
768
|
canFilter: i,
|
|
762
769
|
canHide: f,
|
|
763
|
-
canSort:
|
|
764
|
-
canPin:
|
|
770
|
+
canSort: y,
|
|
771
|
+
canPin: C,
|
|
765
772
|
canResize: x,
|
|
766
|
-
isReadOnly:
|
|
767
|
-
sortableRows:
|
|
773
|
+
isReadOnly: b,
|
|
774
|
+
sortableRows: w
|
|
768
775
|
}) => {
|
|
769
|
-
const { column: r } = t,
|
|
776
|
+
const { column: r } = t, R = r.getIsSorted(), j = `column-header-menu-${r.id}`, { menuOpen: s } = Ge(), u = s === j;
|
|
770
777
|
return /* @__PURE__ */ e.jsx(
|
|
771
778
|
Ae,
|
|
772
779
|
{
|
|
773
|
-
className:
|
|
780
|
+
className: L(t.id, "shimmer-dark", {
|
|
774
781
|
loading: l,
|
|
775
782
|
"last-pinned-left": r.getIsPinned() === "left" && r.getIsLastColumn("left"),
|
|
776
783
|
resizing: r.getIsResizing()
|
|
777
784
|
}),
|
|
778
785
|
style: {
|
|
779
|
-
...
|
|
780
|
-
width:
|
|
786
|
+
...nt(r),
|
|
787
|
+
width: st("", r.id)
|
|
781
788
|
},
|
|
782
|
-
children: t.isPlaceholder ? null : /* @__PURE__ */ e.jsxs(Fe, { className:
|
|
783
|
-
|
|
784
|
-
|
|
789
|
+
children: t.isPlaceholder ? null : /* @__PURE__ */ e.jsxs(Fe, { className: L("bold", "header"), children: [
|
|
790
|
+
qt(r.columnDef.header, t.getContext()),
|
|
791
|
+
b && /* @__PURE__ */ e.jsx(Xt, { icon: "lock", "data-tooltip": "You only have permission to read this column." }),
|
|
785
792
|
/* @__PURE__ */ e.jsxs(Ve, { className: "actions", $isOpen: u, children: [
|
|
786
|
-
(f ||
|
|
793
|
+
(f || C || y) && /* @__PURE__ */ e.jsx(
|
|
787
794
|
Ke,
|
|
788
795
|
{
|
|
789
796
|
className: "header-menu",
|
|
790
797
|
header: t,
|
|
791
798
|
canHide: f,
|
|
792
|
-
canPin:
|
|
793
|
-
canSort:
|
|
799
|
+
canPin: C,
|
|
800
|
+
canSort: y,
|
|
794
801
|
isResizing: r.getIsResizing(),
|
|
795
|
-
menuId:
|
|
802
|
+
menuId: j,
|
|
796
803
|
isOpen: u
|
|
797
804
|
}
|
|
798
805
|
),
|
|
799
|
-
|
|
800
|
-
|
|
806
|
+
y && /* @__PURE__ */ e.jsx(
|
|
807
|
+
$e,
|
|
801
808
|
{
|
|
802
809
|
icon: "sort",
|
|
803
|
-
className:
|
|
810
|
+
className: L("sort-button", { visible: R }),
|
|
804
811
|
style: {
|
|
805
|
-
transform:
|
|
812
|
+
transform: R === "asc" ? "rotate(180deg) scaleX(-1)" : "none"
|
|
806
813
|
},
|
|
807
814
|
onClick: r.getToggleSortingHandler(),
|
|
808
815
|
selected: !!r.getIsSorted()
|
|
@@ -815,7 +822,7 @@ const rt = (t) => {
|
|
|
815
822
|
onDoubleClick: () => r.resetSize(),
|
|
816
823
|
onMouseDown: t.getResizeHandler(),
|
|
817
824
|
onTouchStart: t.getResizeHandler(),
|
|
818
|
-
className:
|
|
825
|
+
className: L("resize-handle", {
|
|
819
826
|
resizing: r.getIsResizing()
|
|
820
827
|
})
|
|
821
828
|
}
|
|
@@ -829,132 +836,132 @@ const rt = (t) => {
|
|
|
829
836
|
table: l,
|
|
830
837
|
tableContainerRef: i,
|
|
831
838
|
showHierarchy: f,
|
|
832
|
-
virtualPaddingLeft:
|
|
833
|
-
virtualPaddingRight:
|
|
839
|
+
virtualPaddingLeft: y,
|
|
840
|
+
virtualPaddingRight: C,
|
|
834
841
|
attribs: x,
|
|
835
|
-
onOpenNew:
|
|
836
|
-
rowOrderIds:
|
|
842
|
+
onOpenNew: b,
|
|
843
|
+
rowOrderIds: w,
|
|
837
844
|
sortableRows: r,
|
|
838
|
-
error:
|
|
839
|
-
isLoading:
|
|
845
|
+
error: R,
|
|
846
|
+
isLoading: j,
|
|
840
847
|
isGrouping: s,
|
|
841
848
|
getRowHeight: u,
|
|
842
|
-
defaultRowHeight:
|
|
843
|
-
onResetView:
|
|
844
|
-
contextMenuItems:
|
|
849
|
+
defaultRowHeight: $,
|
|
850
|
+
onResetView: p,
|
|
851
|
+
contextMenuItems: H
|
|
845
852
|
}) => {
|
|
846
|
-
const c =
|
|
847
|
-
const
|
|
848
|
-
return typeof
|
|
853
|
+
const c = O(() => l.getAllColumns().map((T) => {
|
|
854
|
+
const X = T.id, m = T.columnDef.header;
|
|
855
|
+
return typeof m == "string" || typeof m == "number" ? { label: m, id: X } : null;
|
|
849
856
|
}).filter(Boolean), [l.getAllColumns()]), h = Je({
|
|
850
857
|
attribs: x,
|
|
851
|
-
onOpenNew:
|
|
858
|
+
onOpenNew: b,
|
|
852
859
|
headerLabels: c,
|
|
853
|
-
contextMenuItems:
|
|
854
|
-
}).handleTableBodyContextMenu, { handlePreFetchTasks:
|
|
855
|
-
count:
|
|
860
|
+
contextMenuItems: H
|
|
861
|
+
}).handleTableBodyContextMenu, { handlePreFetchTasks: G } = Ye(), { rows: N } = l.getRowModel(), S = Te({
|
|
862
|
+
count: N.length,
|
|
856
863
|
estimateSize: (g) => {
|
|
857
|
-
const
|
|
858
|
-
return
|
|
864
|
+
const P = N[g];
|
|
865
|
+
return P ? u(P.original) : $;
|
|
859
866
|
},
|
|
860
867
|
getScrollElement: () => i.current,
|
|
861
868
|
//measure dynamic row height, except in firefox because it measures table border height incorrectly
|
|
862
869
|
measureElement: typeof window < "u" && navigator.userAgent.indexOf("Firefox") === -1 ? (g) => g?.getBoundingClientRect().height : void 0,
|
|
863
870
|
overscan: 5
|
|
864
|
-
}),
|
|
871
|
+
}), D = S.getVirtualItems(), F = rt(
|
|
865
872
|
(g) => {
|
|
866
|
-
g &&
|
|
873
|
+
g && S.measureElement(g);
|
|
867
874
|
},
|
|
868
|
-
[
|
|
875
|
+
[S]
|
|
869
876
|
);
|
|
870
877
|
Ze();
|
|
871
|
-
const
|
|
878
|
+
const K = /* @__PURE__ */ e.jsx(
|
|
872
879
|
"tbody",
|
|
873
880
|
{
|
|
874
881
|
style: {
|
|
875
|
-
height: `${
|
|
882
|
+
height: `${S.getTotalSize()}px`,
|
|
876
883
|
position: "relative",
|
|
877
884
|
display: "grid"
|
|
878
885
|
},
|
|
879
886
|
onContextMenu: h,
|
|
880
887
|
onMouseOver: (g) => {
|
|
881
|
-
|
|
888
|
+
G(g);
|
|
882
889
|
},
|
|
883
|
-
children:
|
|
884
|
-
const
|
|
885
|
-
return
|
|
886
|
-
|
|
890
|
+
children: D.map((g, P) => {
|
|
891
|
+
const T = N[g.index];
|
|
892
|
+
return T ? /* @__PURE__ */ e.jsx(
|
|
893
|
+
jo,
|
|
887
894
|
{
|
|
888
|
-
row:
|
|
895
|
+
row: T,
|
|
889
896
|
showHierarchy: f,
|
|
890
|
-
visibleCells:
|
|
897
|
+
visibleCells: T.getVisibleCells(),
|
|
891
898
|
virtualColumns: t.getVirtualItems(),
|
|
892
|
-
paddingLeft:
|
|
893
|
-
paddingRight:
|
|
894
|
-
rowRef:
|
|
899
|
+
paddingLeft: y,
|
|
900
|
+
paddingRight: C,
|
|
901
|
+
rowRef: F,
|
|
895
902
|
dataIndex: g.index,
|
|
896
903
|
offsetTop: g.start,
|
|
897
904
|
sortableRows: r,
|
|
898
905
|
isGrouping: s,
|
|
899
|
-
rowHeight: u(
|
|
906
|
+
rowHeight: u(T.original)
|
|
900
907
|
},
|
|
901
|
-
|
|
908
|
+
T.id + P.toString()
|
|
902
909
|
) : (console.warn("Virtualized row data not found for index:", g.index), null);
|
|
903
910
|
})
|
|
904
911
|
}
|
|
905
912
|
);
|
|
906
|
-
return
|
|
907
|
-
/* @__PURE__ */ e.jsx(
|
|
913
|
+
return R ? i.current && Ct(
|
|
914
|
+
/* @__PURE__ */ e.jsx(Bt, { children: /* @__PURE__ */ e.jsx($t, { message: "No items found", error: R, children: p && /* @__PURE__ */ e.jsx(
|
|
908
915
|
_t,
|
|
909
916
|
{
|
|
910
917
|
variant: "filled",
|
|
911
918
|
label: "Reset working view",
|
|
912
919
|
icon: "restart_alt",
|
|
913
|
-
onClick:
|
|
920
|
+
onClick: p
|
|
914
921
|
}
|
|
915
922
|
) }) }),
|
|
916
923
|
i.current
|
|
917
|
-
) : !
|
|
918
|
-
/* @__PURE__ */ e.jsx(
|
|
924
|
+
) : !N.length && !j ? i.current && Ct(
|
|
925
|
+
/* @__PURE__ */ e.jsx(Bt, { children: /* @__PURE__ */ e.jsx($t, { message: "No items found", children: p && /* @__PURE__ */ e.jsx(
|
|
919
926
|
_t,
|
|
920
927
|
{
|
|
921
928
|
variant: "filled",
|
|
922
929
|
label: "Reset working view",
|
|
923
930
|
icon: "restart_alt",
|
|
924
|
-
onClick:
|
|
931
|
+
onClick: p
|
|
925
932
|
}
|
|
926
933
|
) }) }),
|
|
927
934
|
i.current
|
|
928
|
-
) : r ? /* @__PURE__ */ e.jsx(lo, { items:
|
|
929
|
-
},
|
|
935
|
+
) : r ? /* @__PURE__ */ e.jsx(lo, { items: w, strategy: mo, children: K }) : K;
|
|
936
|
+
}, jo = ({
|
|
930
937
|
row: t,
|
|
931
938
|
showHierarchy: l,
|
|
932
939
|
visibleCells: i,
|
|
933
940
|
virtualColumns: f,
|
|
934
|
-
paddingLeft:
|
|
935
|
-
paddingRight:
|
|
941
|
+
paddingLeft: y,
|
|
942
|
+
paddingRight: C,
|
|
936
943
|
rowRef: x,
|
|
937
|
-
dataIndex:
|
|
938
|
-
offsetTop:
|
|
944
|
+
dataIndex: b,
|
|
945
|
+
offsetTop: w,
|
|
939
946
|
sortableRows: r,
|
|
940
|
-
isGrouping:
|
|
941
|
-
rowHeight:
|
|
947
|
+
isGrouping: R = !1,
|
|
948
|
+
rowHeight: j
|
|
942
949
|
}) => {
|
|
943
|
-
const s = r ? ao({ id: t.id }) : null, u =
|
|
944
|
-
(
|
|
945
|
-
s && s.setNodeRef(
|
|
950
|
+
const s = r ? ao({ id: t.id }) : null, u = rt(
|
|
951
|
+
(p) => {
|
|
952
|
+
s && s.setNodeRef(p), s && s.isDragging || x(p);
|
|
946
953
|
},
|
|
947
954
|
[s, x]
|
|
948
|
-
),
|
|
955
|
+
), $ = {
|
|
949
956
|
position: "absolute",
|
|
950
957
|
// Use absolute positioning for virtualized items
|
|
951
|
-
top:
|
|
958
|
+
top: w,
|
|
952
959
|
// Position based on virtualizer's calculation (virtualRow.start)
|
|
953
960
|
left: 0,
|
|
954
961
|
// Span full width of the relative parent (tbody)
|
|
955
962
|
right: 0,
|
|
956
963
|
// Span full width
|
|
957
|
-
height:
|
|
964
|
+
height: j,
|
|
958
965
|
// Use dynamic row height
|
|
959
966
|
zIndex: s && s.isDragging ? 0 : 1,
|
|
960
967
|
// Ensure dragged item is above others
|
|
@@ -967,35 +974,35 @@ const rt = (t) => {
|
|
|
967
974
|
// Hide the row being dragged
|
|
968
975
|
};
|
|
969
976
|
return /* @__PURE__ */ e.jsxs(
|
|
970
|
-
|
|
977
|
+
Ut,
|
|
971
978
|
{
|
|
972
979
|
ref: u,
|
|
973
|
-
"data-index":
|
|
974
|
-
style:
|
|
975
|
-
className:
|
|
980
|
+
"data-index": b,
|
|
981
|
+
style: $,
|
|
982
|
+
className: L({ "group-row": t.original.group }),
|
|
976
983
|
children: [
|
|
977
|
-
|
|
984
|
+
y ? (
|
|
978
985
|
//fake empty column to the left for virtualization scroll padding
|
|
979
|
-
/* @__PURE__ */ e.jsx("td", { style: { display: "flex", width:
|
|
986
|
+
/* @__PURE__ */ e.jsx("td", { style: { display: "flex", width: y } })
|
|
980
987
|
) : null,
|
|
981
|
-
f.map((
|
|
982
|
-
const c = i[
|
|
988
|
+
f.map((p, H) => {
|
|
989
|
+
const c = i[p.index];
|
|
983
990
|
if (!c) return null;
|
|
984
|
-
const
|
|
985
|
-
return c.column.id ===
|
|
986
|
-
|
|
991
|
+
const _ = bt(t.id, c.column.id);
|
|
992
|
+
return c.column.id === U ? /* @__PURE__ */ e.jsx(
|
|
993
|
+
xt,
|
|
987
994
|
{
|
|
988
995
|
style: {
|
|
989
|
-
...
|
|
990
|
-
width:
|
|
996
|
+
...nt(c.column),
|
|
997
|
+
width: st(t.id, c.column.id),
|
|
991
998
|
display: "flex",
|
|
992
999
|
alignItems: "center",
|
|
993
1000
|
justifyContent: "center",
|
|
994
|
-
height:
|
|
1001
|
+
height: j,
|
|
995
1002
|
pointerEvents: "all",
|
|
996
1003
|
cursor: "grab"
|
|
997
1004
|
},
|
|
998
|
-
className:
|
|
1005
|
+
className: L(c.column.id, {
|
|
999
1006
|
"last-pinned-left": c.column.getIsPinned() === "left" && c.column.getIsLastColumn("left")
|
|
1000
1007
|
}),
|
|
1001
1008
|
onMouseDown: (h) => h.stopPropagation(),
|
|
@@ -1005,132 +1012,145 @@ const rt = (t) => {
|
|
|
1005
1012
|
h.preventDefault(), h.stopPropagation();
|
|
1006
1013
|
},
|
|
1007
1014
|
children: /* @__PURE__ */ e.jsx(
|
|
1008
|
-
|
|
1015
|
+
_e,
|
|
1009
1016
|
{
|
|
1010
1017
|
attributes: s?.attributes,
|
|
1011
1018
|
listeners: s?.listeners
|
|
1012
1019
|
}
|
|
1013
1020
|
)
|
|
1014
1021
|
},
|
|
1015
|
-
c.id +
|
|
1022
|
+
c.id + H.toString()
|
|
1016
1023
|
) : /* @__PURE__ */ e.jsx(
|
|
1017
|
-
|
|
1024
|
+
Jt,
|
|
1018
1025
|
{
|
|
1019
1026
|
cell: c,
|
|
1020
|
-
cellId:
|
|
1027
|
+
cellId: _,
|
|
1021
1028
|
rowId: t.id,
|
|
1022
1029
|
showHierarchy: l,
|
|
1023
1030
|
sortableRows: r,
|
|
1024
|
-
rowHeight:
|
|
1031
|
+
rowHeight: j
|
|
1025
1032
|
},
|
|
1026
|
-
c.id +
|
|
1033
|
+
c.id + H.toString()
|
|
1027
1034
|
);
|
|
1028
1035
|
}),
|
|
1029
|
-
|
|
1036
|
+
C ? (
|
|
1030
1037
|
//fake empty column to the right for virtualization scroll padding
|
|
1031
|
-
/* @__PURE__ */ e.jsx("td", { style: { display: "flex", width:
|
|
1038
|
+
/* @__PURE__ */ e.jsx("td", { style: { display: "flex", width: C } })
|
|
1032
1039
|
) : null
|
|
1033
1040
|
]
|
|
1034
1041
|
}
|
|
1035
1042
|
);
|
|
1036
|
-
},
|
|
1043
|
+
}, Jt = ({
|
|
1037
1044
|
cell: t,
|
|
1038
1045
|
rowId: l,
|
|
1039
1046
|
cellId: i,
|
|
1040
1047
|
className: f,
|
|
1041
|
-
showHierarchy:
|
|
1042
|
-
sortableRows:
|
|
1048
|
+
showHierarchy: y,
|
|
1049
|
+
sortableRows: C,
|
|
1043
1050
|
rowHeight: x,
|
|
1044
|
-
...
|
|
1051
|
+
...b
|
|
1045
1052
|
}) => {
|
|
1046
|
-
const { getEntityById:
|
|
1047
|
-
isCellSelected:
|
|
1048
|
-
isCellFocused:
|
|
1053
|
+
const { getEntityById: w, onOpenPlayer: r } = Yt(), {
|
|
1054
|
+
isCellSelected: R,
|
|
1055
|
+
isCellFocused: j,
|
|
1049
1056
|
startSelection: s,
|
|
1050
1057
|
extendSelection: u,
|
|
1051
|
-
endSelection:
|
|
1052
|
-
selectCell:
|
|
1053
|
-
focusCell:
|
|
1058
|
+
endSelection: $,
|
|
1059
|
+
selectCell: p,
|
|
1060
|
+
focusCell: H,
|
|
1054
1061
|
getCellBorderClasses: c,
|
|
1055
|
-
clearSelection:
|
|
1062
|
+
clearSelection: _,
|
|
1056
1063
|
selectedCells: h
|
|
1057
|
-
} =
|
|
1064
|
+
} = yt(), { isRowSelected: G } = qe(), { isEditing: N, setEditingCellId: S, editingCellId: D } = Gt(), F = c(i), g = t.column.getIsPinned() === "left" && t.column.getIsLastColumn("left"), P = t.column.id === A, T = t.row.original.entityType === "group", X = h.size > 1;
|
|
1058
1065
|
return /* @__PURE__ */ e.jsx(
|
|
1059
|
-
|
|
1066
|
+
xt,
|
|
1060
1067
|
{
|
|
1061
|
-
...
|
|
1068
|
+
...b,
|
|
1062
1069
|
tabIndex: 0,
|
|
1063
1070
|
$isLastPinned: g,
|
|
1064
|
-
className:
|
|
1071
|
+
className: L(
|
|
1065
1072
|
t.column.id,
|
|
1066
1073
|
{
|
|
1067
|
-
selected:
|
|
1068
|
-
focused:
|
|
1069
|
-
editing:
|
|
1074
|
+
selected: R(i),
|
|
1075
|
+
focused: j(i),
|
|
1076
|
+
editing: N(i),
|
|
1070
1077
|
"last-pinned-left": g,
|
|
1071
|
-
"selected-row":
|
|
1072
|
-
expandable: !!t.row.originalSubRows &&
|
|
1073
|
-
"multiple-selected":
|
|
1078
|
+
"selected-row": G(l),
|
|
1079
|
+
expandable: !!t.row.originalSubRows && Oe(t.row.original.entityType),
|
|
1080
|
+
"multiple-selected": X
|
|
1074
1081
|
},
|
|
1075
1082
|
f,
|
|
1076
|
-
...
|
|
1083
|
+
...F
|
|
1077
1084
|
),
|
|
1078
1085
|
style: {
|
|
1079
|
-
...
|
|
1080
|
-
width:
|
|
1086
|
+
...nt(t.column),
|
|
1087
|
+
width: st(t.row.id, t.column.id),
|
|
1081
1088
|
height: x
|
|
1082
1089
|
},
|
|
1083
|
-
onMouseDown: (
|
|
1084
|
-
if (
|
|
1085
|
-
const
|
|
1086
|
-
if (
|
|
1087
|
-
if (
|
|
1088
|
-
const
|
|
1089
|
-
if (
|
|
1090
|
-
|
|
1090
|
+
onMouseDown: (m) => {
|
|
1091
|
+
if (m.button !== 0) return;
|
|
1092
|
+
const V = m.target;
|
|
1093
|
+
if (V.closest(".expander") || V.closest(".options")) return;
|
|
1094
|
+
if (T && t.column.id !== "name") return _();
|
|
1095
|
+
const E = Kt(t.row.original.entityType);
|
|
1096
|
+
if (V.closest("." + Wt) && !E) {
|
|
1097
|
+
R(i) || (p(i, !1, !1), H(i)), S(i);
|
|
1091
1098
|
return;
|
|
1092
1099
|
}
|
|
1093
|
-
if (
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1100
|
+
if (R(i)) return;
|
|
1101
|
+
if (D && D !== i) {
|
|
1102
|
+
const v = document.querySelector(
|
|
1103
|
+
`#${D} input, #${D} [role="textbox"]`
|
|
1104
|
+
);
|
|
1105
|
+
if (v) {
|
|
1106
|
+
v.blur(), setTimeout(() => {
|
|
1107
|
+
z();
|
|
1108
|
+
}, 0);
|
|
1109
|
+
return;
|
|
1110
|
+
}
|
|
1111
|
+
}
|
|
1112
|
+
z();
|
|
1113
|
+
function z() {
|
|
1114
|
+
const v = m.metaKey || m.ctrlKey || P;
|
|
1115
|
+
m.shiftKey ? p(i, v, !0) : s(i, v), m.preventDefault();
|
|
1116
|
+
}
|
|
1097
1117
|
},
|
|
1098
|
-
onMouseOver: (
|
|
1099
|
-
if (
|
|
1100
|
-
if (
|
|
1101
|
-
u(i,
|
|
1118
|
+
onMouseOver: (m) => {
|
|
1119
|
+
if (m.buttons === 1) {
|
|
1120
|
+
if (m.target.closest("." + Wt)) return;
|
|
1121
|
+
u(i, P);
|
|
1102
1122
|
}
|
|
1103
1123
|
},
|
|
1104
1124
|
onMouseUp: () => {
|
|
1105
|
-
|
|
1125
|
+
$(i);
|
|
1106
1126
|
},
|
|
1107
|
-
onDoubleClick: (
|
|
1108
|
-
if (
|
|
1109
|
-
if (t.column.id === "name" && !
|
|
1110
|
-
const
|
|
1111
|
-
|
|
1127
|
+
onDoubleClick: (m) => {
|
|
1128
|
+
if (!(fo(m) || Kt(t.row.original.entityType)) && !T)
|
|
1129
|
+
if (t.column.id === "name" && !m.target.closest(".expander")) {
|
|
1130
|
+
const z = bt(t.row.id, A), v = m.metaKey || m.ctrlKey;
|
|
1131
|
+
R(z) || p(z, v, !1), p(i, !0, !1);
|
|
1112
1132
|
} else if (t.column.id === "thumbnail") {
|
|
1113
1133
|
if (r) {
|
|
1114
|
-
const
|
|
1115
|
-
if (
|
|
1116
|
-
const
|
|
1117
|
-
r(
|
|
1134
|
+
const z = w(t.row.original.entityId || t.row.id);
|
|
1135
|
+
if (z) {
|
|
1136
|
+
const v = Co(z);
|
|
1137
|
+
r(v, { quickView: !0 });
|
|
1118
1138
|
}
|
|
1119
1139
|
}
|
|
1120
1140
|
} else
|
|
1121
|
-
|
|
1141
|
+
S(i);
|
|
1122
1142
|
},
|
|
1123
|
-
onContextMenu: (
|
|
1124
|
-
|
|
1143
|
+
onContextMenu: (m) => {
|
|
1144
|
+
m.preventDefault(), R(i) || p(i, !1, !1);
|
|
1125
1145
|
},
|
|
1126
1146
|
onKeyDown: () => {
|
|
1127
1147
|
},
|
|
1128
|
-
children:
|
|
1148
|
+
children: qt(t.column.columnDef.cell, t.getContext())
|
|
1129
1149
|
}
|
|
1130
1150
|
);
|
|
1131
1151
|
};
|
|
1132
1152
|
export {
|
|
1133
|
-
|
|
1134
|
-
|
|
1153
|
+
U as DRAG_HANDLE_COLUMN_ID,
|
|
1154
|
+
jl as ProjectTreeTable
|
|
1135
1155
|
};
|
|
1136
1156
|
//# sourceMappingURL=ProjectTreeTable.es.js.map
|