@leav/ui 0.3.6-e218b23 → 0.3.6-e275df8
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/__mocks__/common/attribute.js +1 -1
- package/dist/__mocks__/common/attribute.js.map +1 -1
- package/dist/__mocks__/common/form.d.ts +1 -0
- package/dist/__mocks__/common/form.js +15 -0
- package/dist/__mocks__/common/form.js.map +1 -1
- package/dist/__mocks__/common/value.js +1 -1
- package/dist/__mocks__/common/value.js.map +1 -1
- package/dist/__mocks__/common/view.js +7 -5
- package/dist/__mocks__/common/view.js.map +1 -1
- package/dist/__mocks__/mockQuery/mockGetLibraryDetailExtendedQuery.js +1 -1
- package/dist/__mocks__/mockQuery/mockGetLibraryDetailExtendedQuery.js.map +1 -1
- package/dist/__mocks__/mockQuery/mockGetViewListQuery.js +2 -1
- package/dist/__mocks__/mockQuery/mockGetViewListQuery.js.map +1 -1
- package/dist/_gqlTypes/index.d.ts +526 -76
- package/dist/_gqlTypes/index.js +312 -57
- package/dist/_gqlTypes/index.js.map +1 -1
- package/dist/_queries/attributes/attributeDetailsFragment.js +0 -1
- package/dist/_queries/attributes/attributeDetailsFragment.js.map +1 -1
- package/dist/_queries/attributes/getAttributesByLib.js +7 -5
- package/dist/_queries/attributes/getAttributesByLib.js.map +1 -1
- package/dist/_queries/libraries/getLibraryDetailExtendQuery.d.ts +3 -4
- package/dist/_queries/libraries/getLibraryDetailExtendQuery.js +2 -3
- package/dist/_queries/libraries/getLibraryDetailExtendQuery.js.map +1 -1
- package/dist/_queries/records/createRecordMutation.js +2 -3
- package/dist/_queries/records/createRecordMutation.js.map +1 -1
- package/dist/_queries/records/getRecordColumnsValues.d.ts +1 -1
- package/dist/_queries/records/getRecordsFromLibraryQuery.js +1 -0
- package/dist/_queries/records/getRecordsFromLibraryQuery.js.map +1 -1
- package/dist/_queries/records/recordFormAttributeFragment.js +2 -0
- package/dist/_queries/records/recordFormAttributeFragment.js.map +1 -1
- package/dist/_queries/views/saveViewMutation.js +1 -1
- package/dist/_queries/views/viewDetailsFragment.js +14 -11
- package/dist/_queries/views/viewDetailsFragment.js.map +1 -1
- package/dist/_utils/attributeType.d.ts +3 -0
- package/dist/_utils/attributeType.js +7 -0
- package/dist/_utils/attributeType.js.map +1 -0
- package/dist/_utils/index.js +6 -3
- package/dist/_utils/index.js.map +1 -1
- package/dist/antdTheme/index.d.ts +0 -3
- package/dist/antdTheme/index.js +3 -42
- package/dist/antdTheme/index.js.map +1 -1
- package/dist/components/CreateDirectory/CreateDirectory.js +0 -2
- package/dist/components/CreateDirectory/CreateDirectory.js.map +1 -1
- package/dist/components/EditApplication/EditApplicationInfo/EditApplicationInfoForm/EditApplicationInfoForm.js.map +1 -1
- package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfo.js +0 -1
- package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfo.js.map +1 -1
- package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/EditAttributeInfoForm.js +2 -5
- package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/EditAttributeInfoForm.js.map +1 -1
- package/dist/components/EditTreeModal/EditTree/EditTreeInfo/EditTreeInfoForm/EditTreeInfoForm.d.ts +1 -1
- package/dist/components/EditTreeModal/EditTree/EditTreeInfo/EditTreeInfoForm/EditTreeInfoForm.js.map +1 -1
- package/dist/components/Explorer/DataView.d.ts +10 -2
- package/dist/components/Explorer/DataView.js +80 -22
- package/dist/components/Explorer/DataView.js.map +1 -1
- package/dist/components/Explorer/Explorer.d.ts +42 -5
- package/dist/components/Explorer/Explorer.js +116 -32
- package/dist/components/Explorer/Explorer.js.map +1 -1
- package/dist/components/Explorer/ExplorerTitle.d.ts +2 -0
- package/dist/components/Explorer/ExplorerTitle.js +28 -11
- package/dist/components/Explorer/ExplorerTitle.js.map +1 -1
- package/dist/components/Explorer/ExplorerToolbar.d.ts +6 -0
- package/dist/components/Explorer/ExplorerToolbar.js +53 -0
- package/dist/components/Explorer/ExplorerToolbar.js.map +1 -0
- package/dist/components/Explorer/TableCell.js +16 -7
- package/dist/components/Explorer/TableCell.js.map +1 -1
- package/dist/components/Explorer/_constants.d.ts +5 -0
- package/dist/components/Explorer/_constants.js +18 -0
- package/dist/components/Explorer/_constants.js.map +1 -0
- package/dist/components/Explorer/_queries/prepareFiltersForRequest.d.ts +4 -0
- package/dist/components/Explorer/_queries/prepareFiltersForRequest.js +99 -0
- package/dist/components/Explorer/_queries/prepareFiltersForRequest.js.map +1 -0
- package/dist/components/Explorer/_queries/useExplorerData.d.ts +15 -8
- package/dist/components/Explorer/_queries/useExplorerData.js +79 -76
- package/dist/components/Explorer/_queries/useExplorerData.js.map +1 -1
- package/dist/components/Explorer/_types.d.ts +86 -15
- package/dist/components/Explorer/_types.js +7 -1
- package/dist/components/Explorer/_types.js.map +1 -1
- package/dist/components/Explorer/{useEditAction.d.ts → actions-item/useEditItemAction.d.ts} +7 -4
- package/dist/components/Explorer/{useEditAction.js → actions-item/useEditItemAction.js} +11 -10
- package/dist/components/Explorer/actions-item/useEditItemAction.js.map +1 -0
- package/dist/components/Explorer/actions-item/useRemoveItemAction.d.ts +24 -0
- package/dist/components/Explorer/actions-item/useRemoveItemAction.js +113 -0
- package/dist/components/Explorer/actions-item/useRemoveItemAction.js.map +1 -0
- package/dist/components/Explorer/actions-mass/useDeactivateMassAction.d.ts +28 -0
- package/dist/components/Explorer/actions-mass/useDeactivateMassAction.js +72 -0
- package/dist/components/Explorer/actions-mass/useDeactivateMassAction.js.map +1 -0
- package/dist/components/Explorer/actions-mass/useDeleteLinkValues.d.ts +19 -0
- package/dist/components/Explorer/actions-mass/useDeleteLinkValues.js +85 -0
- package/dist/components/Explorer/actions-mass/useDeleteLinkValues.js.map +1 -0
- package/dist/components/Explorer/actions-mass/useMassActions.d.ts +27 -0
- package/dist/components/Explorer/actions-mass/useMassActions.js +111 -0
- package/dist/components/Explorer/actions-mass/useMassActions.js.map +1 -0
- package/dist/components/Explorer/actions-primary/useCreatePrimaryAction.d.ts +31 -0
- package/dist/components/Explorer/actions-primary/useCreatePrimaryAction.js +114 -0
- package/dist/components/Explorer/actions-primary/useCreatePrimaryAction.js.map +1 -0
- package/dist/components/Explorer/actions-primary/useLinkPrimaryAction.d.ts +20 -0
- package/dist/components/Explorer/actions-primary/useLinkPrimaryAction.js +39 -0
- package/dist/components/Explorer/actions-primary/useLinkPrimaryAction.js.map +1 -0
- package/dist/components/Explorer/actions-primary/usePrimaryActions.d.ts +17 -0
- package/dist/components/Explorer/actions-primary/usePrimaryActions.js +27 -0
- package/dist/components/Explorer/actions-primary/usePrimaryActions.js.map +1 -0
- package/dist/components/Explorer/{nullValuesConditions.d.ts → conditionsHelper.d.ts} +1 -0
- package/dist/components/Explorer/{nullValuesConditions.js → conditionsHelper.js} +3 -1
- package/dist/components/Explorer/conditionsHelper.js.map +1 -0
- package/dist/components/Explorer/link-item/LinkModal.d.ts +9 -0
- package/dist/components/Explorer/link-item/LinkModal.js +82 -0
- package/dist/components/Explorer/link-item/LinkModal.js.map +1 -0
- package/dist/components/Explorer/link-item/useLinkMassAction.d.ts +31 -0
- package/dist/components/Explorer/link-item/useLinkMassAction.js +59 -0
- package/dist/components/Explorer/link-item/useLinkMassAction.js.map +1 -0
- package/dist/components/Explorer/list-saved-views/SavedViews.d.ts +2 -0
- package/dist/components/Explorer/list-saved-views/SavedViews.js +74 -0
- package/dist/components/Explorer/list-saved-views/SavedViews.js.map +1 -0
- package/dist/components/Explorer/manage-view-settings/_shared/CommonFilterItem.d.ts +3 -2
- package/dist/components/Explorer/manage-view-settings/_shared/CommonFilterItem.js +8 -1
- package/dist/components/Explorer/manage-view-settings/_shared/CommonFilterItem.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/_shared/useAttributeDetailsData.d.ts +3 -1
- package/dist/components/Explorer/manage-view-settings/_shared/useAttributeDetailsData.js +9 -3
- package/dist/components/Explorer/manage-view-settings/_shared/useAttributeDetailsData.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/_shared/useTransformFilters.d.ts +17 -0
- package/dist/components/Explorer/manage-view-settings/_shared/useTransformFilters.js +93 -0
- package/dist/components/Explorer/manage-view-settings/_shared/useTransformFilters.js.map +1 -0
- package/dist/components/Explorer/manage-view-settings/configure-display/attributes/SelectVisibleAttributes.js +1 -2
- package/dist/components/Explorer/manage-view-settings/configure-display/attributes/SelectVisibleAttributes.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/filter-items/FilterItems.js +15 -4
- package/dist/components/Explorer/manage-view-settings/filter-items/FilterItems.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/BooleanAttributeDropdown.d.ts +2 -2
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/BooleanAttributeDropdown.js +16 -31
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/BooleanAttributeDropdown.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/ColorAttributeDropDown.d.ts +3 -0
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/ColorAttributeDropDown.js +11 -0
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/ColorAttributeDropDown.js.map +1 -0
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/DateAttributeDropDown.d.ts +2 -2
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/DateAttributeDropDown.js +13 -37
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/DateAttributeDropDown.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/DateRangeAttributeDropDown.d.ts +3 -0
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/DateRangeAttributeDropDown.js +11 -0
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/DateRangeAttributeDropDown.js.map +1 -0
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/EncryptedAttributeDropDown.d.ts +3 -0
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/EncryptedAttributeDropDown.js +11 -0
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/EncryptedAttributeDropDown.js.map +1 -0
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/ExtendedAttributeDropDown.d.ts +3 -0
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/ExtendedAttributeDropDown.js +11 -0
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/ExtendedAttributeDropDown.js.map +1 -0
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/FilterDropDown.d.ts +1 -1
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/FilterDropDown.js +37 -20
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/FilterDropDown.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/FilterDropdownContent.d.ts +8 -0
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/FilterDropdownContent.js +41 -0
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/FilterDropdownContent.js.map +1 -0
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/FilterValueList.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/LinkAttributeDropdown.d.ts +3 -0
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/LinkAttributeDropdown.js +79 -0
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/LinkAttributeDropdown.js.map +1 -0
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/NumericAttributeDropDown.d.ts +2 -2
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/NumericAttributeDropDown.js +7 -32
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/NumericAttributeDropDown.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/TextAttributeDropDown.d.ts +2 -2
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/TextAttributeDropDown.js +7 -32
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/TextAttributeDropDown.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/_types.d.ts +13 -0
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/_types.js +2 -0
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/_types.js.map +1 -0
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/useConditionOptionsByType.d.ts +6 -4
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/useConditionOptionsByType.js +17 -19
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/useConditionOptionsByType.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/open-view-settings/EditSettingsContext.d.ts +3 -2
- package/dist/components/Explorer/manage-view-settings/open-view-settings/EditSettingsContext.js +2 -2
- package/dist/components/Explorer/manage-view-settings/open-view-settings/EditSettingsContext.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/open-view-settings/EditSettingsContextProvider.d.ts +1 -0
- package/dist/components/Explorer/manage-view-settings/open-view-settings/EditSettingsContextProvider.js +2 -2
- package/dist/components/Explorer/manage-view-settings/open-view-settings/EditSettingsContextProvider.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/open-view-settings/SidePanel.js +3 -3
- package/dist/components/Explorer/manage-view-settings/open-view-settings/SidePanel.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/open-view-settings/useOpenViewSettings.d.ts +11 -2
- package/dist/components/Explorer/manage-view-settings/open-view-settings/useOpenViewSettings.js +55 -10
- package/dist/components/Explorer/manage-view-settings/open-view-settings/useOpenViewSettings.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/router-menu/SettingsPanel.d.ts +2 -1
- package/dist/components/Explorer/manage-view-settings/router-menu/SettingsPanel.js +14 -31
- package/dist/components/Explorer/manage-view-settings/router-menu/SettingsPanel.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/save-view/SaveViewModal.d.ts +8 -0
- package/dist/components/Explorer/manage-view-settings/save-view/SaveViewModal.js +44 -0
- package/dist/components/Explorer/manage-view-settings/save-view/SaveViewModal.js.map +1 -0
- package/dist/components/Explorer/manage-view-settings/save-view/ViewActionsButtons.d.ts +1 -0
- package/dist/components/Explorer/manage-view-settings/save-view/ViewActionsButtons.js +22 -0
- package/dist/components/Explorer/manage-view-settings/save-view/ViewActionsButtons.js.map +1 -0
- package/dist/components/Explorer/manage-view-settings/save-view/prepareViewForRequest.d.ts +3 -0
- package/dist/components/Explorer/manage-view-settings/save-view/prepareViewForRequest.js +24 -0
- package/dist/components/Explorer/manage-view-settings/save-view/prepareViewForRequest.js.map +1 -0
- package/dist/components/Explorer/manage-view-settings/save-view/useCreateNewView.d.ts +3 -0
- package/dist/components/Explorer/manage-view-settings/save-view/useCreateNewView.js +52 -0
- package/dist/components/Explorer/manage-view-settings/save-view/useCreateNewView.js.map +1 -0
- package/dist/components/Explorer/manage-view-settings/save-view/useResetView.d.ts +3 -0
- package/dist/components/Explorer/manage-view-settings/save-view/useResetView.js +20 -0
- package/dist/components/Explorer/manage-view-settings/save-view/useResetView.js.map +1 -0
- package/dist/components/Explorer/manage-view-settings/save-view/useShareView.d.ts +3 -0
- package/dist/components/Explorer/manage-view-settings/save-view/useShareView.js +64 -0
- package/dist/components/Explorer/manage-view-settings/save-view/useShareView.js.map +1 -0
- package/dist/components/Explorer/manage-view-settings/save-view/useUpdateView.d.ts +3 -0
- package/dist/components/Explorer/manage-view-settings/save-view/useUpdateView.js +62 -0
- package/dist/components/Explorer/manage-view-settings/save-view/useUpdateView.js.map +1 -0
- package/dist/components/Explorer/manage-view-settings/sort-items/SortItems.js +30 -28
- package/dist/components/Explorer/manage-view-settings/sort-items/SortItems.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsInitialState.js +23 -1
- package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsInitialState.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsReducer.d.ts +47 -13
- package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsReducer.js +125 -38
- package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsReducer.js.map +1 -1
- package/dist/components/Explorer/useColumnWidth.d.ts +8 -0
- package/dist/components/Explorer/useColumnWidth.js +49 -0
- package/dist/components/Explorer/useColumnWidth.js.map +1 -0
- package/dist/components/Explorer/useLoadView.d.ts +3 -0
- package/dist/components/Explorer/useLoadView.js +81 -0
- package/dist/components/Explorer/useLoadView.js.map +1 -0
- package/dist/components/Explorer/useSearchInput.d.ts +10 -4
- package/dist/components/Explorer/useSearchInput.js +10 -1
- package/dist/components/Explorer/useSearchInput.js.map +1 -1
- package/dist/components/Explorer/useViewSettingsReducer.d.ts +4 -3
- package/dist/components/Explorer/useViewSettingsReducer.js +108 -39
- package/dist/components/Explorer/useViewSettingsReducer.js.map +1 -1
- package/dist/components/ImportModal/ImportModalSelectFileStep/ImportModalSelectFileStep.js +1 -2
- package/dist/components/ImportModal/ImportModalSelectFileStep/ImportModalSelectFileStep.js.map +1 -1
- package/dist/components/LibraryItemsList/DisplayOptions/DisplayOptions.js.map +1 -1
- package/dist/components/LibraryItemsList/LibraryItemsListContent/LibraryItemsListContent.js +7 -11
- package/dist/components/LibraryItemsList/LibraryItemsListContent/LibraryItemsListContent.js.map +1 -1
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/StandardCell/StandardCell.js +7 -2
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/StandardCell/StandardCell.js.map +1 -1
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Header/Header.js +7 -5
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Header/Header.js.map +1 -1
- package/dist/components/LibraryItemsList/MenuView/MenuView.js +5 -10
- package/dist/components/LibraryItemsList/MenuView/MenuView.js.map +1 -1
- package/dist/components/LibraryItemsList/ViewPanel/EditView/EditView.js +2 -3
- package/dist/components/LibraryItemsList/ViewPanel/EditView/EditView.js.map +1 -1
- package/dist/components/LibraryItemsList/ViewPanel/View/View.js +3 -3
- package/dist/components/LibraryItemsList/ViewPanel/View/View.js.map +1 -1
- package/dist/components/LibraryItemsList/helpers/getFieldsFromView.js +4 -9
- package/dist/components/LibraryItemsList/helpers/getFieldsFromView.js.map +1 -1
- package/dist/components/LibraryItemsList/hooks/useLibraryView/useLibraryView.js +7 -5
- package/dist/components/LibraryItemsList/hooks/useLibraryView/useLibraryView.js.map +1 -1
- package/dist/components/LibraryItemsList/hooks/useSearchReducer/_types.d.ts +1 -1
- package/dist/components/LibraryItemsList/hooks/useSearchReducer/searchReducer.d.ts +1 -1
- package/dist/components/LibraryItemsList/hooks/useSearchReducer/searchReducer.js +25 -33
- package/dist/components/LibraryItemsList/hooks/useSearchReducer/searchReducer.js.map +1 -1
- package/dist/components/RecordEdition/EditRecord/EditRecord.d.ts +2 -0
- package/dist/components/RecordEdition/EditRecord/EditRecord.js +83 -77
- package/dist/components/RecordEdition/EditRecord/EditRecord.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/EditRecordContent.d.ts +3 -1
- package/dist/components/RecordEdition/EditRecordContent/EditRecordContent.js +12 -9
- package/dist/components/RecordEdition/EditRecordContent/EditRecordContent.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/_types.d.ts +8 -2
- package/dist/components/RecordEdition/EditRecordContent/_types.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/helpers/extractFormElements/extractFormElements.d.ts +3 -1
- package/dist/components/RecordEdition/EditRecordContent/helpers/extractFormElements/extractFormElements.js +8 -2
- package/dist/components/RecordEdition/EditRecordContent/helpers/extractFormElements/extractFormElements.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/hooks/useCreateRecordMutation.d.ts +5 -0
- package/dist/components/RecordEdition/EditRecordContent/hooks/useCreateRecordMutation.js +28 -0
- package/dist/components/RecordEdition/EditRecordContent/hooks/useCreateRecordMutation.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordContent/hooks/useExecuteSaveValueBatchMutation.js +3 -8
- package/dist/components/RecordEdition/EditRecordContent/hooks/useExecuteSaveValueBatchMutation.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/shared/ValueDetailsBtn/ValueDetailsBtn.js +1 -7
- package/dist/components/RecordEdition/EditRecordContent/shared/ValueDetailsBtn/ValueDetailsBtn.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/LinkField.js +2 -2
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/LinkField.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/ComputeIndicator.js +2 -4
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/ComputeIndicator.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardField.js +92 -28
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardField.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSBooleanWrapper.js +2 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSBooleanWrapper.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSColorPickerWrapper.js +46 -7
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSColorPickerWrapper.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSDatePickerWrapper.js +9 -3
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSDatePickerWrapper.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputEncryptedWrapper.js +16 -8
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputEncryptedWrapper.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputNumberWrapper.js +6 -2
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputNumberWrapper.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputWrapper.js +7 -14
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputWrapper.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSRangePickerWrapper.js +12 -9
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSRangePickerWrapper.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSRichTextWrapper.js +7 -7
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSRichTextWrapper.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValue.d.ts +2 -2
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValue.js +4 -15
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValue.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/ValuesList/DSListSelect.js +5 -2
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/ValuesList/DSListSelect.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/_types.d.ts +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/calculatedInheritedFlags.js +3 -2
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/calculatedInheritedFlags.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/useGetPresentationValues.js +2 -6
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/useGetPresentationValues.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/TreeField.js +4 -7
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/TreeField.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordModal/EditRecordModal.d.ts +2 -0
- package/dist/components/RecordEdition/EditRecordModal/EditRecordModal.js +13 -6
- package/dist/components/RecordEdition/EditRecordModal/EditRecordModal.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordPage/EditRecordPage.d.ts +4 -0
- package/dist/components/RecordEdition/EditRecordPage/EditRecordPage.js +3 -2
- package/dist/components/RecordEdition/EditRecordPage/EditRecordPage.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordSidebar/AttributeSummary/AttributeSummary.d.ts +7 -0
- package/dist/components/RecordEdition/EditRecordSidebar/AttributeSummary/AttributeSummary.js +9 -0
- package/dist/components/RecordEdition/EditRecordSidebar/AttributeSummary/AttributeSummary.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordSidebar/AttributeSummary/index.d.ts +2 -0
- package/dist/components/RecordEdition/EditRecordSidebar/{ValueDetails/ValueMetadata → AttributeSummary}/index.js +2 -2
- package/dist/components/RecordEdition/EditRecordSidebar/AttributeSummary/index.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordSidebar/AttributeSummary/useAttributeInformations.d.ts +2 -0
- package/dist/components/RecordEdition/EditRecordSidebar/AttributeSummary/useAttributeInformations.js +25 -0
- package/dist/components/RecordEdition/EditRecordSidebar/AttributeSummary/useAttributeInformations.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordSidebar/Breacrumb/Breadcrumb.d.ts +3 -0
- package/dist/components/RecordEdition/EditRecordSidebar/Breacrumb/Breadcrumb.js +53 -0
- package/dist/components/RecordEdition/EditRecordSidebar/Breacrumb/Breadcrumb.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordSidebar/Breacrumb/index.d.ts +2 -0
- package/dist/components/RecordEdition/EditRecordSidebar/{ValueDetails → Breacrumb}/index.js +2 -2
- package/dist/components/RecordEdition/EditRecordSidebar/Breacrumb/index.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordSidebar/EditRecordSidebar.d.ts +4 -1
- package/dist/components/RecordEdition/EditRecordSidebar/EditRecordSidebar.js +48 -6
- package/dist/components/RecordEdition/EditRecordSidebar/EditRecordSidebar.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordSidebar/PropertiesList/PropertiesList.d.ts +4 -7
- package/dist/components/RecordEdition/EditRecordSidebar/PropertiesList/PropertiesList.js +6 -8
- package/dist/components/RecordEdition/EditRecordSidebar/PropertiesList/PropertiesList.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordSidebar/RecordSummary/RecordInformations/RecordInformations.d.ts +9 -0
- package/dist/components/RecordEdition/EditRecordSidebar/RecordSummary/RecordInformations/RecordInformations.js +42 -0
- package/dist/components/RecordEdition/EditRecordSidebar/RecordSummary/RecordInformations/RecordInformations.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordSidebar/RecordSummary/RecordInformations/useRecordInformations.d.ts +6 -0
- package/dist/components/RecordEdition/EditRecordSidebar/RecordSummary/RecordInformations/useRecordInformations.js +35 -0
- package/dist/components/RecordEdition/EditRecordSidebar/RecordSummary/RecordInformations/useRecordInformations.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordSidebar/RecordSummary/RecordSummary.d.ts +3 -282
- package/dist/components/RecordEdition/EditRecordSidebar/RecordSummary/RecordSummary.js +28 -61
- package/dist/components/RecordEdition/EditRecordSidebar/RecordSummary/RecordSummary.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordSidebar/ValuesSummary/ValuesSummary.d.ts +8 -0
- package/dist/components/RecordEdition/EditRecordSidebar/ValuesSummary/ValuesSummary.js +81 -0
- package/dist/components/RecordEdition/EditRecordSidebar/ValuesSummary/ValuesSummary.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordSidebar/ValuesSummary/index.d.ts +2 -0
- package/dist/components/RecordEdition/EditRecordSidebar/{ValueDetails/TreeValuePath → ValuesSummary}/index.js +2 -2
- package/dist/components/RecordEdition/EditRecordSidebar/ValuesSummary/index.js.map +1 -0
- package/dist/components/RecordEdition/{EditRecordContent → EditRecordSkeleton}/EditRecordSkeleton.d.ts +1 -1
- package/dist/components/RecordEdition/{EditRecordContent → EditRecordSkeleton}/EditRecordSkeleton.js +2 -2
- package/dist/components/RecordEdition/EditRecordSkeleton/EditRecordSkeleton.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordSkeleton/index.d.ts +2 -0
- package/dist/components/RecordEdition/{EditRecordSidebar/ValueDetails/AttributeDetails → EditRecordSkeleton}/index.js +2 -2
- package/dist/components/RecordEdition/EditRecordSkeleton/index.js.map +1 -0
- package/dist/components/RecordEdition/editRecordReducer/editRecordReducer.d.ts +12 -10
- package/dist/components/RecordEdition/editRecordReducer/editRecordReducer.js +15 -13
- package/dist/components/RecordEdition/editRecordReducer/editRecordReducer.js.map +1 -1
- package/dist/components/RecordEdition/index.d.ts +1 -0
- package/dist/components/RecordEdition/index.js +1 -0
- package/dist/components/RecordEdition/index.js.map +1 -1
- package/dist/components/SelectTreeNode/SelectTreeNodeContent.js +3 -4
- package/dist/components/SelectTreeNode/SelectTreeNodeContent.js.map +1 -1
- package/dist/constants.d.ts +3 -0
- package/dist/constants.js +3 -0
- package/dist/constants.js.map +1 -1
- package/dist/hooks/useExecuteSaveViewMutation/index.d.ts +1 -0
- package/dist/{components/RecordEdition/EditRecordSidebar/ValueDetails/ValueInfo → hooks/useExecuteSaveViewMutation}/index.js +1 -2
- package/dist/hooks/useExecuteSaveViewMutation/index.js.map +1 -0
- package/dist/hooks/useExecuteSaveViewMutation/useExecuteSaveViewMutation.d.ts +6 -0
- package/dist/hooks/{useExecuteAddViewMutation/useExecuteAddViewMutation.js → useExecuteSaveViewMutation/useExecuteSaveViewMutation.js} +8 -7
- package/dist/hooks/useExecuteSaveViewMutation/useExecuteSaveViewMutation.js.map +1 -0
- package/dist/hooks/useGetRecordValuesQuery/useGetRecordValuesQuery.d.ts +1 -1
- package/dist/hooks/useGetRecordValuesQuery/useGetRecordValuesQuery.js +2 -2
- package/dist/hooks/useGetRecordValuesQuery/useGetRecordValuesQuery.js.map +1 -1
- package/dist/locales/en/shared.json +69 -12
- package/dist/locales/fr/shared.json +72 -15
- package/dist/types/views.d.ts +4 -4
- package/package.json +5 -5
- package/dist/components/Explorer/display-view-filters/ExplorerFilterBar.d.ts +0 -2
- package/dist/components/Explorer/display-view-filters/ExplorerFilterBar.js +0 -37
- package/dist/components/Explorer/display-view-filters/ExplorerFilterBar.js.map +0 -1
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/SimpleFilterDropDown.d.ts +0 -3
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/SimpleFilterDropDown.js +0 -72
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/SimpleFilterDropDown.js.map +0 -1
- package/dist/components/Explorer/nullValuesConditions.js.map +0 -1
- package/dist/components/Explorer/useCreateAction.d.ts +0 -19
- package/dist/components/Explorer/useCreateAction.js +0 -40
- package/dist/components/Explorer/useCreateAction.js.map +0 -1
- package/dist/components/Explorer/useDeactivateAction.d.ts +0 -12
- package/dist/components/Explorer/useDeactivateAction.js +0 -52
- package/dist/components/Explorer/useDeactivateAction.js.map +0 -1
- package/dist/components/Explorer/useEditAction.js.map +0 -1
- package/dist/components/Explorer/usePrimaryActions.d.ts +0 -12
- package/dist/components/Explorer/usePrimaryActions.js +0 -21
- package/dist/components/Explorer/usePrimaryActions.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/EditRecordSkeleton.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/shared/ValueDetailsBtn/useValueDetailsButton.d.ts +0 -8
- package/dist/components/RecordEdition/EditRecordContent/shared/ValueDetailsBtn/useValueDetailsButton.js +0 -23
- package/dist/components/RecordEdition/EditRecordContent/shared/ValueDetailsBtn/useValueDetailsButton.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordSidebar/ValueDetails/AttributeDetails/AttributeDetails.d.ts +0 -6
- package/dist/components/RecordEdition/EditRecordSidebar/ValueDetails/AttributeDetails/AttributeDetails.js +0 -56
- package/dist/components/RecordEdition/EditRecordSidebar/ValueDetails/AttributeDetails/AttributeDetails.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordSidebar/ValueDetails/AttributeDetails/index.d.ts +0 -2
- package/dist/components/RecordEdition/EditRecordSidebar/ValueDetails/AttributeDetails/index.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordSidebar/ValueDetails/TreeValuePath/TreeValuePath.d.ts +0 -8
- package/dist/components/RecordEdition/EditRecordSidebar/ValueDetails/TreeValuePath/TreeValuePath.js +0 -41
- package/dist/components/RecordEdition/EditRecordSidebar/ValueDetails/TreeValuePath/TreeValuePath.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordSidebar/ValueDetails/TreeValuePath/index.d.ts +0 -2
- package/dist/components/RecordEdition/EditRecordSidebar/ValueDetails/TreeValuePath/index.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordSidebar/ValueDetails/ValueDetails.d.ts +0 -10
- package/dist/components/RecordEdition/EditRecordSidebar/ValueDetails/ValueDetails.js +0 -63
- package/dist/components/RecordEdition/EditRecordSidebar/ValueDetails/ValueDetails.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordSidebar/ValueDetails/ValueInfo/ValueInfo.d.ts +0 -2
- package/dist/components/RecordEdition/EditRecordSidebar/ValueDetails/ValueInfo/ValueInfo.js +0 -76
- package/dist/components/RecordEdition/EditRecordSidebar/ValueDetails/ValueInfo/ValueInfo.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordSidebar/ValueDetails/ValueInfo/index.d.ts +0 -2
- package/dist/components/RecordEdition/EditRecordSidebar/ValueDetails/ValueInfo/index.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordSidebar/ValueDetails/ValueMetadata/ValueMetadata.d.ts +0 -11
- package/dist/components/RecordEdition/EditRecordSidebar/ValueDetails/ValueMetadata/ValueMetadata.js +0 -43
- package/dist/components/RecordEdition/EditRecordSidebar/ValueDetails/ValueMetadata/ValueMetadata.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordSidebar/ValueDetails/ValueMetadata/index.d.ts +0 -2
- package/dist/components/RecordEdition/EditRecordSidebar/ValueDetails/ValueMetadata/index.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordSidebar/ValueDetails/index.d.ts +0 -2
- package/dist/components/RecordEdition/EditRecordSidebar/ValueDetails/index.js.map +0 -1
- package/dist/hooks/useExecuteAddViewMutation/useExecuteAddViewMutation.d.ts +0 -6
- package/dist/hooks/useExecuteAddViewMutation/useExecuteAddViewMutation.js.map +0 -1
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
"submit": "Valider",
|
|
4
4
|
"cancel": "Annuler",
|
|
5
5
|
"close": "Fermer",
|
|
6
|
+
"save": "Enregistrer",
|
|
6
7
|
"id": "Identifiant",
|
|
7
8
|
"search": "Rechercher",
|
|
8
9
|
"info": "Informations",
|
|
@@ -30,7 +31,8 @@
|
|
|
30
31
|
"create": "Créer",
|
|
31
32
|
"ok": "Ok",
|
|
32
33
|
"max_length": "Longueur maximale",
|
|
33
|
-
"confirm": "Confirmer"
|
|
34
|
+
"confirm": "Confirmer",
|
|
35
|
+
"loading": "Chargement"
|
|
34
36
|
},
|
|
35
37
|
"errors": {
|
|
36
38
|
"default_language_required": "La langue par défaut est requise",
|
|
@@ -249,7 +251,7 @@
|
|
|
249
251
|
"not-contains": "Ne contient pas",
|
|
250
252
|
"equal": "Est égal",
|
|
251
253
|
"not-equal": "N'est pas égal",
|
|
252
|
-
"through": "
|
|
254
|
+
"through": "Dont l’attribut",
|
|
253
255
|
"begin-with": "Commence par",
|
|
254
256
|
"end-with": "Fini Par",
|
|
255
257
|
"is-empty": "Est Vide",
|
|
@@ -404,7 +406,9 @@
|
|
|
404
406
|
"add_value": "Ajouter une valeur",
|
|
405
407
|
"add_value_link": "Ajouter une liaison",
|
|
406
408
|
"delete_value": "Supprimer cette valeur",
|
|
407
|
-
"delete_value_confirm": "Êtes-vous sûr de vouloir supprimer cette valeur?",
|
|
409
|
+
"delete_value_confirm": "Êtes-vous sûr de vouloir supprimer cette valeur ?",
|
|
410
|
+
"delete_link_confirm": "Êtes-vous sûr de vouloir supprimer cette liaison ?",
|
|
411
|
+
"delete_links_confirm": "Êtes-vous sûr de vouloir supprimer ces liaisons ?",
|
|
408
412
|
"whoAmI": "Informations",
|
|
409
413
|
"no_value": "Pas de valeur",
|
|
410
414
|
"value_details": "Infos valeur",
|
|
@@ -488,7 +492,29 @@
|
|
|
488
492
|
"created_at": "Créé le",
|
|
489
493
|
"created_at_value": "{{date}} par {{user}}",
|
|
490
494
|
"modified_at": "Modifié le",
|
|
491
|
-
"modified_at_value": "{{date}} par {{user}}"
|
|
495
|
+
"modified_at_value": "{{date}} par {{user}}",
|
|
496
|
+
"new_record": "Nouvel élément",
|
|
497
|
+
"id_entity": "Identifiant entité",
|
|
498
|
+
"creation": "Création",
|
|
499
|
+
"last_modification": "Dernière modification",
|
|
500
|
+
"date_by_user": "Le {{date}} par {{user}}",
|
|
501
|
+
"open_preview_modal": "Ouvrir la modale d'aperçu",
|
|
502
|
+
"informations": "Informations",
|
|
503
|
+
"chat": "Chat",
|
|
504
|
+
"history": "Historique",
|
|
505
|
+
"entity_overview": "Fiche {{entity}}",
|
|
506
|
+
"attribute": "Attribut",
|
|
507
|
+
"attribute_format": "Format de l'attribut",
|
|
508
|
+
"descriptive": "Descriptif",
|
|
509
|
+
"values_version": "Version de valeurs",
|
|
510
|
+
"no_value": "Aucune valeur",
|
|
511
|
+
"calculated_value": "Valeur calculée",
|
|
512
|
+
"global": "Globale",
|
|
513
|
+
"error": {
|
|
514
|
+
"title": "Erreur de chargement des données",
|
|
515
|
+
"description": "Une erreur technique est survenue, veuillez recharger la page s'il vous plaît. Si l'erreur persiste, veuillez contacter le support Aristid.",
|
|
516
|
+
"refresh": "Rafraîchir"
|
|
517
|
+
}
|
|
492
518
|
},
|
|
493
519
|
"view": {
|
|
494
520
|
"views": "Vues",
|
|
@@ -552,8 +578,8 @@
|
|
|
552
578
|
"records_deactivation": {
|
|
553
579
|
"title": "Désactiver les éléments",
|
|
554
580
|
"title_one": "Désactiver",
|
|
555
|
-
"confirm": "Êtes-vous sûr de vouloir désactiver les éléments sélectionnés?",
|
|
556
|
-
"confirm_one": "Êtes-vous sûr de vouloir désactiver cet élément?"
|
|
581
|
+
"confirm": "Êtes-vous sûr de vouloir désactiver les éléments sélectionnés ?",
|
|
582
|
+
"confirm_one": "Êtes-vous sûr de vouloir désactiver cet élément ?"
|
|
557
583
|
},
|
|
558
584
|
"table-columns-selection": {
|
|
559
585
|
"header": "Colonnes disponibles",
|
|
@@ -614,11 +640,13 @@
|
|
|
614
640
|
"unselect-all": "Tout désélectionner"
|
|
615
641
|
},
|
|
616
642
|
"explorer": {
|
|
643
|
+
"name": "Nom",
|
|
617
644
|
"create-one": "Créer",
|
|
618
645
|
"actions": "Actions",
|
|
619
646
|
"more-actions": "Voir plus",
|
|
620
|
-
"deactivate-item": "Désactiver
|
|
621
|
-
"
|
|
647
|
+
"deactivate-item": "Désactiver",
|
|
648
|
+
"delete-item": "Supprimer",
|
|
649
|
+
"edit-item": "Éditer",
|
|
622
650
|
"settings": "Paramètres",
|
|
623
651
|
"back": "Retour",
|
|
624
652
|
"router-menu": "Configuration de la vue",
|
|
@@ -634,12 +662,9 @@
|
|
|
634
662
|
"active": "Tris actifs",
|
|
635
663
|
"inactive": "Tris inactifs"
|
|
636
664
|
},
|
|
637
|
-
"
|
|
638
|
-
"active": "Filtres actifs",
|
|
639
|
-
"inactive": "Filtres inactifs"
|
|
640
|
-
},
|
|
665
|
+
"toolbar": "Barre d’outils",
|
|
641
666
|
"reset-filter": "Réinitialiser le filtre",
|
|
642
|
-
"
|
|
667
|
+
"reset-view": "Réinitialiser la vue",
|
|
643
668
|
"empty-data": "Aucun élément trouvé.",
|
|
644
669
|
"sort-ascending": "Ascendant",
|
|
645
670
|
"sort-descending": "Descendant",
|
|
@@ -647,13 +672,45 @@
|
|
|
647
672
|
"coming-soon": "À venir",
|
|
648
673
|
"show": "Afficher",
|
|
649
674
|
"hide": "Masquer",
|
|
650
|
-
"pagination-total-
|
|
675
|
+
"pagination-total-number_one": "{{from, number}} - {{to, number}} de {{count, number}} élément",
|
|
676
|
+
"pagination-total-number_other": "{{from, number}} - {{to, number}} de {{count, number}} éléments",
|
|
651
677
|
"columns": "Colonnes",
|
|
652
678
|
"visible-columns": "Colonnes visibles",
|
|
653
679
|
"invisible-columns": "Colonnes invisibles",
|
|
654
680
|
"active-items-number": "{{count, number}} actifs",
|
|
655
681
|
"active-items-number_zero": "Aucun",
|
|
656
682
|
"invalid-value": "Valeur invalide",
|
|
657
|
-
"type-a-value": "Saisissez une valeur"
|
|
683
|
+
"type-a-value": "Saisissez une valeur",
|
|
684
|
+
"save-view-as": "Enregistrer sous...",
|
|
685
|
+
"share-view": "Partager",
|
|
686
|
+
"unshare-view": "Retirer le partage",
|
|
687
|
+
"reinit-view": "Réinitialiser",
|
|
688
|
+
"view-name": "Nom de la vue",
|
|
689
|
+
"default-view": "Vue par défaut",
|
|
690
|
+
"manage-views": "Gérer les vues",
|
|
691
|
+
"modified": "Modifiée",
|
|
692
|
+
"my-views": "Mes vues",
|
|
693
|
+
"shared-views": "Vues partagées",
|
|
694
|
+
"no-shared-views": "Aucune vue partagée",
|
|
695
|
+
"select-condition": "Sélectionner une condition",
|
|
696
|
+
"true": "Vrai",
|
|
697
|
+
"false": "Faux",
|
|
698
|
+
"filter-condition": "Condition",
|
|
699
|
+
"filter-link-attribute": "Attribut de liaison",
|
|
700
|
+
"massAction": {
|
|
701
|
+
"itemsTotal_one": "{{count, number}} élément",
|
|
702
|
+
"itemsTotal_other": "{{count, number}} éléments",
|
|
703
|
+
"selectedItems_one": "{{count, number}} sélectionné",
|
|
704
|
+
"selectedItems_other": "{{count, number}} sélectionnés",
|
|
705
|
+
"deactivate": "Supprimer",
|
|
706
|
+
"add-link": "Ajouter",
|
|
707
|
+
"toggle_selection": {
|
|
708
|
+
"select_page_one": "Sélectionner l’éléments visible ({{count, number}})",
|
|
709
|
+
"select_page_other": "Sélectionner les éléments visibles ({{count, number}})",
|
|
710
|
+
"select_all": "Tout sélectionner ({{count, number}})",
|
|
711
|
+
"deselect_all": "Tout désélectionner"
|
|
712
|
+
}
|
|
713
|
+
},
|
|
714
|
+
"add-existing-item": "Ajouter un élément existant"
|
|
658
715
|
}
|
|
659
716
|
}
|
package/dist/types/views.d.ts
CHANGED
|
@@ -13,12 +13,12 @@ export interface IView {
|
|
|
13
13
|
color?: string;
|
|
14
14
|
filters?: IFilter[];
|
|
15
15
|
valuesVersions?: IValueVersion;
|
|
16
|
-
|
|
17
|
-
|
|
16
|
+
sort?: IGetViewListSort[];
|
|
17
|
+
attributes?: string[];
|
|
18
18
|
}
|
|
19
19
|
export interface IViewDisplay {
|
|
20
20
|
type: ViewTypes;
|
|
21
|
-
size
|
|
21
|
+
size?: ViewSizes;
|
|
22
22
|
}
|
|
23
23
|
export interface IGetViewListSort {
|
|
24
24
|
field: string;
|
|
@@ -29,6 +29,6 @@ export interface IGetViewListSettings {
|
|
|
29
29
|
value?: any;
|
|
30
30
|
}
|
|
31
31
|
export interface IGetViewListDisplay {
|
|
32
|
-
size
|
|
32
|
+
size?: ViewSizes;
|
|
33
33
|
type: ViewTypes;
|
|
34
34
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@leav/ui",
|
|
3
|
-
"version": "0.3.6-
|
|
3
|
+
"version": "0.3.6-e275df8",
|
|
4
4
|
"description": "Shared React components and hooks",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"prepublishOnly": "yarn build",
|
|
@@ -51,9 +51,9 @@
|
|
|
51
51
|
"peerDependencies": {
|
|
52
52
|
"@ant-design/icons": ">=5.2",
|
|
53
53
|
"@apollo/client": ">=3.8.1",
|
|
54
|
-
"antd": "5.
|
|
55
|
-
"aristid-ds": "
|
|
56
|
-
"dayjs": "^1.11.
|
|
54
|
+
"antd": "5.22.2",
|
|
55
|
+
"aristid-ds": "13.0.0-a482bfb",
|
|
56
|
+
"dayjs": "^1.11.13",
|
|
57
57
|
"i18next": "22.5",
|
|
58
58
|
"react": "18.2.0",
|
|
59
59
|
"react-dom": "18.2.0",
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
"@dnd-kit/sortable": "8.0.0",
|
|
70
70
|
"@leav/utils": "0.0.3",
|
|
71
71
|
"@uidotdev/usehooks": "2.4.1",
|
|
72
|
-
"dompurify": "3.
|
|
72
|
+
"dompurify": "3.2.4",
|
|
73
73
|
"html-react-parser": "4.2.2",
|
|
74
74
|
"i18next-resources-to-backend": "1.1.4",
|
|
75
75
|
"lodash.isequal": "4.5.0",
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
// Copyright LEAV Solutions 2017 until 2023/11/05, Copyright Aristid from 2023/11/06
|
|
3
|
-
// This file is released under LGPL V3
|
|
4
|
-
// License text available at https://www.gnu.org/licenses/lgpl-3.0.txt
|
|
5
|
-
import styled from 'styled-components';
|
|
6
|
-
import { useViewSettingsContext } from '../manage-view-settings/store-view-settings/useViewSettingsContext';
|
|
7
|
-
import { KitButton, KitDivider, KitFilter, KitSpace } from 'aristid-ds';
|
|
8
|
-
import { FaTrash } from 'react-icons/fa';
|
|
9
|
-
import { useSharedTranslation } from '../../../hooks/useSharedTranslation';
|
|
10
|
-
import { CommonFilterItem } from '../manage-view-settings/_shared/CommonFilterItem';
|
|
11
|
-
const FilterStyled = styled(KitFilter) `
|
|
12
|
-
flex: 0 0 auto;
|
|
13
|
-
`;
|
|
14
|
-
const ExplorerFilterBarListStyled = styled.ul `
|
|
15
|
-
padding: calc(var(--general-spacing-xs) * 1px) calc(var(--general-spacing-xxs) * 1px)
|
|
16
|
-
calc(var(--general-spacing-m) * 1px) calc(var(--general-spacing-xxs) * 1px);
|
|
17
|
-
margin: 0;
|
|
18
|
-
list-style: none;
|
|
19
|
-
display: flex;
|
|
20
|
-
overflow: auto;
|
|
21
|
-
flex-wrap: nowrap;
|
|
22
|
-
align-items: center;
|
|
23
|
-
gap: 0;
|
|
24
|
-
white-space: nowrap;
|
|
25
|
-
`;
|
|
26
|
-
const DividerStyled = styled(KitDivider) `
|
|
27
|
-
height: 2em;
|
|
28
|
-
`;
|
|
29
|
-
export const ExplorerFilterBar = () => {
|
|
30
|
-
const { t } = useSharedTranslation();
|
|
31
|
-
const { view: { filters } } = useViewSettingsContext();
|
|
32
|
-
if (filters.length === 0) {
|
|
33
|
-
return null;
|
|
34
|
-
}
|
|
35
|
-
return (_jsxs(ExplorerFilterBarListStyled, { "aria-label": t('explorer.filter-list.active'), children: [_jsx(KitSpace, { size: "s", children: filters.map(filter => (_jsx("li", { children: _jsx(CommonFilterItem, { filter: filter }, filter.id) }, filter.id))) }), _jsx(DividerStyled, { type: "vertical" }), _jsx("li", { children: _jsx(FilterStyled, { as: KitButton, type: "secondary", size: "s", danger: true, icon: _jsx(FaTrash, {}), disabled: true, children: t('explorer.delete-filters') }) })] }));
|
|
36
|
-
};
|
|
37
|
-
//# sourceMappingURL=ExplorerFilterBar.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ExplorerFilterBar.js","sourceRoot":"","sources":["../../../../src/components/Explorer/display-view-filters/ExplorerFilterBar.tsx"],"names":[],"mappings":";AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,MAAM,MAAM,mBAAmB,CAAC;AACvC,OAAO,EAAC,sBAAsB,EAAC,MAAM,oEAAoE,CAAC;AAC1G,OAAO,EAAC,SAAS,EAAE,UAAU,EAAE,SAAS,EAAE,QAAQ,EAAC,MAAM,YAAY,CAAC;AAEtE,OAAO,EAAC,OAAO,EAAC,MAAM,gBAAgB,CAAC;AACvC,OAAO,EAAC,oBAAoB,EAAC,MAAM,gCAAgC,CAAC;AACpE,OAAO,EAAC,gB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aristid from 2023/11/06
|
|
3
|
-
// This file is released under LGPL V3
|
|
4
|
-
// License text available at https://www.gnu.org/licenses/lgpl-3.0.txt
|
|
5
|
-
import { useSharedTranslation } from '../../../../../hooks/useSharedTranslation';
|
|
6
|
-
import { KitButton, KitDivider, KitSelect, KitSpace } from 'aristid-ds';
|
|
7
|
-
import { FaClock, FaTrash } from 'react-icons/fa';
|
|
8
|
-
import { useViewSettingsContext } from '../../store-view-settings/useViewSettingsContext';
|
|
9
|
-
import { ViewSettingsActionTypes } from '../../store-view-settings/viewSettingsReducer';
|
|
10
|
-
import { FilterValueList } from './FilterValueList';
|
|
11
|
-
// TODO : This is an exemple file showing ho to customize dropdown Panel content. Don't mind the content of the file, missing types,... it's just an example.
|
|
12
|
-
const conditions = [
|
|
13
|
-
{
|
|
14
|
-
label: 'Egal à',
|
|
15
|
-
value: 'eq'
|
|
16
|
-
},
|
|
17
|
-
{
|
|
18
|
-
label: 'Différent de',
|
|
19
|
-
value: 'neq'
|
|
20
|
-
},
|
|
21
|
-
{
|
|
22
|
-
label: 'Commence par',
|
|
23
|
-
value: 'start'
|
|
24
|
-
},
|
|
25
|
-
{
|
|
26
|
-
label: 'Contient',
|
|
27
|
-
value: 'contains'
|
|
28
|
-
},
|
|
29
|
-
{
|
|
30
|
-
label: 'Ne contient pas',
|
|
31
|
-
value: 'not_contains'
|
|
32
|
-
},
|
|
33
|
-
{
|
|
34
|
-
label: 'Est dans la liste',
|
|
35
|
-
value: 'in'
|
|
36
|
-
},
|
|
37
|
-
{
|
|
38
|
-
label: "N'est pas dans la liste",
|
|
39
|
-
value: 'not_in'
|
|
40
|
-
}
|
|
41
|
-
];
|
|
42
|
-
const attributeValuesList = ['toto', 'tata', 'Value 3', 'Value 4', 'Value 5'];
|
|
43
|
-
export const SimpleFilterDropdown = ({ filter }) => {
|
|
44
|
-
const { t } = useSharedTranslation();
|
|
45
|
-
const { dispatch } = useViewSettingsContext();
|
|
46
|
-
const _updateFilter = (filterData) => {
|
|
47
|
-
dispatch({
|
|
48
|
-
type: ViewSettingsActionTypes.CHANGE_FILTER_CONFIG,
|
|
49
|
-
payload: filterData
|
|
50
|
-
});
|
|
51
|
-
};
|
|
52
|
-
const _onConditionChanged = condition => {
|
|
53
|
-
_updateFilter({ ...filter, condition });
|
|
54
|
-
};
|
|
55
|
-
const _onValueClick = value => {
|
|
56
|
-
_updateFilter({ ...filter, value: value.join('-') });
|
|
57
|
-
};
|
|
58
|
-
const _onResetFilter = () => dispatch({
|
|
59
|
-
type: ViewSettingsActionTypes.RESET_FILTER,
|
|
60
|
-
payload: {
|
|
61
|
-
id: filter.id
|
|
62
|
-
}
|
|
63
|
-
});
|
|
64
|
-
const _onDeleteFilter = () => dispatch({
|
|
65
|
-
type: ViewSettingsActionTypes.REMOVE_FILTER,
|
|
66
|
-
payload: {
|
|
67
|
-
id: filter.id
|
|
68
|
-
}
|
|
69
|
-
});
|
|
70
|
-
return (_jsxs(KitSpace, { size: "xxs", direction: "vertical", children: [_jsx(KitSelect, { options: conditions, onChange: _onConditionChanged, value: filter.condition }), _jsx(FilterValueList, { values: attributeValuesList, multiple: false, freeEntry: false, selectedValues: filter.value === null ? [] : [filter.value], onSelectionChanged: _onValueClick }), _jsx(KitDivider, { noMargin: true }), _jsx(KitButton, { type: "redirect", icon: _jsx(FaClock, {}), onClick: _onResetFilter, children: t('explorer.reset-filter') }), _jsx(KitButton, { type: "redirect", icon: _jsx(FaTrash, {}), onClick: _onDeleteFilter, children: t('global.delete') })] }));
|
|
71
|
-
};
|
|
72
|
-
//# sourceMappingURL=SimpleFilterDropDown.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SimpleFilterDropDown.js","sourceRoot":"","sources":["../../../../../../src/components/Explorer/manage-view-settings/filter-items/filter-type/SimpleFilterDropDown.tsx"],"names":[],"mappings":";AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,oBAAoB,EAAC,MAAM,gCAAgC,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AC,CAAC,uBAAuB,CAAC,GACnB,EACZ,KAAC,SAAS,IAAC,IAAI,EAAC,UAAU,EAAC,IAAI,EAAE,KAAC,OAAO,KAAG,EAAE,OAAO,EAAE,eAAe,YACjE,CAAC,CAAC,eAAe,CAAC,GACX,IACL,CACd,CAAC;AACN,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"nullValuesConditions.js","sourceRoot":"","sources":["../../../src/components/Explorer/nullValuesConditions.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,wBAAwB,EAAC,MAAM,WAAW,CAAC;AAEnD,MAAM,CAAC,MAAM,mBAAmB,GAAG;IAC/B,wBAAwB,CAAC,QAAQ;IACjC,wBAAwB,CAAC,YAAY;IACrC,wBAAwB,CAAC,KAAK;IAC9B,wBAAwB,CAAC,QAAQ;IACjC,wBAAwB,CAAC,SAAS;IAClC,wBAAwB,CAAC,UAAU;IACnC,wBAAwB,CAAC,UAAU;CACtC,CAAC"}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { ActionHook, IPrimaryAction } from './_types';
|
|
2
|
-
/**
|
|
3
|
-
* Hook used to get the action for `<DataView />` component.
|
|
4
|
-
*
|
|
5
|
-
* When the creation is done, we refresh all data even if the new record will not be visible due to some filters.
|
|
6
|
-
*
|
|
7
|
-
* It returns also two parts : one for the call action button - one for displayed the modal required by the action.
|
|
8
|
-
*
|
|
9
|
-
* @param isEnabled - whether the action is present
|
|
10
|
-
* @param library - the library's id to add new item
|
|
11
|
-
* @param refetch - method to call to refresh the list. New item will be visible if it matches filters and sorts
|
|
12
|
-
*/
|
|
13
|
-
export declare const useCreateAction: ({ isEnabled, library, refetch }: ActionHook<{
|
|
14
|
-
library: string;
|
|
15
|
-
refetch: () => void;
|
|
16
|
-
}>) => {
|
|
17
|
-
createAction: IPrimaryAction;
|
|
18
|
-
createModal: JSX.Element;
|
|
19
|
-
};
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
// Copyright LEAV Solutions 2017 until 2023/11/05, Copyright Aristid from 2023/11/06
|
|
3
|
-
// This file is released under LGPL V3
|
|
4
|
-
// License text available at https://www.gnu.org/licenses/lgpl-3.0.txt
|
|
5
|
-
import { useState } from 'react';
|
|
6
|
-
import { FaPlus } from 'react-icons/fa';
|
|
7
|
-
import { EditRecordModal } from '../../components';
|
|
8
|
-
import { useSharedTranslation } from '../../hooks/useSharedTranslation';
|
|
9
|
-
/**
|
|
10
|
-
* Hook used to get the action for `<DataView />` component.
|
|
11
|
-
*
|
|
12
|
-
* When the creation is done, we refresh all data even if the new record will not be visible due to some filters.
|
|
13
|
-
*
|
|
14
|
-
* It returns also two parts : one for the call action button - one for displayed the modal required by the action.
|
|
15
|
-
*
|
|
16
|
-
* @param isEnabled - whether the action is present
|
|
17
|
-
* @param library - the library's id to add new item
|
|
18
|
-
* @param refetch - method to call to refresh the list. New item will be visible if it matches filters and sorts
|
|
19
|
-
*/
|
|
20
|
-
export const useCreateAction = ({ isEnabled, library, refetch }) => {
|
|
21
|
-
const { t } = useSharedTranslation();
|
|
22
|
-
const [isRecordCreationVisible, setRecordCreationVisible] = useState(false);
|
|
23
|
-
const createAction = {
|
|
24
|
-
callback: () => {
|
|
25
|
-
setRecordCreationVisible(true);
|
|
26
|
-
},
|
|
27
|
-
icon: _jsx(FaPlus, {}),
|
|
28
|
-
label: t('explorer.create-one')
|
|
29
|
-
};
|
|
30
|
-
return {
|
|
31
|
-
createAction: isEnabled ? createAction : null,
|
|
32
|
-
createModal: isRecordCreationVisible ? (_jsx(EditRecordModal, { open: true, record: null, library: library, onClose: () => {
|
|
33
|
-
setRecordCreationVisible(false);
|
|
34
|
-
}, onCreate: () => {
|
|
35
|
-
refetch();
|
|
36
|
-
setRecordCreationVisible(false);
|
|
37
|
-
}, submitButtons: ['create'] })) : null
|
|
38
|
-
};
|
|
39
|
-
};
|
|
40
|
-
//# sourceMappingURL=useCreateAction.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useCreateAction.js","sourceRoot":"","sources":["../../../src/components/Explorer/useCreateAction.tsx"],"names":[],"mappings":";AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,QAAQ,EAAC,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAC,MAAM,EAAC,MAAM,gBAAgB,CAAC;AACtC,OAAO,EAAC,eAAe,EAAC,MAAM,gBAAgB,CAAC;AAC/C,OAAO,EAAC,oBAAoB,EAAC,MAAM,gCAAgC,CAAC;AAGpE;;;;;;;;;;GAUG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,EAC5B,SAAS,EACT,OAAO,EACP,OAAO,EAIT,EAAE,EAAE;IACF,MAAM,EAAC,CAAC,EAAC,GAAG,oBAAoB,EAAE,CAAC;IAEnC,MAAM,CAAC,uBAAuB,EAAE,wBAAwB,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;IAE5E,MAAM,YAAY,GAAmB;QACjC,QAAQ,EAAE,GAAG,EAAE;YACX,wBAAwB,CAAC,IAAI,CAAC,CAAC;QACnC,CAAC;QACD,IAAI,EAAE,KAAC,MAAM,KAAG;QAChB,KAAK,EAAE,CAAC,CAAC,qBAAqB,CAAC;KAClC,CAAC;IAEF,OAAO;QACH,YAAY,EAAE,SAAS,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,IAAI;QAC7C,WAAW,EAAE,uBAAuB,CAAC,CAAC,CAAC,CACnC,KAAC,eAAe,IACZ,IAAI,QACJ,MAAM,EAAE,IAAI,EACZ,OAAO,EAAE,OAAO,EAChB,OAAO,EAAE,GAAG,EAAE;gBACV,wBAAwB,CAAC,KAAK,CAAC,CAAC;YACpC,CAAC,EACD,QAAQ,EAAE,GAAG,EAAE;gBACX,OAAO,EAAE,CAAC;gBACV,wBAAwB,CAAC,KAAK,CAAC,CAAC;YACpC,CAAC,EACD,aAAa,EAAE,CAAC,QAAQ,CAAC,GAC3B,CACL,CAAC,CAAC,CAAC,IAAI;KACX,CAAC;AACN,CAAC,CAAC"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { ActionHook, IItemAction } from './_types';
|
|
2
|
-
/**
|
|
3
|
-
* Hook used to get the action for `<DataView />` component.
|
|
4
|
-
*
|
|
5
|
-
* When the mutation for deactivation is done, the Apollo cache will be clean (`Record` and `RecordIdentity`)
|
|
6
|
-
* from deactivated record.
|
|
7
|
-
*
|
|
8
|
-
* @param isEnabled - whether the action is present
|
|
9
|
-
*/
|
|
10
|
-
export declare const useDeactivateAction: ({ isEnabled }: ActionHook) => {
|
|
11
|
-
deactivateAction: IItemAction;
|
|
12
|
-
};
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
// Copyright LEAV Solutions 2017 until 2023/11/05, Copyright Aristid from 2023/11/06
|
|
3
|
-
// This file is released under LGPL V3
|
|
4
|
-
// License text available at https://www.gnu.org/licenses/lgpl-3.0.txt
|
|
5
|
-
import { FaTrash } from 'react-icons/fa';
|
|
6
|
-
import { KitModal } from 'aristid-ds';
|
|
7
|
-
import { useDeactivateRecordsMutation } from '../../_gqlTypes';
|
|
8
|
-
import { useSharedTranslation } from '../../hooks/useSharedTranslation';
|
|
9
|
-
import { useMemo } from 'react';
|
|
10
|
-
/**
|
|
11
|
-
* Hook used to get the action for `<DataView />` component.
|
|
12
|
-
*
|
|
13
|
-
* When the mutation for deactivation is done, the Apollo cache will be clean (`Record` and `RecordIdentity`)
|
|
14
|
-
* from deactivated record.
|
|
15
|
-
*
|
|
16
|
-
* @param isEnabled - whether the action is present
|
|
17
|
-
*/
|
|
18
|
-
export const useDeactivateAction = ({ isEnabled }) => {
|
|
19
|
-
const { t } = useSharedTranslation();
|
|
20
|
-
const [deactivateRecordsMutation] = useDeactivateRecordsMutation({
|
|
21
|
-
update(cache, deactivatedRecords) {
|
|
22
|
-
deactivatedRecords.data?.deactivateRecords.forEach(record => {
|
|
23
|
-
cache.evict({
|
|
24
|
-
id: cache.identify(record)
|
|
25
|
-
});
|
|
26
|
-
});
|
|
27
|
-
cache.gc();
|
|
28
|
-
}
|
|
29
|
-
});
|
|
30
|
-
const _deactivateAction = useMemo(() => ({
|
|
31
|
-
label: t('explorer.deactivate-item'),
|
|
32
|
-
icon: _jsx(FaTrash, {}),
|
|
33
|
-
isDanger: true,
|
|
34
|
-
callback: ({ itemId, libraryId }) => KitModal.confirm({
|
|
35
|
-
type: 'confirm',
|
|
36
|
-
dangerConfirm: true,
|
|
37
|
-
content: t('records_deactivation.confirm_one') ?? undefined,
|
|
38
|
-
okText: t('global.submit') ?? undefined,
|
|
39
|
-
cancelText: t('global.cancel') ?? undefined,
|
|
40
|
-
onOk: () => deactivateRecordsMutation({
|
|
41
|
-
variables: {
|
|
42
|
-
libraryId,
|
|
43
|
-
recordsIds: [itemId]
|
|
44
|
-
}
|
|
45
|
-
})
|
|
46
|
-
})
|
|
47
|
-
}), [t, deactivateRecordsMutation]);
|
|
48
|
-
return {
|
|
49
|
-
deactivateAction: isEnabled ? _deactivateAction : null
|
|
50
|
-
};
|
|
51
|
-
};
|
|
52
|
-
//# sourceMappingURL=useDeactivateAction.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useDeactivateAction.js","sourceRoot":"","sources":["../../../src/components/Explorer/useDeactivateAction.tsx"],"names":[],"mappings":";AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,OAAO,EAAC,MAAM,gBAAgB,CAAC;AACvC,OAAO,EAAC,QAAQ,EAAC,MAAM,YAAY,CAAC;AACpC,OAAO,EAAC,4BAA4B,EAAC,MAAM,eAAe,CAAC;AAC3D,OAAO,EAAC,oBAAoB,EAAC,MAAM,gCAAgC,CAAC;AAEpE,OAAO,EAAC,OAAO,EA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AAI,CAAC;gBACpB,UAAU,EAAE,EAAC,KAAK,EAAE,CAAC,EAAC;gBACtB,OAAO,EAAE;oBACL;wBACI,SAAS,EAAE,qBAAqB,CAAC,KAAK;wBACtC,KAAK,EAAE,IAAI;wBACX,KAAK,EAAE,IAAI,CAAC,MAAM;qBACrB;iBACJ;aACJ;SACJ,CAAC,CAAC;QACH,cAAc,CAAC,IAAI,CAAC,CAAC;IACzB,CAAC,CAAC;IAEF,MAAM,UAAU,GAAG,OAAO,CACtB,GAAG,EAAE,CAAC,CAAC;QACH,UAAU,EAAE,SAAS,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,IAAI;QAC1C,SAAS,EACL,SAAS,IAAI,WAAW,KAAK,IAAI,CAAC,CAAC,CAAC,CAChC,KAAC,eAAe,IACZ,IAAI,QACJ,MAAM,EAAE,WAAW,CAAC,MAAM,EAC1B,OAAO,EAAE,WAAW,CAAC,SAAS,EAC9B,OAAO,EAAE,GAAG,EAAE,CAAC,qBAAqB,CAAC,WAAW,CAAC,GACnD,CACL,CAAC,CAAC,CAAC,IAAI;KACf,CAAC,EACF,CAAC,SAAS,EAAE,WAAW,CAAC,CAC3B,CAAC;IAEF,OAAO,UAAU,CAAC;AACtB,CAAC,CAAC"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { IPrimaryAction } from './_types';
|
|
2
|
-
/**
|
|
3
|
-
* Hook used to get the primary actions for `<DataView />` component.
|
|
4
|
-
*
|
|
5
|
-
* Based on default actions and custom actions, it returns a primary with first action as "main" action and the others
|
|
6
|
-
* in the dropdown accessible via a split button.
|
|
7
|
-
*
|
|
8
|
-
* @param {Object[]} actions - list of actions to be display as one button: the primary action button
|
|
9
|
-
*/
|
|
10
|
-
export declare const usePrimaryActionsButton: (actions: IPrimaryAction[]) => {
|
|
11
|
-
primaryButton: JSX.Element;
|
|
12
|
-
};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { jsxs as _jsxs, jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import { KitButton, KitSpace } from 'aristid-ds';
|
|
3
|
-
/**
|
|
4
|
-
* Hook used to get the primary actions for `<DataView />` component.
|
|
5
|
-
*
|
|
6
|
-
* Based on default actions and custom actions, it returns a primary with first action as "main" action and the others
|
|
7
|
-
* in the dropdown accessible via a split button.
|
|
8
|
-
*
|
|
9
|
-
* @param {Object[]} actions - list of actions to be display as one button: the primary action button
|
|
10
|
-
*/
|
|
11
|
-
export const usePrimaryActionsButton = (actions) => {
|
|
12
|
-
const [firstAction, ...dropdownActions] = actions;
|
|
13
|
-
return {
|
|
14
|
-
primaryButton: actions.length === 0 ? null : (_jsx(KitButton, { type: "primary", icon: firstAction.icon, onClick: firstAction.callback, items: dropdownActions.map((action, index) => ({
|
|
15
|
-
key: index,
|
|
16
|
-
label: (_jsxs(KitSpace, { size: 8, children: [action.icon, " ", action.label] })),
|
|
17
|
-
onClick: action.callback
|
|
18
|
-
})), children: firstAction.label }))
|
|
19
|
-
};
|
|
20
|
-
};
|
|
21
|
-
//# sourceMappingURL=usePrimaryActions.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"usePrimaryActions.js","sourceRoot":"","sources":["../../../src/components/Explorer/usePrimaryActions.tsx"],"names":[],"mappings":";AAIA,OAAO,EAAC,SAAS,EAAE,QAAQ,EAAC,MAAM,YAAY,CAAC;AAE/C;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC,OAAyB,EAAE,EAAE;IACjE,MAAM,CAAC,WAAW,EAAE,GAAG,eAAe,CAAC,GAAG,OAAO,CAAC;IAElD,OAAO;QACH,aAAa,EACT,OAAO,CAAC,MAAM,KAAK,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAC1B,KAAC,SAAS,IACN,IAAI,EAAC,SAAS,EACd,IAAI,EAAE,WAAW,CAAC,IAAI,EACtB,OAAO,EAAE,WAAW,CAAC,QAAQ,EAC7B,KAAK,EAAE,eAAe,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,KAAK,EAAE,EAAE,CAAC,CAAC;gBAC3C,GAAG,EAAE,KAAK;gBACV,KAAK,EAAE,CACH,MAAC,QAAQ,IAAC,IAAI,EAAE,CAAC,aACZ,MAAM,CAAC,IAAI,OAAG,MAAM,CAAC,KAAK,IACpB,CACd;gBACD,OAAO,EAAE,MAAM,CAAC,QAAQ;aAC3B,CAAC,CAAC,YAEF,WAAW,CAAC,KAAK,GACV,CACf;KACR,CAAC;AACN,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"EditRecordSkeleton.js","sourceRoot":"","sources":["../../../../src/components/RecordEdition/EditRecordContent/EditRecordSkeleton.tsx"],"names":[],"mappings":";AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,OAAO,EAAE,QAAQ,EAAC,MAAM,MAAM,CAAC;AAOvC,SAAS,kBAAkB,CAAC,EAAC,IAAI,EAA2B;IACxD,MAAM,SAAS,GAAG,KAAK,CAAC,IAAI,CAAC;SACxB,IAAI,CAAC,EAAE,CAAC;SACR,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC;IAEtB,OAAO,CACH,4BACK,SAAS,CAAC,GAAG,CAAC,EAAE,CAAC,EAAE,CAAC,CACjB,8BAA0B,sBAAsB,aAC5C,KAAC,QAAQ,CAAC,KAAK,IAAC,MAAM,QAAC,IAAI,EAAC,OAAO,EAAC,KAAK,EAAE,EAAC,KAAK,EAAE,GAAG,EAAE,MAAM,EAAE,SAAS,EAAC,GAAI,EAC9E,KAAC,QAAQ,CAAC,KAAK,IAAC,MAAM,QAAC,IAAI,EAAC,OAAO,EAAC,KAAK,EAAE,EAAC,KAAK,EAAE,GAAG,EAAE,MAAM,EAAE,SAAS,EAAC,GAAI,EAC9E,KAAC,OAAO,KAAG,KAHL,EAAE,CAIN,CACT,CAAC,GACH,CACN,CAAC;AACN,CAAC;AAED,eAAe,kBAAkB,CAAC"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { RecordProperty } from '../../../../../_queries/records/getRecordPropertiesQuery';
|
|
2
|
-
import { RecordFormAttributeFragment } from '../../../../../_gqlTypes';
|
|
3
|
-
export declare const useValueDetailsButton: ({ attribute, value }: {
|
|
4
|
-
attribute: RecordFormAttributeFragment;
|
|
5
|
-
value: RecordProperty | null;
|
|
6
|
-
}) => {
|
|
7
|
-
onValueDetailsButtonClick: () => void;
|
|
8
|
-
};
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
// Copyright LEAV Solutions 2017 until 2023/11/05, Copyright Aristid from 2023/11/06
|
|
2
|
-
// This file is released under LGPL V3
|
|
3
|
-
// License text available at https://www.gnu.org/licenses/lgpl-3.0.txt
|
|
4
|
-
import { isTypeStandard } from '@leav/utils';
|
|
5
|
-
import { EditRecordReducerActionsTypes } from '../../../../../components/RecordEdition/editRecordReducer/editRecordReducer';
|
|
6
|
-
import { useEditRecordReducer } from '../../../../../components/RecordEdition/editRecordReducer/useEditRecordReducer';
|
|
7
|
-
const isIRecordPropertyStandard = (value, type) => isTypeStandard(type);
|
|
8
|
-
export const useValueDetailsButton = ({ attribute, value }) => {
|
|
9
|
-
const { dispatch } = useEditRecordReducer();
|
|
10
|
-
const onValueDetailsButtonClick = () => {
|
|
11
|
-
const editingValue = isIRecordPropertyStandard(value, attribute.type) ? value?.payload : null;
|
|
12
|
-
dispatch({
|
|
13
|
-
type: EditRecordReducerActionsTypes.SET_ACTIVE_VALUE,
|
|
14
|
-
value: {
|
|
15
|
-
value,
|
|
16
|
-
editingValue,
|
|
17
|
-
attribute
|
|
18
|
-
}
|
|
19
|
-
});
|
|
20
|
-
};
|
|
21
|
-
return { onValueDetailsButtonClick };
|
|
22
|
-
};
|
|
23
|
-
//# sourceMappingURL=useValueDetailsButton.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useValueDetailsButton.js","sourceRoot":"","sources":["../../../../../../src/components/RecordEdition/EditRecordContent/shared/ValueDetailsBtn/useValueDetailsButton.tsx"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,cAAc,EAAC,MAAM,aAAa,CAAC;AAE3C,OAAO,EAAC,6BAA6B,EAAC,MAAM,kEAAkE,CAAC;AAE/G,OAAO,EAAC,oBAAoB,EAAC,MAAM,qEAAqE,CAAC;AAEzG,MAAM,yBAAyB,GAAG,CAAC,KAAqB,EAAE,IAAmB,EAAoC,EAAE,CAC/G,cAAc,CAAC,IAAI,CAAC,CAAC;AAEzB,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,EAClC,SAAS,EACT,KAAK,EAIR,EAAE,EAAE;IACD,MAAM,EAAC,QAAQ,EAAC,GAAG,oBAAoB,EAAE,CAAC;IAE1C,MAAM,yBAAyB,GAAG,GAAG,EAAE;QACnC,MAAM,YAAY,GAAG,yBAAyB,CAAC,KAAK,EAAE,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC,CAAC,IAAI,CAAC;QAC9F,QAAQ,CAAC;YACL,IAAI,EAAE,6BAA6B,CAAC,gBAAgB;YACpD,KAAK,EAAE;gBACH,KAAK;gBACL,YAAY;gBACZ,SAAS;aACZ;SACJ,CAAC,CAAC;IACP,CAAC,CAAC;IAEF,OAAO,EAAC,yBAAyB,EAAC,CAAC;AACvC,CAAC,CAAC"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { RecordFormAttributeFragment } from '../../../../../_gqlTypes';
|
|
2
|
-
interface IAttributeDetailsProps {
|
|
3
|
-
attribute: RecordFormAttributeFragment;
|
|
4
|
-
}
|
|
5
|
-
declare function AttributeDetails({ attribute }: IAttributeDetailsProps): JSX.Element;
|
|
6
|
-
export default AttributeDetails;
|