@ynput/ayon-frontend-shared 0.2.26 → 0.2.28
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 +25 -22
- package/dist/DetailsPanel.es.js.map +1 -1
- package/dist/Views.cjs.js +1 -1
- package/dist/Views.cjs.js.map +1 -1
- package/dist/Views.es.js +13 -11
- package/dist/Views.es.js.map +1 -1
- package/dist/api.cjs.js +1 -1
- package/dist/api.es.js +153 -151
- package/dist/components.cjs.js +1 -1
- package/dist/components.es.js +62 -51
- package/dist/components.es.js.map +1 -1
- package/dist/index.cjs.js +1 -1
- package/dist/index.es.js +12 -6
- package/dist/index.es.js.map +1 -1
- package/dist/shared/src/api/generated/entityLists.cjs.js.map +1 -1
- package/dist/shared/src/api/generated/entityLists.es.js.map +1 -1
- package/dist/shared/src/api/generated/users.cjs.js.map +1 -1
- package/dist/shared/src/api/generated/users.es.js.map +1 -1
- package/dist/shared/src/api/generated/views.cjs.js.map +1 -1
- package/dist/shared/src/api/generated/views.es.js.map +1 -1
- package/dist/shared/src/api/queries/entityLists/getLists.cjs.js +1 -1
- package/dist/shared/src/api/queries/entityLists/getLists.cjs.js.map +1 -1
- package/dist/shared/src/api/queries/entityLists/getLists.es.js +142 -117
- package/dist/shared/src/api/queries/entityLists/getLists.es.js.map +1 -1
- package/dist/shared/src/api/queries/entityLists/updateLists.cjs.js +1 -1
- package/dist/shared/src/api/queries/entityLists/updateLists.cjs.js.map +1 -1
- package/dist/shared/src/api/queries/entityLists/updateLists.es.js +110 -95
- package/dist/shared/src/api/queries/entityLists/updateLists.es.js.map +1 -1
- package/dist/shared/src/api/queries/users/getUsers.cjs.js +1 -1
- package/dist/shared/src/api/queries/users/getUsers.cjs.js.map +1 -1
- package/dist/shared/src/api/queries/users/getUsers.es.js +21 -17
- package/dist/shared/src/api/queries/users/getUsers.es.js.map +1 -1
- package/dist/shared/src/components/AccessUser/AccessUser.cjs.js +2 -0
- package/dist/shared/src/components/AccessUser/AccessUser.cjs.js.map +1 -0
- package/dist/shared/src/components/AccessUser/AccessUser.es.js +33 -0
- package/dist/shared/src/components/AccessUser/AccessUser.es.js.map +1 -0
- package/dist/shared/src/components/AccessUser/AccessUser.styled.cjs.js +42 -0
- package/dist/shared/src/components/AccessUser/AccessUser.styled.cjs.js.map +1 -0
- package/dist/shared/src/components/AccessUser/AccessUser.styled.es.js +46 -0
- package/dist/shared/src/components/AccessUser/AccessUser.styled.es.js.map +1 -0
- package/dist/shared/src/components/DetailsMetaData/DetailsMetaData.cjs.js +34 -0
- package/dist/shared/src/components/DetailsMetaData/DetailsMetaData.cjs.js.map +1 -0
- package/dist/shared/src/components/DetailsMetaData/DetailsMetaData.es.js +46 -0
- package/dist/shared/src/components/DetailsMetaData/DetailsMetaData.es.js.map +1 -0
- package/dist/shared/src/components/DetailsPanelAttributes/DetailsPanelAttributesEditor.cjs.js +20 -10
- package/dist/shared/src/components/DetailsPanelAttributes/DetailsPanelAttributesEditor.cjs.js.map +1 -1
- package/dist/shared/src/components/DetailsPanelAttributes/DetailsPanelAttributesEditor.es.js +81 -67
- package/dist/shared/src/components/DetailsPanelAttributes/DetailsPanelAttributesEditor.es.js.map +1 -1
- package/dist/shared/src/components/DetailsPanelAttributes/components/RenderFieldWidget.cjs.js +3 -3
- package/dist/shared/src/components/DetailsPanelAttributes/components/RenderFieldWidget.cjs.js.map +1 -1
- package/dist/shared/src/components/DetailsPanelAttributes/components/RenderFieldWidget.es.js +59 -52
- package/dist/shared/src/components/DetailsPanelAttributes/components/RenderFieldWidget.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 +5 -2
- 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 +5 -2
- 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 +5 -2
- package/dist/shared/src/components/LinksManager/hooks/useUpdateLinks.es.js.map +1 -1
- package/dist/shared/src/components/ListAttributeForm/ListAttributeForm.cjs.js +2 -0
- package/dist/shared/src/components/ListAttributeForm/ListAttributeForm.cjs.js.map +1 -0
- package/dist/shared/src/components/ListAttributeForm/ListAttributeForm.es.js +205 -0
- package/dist/shared/src/components/ListAttributeForm/ListAttributeForm.es.js.map +1 -0
- package/dist/shared/src/components/ListMetaData/ListMetaData.cjs.js +2 -0
- package/dist/shared/src/components/ListMetaData/ListMetaData.cjs.js.map +1 -0
- package/dist/shared/src/components/ListMetaData/ListMetaData.es.js +25 -0
- package/dist/shared/src/components/ListMetaData/ListMetaData.es.js.map +1 -0
- package/dist/shared/src/components/Powerpack/PowerpackButton.cjs.js +3 -3
- package/dist/shared/src/components/Powerpack/PowerpackButton.cjs.js.map +1 -1
- package/dist/shared/src/components/Powerpack/PowerpackButton.es.js +5 -5
- package/dist/shared/src/components/Powerpack/PowerpackButton.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 +5 -2
- package/dist/shared/src/components/Powerpack/PowerpackDialog.es.js.map +1 -1
- package/dist/shared/src/components/Powerpack/RequiredPowerpackVersion.cjs.js +9 -0
- package/dist/shared/src/components/Powerpack/RequiredPowerpackVersion.cjs.js.map +1 -0
- package/dist/shared/src/components/Powerpack/RequiredPowerpackVersion.es.js +25 -0
- package/dist/shared/src/components/Powerpack/RequiredPowerpackVersion.es.js.map +1 -0
- 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 +7 -4
- 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 +18 -21
- package/dist/shared/src/components/ProjectTableSettings/TableSettingsFallback.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 +5 -2
- 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 +6 -3
- 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 +5 -2
- package/dist/shared/src/components/ReviewablesList/SortableReviewableCard.es.js.map +1 -1
- package/dist/shared/src/components/ShareOptionIcon/ShareOptionIcon.cjs.js +2 -0
- package/dist/shared/src/components/ShareOptionIcon/ShareOptionIcon.cjs.js.map +1 -0
- package/dist/shared/src/components/ShareOptionIcon/ShareOptionIcon.es.js +17 -0
- package/dist/shared/src/components/ShareOptionIcon/ShareOptionIcon.es.js.map +1 -0
- package/dist/shared/src/components/SimpleFormDialog/SimpleFormDialog.cjs.js +2 -2
- package/dist/shared/src/components/SimpleFormDialog/SimpleFormDialog.cjs.js.map +1 -1
- package/dist/shared/src/components/SimpleFormDialog/SimpleFormDialog.es.js +5 -2
- package/dist/shared/src/components/SimpleFormDialog/SimpleFormDialog.es.js.map +1 -1
- package/dist/shared/src/components/VersionUploader/components/UploadVersionForm.cjs.js +1 -1
- package/dist/shared/src/components/VersionUploader/components/UploadVersionForm.cjs.js.map +1 -1
- package/dist/shared/src/components/VersionUploader/components/UploadVersionForm.es.js +5 -2
- 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 +5 -2
- 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 +5 -2
- 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 +146 -157
- package/dist/shared/src/containers/DetailsPanel/DetailsPanel.es.js.map +1 -1
- package/dist/shared/src/containers/DetailsPanel/DetailsPanel.styled.cjs.js +7 -1
- package/dist/shared/src/containers/DetailsPanel/DetailsPanel.styled.cjs.js.map +1 -1
- package/dist/shared/src/containers/DetailsPanel/DetailsPanel.styled.es.js +13 -6
- package/dist/shared/src/containers/DetailsPanel/DetailsPanel.styled.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 +5 -2
- 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 +6 -3
- 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 +6 -3
- package/dist/shared/src/containers/DetailsPanel/DetailsPanelHeader/DetailsPanelHeader.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 +5 -2
- 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 +5 -2
- 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 +5 -2
- 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 +5 -2
- package/dist/shared/src/containers/EntityPickerDialog/components/EntityTypeTableSearch.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 +413 -396
- package/dist/shared/src/containers/ProjectTreeTable/ProjectTreeTable.es.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/ProjectTreeTable.styled.cjs.js +104 -25
- package/dist/shared/src/containers/ProjectTreeTable/ProjectTreeTable.styled.cjs.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/ProjectTreeTable.styled.es.js +131 -52
- package/dist/shared/src/containers/ProjectTreeTable/ProjectTreeTable.styled.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 +136 -129
- package/dist/shared/src/containers/ProjectTreeTable/buildTreeTableColumns.es.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/components/ColumnHeaderMenu.cjs.js +16 -53
- package/dist/shared/src/containers/ProjectTreeTable/components/ColumnHeaderMenu.cjs.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/components/ColumnHeaderMenu.es.js +100 -120
- 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 +5 -2
- package/dist/shared/src/containers/ProjectTreeTable/components/GroupSettingsFallback.es.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/components/HeaderActionButton.cjs.js +7 -3
- package/dist/shared/src/containers/ProjectTreeTable/components/HeaderActionButton.cjs.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/components/HeaderActionButton.es.js +12 -8
- package/dist/shared/src/containers/ProjectTreeTable/components/HeaderActionButton.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 +5 -2
- package/dist/shared/src/containers/ProjectTreeTable/context/CellEditingProvider.es.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/context/ClipboardContext.cjs.js +3 -3
- package/dist/shared/src/containers/ProjectTreeTable/context/ClipboardContext.cjs.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/context/ClipboardContext.es.js +250 -235
- package/dist/shared/src/containers/ProjectTreeTable/context/ClipboardContext.es.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/context/ProjectDataContext.cjs.js +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/context/ProjectDataContext.cjs.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/context/ProjectDataContext.es.js +24 -21
- package/dist/shared/src/containers/ProjectTreeTable/context/ProjectDataContext.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 +5 -2
- package/dist/shared/src/containers/ProjectTreeTable/context/SelectionCellsProvider.es.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/context/clipboard/clipboardTypes.cjs.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/context/clipboard/clipboardTypes.es.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/context/clipboard/clipboardValidation.cjs.js +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/context/clipboard/clipboardValidation.cjs.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/context/clipboard/clipboardValidation.es.js +10 -10
- package/dist/shared/src/containers/ProjectTreeTable/context/clipboard/clipboardValidation.es.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useAttributesList.cjs.js +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useAttributesList.cjs.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useAttributesList.es.js +13 -9
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useAttributesList.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 +65 -60
- 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 +5 -2
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useCheckSelectedCellsVisible.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 +5 -2
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useGetGroupedFields.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 +5 -2
- 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 +5 -2
- 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 +5 -2
- 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 +5 -2
- 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 +16 -13
- package/dist/shared/src/containers/ProjectTreeTable/utils/cellUtils.es.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/utils/getReadOnlyLists.cjs.js +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/utils/getReadOnlyLists.cjs.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/utils/getReadOnlyLists.es.js +41 -14
- package/dist/shared/src/containers/ProjectTreeTable/utils/getReadOnlyLists.es.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/widgets/BooleanWidget.cjs.js +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/widgets/BooleanWidget.cjs.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/widgets/BooleanWidget.es.js +7 -7
- 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 +110 -104
- package/dist/shared/src/containers/ProjectTreeTable/widgets/CellWidget.es.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/widgets/EnumCellValue.cjs.js +2 -2
- package/dist/shared/src/containers/ProjectTreeTable/widgets/EnumCellValue.cjs.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/widgets/EnumCellValue.es.js +8 -8
- package/dist/shared/src/containers/ProjectTreeTable/widgets/EnumCellValue.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 +44 -43
- 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 +7 -4
- package/dist/shared/src/containers/ProjectTreeTable/widgets/LinksWidget.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 +5 -2
- 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 +118 -103
- package/dist/shared/src/containers/SimpleTable/SimpleTable.es.js.map +1 -1
- package/dist/shared/src/containers/SimpleTable/SimpleTable.styled.cjs.js +16 -4
- package/dist/shared/src/containers/SimpleTable/SimpleTable.styled.cjs.js.map +1 -1
- package/dist/shared/src/containers/SimpleTable/SimpleTable.styled.es.js +13 -1
- package/dist/shared/src/containers/SimpleTable/SimpleTable.styled.es.js.map +1 -1
- package/dist/shared/src/containers/SimpleTable/SimpleTableRowTemplate.cjs.js +1 -1
- package/dist/shared/src/containers/SimpleTable/SimpleTableRowTemplate.cjs.js.map +1 -1
- package/dist/shared/src/containers/SimpleTable/SimpleTableRowTemplate.es.js +62 -50
- package/dist/shared/src/containers/SimpleTable/SimpleTableRowTemplate.es.js.map +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.map +1 -1
- package/dist/shared/src/containers/Views/hooks/pages/useReportsViewSettings.cjs.js +2 -0
- package/dist/shared/src/containers/Views/hooks/pages/useReportsViewSettings.cjs.js.map +1 -0
- package/dist/shared/src/containers/Views/hooks/pages/useReportsViewSettings.es.js +64 -0
- package/dist/shared/src/containers/Views/hooks/pages/useReportsViewSettings.es.js.map +1 -0
- package/dist/shared/src/context/MenuContext.cjs.js +2 -0
- package/dist/shared/src/context/MenuContext.cjs.js.map +1 -0
- package/dist/shared/src/context/MenuContext.es.js +28 -0
- package/dist/shared/src/context/MenuContext.es.js.map +1 -0
- package/dist/shared/src/context/PowerpackContext.cjs.js +1 -1
- package/dist/shared/src/context/PowerpackContext.cjs.js.map +1 -1
- package/dist/shared/src/context/PowerpackContext.es.js +20 -15
- package/dist/shared/src/context/PowerpackContext.es.js.map +1 -1
- package/dist/shared/src/context/RemoteModulesContext.cjs.js +1 -1
- package/dist/shared/src/context/RemoteModulesContext.cjs.js.map +1 -1
- package/dist/shared/src/context/RemoteModulesContext.es.js +19 -19
- package/dist/shared/src/context/RemoteModulesContext.es.js.map +1 -1
- package/dist/shared/src/hooks/useLoadModule.cjs.js.map +1 -1
- package/dist/shared/src/hooks/useLoadModule.es.js.map +1 -1
- package/dist/src/components/Menu/MenuComponents/Menu.cjs.js +2 -0
- package/dist/src/components/Menu/MenuComponents/Menu.cjs.js.map +1 -0
- package/dist/src/components/Menu/MenuComponents/Menu.es.js +55 -0
- package/dist/src/components/Menu/MenuComponents/Menu.es.js.map +1 -0
- package/dist/src/components/Menu/MenuComponents/Menu.styled.cjs.js +254 -0
- package/dist/src/components/Menu/MenuComponents/Menu.styled.cjs.js.map +1 -0
- package/dist/src/components/Menu/MenuComponents/Menu.styled.es.js +265 -0
- package/dist/src/components/Menu/MenuComponents/Menu.styled.es.js.map +1 -0
- package/dist/src/components/Menu/MenuComponents/MenuContainer2.cjs.js +2 -0
- package/dist/src/components/Menu/MenuComponents/MenuContainer2.cjs.js.map +1 -0
- package/dist/src/components/Menu/MenuComponents/MenuContainer2.es.js +80 -0
- package/dist/src/components/Menu/MenuComponents/MenuContainer2.es.js.map +1 -0
- package/dist/src/components/Menu/MenuComponents/MenuItem.cjs.js +2 -0
- package/dist/src/components/Menu/MenuComponents/MenuItem.cjs.js.map +1 -0
- package/dist/src/components/Menu/MenuComponents/MenuItem.es.js +59 -0
- package/dist/src/components/Menu/MenuComponents/MenuItem.es.js.map +1 -0
- package/dist/src/components/Menu/MenuComponents/MenuList.cjs.js +2 -0
- package/dist/src/components/Menu/MenuComponents/MenuList.cjs.js.map +1 -0
- package/dist/src/components/Menu/MenuComponents/MenuList.es.js +112 -0
- package/dist/src/components/Menu/MenuComponents/MenuList.es.js.map +1 -0
- package/dist/src/components/Menu/MenuComponents/useMenuPosition.cjs.js +2 -0
- package/dist/src/components/Menu/MenuComponents/useMenuPosition.cjs.js.map +1 -0
- package/dist/src/components/Menu/MenuComponents/useMenuPosition.es.js +35 -0
- package/dist/src/components/Menu/MenuComponents/useMenuPosition.es.js.map +1 -0
- package/dist/types/api/generated/entityLists.d.ts +8 -8
- package/dist/types/api/generated/users.d.ts +18 -14
- package/dist/types/api/generated/views.d.ts +47 -9
- package/dist/types/api/queries/entityLists/getLists.d.ts +133 -0
- package/dist/types/api/queries/entityLists/types.d.ts +2 -1
- package/dist/types/api/queries/permissions/getPermissions.d.ts +22 -22
- package/dist/types/api/queries/users/getUsers.d.ts +132 -0
- package/dist/types/api/queries/users/updateUsers.d.ts +3 -3
- package/dist/types/components/AccessUser/AccessUser.d.ts +22 -0
- package/dist/types/components/AccessUser/AccessUser.styled.d.ts +1 -0
- package/dist/types/components/AccessUser/index.d.ts +1 -0
- package/dist/types/components/DetailsMetaData/DetailsMetaData.d.ts +8 -0
- package/dist/types/components/DetailsMetaData/index.d.ts +1 -0
- package/dist/types/components/DetailsPanelAttributes/DetailsPanelAttributesEditor.d.ts +4 -0
- package/dist/types/components/ListAttributeForm/ListAttributeForm.d.ts +13 -0
- package/dist/types/components/ListAttributeForm/index.d.ts +1 -0
- package/dist/types/components/ListMetaData/ListMetaData.d.ts +8 -0
- package/dist/types/components/ListMetaData/index.d.ts +1 -0
- package/dist/types/components/Powerpack/RequiredPowerpackVersion.d.ts +5 -0
- package/dist/types/components/Powerpack/index.d.ts +1 -0
- package/dist/types/components/ShareOptionIcon/ShareOptionIcon.d.ts +10 -0
- package/dist/types/components/ShareOptionIcon/index.d.ts +2 -0
- package/dist/types/components/index.d.ts +4 -0
- package/dist/types/containers/DetailsPanel/DetailsPanel.styled.d.ts +7 -0
- package/dist/types/containers/ProjectTreeTable/ProjectTreeTable.styled.d.ts +3 -1
- package/dist/types/containers/ProjectTreeTable/components/ColumnHeaderMenu.d.ts +4 -1
- package/dist/types/containers/ProjectTreeTable/context/ProjectDataContext.d.ts +1 -0
- package/dist/types/containers/ProjectTreeTable/context/clipboard/clipboardTypes.d.ts +3 -1
- package/dist/types/containers/ProjectTreeTable/hooks/useAttributesList.d.ts +1 -0
- package/dist/types/containers/ProjectTreeTable/utils/getReadOnlyLists.d.ts +1 -1
- package/dist/types/containers/ProjectTreeTable/widgets/BooleanWidget.d.ts +1 -0
- package/dist/types/containers/ProjectTreeTable/widgets/EnumCellValue.d.ts +2 -2
- package/dist/types/containers/SimpleTable/SimpleTable.d.ts +3 -0
- package/dist/types/containers/SimpleTable/SimpleTableRowTemplate.d.ts +5 -1
- package/dist/types/containers/Views/hooks/pages/useReportsViewSettings.d.ts +11 -0
- package/dist/types/containers/Views/index.d.ts +6 -2
- package/dist/types/context/MenuContext.d.ts +12 -0
- package/dist/types/context/PowerpackContext.d.ts +1 -1
- package/dist/types/index.d.ts +1 -0
- package/package.json +1 -1
|
@@ -1,38 +1,39 @@
|
|
|
1
1
|
import { j as o } from "../../../../_virtual/jsx-runtime.es.js";
|
|
2
|
-
import { memo as
|
|
3
|
-
import { useVirtualizer as
|
|
4
|
-
import { flexRender as
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import { TableCell as ct, TableWrapper as
|
|
8
|
-
import
|
|
9
|
-
import
|
|
2
|
+
import { memo as ue, useMemo as v, useRef as Nt, useCallback as Z, useEffect as pt } from "react";
|
|
3
|
+
import { useVirtualizer as ce } from "@tanstack/react-virtual";
|
|
4
|
+
import { flexRender as Ot, useReactTable as ge, filterFns as fe, getSortedRowModel as he, getExpandedRowModel as Ce, getFilteredRowModel as ye, getCoreRowModel as xe } from "@tanstack/react-table";
|
|
5
|
+
import D from "clsx";
|
|
6
|
+
import be from "./buildTreeTableColumns.es.js";
|
|
7
|
+
import { TableCell as ct, TableWrapper as we, TableContainer as Se, TR as Ht, TableHeader as Re, ColumnHeader as je, HeaderCell as Te, TableCellContent as Me, HeaderButtons as ze, ResizedHandler as Ie } from "./ProjectTreeTable.styled.es.js";
|
|
8
|
+
import Pe from "./components/HeaderActionButton.es.js";
|
|
9
|
+
import ve from "./components/RowDragHandleCellContent.es.js";
|
|
10
10
|
import "./components/RowSelectionHeader.es.js";
|
|
11
11
|
import "./components/SelectionCell.es.js";
|
|
12
|
-
import { ColumnHeaderMenu as
|
|
13
|
-
import { EmptyPlaceholder as
|
|
12
|
+
import { ColumnHeaderMenu as De } from "./components/ColumnHeaderMenu.es.js";
|
|
13
|
+
import { EmptyPlaceholder as Ee } from "../../components/EmptyPlaceholder/EmptyPlaceholder.es.js";
|
|
14
14
|
import "../../components/EmptyPlaceholder/EmptyPlaceholderFlex.styled.es.js";
|
|
15
|
-
import { useCellEditing as
|
|
16
|
-
import { useSelectionCellsContext as ut, ROW_SELECTION_COLUMN_ID as
|
|
17
|
-
import { ClipboardProvider as
|
|
18
|
-
import { useSelectedRowsContext as
|
|
19
|
-
import { useColumnSettingsContext as
|
|
20
|
-
import
|
|
21
|
-
import
|
|
22
|
-
import
|
|
23
|
-
import
|
|
24
|
-
import
|
|
25
|
-
import
|
|
26
|
-
import {
|
|
15
|
+
import { useCellEditing as kt } from "./context/CellEditingContext.es.js";
|
|
16
|
+
import { useSelectionCellsContext as ut, ROW_SELECTION_COLUMN_ID as H } from "./context/SelectionCellsContext.es.js";
|
|
17
|
+
import { ClipboardProvider as Le } from "./context/ClipboardContext.es.js";
|
|
18
|
+
import { useSelectedRowsContext as Ne } from "./context/SelectedRowsContext.es.js";
|
|
19
|
+
import { useColumnSettingsContext as Oe } from "./context/ColumnSettingsContext.es.js";
|
|
20
|
+
import { useMenuContext as He } from "../../context/MenuContext.es.js";
|
|
21
|
+
import ke from "./hooks/useCustomColumnWidthVars.es.js";
|
|
22
|
+
import { usePrefetchFolderTasks as Ae } from "./hooks/usePrefetchFolderTasks.es.js";
|
|
23
|
+
import Ve from "./hooks/useCellContextMenu.es.js";
|
|
24
|
+
import Fe from "./hooks/useColumnVirtualization.es.js";
|
|
25
|
+
import Be from "./hooks/useKeyboardNavigation.es.js";
|
|
26
|
+
import { EntityPickerDialog as $e } from "../EntityPickerDialog/EntityPickerDialog.es.js";
|
|
27
|
+
import { useMoveEntities as _e } from "./hooks/useMoveEntities.es.js";
|
|
27
28
|
import "../ContextMenu/ContextMenuContext.es.js";
|
|
28
|
-
import { Icon as
|
|
29
|
+
import { Icon as At } from "@ynput/ayon-react-components";
|
|
29
30
|
/* empty css */
|
|
30
|
-
import { createPortal as
|
|
31
|
+
import { createPortal as Vt } from "react-dom";
|
|
31
32
|
import "../Feed/context/FeedContext.es.js";
|
|
32
33
|
import "../Feed/components/Tooltips/UserTooltip/UserTooltip.styled.es.js";
|
|
33
34
|
import "../Feed/components/Tooltips/EntityTooltip/EntityTooltip.styled.es.js";
|
|
34
35
|
import "lodash";
|
|
35
|
-
import { toast as
|
|
36
|
+
import { toast as Ge } from "react-toastify";
|
|
36
37
|
import "uuid";
|
|
37
38
|
import "../../util/pubsub.es.js";
|
|
38
39
|
import "../Feed/components/FileUploadPreview/FileUploadPreview.styled.es.js";
|
|
@@ -70,13 +71,13 @@ import "../Feed/components/ActivityVersions/ActivityVersions.styled.es.js";
|
|
|
70
71
|
import "../Feed/components/ActivityGroup/ActivityGroup.styled.es.js";
|
|
71
72
|
import "../Feed/Feed.styled.es.js";
|
|
72
73
|
import "date-fns";
|
|
73
|
-
import { generateDummyAttributes as
|
|
74
|
-
import { getTableFieldOptions as
|
|
75
|
-
import { getReadOnlyLists as
|
|
76
|
-
import { getCellId as gt, parseCellId as
|
|
77
|
-
import { getEntityViewierIds as
|
|
74
|
+
import { generateDummyAttributes as Ke, generateLoadingRows as Ue } from "./utils/loadingUtils.es.js";
|
|
75
|
+
import { getTableFieldOptions as We } from "./utils/getTableFieldOptions.es.js";
|
|
76
|
+
import { getReadOnlyLists as qe } from "./utils/getReadOnlyLists.es.js";
|
|
77
|
+
import { getCellId as gt, parseCellId as Xe } from "./utils/cellUtils.es.js";
|
|
78
|
+
import { getEntityViewierIds as Ye } from "./utils/getEntityViewerIds.es.js";
|
|
78
79
|
import "./context/ProjectTableQueriesContext.es.js";
|
|
79
|
-
import { useProjectTableContext as
|
|
80
|
+
import { useProjectTableContext as Ft } from "./context/ProjectTableContext.es.js";
|
|
80
81
|
import "./context/DetailsPanelEntityContext.es.js";
|
|
81
82
|
import "../../api/base/client.es.js";
|
|
82
83
|
import "../../api/generated/graphql.es.js";
|
|
@@ -161,20 +162,20 @@ import "../../../../_virtual/semver.es.js";
|
|
|
161
162
|
import "react-redux";
|
|
162
163
|
import "custom-protocol-check";
|
|
163
164
|
import "./components/GroupSettingsFallback.es.js";
|
|
164
|
-
import { useProjectDataContext as
|
|
165
|
+
import { useProjectDataContext as Je } from "./context/ProjectDataContext.es.js";
|
|
165
166
|
import "./widgets/CollapsedWidget.es.js";
|
|
166
167
|
import "./widgets/DateWidget.es.js";
|
|
167
168
|
import "./widgets/EnumWidget.es.js";
|
|
168
169
|
import "./widgets/TextWidget.es.js";
|
|
169
170
|
import "./widgets/BooleanWidget.es.js";
|
|
170
|
-
import { EDIT_TRIGGER_CLASS as
|
|
171
|
+
import { EDIT_TRIGGER_CLASS as Qe } from "./widgets/CellWidget.es.js";
|
|
171
172
|
import "./widgets/EntityNameWidget.es.js";
|
|
172
173
|
import "./widgets/GroupHeaderWidget.es.js";
|
|
173
174
|
import "./widgets/ThumbnailWidget.es.js";
|
|
174
175
|
import "../../components/ThumbnailSimple/ThumbnailSimple.es.js";
|
|
175
|
-
import { DragOverlay as
|
|
176
|
-
import { SortableContext as
|
|
177
|
-
import { CSS as
|
|
176
|
+
import { DragOverlay as Ze } from "@dnd-kit/core";
|
|
177
|
+
import { SortableContext as to, verticalListSortingStrategy as eo, useSortable as oo } from "@dnd-kit/sortable";
|
|
178
|
+
import { CSS as io } from "../../../../node_modules/@dnd-kit/utilities/dist/utilities.esm.es.js";
|
|
178
179
|
import "../../components/ReviewablesList/ReviewablesList.styled.es.js";
|
|
179
180
|
import "../../components/ReviewablesList/ReviewablesUpload.styled.es.js";
|
|
180
181
|
import "axios";
|
|
@@ -194,6 +195,7 @@ import "../../components/Powerpack/PowerpackButton.es.js";
|
|
|
194
195
|
import "../../components/Powerpack/PricingLink.es.js";
|
|
195
196
|
import "../../components/Powerpack/PowerpackDialog.styled.es.js";
|
|
196
197
|
import "../../components/Powerpack/CTAButton.es.js";
|
|
198
|
+
import "../../components/Powerpack/RequiredPowerpackVersion.es.js";
|
|
197
199
|
import "../../components/SettingsPanel/SettingsPanel.es.js";
|
|
198
200
|
import "../../components/SettingsPanel/SettingsPanelItemTemplate.es.js";
|
|
199
201
|
import "../../components/AttributeEditor/components/MinMaxField.es.js";
|
|
@@ -206,6 +208,8 @@ import "../../components/Feedback/FeedbackContext.es.js";
|
|
|
206
208
|
import "../../components/Feedback/SupportBubble.es.js";
|
|
207
209
|
import "../../components/Chips/Chips.es.js";
|
|
208
210
|
import "../../components/LinksManager/LinksManager.styled.es.js";
|
|
211
|
+
import "../../components/DetailsMetaData/DetailsMetaData.es.js";
|
|
212
|
+
import "../../components/AccessUser/AccessUser.es.js";
|
|
209
213
|
import "../../components/LinksManager/LinksManagerDialog.es.js";
|
|
210
214
|
import "../DetailsPanel/DetailsPanel.styled.es.js";
|
|
211
215
|
import "../DetailsPanel/FeedFilters/FeedFilters.styled.es.js";
|
|
@@ -221,8 +225,8 @@ import "../Views/context/ViewsContext.es.js";
|
|
|
221
225
|
import "../Views/Views.styled.es.js";
|
|
222
226
|
import "../Views/ViewsMenuContainer/ViewsMenuContainer.es.js";
|
|
223
227
|
import "../Views/ViewsMenu/ViewsMenu.es.js";
|
|
224
|
-
const
|
|
225
|
-
const a = t.getIsPinned(), n = t.id !==
|
|
228
|
+
const tt = (t) => {
|
|
229
|
+
const a = t.getIsPinned(), n = t.id !== H && t.id !== $ ? -30 : 0;
|
|
226
230
|
return {
|
|
227
231
|
left: a === "left" ? `${t.getStart("left") + n}px` : void 0,
|
|
228
232
|
// Removed offset
|
|
@@ -231,98 +235,98 @@ const et = (t) => {
|
|
|
231
235
|
width: t.getSize(),
|
|
232
236
|
zIndex: a ? 100 : 0
|
|
233
237
|
};
|
|
234
|
-
},
|
|
238
|
+
}, et = (t, a) => `calc(var(--col-${a}-size) * 1px)`, $ = "drag-handle", Rs = ({
|
|
235
239
|
scope: t,
|
|
236
240
|
sliceId: a,
|
|
237
241
|
onScroll: n,
|
|
238
242
|
onScrollBottom: c,
|
|
239
243
|
// when the user scrolls to the bottom of the table, this callback is called
|
|
240
|
-
onOpenNew:
|
|
244
|
+
onOpenNew: y,
|
|
241
245
|
readOnly: g,
|
|
242
|
-
excludedColumns:
|
|
243
|
-
extraColumns:
|
|
244
|
-
isLoading:
|
|
246
|
+
excludedColumns: x,
|
|
247
|
+
extraColumns: S,
|
|
248
|
+
isLoading: R,
|
|
245
249
|
clientSorting: i = !1,
|
|
246
|
-
sortableRows:
|
|
250
|
+
sortableRows: p = !1,
|
|
247
251
|
onRowReorder: s,
|
|
248
|
-
dndActiveId:
|
|
252
|
+
dndActiveId: j,
|
|
249
253
|
// Destructure new prop
|
|
250
|
-
pt:
|
|
251
|
-
...
|
|
254
|
+
pt: f,
|
|
255
|
+
...T
|
|
252
256
|
}) => {
|
|
253
|
-
var
|
|
257
|
+
var Lt;
|
|
254
258
|
const {
|
|
255
|
-
columnVisibility:
|
|
259
|
+
columnVisibility: E,
|
|
256
260
|
columnPinning: m,
|
|
257
|
-
columnOrder:
|
|
258
|
-
columnSizing:
|
|
259
|
-
setAllColumns:
|
|
261
|
+
columnOrder: I,
|
|
262
|
+
columnSizing: h,
|
|
263
|
+
setAllColumns: k,
|
|
260
264
|
sorting: A,
|
|
261
265
|
sortingOnChange: u,
|
|
262
|
-
columnPinningOnChange:
|
|
263
|
-
columnSizingOnChange:
|
|
264
|
-
columnVisibilityOnChange:
|
|
265
|
-
columnOrderOnChange:
|
|
266
|
-
groupBy:
|
|
267
|
-
} =
|
|
268
|
-
projectInfo:
|
|
269
|
-
tableData:
|
|
270
|
-
attribFields:
|
|
271
|
-
entitiesMap:
|
|
266
|
+
columnPinningOnChange: V,
|
|
267
|
+
columnSizingOnChange: P,
|
|
268
|
+
columnVisibilityOnChange: F,
|
|
269
|
+
columnOrderOnChange: L,
|
|
270
|
+
groupBy: N
|
|
271
|
+
} = Oe(), ot = !!N, {
|
|
272
|
+
projectInfo: b,
|
|
273
|
+
tableData: C,
|
|
274
|
+
attribFields: w,
|
|
275
|
+
entitiesMap: $t,
|
|
272
276
|
users: ft,
|
|
273
|
-
isLoading:
|
|
274
|
-
error:
|
|
277
|
+
isLoading: _t,
|
|
278
|
+
error: Gt,
|
|
275
279
|
isInitialized: it,
|
|
276
|
-
expanded:
|
|
277
|
-
projectName:
|
|
280
|
+
expanded: Kt,
|
|
281
|
+
projectName: K,
|
|
278
282
|
updateExpanded: ht,
|
|
279
|
-
toggleExpandAll:
|
|
280
|
-
showHierarchy:
|
|
281
|
-
fetchNextPage:
|
|
283
|
+
toggleExpandAll: Ut,
|
|
284
|
+
showHierarchy: O,
|
|
285
|
+
fetchNextPage: Wt,
|
|
282
286
|
scopes: Ct,
|
|
283
287
|
getEntityById: yt
|
|
284
|
-
} =
|
|
285
|
-
statuses:
|
|
286
|
-
folderTypes:
|
|
287
|
-
taskTypes:
|
|
288
|
-
tags:
|
|
289
|
-
linkTypes:
|
|
290
|
-
} =
|
|
291
|
-
() =>
|
|
288
|
+
} = Ft(), { projectName: qt, writableFields: xt } = Je(), U = R || _t, {
|
|
289
|
+
statuses: bt = [],
|
|
290
|
+
folderTypes: wt = [],
|
|
291
|
+
taskTypes: St = [],
|
|
292
|
+
tags: Rt = [],
|
|
293
|
+
linkTypes: Xt = []
|
|
294
|
+
} = b || {}, W = v(
|
|
295
|
+
() => We({
|
|
292
296
|
users: ft,
|
|
293
|
-
statuses:
|
|
294
|
-
folderTypes:
|
|
295
|
-
taskTypes:
|
|
296
|
-
tags:
|
|
297
|
+
statuses: bt,
|
|
298
|
+
folderTypes: wt,
|
|
299
|
+
taskTypes: St,
|
|
300
|
+
tags: Rt,
|
|
297
301
|
scopes: Ct
|
|
298
302
|
}),
|
|
299
|
-
[ft,
|
|
300
|
-
),
|
|
303
|
+
[ft, bt, wt, St, Ct, Rt]
|
|
304
|
+
), q = Nt(null), jt = Nt(0), { registerGrid: Tt } = ut(), { loadingAttrib: Mt, loadingRows: Yt } = v(() => {
|
|
301
305
|
var r;
|
|
302
|
-
const e = ((r =
|
|
303
|
-
|
|
304
|
-
|
|
306
|
+
const e = ((r = q.current) == null ? void 0 : r.querySelectorAll("tbody tr").length) || 0, d = Ke(), l = Ue(
|
|
307
|
+
w,
|
|
308
|
+
O && C.length > 0 ? Math.min(e, 50) : N ? Math.max(jt.current, 50) : 50
|
|
305
309
|
);
|
|
306
310
|
return { loadingAttrib: d, loadingRows: l };
|
|
307
|
-
}, []),
|
|
308
|
-
() =>
|
|
309
|
-
[
|
|
310
|
-
), { selectedCells: nt } = ut(), { updateEntities: It } =
|
|
311
|
+
}, []), Jt = !it || U, { readOnlyColumns: zt, readOnlyAttribs: Qt } = v(
|
|
312
|
+
() => qe(w, xt, g),
|
|
313
|
+
[w, xt, g]
|
|
314
|
+
), { selectedCells: nt } = ut(), { updateEntities: It } = kt(), Zt = Z(
|
|
311
315
|
async (e, d) => {
|
|
312
316
|
const { selection: l = [] } = d || {}, r = [];
|
|
313
317
|
if (!(l != null && l.length))
|
|
314
318
|
r.push({ ...e, id: e.rowId });
|
|
315
319
|
else {
|
|
316
|
-
const { field:
|
|
317
|
-
for (const
|
|
318
|
-
const { colId: B, rowId:
|
|
320
|
+
const { field: z, value: lt, isAttrib: mt, type: at } = e;
|
|
321
|
+
for (const J of nt) {
|
|
322
|
+
const { colId: B, rowId: Q } = Xe(J) || {}, dt = yt(Q || "");
|
|
319
323
|
if (!dt) {
|
|
320
|
-
console.warn(`Entity with ID ${
|
|
324
|
+
console.warn(`Entity with ID ${Q} not found for cell update.`);
|
|
321
325
|
continue;
|
|
322
326
|
}
|
|
323
|
-
(!(B != null && B.includes("attrib_")) || (B == null ? void 0 : B.replace("attrib_", "")) ===
|
|
324
|
-
field:
|
|
325
|
-
rowId:
|
|
327
|
+
(!(B != null && B.includes("attrib_")) || (B == null ? void 0 : B.replace("attrib_", "")) === z) && Q && r.push({
|
|
328
|
+
field: z,
|
|
329
|
+
rowId: Q,
|
|
326
330
|
id: dt.entityId,
|
|
327
331
|
value: lt,
|
|
328
332
|
isAttrib: mt,
|
|
@@ -331,28 +335,28 @@ const et = (t) => {
|
|
|
331
335
|
}
|
|
332
336
|
}
|
|
333
337
|
if (!r.length) {
|
|
334
|
-
console.warn("No entities to update, skipping updateEntities call."),
|
|
338
|
+
console.warn("No entities to update, skipping updateEntities call."), Ge.warn("No entities to update.");
|
|
335
339
|
return;
|
|
336
340
|
}
|
|
337
341
|
await It(r, !0);
|
|
338
342
|
},
|
|
339
343
|
[It, yt, nt]
|
|
340
|
-
),
|
|
341
|
-
() => it ?
|
|
342
|
-
[
|
|
343
|
-
), rt =
|
|
344
|
-
const e =
|
|
345
|
-
attribs:
|
|
346
|
-
links:
|
|
347
|
-
showHierarchy:
|
|
348
|
-
options:
|
|
349
|
-
extraColumns:
|
|
350
|
-
excluded:
|
|
351
|
-
groupBy:
|
|
344
|
+
), Pt = v(
|
|
345
|
+
() => it ? w : Mt,
|
|
346
|
+
[w, Mt, it]
|
|
347
|
+
), rt = v(() => {
|
|
348
|
+
const e = be({
|
|
349
|
+
attribs: Pt,
|
|
350
|
+
links: Xt,
|
|
351
|
+
showHierarchy: O,
|
|
352
|
+
options: W,
|
|
353
|
+
extraColumns: S,
|
|
354
|
+
excluded: x,
|
|
355
|
+
groupBy: N
|
|
352
356
|
});
|
|
353
|
-
return
|
|
357
|
+
return p ? [
|
|
354
358
|
{
|
|
355
|
-
id:
|
|
359
|
+
id: $,
|
|
356
360
|
header: () => null,
|
|
357
361
|
cell: () => null,
|
|
358
362
|
// Content rendered by TableBodyRow
|
|
@@ -367,13 +371,13 @@ const et = (t) => {
|
|
|
367
371
|
},
|
|
368
372
|
...e
|
|
369
373
|
] : e;
|
|
370
|
-
}, [
|
|
374
|
+
}, [Pt, O, W, S, x, p]);
|
|
371
375
|
pt(() => {
|
|
372
376
|
const e = rt.map((d) => d.id).filter(Boolean);
|
|
373
|
-
|
|
374
|
-
}, [rt,
|
|
375
|
-
const
|
|
376
|
-
data:
|
|
377
|
+
k(e);
|
|
378
|
+
}, [rt, k]);
|
|
379
|
+
const M = ge({
|
|
380
|
+
data: Jt ? Yt : C,
|
|
377
381
|
columns: rt,
|
|
378
382
|
defaultColumn: {
|
|
379
383
|
minSize: 50,
|
|
@@ -386,115 +390,122 @@ const et = (t) => {
|
|
|
386
390
|
//disable sub row selection
|
|
387
391
|
getSubRows: (e) => e.subRows,
|
|
388
392
|
getRowCanExpand: () => !0,
|
|
389
|
-
getCoreRowModel:
|
|
390
|
-
getFilteredRowModel:
|
|
391
|
-
getExpandedRowModel:
|
|
393
|
+
getCoreRowModel: xe(),
|
|
394
|
+
getFilteredRowModel: ye(),
|
|
395
|
+
getExpandedRowModel: Ce(),
|
|
392
396
|
filterFromLeafRows: !0,
|
|
393
397
|
// EXPANDABLE
|
|
394
398
|
onExpandedChange: ht,
|
|
395
399
|
// SORTING
|
|
396
|
-
getSortedRowModel: i ?
|
|
400
|
+
getSortedRowModel: i ? he() : void 0,
|
|
397
401
|
onSortingChange: u,
|
|
398
402
|
columnResizeMode: "onChange",
|
|
399
|
-
onColumnPinningChange:
|
|
400
|
-
onColumnSizingChange:
|
|
401
|
-
onColumnVisibilityChange:
|
|
402
|
-
onColumnOrderChange:
|
|
403
|
+
onColumnPinningChange: V,
|
|
404
|
+
onColumnSizingChange: P,
|
|
405
|
+
onColumnVisibilityChange: F,
|
|
406
|
+
onColumnOrderChange: L,
|
|
403
407
|
// @ts-ignore
|
|
404
|
-
filterFns:
|
|
408
|
+
filterFns: fe,
|
|
405
409
|
state: {
|
|
406
|
-
expanded:
|
|
410
|
+
expanded: Kt,
|
|
407
411
|
sorting: A,
|
|
408
412
|
columnPinning: (() => {
|
|
409
413
|
const e = [];
|
|
410
|
-
|
|
414
|
+
p && e.push($), e.push(H);
|
|
411
415
|
const d = (m.left || []).filter(
|
|
412
|
-
(r) => r !==
|
|
416
|
+
(r) => r !== $ && r !== H
|
|
413
417
|
);
|
|
414
418
|
return e.push(...d), {
|
|
415
419
|
left: [...new Set(e)],
|
|
416
420
|
right: m.right
|
|
417
421
|
};
|
|
418
422
|
})(),
|
|
419
|
-
columnSizing:
|
|
420
|
-
columnVisibility:
|
|
421
|
-
columnOrder:
|
|
423
|
+
columnSizing: h,
|
|
424
|
+
columnVisibility: E,
|
|
425
|
+
columnOrder: I
|
|
422
426
|
},
|
|
423
427
|
enableSorting: !0,
|
|
424
428
|
meta: {
|
|
425
|
-
projectName:
|
|
426
|
-
options:
|
|
427
|
-
readOnly:
|
|
428
|
-
updateEntities:
|
|
429
|
-
toggleExpandAll:
|
|
430
|
-
loadMoreTasks:
|
|
429
|
+
projectName: K,
|
|
430
|
+
options: W,
|
|
431
|
+
readOnly: zt,
|
|
432
|
+
updateEntities: Zt,
|
|
433
|
+
toggleExpandAll: Ut,
|
|
434
|
+
loadMoreTasks: Wt,
|
|
431
435
|
selection: Array.from(nt)
|
|
432
436
|
}
|
|
433
|
-
}), { rows:
|
|
437
|
+
}), { rows: _ } = M.getRowModel();
|
|
434
438
|
pt(() => {
|
|
435
|
-
|
|
436
|
-
}, [
|
|
437
|
-
if (!
|
|
438
|
-
const e =
|
|
439
|
-
var at,
|
|
440
|
-
if (
|
|
441
|
-
const lt = (at = m.left) != null && at.includes(r) ? 0 : 1, mt = (
|
|
439
|
+
jt.current = _.length;
|
|
440
|
+
}, [_.length]), pt(() => {
|
|
441
|
+
if (!_.length) return;
|
|
442
|
+
const e = _.map((r) => r.id), l = [...M.getAllLeafColumns().map((r) => r.id)].sort((r, z) => {
|
|
443
|
+
var at, J;
|
|
444
|
+
if (H === z) return 1;
|
|
445
|
+
const lt = (at = m.left) != null && at.includes(r) ? 0 : 1, mt = (J = m.left) != null && J.includes(z) ? 0 : 1;
|
|
442
446
|
return lt - mt;
|
|
443
447
|
});
|
|
444
|
-
|
|
445
|
-
}, [
|
|
446
|
-
const
|
|
447
|
-
visibleColumns:
|
|
448
|
-
tableContainerRef:
|
|
448
|
+
Tt(e, l);
|
|
449
|
+
}, [_, M.getAllLeafColumns(), m, H, Tt]);
|
|
450
|
+
const vt = M.getVisibleLeafColumns(), { columnVirtualizer: st, virtualPaddingLeft: X, virtualPaddingRight: Y } = Fe({
|
|
451
|
+
visibleColumns: vt,
|
|
452
|
+
tableContainerRef: q,
|
|
449
453
|
columnPinning: m,
|
|
450
|
-
columnSizing:
|
|
451
|
-
columnOrder:
|
|
452
|
-
}),
|
|
453
|
-
var l, r,
|
|
454
|
-
return (r = (l = d.data) == null ? void 0 : l.enum) != null && r.length && (e[d.name] = (
|
|
455
|
-
}, {}), [
|
|
454
|
+
columnSizing: h,
|
|
455
|
+
columnOrder: I
|
|
456
|
+
}), Dt = ke(M, h), te = v(() => w.reduce((e, d) => {
|
|
457
|
+
var l, r, z;
|
|
458
|
+
return (r = (l = d.data) == null ? void 0 : l.enum) != null && r.length && (e[d.name] = (z = d.data) == null ? void 0 : z.enum), e;
|
|
459
|
+
}, {}), [w]), ee = v(() => C.map((e) => e.id), [C]), oe = v(() => !j || !p ? null : C.find((e) => e.id === j), [j, C, p]), ie = Z(
|
|
456
460
|
(e) => {
|
|
457
461
|
if (n == null || n(e), c) {
|
|
458
462
|
const d = e.currentTarget;
|
|
459
|
-
if (d && !
|
|
460
|
-
const { scrollHeight: l, scrollTop: r, clientHeight:
|
|
461
|
-
l - r -
|
|
463
|
+
if (d && !O && !N) {
|
|
464
|
+
const { scrollHeight: l, scrollTop: r, clientHeight: z } = d;
|
|
465
|
+
l - r - z < 500 && !U && c(e);
|
|
462
466
|
}
|
|
463
467
|
}
|
|
464
468
|
},
|
|
465
|
-
[n, c,
|
|
466
|
-
), {
|
|
467
|
-
isEntityPickerOpen:
|
|
468
|
-
handleMoveSubmit:
|
|
469
|
-
closeMoveDialog:
|
|
470
|
-
movingEntities:
|
|
471
|
-
handleMoveToRoot:
|
|
472
|
-
getDisabledFolderIds:
|
|
473
|
-
getDisabledMessage:
|
|
474
|
-
} =
|
|
475
|
-
projectName:
|
|
476
|
-
}),
|
|
477
|
-
|
|
469
|
+
[n, c, O, N, U]
|
|
470
|
+
), {
|
|
471
|
+
isEntityPickerOpen: ne,
|
|
472
|
+
handleMoveSubmit: re,
|
|
473
|
+
closeMoveDialog: se,
|
|
474
|
+
movingEntities: G,
|
|
475
|
+
handleMoveToRoot: le,
|
|
476
|
+
getDisabledFolderIds: me,
|
|
477
|
+
getDisabledMessage: ae
|
|
478
|
+
} = _e({
|
|
479
|
+
projectName: qt || K || ""
|
|
480
|
+
}), de = (e) => {
|
|
481
|
+
re(e);
|
|
478
482
|
const d = e[0];
|
|
479
483
|
ht((l) => typeof l == "boolean" ? l || { [d]: !0 } : l[d] ? l : {
|
|
480
484
|
...l,
|
|
481
485
|
[d]: !0
|
|
482
486
|
});
|
|
483
|
-
},
|
|
484
|
-
|
|
487
|
+
}, Et = /* @__PURE__ */ o.jsxs(
|
|
488
|
+
Le,
|
|
485
489
|
{
|
|
486
|
-
entitiesMap:
|
|
487
|
-
columnEnums: { ...
|
|
488
|
-
columnReadOnly:
|
|
490
|
+
entitiesMap: $t,
|
|
491
|
+
columnEnums: { ...W, ...te },
|
|
492
|
+
columnReadOnly: Qt,
|
|
493
|
+
visibleColumns: vt,
|
|
489
494
|
children: [
|
|
490
|
-
/* @__PURE__ */ o.jsx(
|
|
491
|
-
|
|
495
|
+
/* @__PURE__ */ o.jsx(we, { ...T, children: /* @__PURE__ */ o.jsx(
|
|
496
|
+
Se,
|
|
492
497
|
{
|
|
493
|
-
ref:
|
|
498
|
+
ref: q,
|
|
494
499
|
style: { height: "100%", padding: 0 },
|
|
495
|
-
onScroll:
|
|
496
|
-
...
|
|
497
|
-
className:
|
|
500
|
+
onScroll: ie,
|
|
501
|
+
...f == null ? void 0 : f.container,
|
|
502
|
+
className: D(
|
|
503
|
+
"table-container",
|
|
504
|
+
{
|
|
505
|
+
resizing: M.getState().columnSizingInfo.isResizingColumn
|
|
506
|
+
},
|
|
507
|
+
(Lt = f == null ? void 0 : f.container) == null ? void 0 : Lt.className
|
|
508
|
+
),
|
|
498
509
|
children: /* @__PURE__ */ o.jsxs(
|
|
499
510
|
"table",
|
|
500
511
|
{
|
|
@@ -502,39 +513,39 @@ const et = (t) => {
|
|
|
502
513
|
display: "grid",
|
|
503
514
|
borderCollapse: "collapse",
|
|
504
515
|
userSelect: "none",
|
|
505
|
-
...
|
|
506
|
-
width:
|
|
507
|
-
cursor:
|
|
516
|
+
...Dt,
|
|
517
|
+
width: M.getTotalSize(),
|
|
518
|
+
cursor: M.getState().columnSizingInfo.isResizingColumn ? "col-resize" : void 0
|
|
508
519
|
},
|
|
509
520
|
children: [
|
|
510
521
|
/* @__PURE__ */ o.jsx(
|
|
511
|
-
|
|
522
|
+
no,
|
|
512
523
|
{
|
|
513
524
|
columnVirtualizer: st,
|
|
514
|
-
table:
|
|
515
|
-
virtualPaddingLeft:
|
|
516
|
-
virtualPaddingRight:
|
|
517
|
-
isLoading:
|
|
518
|
-
readOnlyColumns:
|
|
519
|
-
sortableRows:
|
|
520
|
-
...
|
|
525
|
+
table: M,
|
|
526
|
+
virtualPaddingLeft: X,
|
|
527
|
+
virtualPaddingRight: Y,
|
|
528
|
+
isLoading: U,
|
|
529
|
+
readOnlyColumns: zt,
|
|
530
|
+
sortableRows: p,
|
|
531
|
+
...f == null ? void 0 : f.head
|
|
521
532
|
}
|
|
522
533
|
),
|
|
523
534
|
/* @__PURE__ */ o.jsx(
|
|
524
|
-
|
|
535
|
+
lo,
|
|
525
536
|
{
|
|
526
537
|
columnVirtualizer: st,
|
|
527
|
-
table:
|
|
528
|
-
tableContainerRef:
|
|
529
|
-
virtualPaddingLeft:
|
|
530
|
-
virtualPaddingRight:
|
|
531
|
-
showHierarchy:
|
|
532
|
-
attribs:
|
|
533
|
-
onOpenNew:
|
|
534
|
-
rowOrderIds:
|
|
535
|
-
sortableRows:
|
|
536
|
-
error:
|
|
537
|
-
isGrouping:
|
|
538
|
+
table: M,
|
|
539
|
+
tableContainerRef: q,
|
|
540
|
+
virtualPaddingLeft: X,
|
|
541
|
+
virtualPaddingRight: Y,
|
|
542
|
+
showHierarchy: O,
|
|
543
|
+
attribs: w,
|
|
544
|
+
onOpenNew: y,
|
|
545
|
+
rowOrderIds: ee,
|
|
546
|
+
sortableRows: p,
|
|
547
|
+
error: Gt,
|
|
548
|
+
isGrouping: ot
|
|
538
549
|
}
|
|
539
550
|
)
|
|
540
551
|
]
|
|
@@ -542,28 +553,28 @@ const et = (t) => {
|
|
|
542
553
|
)
|
|
543
554
|
}
|
|
544
555
|
) }),
|
|
545
|
-
|
|
546
|
-
|
|
556
|
+
ne && K && (G == null ? void 0 : G.entities) && G.entities.length > 0 && /* @__PURE__ */ o.jsx(
|
|
557
|
+
$e,
|
|
547
558
|
{
|
|
548
|
-
projectName:
|
|
559
|
+
projectName: K,
|
|
549
560
|
entityType: "folder",
|
|
550
|
-
onSubmit:
|
|
551
|
-
onClose:
|
|
552
|
-
showMoveToRoot:
|
|
561
|
+
onSubmit: de,
|
|
562
|
+
onClose: se,
|
|
563
|
+
showMoveToRoot: G.entities.every(
|
|
553
564
|
(e) => e.entityType === "folder"
|
|
554
565
|
),
|
|
555
|
-
onMoveToRoot:
|
|
556
|
-
disabledIds:
|
|
557
|
-
getDisabledMessage:
|
|
566
|
+
onMoveToRoot: le,
|
|
567
|
+
disabledIds: me(),
|
|
568
|
+
getDisabledMessage: ae
|
|
558
569
|
}
|
|
559
570
|
)
|
|
560
571
|
]
|
|
561
572
|
}
|
|
562
|
-
),
|
|
563
|
-
/* @__PURE__ */ o.jsx(
|
|
564
|
-
const e =
|
|
573
|
+
), pe = p && j && Vt(
|
|
574
|
+
/* @__PURE__ */ o.jsx(Ze, { dropAnimation: null, children: oe ? (() => {
|
|
575
|
+
const e = M.getRowModel().rows.find((l) => l.id === j);
|
|
565
576
|
if (!e) return null;
|
|
566
|
-
const d =
|
|
577
|
+
const d = M.getTotalSize();
|
|
567
578
|
return /* @__PURE__ */ o.jsx(
|
|
568
579
|
"table",
|
|
569
580
|
{
|
|
@@ -572,103 +583,103 @@ const et = (t) => {
|
|
|
572
583
|
borderCollapse: "collapse",
|
|
573
584
|
backgroundColor: "var(--md-sys-color-surface-container-high)",
|
|
574
585
|
boxShadow: "0 0 10px rgba(0,0,0,0.2)",
|
|
575
|
-
...
|
|
586
|
+
...Dt
|
|
576
587
|
},
|
|
577
588
|
children: /* @__PURE__ */ o.jsx("tbody", { children: /* @__PURE__ */ o.jsxs(Ht, { style: { display: "flex", userSelect: "none" }, children: [
|
|
578
|
-
|
|
589
|
+
X ? /* @__PURE__ */ o.jsx("td", { style: { display: "flex", width: X } }) : null,
|
|
579
590
|
st.getVirtualItems().map((l) => {
|
|
580
591
|
const r = e.getVisibleCells()[l.index];
|
|
581
592
|
if (!r) return null;
|
|
582
|
-
const
|
|
583
|
-
...
|
|
584
|
-
width:
|
|
593
|
+
const z = {
|
|
594
|
+
...tt(r.column),
|
|
595
|
+
width: et(e.id, r.column.id),
|
|
585
596
|
display: "flex",
|
|
586
597
|
alignItems: "center",
|
|
587
598
|
height: 40
|
|
588
599
|
};
|
|
589
|
-
return r.column.id ===
|
|
600
|
+
return r.column.id === $ ? /* @__PURE__ */ o.jsxs(
|
|
590
601
|
ct,
|
|
591
602
|
{
|
|
592
|
-
style: { ...
|
|
593
|
-
className:
|
|
603
|
+
style: { ...z, justifyContent: "center" },
|
|
604
|
+
className: D(r.column.id),
|
|
594
605
|
children: [
|
|
595
|
-
/* @__PURE__ */ o.jsx(
|
|
606
|
+
/* @__PURE__ */ o.jsx(At, { icon: "drag_handle" }),
|
|
596
607
|
" "
|
|
597
608
|
]
|
|
598
609
|
},
|
|
599
610
|
`overlay-drag-${r.id}`
|
|
600
611
|
) : /* @__PURE__ */ o.jsx(
|
|
601
|
-
|
|
612
|
+
Bt,
|
|
602
613
|
{
|
|
603
614
|
cell: r,
|
|
604
615
|
cellId: `overlay-${gt(e.id, r.column.id)}`,
|
|
605
616
|
rowId: e.id,
|
|
606
|
-
showHierarchy:
|
|
617
|
+
showHierarchy: O
|
|
607
618
|
},
|
|
608
619
|
`overlay-cell-${r.id}`
|
|
609
620
|
);
|
|
610
621
|
}),
|
|
611
|
-
|
|
622
|
+
Y ? /* @__PURE__ */ o.jsx("td", { style: { display: "flex", width: Y } }) : null
|
|
612
623
|
] }) })
|
|
613
624
|
}
|
|
614
625
|
);
|
|
615
626
|
})() : null }),
|
|
616
627
|
document.body
|
|
617
628
|
);
|
|
618
|
-
return
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
] }) :
|
|
622
|
-
},
|
|
629
|
+
return p ? /* @__PURE__ */ o.jsxs(o.Fragment, { children: [
|
|
630
|
+
Et,
|
|
631
|
+
pe
|
|
632
|
+
] }) : Et;
|
|
633
|
+
}, no = ({
|
|
623
634
|
columnVirtualizer: t,
|
|
624
635
|
table: a,
|
|
625
636
|
virtualPaddingLeft: n,
|
|
626
637
|
virtualPaddingRight: c,
|
|
627
|
-
isLoading:
|
|
638
|
+
isLoading: y,
|
|
628
639
|
readOnlyColumns: g,
|
|
629
|
-
sortableRows:
|
|
630
|
-
...
|
|
631
|
-
}) => /* @__PURE__ */ o.jsx(
|
|
632
|
-
|
|
640
|
+
sortableRows: x,
|
|
641
|
+
...S
|
|
642
|
+
}) => /* @__PURE__ */ o.jsx(Re, { ...S, children: a.getHeaderGroups().map((R) => /* @__PURE__ */ o.jsx(
|
|
643
|
+
ro,
|
|
633
644
|
{
|
|
634
645
|
columnVirtualizer: t,
|
|
635
|
-
headerGroup:
|
|
646
|
+
headerGroup: R,
|
|
636
647
|
virtualPaddingLeft: n,
|
|
637
648
|
virtualPaddingRight: c,
|
|
638
|
-
isLoading:
|
|
649
|
+
isLoading: y,
|
|
639
650
|
readOnlyColumns: g,
|
|
640
|
-
sortableRows:
|
|
651
|
+
sortableRows: x
|
|
641
652
|
},
|
|
642
|
-
|
|
643
|
-
)) }),
|
|
653
|
+
R.id
|
|
654
|
+
)) }), ro = ({
|
|
644
655
|
columnVirtualizer: t,
|
|
645
656
|
headerGroup: a,
|
|
646
657
|
virtualPaddingLeft: n,
|
|
647
658
|
virtualPaddingRight: c,
|
|
648
|
-
isLoading:
|
|
659
|
+
isLoading: y,
|
|
649
660
|
readOnlyColumns: g,
|
|
650
|
-
sortableRows:
|
|
661
|
+
sortableRows: x
|
|
651
662
|
}) => {
|
|
652
|
-
const
|
|
653
|
-
return /* @__PURE__ */ o.jsxs(
|
|
663
|
+
const S = t.getVirtualItems();
|
|
664
|
+
return /* @__PURE__ */ o.jsxs(je, { style: { display: "flex" }, children: [
|
|
654
665
|
n ? (
|
|
655
666
|
//fake empty column to the left for virtualization scroll padding
|
|
656
667
|
/* @__PURE__ */ o.jsx("th", { style: { display: "flex", width: n } })
|
|
657
668
|
) : null,
|
|
658
|
-
|
|
659
|
-
const i = a.headers[
|
|
669
|
+
S.map((R) => {
|
|
670
|
+
const i = a.headers[R.index];
|
|
660
671
|
return /* @__PURE__ */ o.jsx(
|
|
661
|
-
|
|
672
|
+
so,
|
|
662
673
|
{
|
|
663
674
|
header: i,
|
|
664
|
-
isLoading:
|
|
675
|
+
isLoading: y,
|
|
665
676
|
isReadOnly: g == null ? void 0 : g.includes(i.id),
|
|
666
677
|
canSort: i.column.getCanSort(),
|
|
667
678
|
canFilter: i.column.getCanFilter(),
|
|
668
679
|
canHide: i.column.getCanHide(),
|
|
669
680
|
canPin: i.column.getCanPin(),
|
|
670
681
|
canResize: i.column.getCanResize(),
|
|
671
|
-
sortableRows:
|
|
682
|
+
sortableRows: x
|
|
672
683
|
},
|
|
673
684
|
i.id
|
|
674
685
|
);
|
|
@@ -678,63 +689,67 @@ const et = (t) => {
|
|
|
678
689
|
/* @__PURE__ */ o.jsx("th", { style: { display: "flex", width: c } })
|
|
679
690
|
) : null
|
|
680
691
|
] }, a.id);
|
|
681
|
-
},
|
|
692
|
+
}, so = ({
|
|
682
693
|
header: t,
|
|
683
694
|
isLoading: a,
|
|
684
695
|
canFilter: n,
|
|
685
696
|
canHide: c,
|
|
686
|
-
canSort:
|
|
697
|
+
canSort: y,
|
|
687
698
|
canPin: g,
|
|
688
|
-
canResize:
|
|
689
|
-
isReadOnly:
|
|
690
|
-
sortableRows:
|
|
699
|
+
canResize: x,
|
|
700
|
+
isReadOnly: S,
|
|
701
|
+
sortableRows: R
|
|
691
702
|
}) => {
|
|
692
|
-
const { column: i } = t;
|
|
703
|
+
const { column: i } = t, p = i.getIsSorted(), s = `column-header-menu-${i.id}`, { menuOpen: j } = He(), f = j === s;
|
|
693
704
|
return /* @__PURE__ */ o.jsx(
|
|
694
|
-
|
|
705
|
+
Te,
|
|
695
706
|
{
|
|
696
|
-
className:
|
|
707
|
+
className: D(t.id, "shimmer-dark", {
|
|
697
708
|
loading: a,
|
|
698
709
|
"last-pinned-left": i.getIsPinned() === "left" && i.getIsLastColumn("left"),
|
|
699
710
|
resizing: i.getIsResizing()
|
|
700
711
|
}),
|
|
701
712
|
style: {
|
|
702
|
-
...
|
|
703
|
-
width:
|
|
713
|
+
...tt(i),
|
|
714
|
+
width: et("", i.id)
|
|
704
715
|
},
|
|
705
|
-
children: t.isPlaceholder ? null : /* @__PURE__ */ o.jsxs(
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
/* @__PURE__ */ o.jsxs(
|
|
709
|
-
(c || g ||
|
|
710
|
-
|
|
716
|
+
children: t.isPlaceholder ? null : /* @__PURE__ */ o.jsxs(Me, { className: D("bold", "header"), children: [
|
|
717
|
+
Ot(i.columnDef.header, t.getContext()),
|
|
718
|
+
S && /* @__PURE__ */ o.jsx(At, { icon: "lock", "data-tooltip": "You only have permission to read this column." }),
|
|
719
|
+
/* @__PURE__ */ o.jsxs(ze, { className: "actions", $isOpen: f, children: [
|
|
720
|
+
(c || g || y) && /* @__PURE__ */ o.jsx(
|
|
721
|
+
De,
|
|
711
722
|
{
|
|
723
|
+
className: "header-menu",
|
|
712
724
|
header: t,
|
|
713
725
|
canHide: c,
|
|
714
726
|
canPin: g,
|
|
715
|
-
canSort:
|
|
716
|
-
isResizing: i.getIsResizing()
|
|
727
|
+
canSort: y,
|
|
728
|
+
isResizing: i.getIsResizing(),
|
|
729
|
+
menuId: s,
|
|
730
|
+
isOpen: f
|
|
717
731
|
}
|
|
718
732
|
),
|
|
719
|
-
|
|
720
|
-
|
|
733
|
+
y && /* @__PURE__ */ o.jsx(
|
|
734
|
+
Pe,
|
|
721
735
|
{
|
|
722
736
|
icon: "sort",
|
|
737
|
+
className: D("sort-button", { visible: p }),
|
|
723
738
|
style: {
|
|
724
|
-
transform:
|
|
739
|
+
transform: p === "asc" ? "rotate(180deg) scaleX(-1)" : "none"
|
|
725
740
|
},
|
|
726
741
|
onClick: i.getToggleSortingHandler(),
|
|
727
742
|
selected: !!i.getIsSorted()
|
|
728
743
|
}
|
|
729
744
|
)
|
|
730
745
|
] }),
|
|
731
|
-
|
|
746
|
+
x && /* @__PURE__ */ o.jsx(
|
|
732
747
|
Ie,
|
|
733
748
|
{
|
|
734
749
|
onDoubleClick: () => i.resetSize(),
|
|
735
750
|
onMouseDown: t.getResizeHandler(),
|
|
736
751
|
onTouchStart: t.getResizeHandler(),
|
|
737
|
-
className:
|
|
752
|
+
className: D("resize-handle", {
|
|
738
753
|
resizing: i.getIsResizing()
|
|
739
754
|
})
|
|
740
755
|
}
|
|
@@ -743,24 +758,24 @@ const et = (t) => {
|
|
|
743
758
|
},
|
|
744
759
|
t.id
|
|
745
760
|
);
|
|
746
|
-
},
|
|
761
|
+
}, lo = ({
|
|
747
762
|
columnVirtualizer: t,
|
|
748
763
|
table: a,
|
|
749
764
|
tableContainerRef: n,
|
|
750
765
|
showHierarchy: c,
|
|
751
|
-
virtualPaddingLeft:
|
|
766
|
+
virtualPaddingLeft: y,
|
|
752
767
|
virtualPaddingRight: g,
|
|
753
|
-
attribs:
|
|
754
|
-
onOpenNew:
|
|
755
|
-
rowOrderIds:
|
|
768
|
+
attribs: x,
|
|
769
|
+
onOpenNew: S,
|
|
770
|
+
rowOrderIds: R,
|
|
756
771
|
sortableRows: i,
|
|
757
|
-
error:
|
|
772
|
+
error: p,
|
|
758
773
|
isGrouping: s
|
|
759
774
|
}) => {
|
|
760
|
-
const
|
|
761
|
-
const
|
|
762
|
-
return typeof
|
|
763
|
-
}).filter(Boolean), [a.getAllColumns()]),
|
|
775
|
+
const j = v(() => a.getAllColumns().map((P) => {
|
|
776
|
+
const F = P.id, L = P.columnDef.header;
|
|
777
|
+
return typeof L == "string" || typeof L == "number" ? { label: L, id: F } : null;
|
|
778
|
+
}).filter(Boolean), [a.getAllColumns()]), T = Ve({ attribs: x, onOpenNew: S, headerLabels: j }).handleTableBodyContextMenu, { handlePreFetchTasks: E } = Ae(), { rows: m } = a.getRowModel(), I = ce({
|
|
764
779
|
count: m.length,
|
|
765
780
|
estimateSize: () => 40,
|
|
766
781
|
//estimate row height for accurate scrollbar dragging
|
|
@@ -768,73 +783,73 @@ const et = (t) => {
|
|
|
768
783
|
//measure dynamic row height, except in firefox because it measures table border height incorrectly
|
|
769
784
|
measureElement: typeof window < "u" && navigator.userAgent.indexOf("Firefox") === -1 ? (u) => u == null ? void 0 : u.getBoundingClientRect().height : void 0,
|
|
770
785
|
overscan: 5
|
|
771
|
-
}),
|
|
786
|
+
}), h = I.getVirtualItems(), k = Z(
|
|
772
787
|
(u) => {
|
|
773
|
-
u &&
|
|
788
|
+
u && I.measureElement(u);
|
|
774
789
|
},
|
|
775
|
-
[
|
|
790
|
+
[I]
|
|
776
791
|
);
|
|
777
|
-
|
|
792
|
+
Be();
|
|
778
793
|
const A = /* @__PURE__ */ o.jsx(
|
|
779
794
|
"tbody",
|
|
780
795
|
{
|
|
781
796
|
style: {
|
|
782
|
-
height: `${
|
|
797
|
+
height: `${I.getTotalSize()}px`,
|
|
783
798
|
position: "relative",
|
|
784
799
|
display: "grid"
|
|
785
800
|
},
|
|
786
|
-
onContextMenu:
|
|
801
|
+
onContextMenu: T,
|
|
787
802
|
onMouseOver: (u) => {
|
|
788
|
-
|
|
803
|
+
E(u);
|
|
789
804
|
},
|
|
790
|
-
children:
|
|
791
|
-
const
|
|
792
|
-
return
|
|
793
|
-
|
|
805
|
+
children: h.map((u, V) => {
|
|
806
|
+
const P = m[u.index];
|
|
807
|
+
return P ? /* @__PURE__ */ o.jsx(
|
|
808
|
+
mo,
|
|
794
809
|
{
|
|
795
|
-
row:
|
|
810
|
+
row: P,
|
|
796
811
|
showHierarchy: c,
|
|
797
|
-
visibleCells:
|
|
812
|
+
visibleCells: P.getVisibleCells(),
|
|
798
813
|
virtualColumns: t.getVirtualItems(),
|
|
799
|
-
paddingLeft:
|
|
814
|
+
paddingLeft: y,
|
|
800
815
|
paddingRight: g,
|
|
801
|
-
rowRef:
|
|
816
|
+
rowRef: k,
|
|
802
817
|
dataIndex: u.index,
|
|
803
818
|
offsetTop: u.start,
|
|
804
819
|
sortableRows: i,
|
|
805
820
|
isGrouping: s
|
|
806
821
|
},
|
|
807
|
-
|
|
822
|
+
P.id + V.toString()
|
|
808
823
|
) : (console.warn("Virtualized row data not found for index:", u.index), null);
|
|
809
824
|
})
|
|
810
825
|
}
|
|
811
826
|
);
|
|
812
|
-
return
|
|
813
|
-
/* @__PURE__ */ o.jsx(
|
|
827
|
+
return p ? n.current && Vt(
|
|
828
|
+
/* @__PURE__ */ o.jsx(Ee, { message: "No items found", error: p }),
|
|
814
829
|
n.current
|
|
815
|
-
) : i ? /* @__PURE__ */ o.jsx(
|
|
816
|
-
},
|
|
830
|
+
) : i ? /* @__PURE__ */ o.jsx(to, { items: R, strategy: eo, children: A }) : A;
|
|
831
|
+
}, mo = ({
|
|
817
832
|
row: t,
|
|
818
833
|
showHierarchy: a,
|
|
819
834
|
visibleCells: n,
|
|
820
835
|
virtualColumns: c,
|
|
821
|
-
paddingLeft:
|
|
836
|
+
paddingLeft: y,
|
|
822
837
|
paddingRight: g,
|
|
823
|
-
rowRef:
|
|
824
|
-
dataIndex:
|
|
825
|
-
offsetTop:
|
|
838
|
+
rowRef: x,
|
|
839
|
+
dataIndex: S,
|
|
840
|
+
offsetTop: R,
|
|
826
841
|
sortableRows: i,
|
|
827
|
-
isGrouping:
|
|
842
|
+
isGrouping: p = !1
|
|
828
843
|
}) => {
|
|
829
|
-
const s = i ?
|
|
830
|
-
(
|
|
831
|
-
s && s.setNodeRef(
|
|
844
|
+
const s = i ? oo({ id: t.id }) : null, j = Z(
|
|
845
|
+
(T) => {
|
|
846
|
+
s && s.setNodeRef(T), s && s.isDragging || x(T);
|
|
832
847
|
},
|
|
833
|
-
[s,
|
|
834
|
-
),
|
|
848
|
+
[s, x]
|
|
849
|
+
), f = {
|
|
835
850
|
position: "absolute",
|
|
836
851
|
// Use absolute positioning for virtualized items
|
|
837
|
-
top:
|
|
852
|
+
top: R,
|
|
838
853
|
// Position based on virtualizer's calculation (virtualRow.start)
|
|
839
854
|
left: 0,
|
|
840
855
|
// Span full width of the relative parent (tbody)
|
|
@@ -846,7 +861,7 @@ const et = (t) => {
|
|
|
846
861
|
// Ensure dragged item is above others
|
|
847
862
|
display: "flex",
|
|
848
863
|
// Styled.TR is display:flex
|
|
849
|
-
transform: s && s.transform ?
|
|
864
|
+
transform: s && s.transform ? io.Transform.toString(s.transform) : void 0,
|
|
850
865
|
// Apply dnd-kit's transform for drag effect
|
|
851
866
|
transition: s && s.transition ? s.transition : void 0,
|
|
852
867
|
visibility: s && s.isDragging ? "hidden" : "visible"
|
|
@@ -855,58 +870,58 @@ const et = (t) => {
|
|
|
855
870
|
return /* @__PURE__ */ o.jsxs(
|
|
856
871
|
Ht,
|
|
857
872
|
{
|
|
858
|
-
ref:
|
|
859
|
-
"data-index":
|
|
860
|
-
style:
|
|
861
|
-
className:
|
|
873
|
+
ref: j,
|
|
874
|
+
"data-index": S,
|
|
875
|
+
style: f,
|
|
876
|
+
className: D({ "group-row": t.original.group }),
|
|
862
877
|
children: [
|
|
863
|
-
|
|
878
|
+
y ? (
|
|
864
879
|
//fake empty column to the left for virtualization scroll padding
|
|
865
|
-
/* @__PURE__ */ o.jsx("td", { style: { display: "flex", width:
|
|
880
|
+
/* @__PURE__ */ o.jsx("td", { style: { display: "flex", width: y } })
|
|
866
881
|
) : null,
|
|
867
|
-
c.map((
|
|
868
|
-
const m = n[
|
|
882
|
+
c.map((T, E) => {
|
|
883
|
+
const m = n[T.index];
|
|
869
884
|
if (!m) return null;
|
|
870
|
-
const
|
|
871
|
-
return m.column.id ===
|
|
885
|
+
const I = gt(t.id, m.column.id);
|
|
886
|
+
return m.column.id === $ ? /* @__PURE__ */ o.jsx(
|
|
872
887
|
ct,
|
|
873
888
|
{
|
|
874
889
|
style: {
|
|
875
|
-
...
|
|
876
|
-
width:
|
|
890
|
+
...tt(m.column),
|
|
891
|
+
width: et(t.id, m.column.id),
|
|
877
892
|
display: "flex",
|
|
878
893
|
alignItems: "center",
|
|
879
894
|
justifyContent: "center",
|
|
880
895
|
height: 40
|
|
881
896
|
},
|
|
882
|
-
className:
|
|
897
|
+
className: D(m.column.id, {
|
|
883
898
|
"last-pinned-left": m.column.getIsPinned() === "left" && m.column.getIsLastColumn("left")
|
|
884
899
|
}),
|
|
885
|
-
onMouseDown: (
|
|
886
|
-
onMouseOver: (
|
|
887
|
-
onDoubleClick: (
|
|
888
|
-
onContextMenu: (
|
|
889
|
-
|
|
900
|
+
onMouseDown: (h) => h.stopPropagation(),
|
|
901
|
+
onMouseOver: (h) => h.stopPropagation(),
|
|
902
|
+
onDoubleClick: (h) => h.stopPropagation(),
|
|
903
|
+
onContextMenu: (h) => {
|
|
904
|
+
h.preventDefault(), h.stopPropagation();
|
|
890
905
|
},
|
|
891
906
|
children: /* @__PURE__ */ o.jsx(
|
|
892
|
-
|
|
907
|
+
ve,
|
|
893
908
|
{
|
|
894
909
|
attributes: s == null ? void 0 : s.attributes,
|
|
895
910
|
listeners: s == null ? void 0 : s.listeners
|
|
896
911
|
}
|
|
897
912
|
)
|
|
898
913
|
},
|
|
899
|
-
m.id +
|
|
914
|
+
m.id + E.toString()
|
|
900
915
|
) : /* @__PURE__ */ o.jsx(
|
|
901
|
-
|
|
916
|
+
Bt,
|
|
902
917
|
{
|
|
903
918
|
cell: m,
|
|
904
|
-
cellId:
|
|
919
|
+
cellId: I,
|
|
905
920
|
rowId: t.id,
|
|
906
921
|
showHierarchy: a,
|
|
907
922
|
sortableRows: i
|
|
908
923
|
},
|
|
909
|
-
m.id +
|
|
924
|
+
m.id + E.toString()
|
|
910
925
|
);
|
|
911
926
|
}),
|
|
912
927
|
g ? (
|
|
@@ -916,94 +931,96 @@ const et = (t) => {
|
|
|
916
931
|
]
|
|
917
932
|
}
|
|
918
933
|
);
|
|
919
|
-
},
|
|
934
|
+
}, ao = ({
|
|
920
935
|
cell: t,
|
|
921
936
|
rowId: a,
|
|
922
937
|
cellId: n,
|
|
923
938
|
className: c,
|
|
924
|
-
showHierarchy:
|
|
939
|
+
showHierarchy: y,
|
|
925
940
|
sortableRows: g,
|
|
926
|
-
...
|
|
941
|
+
...x
|
|
927
942
|
}) => {
|
|
928
|
-
const { getEntityById:
|
|
943
|
+
const { getEntityById: S, onOpenPlayer: R } = Ft(), {
|
|
929
944
|
isCellSelected: i,
|
|
930
|
-
isCellFocused:
|
|
945
|
+
isCellFocused: p,
|
|
931
946
|
startSelection: s,
|
|
932
|
-
extendSelection:
|
|
933
|
-
endSelection:
|
|
934
|
-
selectCell:
|
|
935
|
-
focusCell:
|
|
947
|
+
extendSelection: j,
|
|
948
|
+
endSelection: f,
|
|
949
|
+
selectCell: T,
|
|
950
|
+
focusCell: E,
|
|
936
951
|
getCellBorderClasses: m,
|
|
937
|
-
clearSelection:
|
|
938
|
-
|
|
952
|
+
clearSelection: I,
|
|
953
|
+
selectedCells: h
|
|
954
|
+
} = ut(), { isRowSelected: k } = Ne(), { isEditing: A, setEditingCellId: u } = kt(), V = m(n), F = t.column.getIsPinned() === "left" && t.column.getIsLastColumn("left"), L = t.column.id === H, N = t.row.original.entityType === "group", ot = h.size > 1;
|
|
939
955
|
return /* @__PURE__ */ o.jsx(
|
|
940
956
|
ct,
|
|
941
957
|
{
|
|
942
|
-
...
|
|
958
|
+
...x,
|
|
943
959
|
tabIndex: 0,
|
|
944
|
-
$isLastPinned:
|
|
945
|
-
className:
|
|
960
|
+
$isLastPinned: F,
|
|
961
|
+
className: D(
|
|
946
962
|
t.column.id,
|
|
947
963
|
{
|
|
948
964
|
selected: i(n),
|
|
949
|
-
focused:
|
|
950
|
-
editing:
|
|
951
|
-
"last-pinned-left":
|
|
952
|
-
"selected-row":
|
|
953
|
-
task: t.row.original.entityType === "task"
|
|
965
|
+
focused: p(n),
|
|
966
|
+
editing: A(n),
|
|
967
|
+
"last-pinned-left": F,
|
|
968
|
+
"selected-row": k(a),
|
|
969
|
+
task: t.row.original.entityType === "task",
|
|
970
|
+
"multiple-selected": ot
|
|
954
971
|
},
|
|
955
972
|
c,
|
|
956
|
-
...
|
|
973
|
+
...V
|
|
957
974
|
),
|
|
958
975
|
style: {
|
|
959
|
-
...
|
|
960
|
-
width:
|
|
976
|
+
...tt(t.column),
|
|
977
|
+
width: et(t.row.id, t.column.id),
|
|
961
978
|
height: 40
|
|
962
979
|
},
|
|
963
|
-
onMouseDown: (
|
|
964
|
-
if (
|
|
965
|
-
const
|
|
966
|
-
if (
|
|
967
|
-
if (
|
|
968
|
-
i(n) || (
|
|
980
|
+
onMouseDown: (b) => {
|
|
981
|
+
if (b.button !== 0) return;
|
|
982
|
+
const C = b.target;
|
|
983
|
+
if (C.closest(".expander")) return;
|
|
984
|
+
if (C.closest("." + Qe)) {
|
|
985
|
+
i(n) || (T(n, !1, !1), E(n)), u(n);
|
|
969
986
|
return;
|
|
970
987
|
}
|
|
971
|
-
if (
|
|
972
|
-
if (
|
|
973
|
-
const
|
|
974
|
-
|
|
988
|
+
if (C.closest(".options")) return;
|
|
989
|
+
if (N && t.column.id !== "name") return I();
|
|
990
|
+
const w = b.metaKey || b.ctrlKey || L;
|
|
991
|
+
b.shiftKey ? T(n, w, !0) : s(n, w);
|
|
975
992
|
},
|
|
976
|
-
onMouseOver: (
|
|
977
|
-
|
|
993
|
+
onMouseOver: (b) => {
|
|
994
|
+
b.buttons === 1 && j(n, L);
|
|
978
995
|
},
|
|
979
996
|
onMouseUp: () => {
|
|
980
|
-
|
|
997
|
+
f(n);
|
|
981
998
|
},
|
|
982
|
-
onDoubleClick: (
|
|
983
|
-
if (t.column.id === "name" && !
|
|
984
|
-
const
|
|
985
|
-
if (!i(
|
|
986
|
-
const
|
|
987
|
-
|
|
999
|
+
onDoubleClick: (b) => {
|
|
1000
|
+
if (t.column.id === "name" && !b.target.closest(".expander") && !N) {
|
|
1001
|
+
const C = gt(t.row.id, H);
|
|
1002
|
+
if (!i(C)) {
|
|
1003
|
+
const w = b.metaKey || b.ctrlKey;
|
|
1004
|
+
T(C, w, !1);
|
|
988
1005
|
}
|
|
989
1006
|
}
|
|
990
|
-
if (t.column.id === "thumbnail" &&
|
|
991
|
-
const
|
|
992
|
-
if (
|
|
993
|
-
const
|
|
994
|
-
|
|
1007
|
+
if (t.column.id === "thumbnail" && R) {
|
|
1008
|
+
const C = S(t.row.original.entityId || t.row.id);
|
|
1009
|
+
if (C) {
|
|
1010
|
+
const w = Ye(C);
|
|
1011
|
+
R(w, { quickView: !0 });
|
|
995
1012
|
}
|
|
996
1013
|
}
|
|
997
1014
|
},
|
|
998
|
-
onContextMenu: (
|
|
999
|
-
|
|
1015
|
+
onContextMenu: (b) => {
|
|
1016
|
+
b.preventDefault(), i(n) || T(n, !1, !1);
|
|
1000
1017
|
},
|
|
1001
|
-
children:
|
|
1018
|
+
children: Ot(t.column.columnDef.cell, t.getContext())
|
|
1002
1019
|
}
|
|
1003
1020
|
);
|
|
1004
|
-
},
|
|
1021
|
+
}, Bt = ue(ao);
|
|
1005
1022
|
export {
|
|
1006
|
-
|
|
1007
|
-
|
|
1023
|
+
$ as DRAG_HANDLE_COLUMN_ID,
|
|
1024
|
+
Rs as ProjectTreeTable
|
|
1008
1025
|
};
|
|
1009
1026
|
//# sourceMappingURL=ProjectTreeTable.es.js.map
|