@leav/ui 0.3.6-901cfc6 → 0.3.6-9ec784a
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.d.ts +1 -0
- package/dist/__mocks__/common/attribute.js +11 -2
- package/dist/__mocks__/common/attribute.js.map +1 -1
- package/dist/__mocks__/common/form.d.ts +12 -5
- package/dist/__mocks__/common/form.js +35 -4
- package/dist/__mocks__/common/form.js.map +1 -1
- package/dist/__mocks__/common/record.d.ts +13 -2
- package/dist/__mocks__/common/record.js.map +1 -1
- package/dist/__mocks__/common/value.js +3 -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 +495 -77
- package/dist/_gqlTypes/index.js +282 -34
- package/dist/_gqlTypes/index.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/getRecordColumnsValues.d.ts +5 -3
- package/dist/_queries/records/getRecordColumnsValues.js +4 -1
- package/dist/_queries/records/getRecordColumnsValues.js.map +1 -1
- package/dist/_queries/records/getRecordFormQuery.js +2 -0
- package/dist/_queries/records/getRecordFormQuery.js.map +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 +4 -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/index.js +5 -2
- package/dist/_utils/index.js.map +1 -1
- package/dist/_utils/interleaveElement.d.ts +1 -0
- package/dist/_utils/interleaveElement.js +5 -0
- package/dist/_utils/interleaveElement.js.map +1 -0
- 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 +1 -1
- package/dist/components/CreateDirectory/CreateDirectory.js.map +1 -1
- package/dist/components/EditApplication/EditApplication.js +2 -2
- package/dist/components/EditApplication/EditApplication.js.map +1 -1
- package/dist/components/EditApplication/_types.d.ts +2 -2
- package/dist/components/Explorer/DataView.d.ts +15 -1
- package/dist/components/Explorer/DataView.js +97 -48
- package/dist/components/Explorer/DataView.js.map +1 -1
- package/dist/components/Explorer/Explorer.d.ts +13 -6
- package/dist/components/Explorer/Explorer.js +97 -14
- package/dist/components/Explorer/Explorer.js.map +1 -1
- package/dist/components/Explorer/ExplorerTitle.d.ts +9 -0
- package/dist/components/Explorer/ExplorerTitle.js +47 -0
- package/dist/components/Explorer/ExplorerTitle.js.map +1 -0
- package/dist/components/Explorer/ExplorerToolbar.d.ts +5 -0
- package/dist/components/Explorer/ExplorerToolbar.js +45 -0
- package/dist/components/Explorer/ExplorerToolbar.js.map +1 -0
- package/dist/components/Explorer/IdCard.d.ts +7 -0
- package/dist/components/Explorer/IdCard.js +15 -0
- package/dist/components/Explorer/IdCard.js.map +1 -0
- package/dist/components/Explorer/TableCell.d.ts +8 -0
- package/dist/components/Explorer/TableCell.js +152 -0
- package/dist/components/Explorer/TableCell.js.map +1 -0
- package/dist/components/Explorer/TableTagGroup.d.ts +7 -0
- package/dist/components/Explorer/TableTagGroup.js +30 -0
- package/dist/components/Explorer/TableTagGroup.js.map +1 -0
- 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 +81 -0
- package/dist/components/Explorer/_queries/prepareFiltersForRequest.js.map +1 -0
- package/dist/components/Explorer/_queries/useExplorerData.d.ts +35 -0
- package/dist/components/Explorer/_queries/useExplorerData.js +115 -0
- package/dist/components/Explorer/_queries/useExplorerData.js.map +1 -0
- package/dist/components/Explorer/_types.d.ts +87 -0
- package/dist/components/Explorer/_types.js +2 -0
- package/dist/components/Explorer/_types.js.map +1 -0
- package/dist/components/Explorer/conditionsHelper.d.ts +2 -0
- package/dist/components/Explorer/conditionsHelper.js +16 -0
- package/dist/components/Explorer/conditionsHelper.js.map +1 -0
- package/dist/components/Explorer/index.d.ts +9 -1
- package/dist/components/Explorer/index.js +6 -1
- package/dist/components/Explorer/index.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/_shared/ColumnItem.d.ts +12 -0
- package/dist/components/Explorer/manage-view-settings/_shared/ColumnItem.js +85 -0
- package/dist/components/Explorer/manage-view-settings/_shared/ColumnItem.js.map +1 -0
- package/dist/components/Explorer/manage-view-settings/_shared/CommonFilterItem.d.ts +6 -0
- package/dist/components/Explorer/manage-view-settings/_shared/CommonFilterItem.js +12 -0
- package/dist/components/Explorer/manage-view-settings/_shared/CommonFilterItem.js.map +1 -0
- package/dist/components/Explorer/manage-view-settings/_shared/useAttributeDetailsData.d.ts +13 -0
- package/dist/components/Explorer/manage-view-settings/_shared/useAttributeDetailsData.js +67 -0
- package/dist/components/Explorer/manage-view-settings/_shared/useAttributeDetailsData.js.map +1 -0
- package/dist/components/Explorer/manage-view-settings/configure-display/ConfigureDisplay.d.ts +6 -0
- package/dist/components/Explorer/manage-view-settings/configure-display/ConfigureDisplay.js +28 -0
- package/dist/components/Explorer/manage-view-settings/configure-display/ConfigureDisplay.js.map +1 -0
- package/dist/components/Explorer/manage-view-settings/configure-display/attributes/SelectVisibleAttributes.d.ts +6 -0
- package/dist/components/Explorer/manage-view-settings/configure-display/attributes/SelectVisibleAttributes.js +56 -0
- package/dist/components/Explorer/manage-view-settings/configure-display/attributes/SelectVisibleAttributes.js.map +1 -0
- package/dist/components/Explorer/manage-view-settings/configure-display/view-type/SelectViewType.d.ts +8 -0
- package/dist/components/Explorer/manage-view-settings/configure-display/view-type/SelectViewType.js +12 -0
- package/dist/components/Explorer/manage-view-settings/configure-display/view-type/SelectViewType.js.map +1 -0
- package/dist/components/Explorer/manage-view-settings/filter-items/FilterItems.d.ts +4 -0
- package/dist/components/Explorer/manage-view-settings/filter-items/FilterItems.js +83 -0
- package/dist/components/Explorer/manage-view-settings/filter-items/FilterItems.js.map +1 -0
- package/dist/components/Explorer/manage-view-settings/filter-items/FilterListItem.d.ts +9 -0
- package/dist/components/Explorer/manage-view-settings/filter-items/FilterListItem.js +33 -0
- package/dist/components/Explorer/manage-view-settings/filter-items/FilterListItem.js.map +1 -0
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/BooleanAttributeDropdown.d.ts +3 -0
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/BooleanAttributeDropdown.js +22 -0
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/BooleanAttributeDropdown.js.map +1 -0
- 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 +3 -0
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/DateAttributeDropDown.js +66 -0
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/DateAttributeDropDown.js.map +1 -0
- 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 +3 -0
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/FilterDropDown.js +71 -0
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/FilterDropDown.js.map +1 -0
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/FilterValueList.d.ts +10 -0
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/FilterValueList.js +75 -0
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/FilterValueList.js.map +1 -0
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/NumericAttributeDropDown.d.ts +3 -0
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/NumericAttributeDropDown.js +19 -0
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/NumericAttributeDropDown.js.map +1 -0
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/TextAttributeDropDown.d.ts +3 -0
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/TextAttributeDropDown.js +28 -0
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/TextAttributeDropDown.js.map +1 -0
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/useConditionOptionsByType.d.ts +11 -0
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/useConditionOptionsByType.js +100 -0
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/useConditionOptionsByType.js.map +1 -0
- package/dist/components/Explorer/manage-view-settings/index.d.ts +8 -0
- package/dist/components/Explorer/manage-view-settings/index.js +11 -0
- package/dist/components/Explorer/manage-view-settings/index.js.map +1 -0
- package/dist/components/Explorer/manage-view-settings/open-view-settings/EditSettingsContext.d.ts +15 -0
- package/dist/components/Explorer/manage-view-settings/open-view-settings/EditSettingsContext.js +15 -0
- package/dist/components/Explorer/manage-view-settings/open-view-settings/EditSettingsContext.js.map +1 -0
- package/dist/components/Explorer/manage-view-settings/open-view-settings/EditSettingsContextProvider.d.ts +7 -0
- package/dist/components/Explorer/manage-view-settings/open-view-settings/EditSettingsContextProvider.js +17 -0
- package/dist/components/Explorer/manage-view-settings/open-view-settings/EditSettingsContextProvider.js.map +1 -0
- package/dist/components/Explorer/manage-view-settings/open-view-settings/SidePanel.d.ts +2 -0
- package/dist/components/Explorer/manage-view-settings/open-view-settings/SidePanel.js +19 -0
- package/dist/components/Explorer/manage-view-settings/open-view-settings/SidePanel.js.map +1 -0
- package/dist/components/Explorer/manage-view-settings/open-view-settings/useEditSettings.d.ts +1 -0
- package/dist/components/{RecordEdition/EditRecordContent/reducers/standardFieldReducer/useStandardFieldReducer.js → Explorer/manage-view-settings/open-view-settings/useEditSettings.js} +3 -3
- package/dist/components/Explorer/manage-view-settings/open-view-settings/useEditSettings.js.map +1 -0
- package/dist/components/Explorer/manage-view-settings/open-view-settings/useOpenViewSettings.d.ts +5 -0
- package/dist/components/Explorer/manage-view-settings/open-view-settings/useOpenViewSettings.js +39 -0
- package/dist/components/Explorer/manage-view-settings/open-view-settings/useOpenViewSettings.js.map +1 -0
- package/dist/components/Explorer/manage-view-settings/router-menu/SettingItem.d.ts +9 -0
- package/dist/components/Explorer/manage-view-settings/router-menu/SettingItem.js +55 -0
- package/dist/components/Explorer/manage-view-settings/router-menu/SettingItem.js.map +1 -0
- package/dist/components/Explorer/manage-view-settings/router-menu/SettingsPanel.d.ts +8 -0
- package/dist/components/Explorer/manage-view-settings/router-menu/SettingsPanel.js +70 -0
- package/dist/components/Explorer/manage-view-settings/router-menu/SettingsPanel.js.map +1 -0
- package/dist/components/Explorer/manage-view-settings/sort-items/SortItems.d.ts +4 -0
- package/dist/components/Explorer/manage-view-settings/sort-items/SortItems.js +113 -0
- package/dist/components/Explorer/manage-view-settings/sort-items/SortItems.js.map +1 -0
- package/dist/components/Explorer/manage-view-settings/sort-items/SortListItem.d.ts +10 -0
- package/dist/components/Explorer/manage-view-settings/sort-items/SortListItem.js +32 -0
- package/dist/components/Explorer/manage-view-settings/sort-items/SortListItem.js.map +1 -0
- package/dist/components/Explorer/manage-view-settings/store-view-settings/ViewSettingsContext.d.ts +6 -0
- package/dist/components/Explorer/manage-view-settings/store-view-settings/ViewSettingsContext.js +11 -0
- package/dist/components/Explorer/manage-view-settings/store-view-settings/ViewSettingsContext.js.map +1 -0
- package/dist/components/Explorer/manage-view-settings/store-view-settings/useViewSettingsContext.d.ts +4 -0
- package/dist/components/Explorer/manage-view-settings/store-view-settings/useViewSettingsContext.js +7 -0
- package/dist/components/Explorer/manage-view-settings/store-view-settings/useViewSettingsContext.js.map +1 -0
- package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsInitialState.d.ts +4 -0
- package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsInitialState.js +25 -0
- package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsInitialState.js.map +1 -0
- package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsReducer.d.ts +159 -0
- package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsReducer.js +210 -0
- package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsReducer.js.map +1 -0
- package/dist/components/Explorer/useColumnWidth.d.ts +6 -0
- package/dist/components/Explorer/useColumnWidth.js +48 -0
- package/dist/components/Explorer/useColumnWidth.js.map +1 -0
- package/dist/components/Explorer/{useCreateMainAction.d.ts → useCreateAction.d.ts} +5 -3
- package/dist/components/Explorer/useCreateAction.js +73 -0
- package/dist/components/Explorer/useCreateAction.js.map +1 -0
- package/dist/components/Explorer/useDeactivateMassAction.d.ts +27 -0
- package/dist/components/Explorer/useDeactivateMassAction.js +71 -0
- package/dist/components/Explorer/useDeactivateMassAction.js.map +1 -0
- package/dist/components/Explorer/useEditAction.d.ts +1 -1
- package/dist/components/Explorer/useEditAction.js +10 -8
- package/dist/components/Explorer/useEditAction.js.map +1 -1
- package/dist/components/Explorer/useMassActions.d.ts +27 -0
- package/dist/components/Explorer/useMassActions.js +109 -0
- package/dist/components/Explorer/useMassActions.js.map +1 -0
- package/dist/components/Explorer/usePagination.d.ts +7 -0
- package/dist/components/Explorer/usePagination.js +25 -0
- package/dist/components/Explorer/usePagination.js.map +1 -0
- package/dist/components/Explorer/usePrimaryActions.d.ts +12 -0
- package/dist/components/Explorer/usePrimaryActions.js +28 -0
- package/dist/components/Explorer/usePrimaryActions.js.map +1 -0
- package/dist/components/Explorer/useRemoveAction.d.ts +23 -0
- package/dist/components/Explorer/useRemoveAction.js +109 -0
- package/dist/components/Explorer/useRemoveAction.js.map +1 -0
- package/dist/components/Explorer/useSearchInput.d.ts +16 -0
- package/dist/components/Explorer/useSearchInput.js +39 -0
- package/dist/components/Explorer/useSearchInput.js.map +1 -0
- package/dist/components/Explorer/useTableScrollableHeight.d.ts +5 -0
- package/dist/components/Explorer/useTableScrollableHeight.js +15 -0
- package/dist/components/Explorer/useTableScrollableHeight.js.map +1 -0
- package/dist/components/Explorer/useViewSettingsReducer.d.ts +8 -0
- package/dist/components/Explorer/useViewSettingsReducer.js +126 -0
- package/dist/components/Explorer/useViewSettingsReducer.js.map +1 -0
- package/dist/components/ExportModal/ExportModal.js +2 -2
- package/dist/components/ExportModal/ExportModal.js.map +1 -1
- package/dist/components/ImportModal/ImportModalConfigStep/ImportModalConfigStep.js +5 -5
- package/dist/components/ImportModal/ImportModalConfigStep/ImportModalConfigStep.js.map +1 -1
- package/dist/components/LibraryItemsList/FiltersPanel/Filter/Filter.js +2 -2
- package/dist/components/LibraryItemsList/FiltersPanel/Filter/Filter.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 +4 -9
- 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 +1 -0
- package/dist/components/RecordEdition/EditRecord/EditRecord.js +60 -72
- package/dist/components/RecordEdition/EditRecord/EditRecord.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/EditRecordContent.js +18 -5
- package/dist/components/RecordEdition/EditRecordContent/EditRecordContent.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/_types.d.ts +10 -21
- package/dist/components/RecordEdition/EditRecordContent/_types.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/antdUtils.d.ts +5 -1
- package/dist/components/RecordEdition/EditRecordContent/antdUtils.js +44 -34
- package/dist/components/RecordEdition/EditRecordContent/antdUtils.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/useExecuteSaveValueBatchMutation.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/hooks/useRunActionsListAndFormatOnValue.js +3 -0
- package/dist/components/RecordEdition/EditRecordContent/hooks/useRunActionsListAndFormatOnValue.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/Container/Container.d.ts +3 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/Container/Container.js +2 -2
- package/dist/components/RecordEdition/EditRecordContent/uiElements/Container/Container.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/LinkField/MonoValueSelect/MonoValueSelect.d.ts +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/MonoValueSelect/MonoValueSelect.js +2 -7
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/MonoValueSelect/MonoValueSelect.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/MultiValueSelect/MultiValueSelect.d.ts +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/MultiValueSelect/MultiValueSelect.js +2 -9
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/MultiValueSelect/MultiValueSelect.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/ComputeIndicator.d.ts +6 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/ComputeIndicator.js +16 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/ComputeIndicator.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/DeleteAllValuesButton.d.ts +4 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/DeleteAllValuesButton.js +25 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/DeleteAllValuesButton.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardField.d.ts +5 -2
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardField.js +195 -185
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardField.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSBooleanWrapper.d.ts +2 -8
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSBooleanWrapper.js +11 -30
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSBooleanWrapper.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSColorPickerWrapper.d.ts +2 -13
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSColorPickerWrapper.js +81 -45
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSColorPickerWrapper.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSDatePickerWrapper.d.ts +3 -14
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSDatePickerWrapper.js +37 -46
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSDatePickerWrapper.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputEncryptedWrapper.d.ts +3 -14
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputEncryptedWrapper.js +14 -74
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputEncryptedWrapper.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputNumberWrapper.d.ts +3 -14
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputNumberWrapper.js +33 -49
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputNumberWrapper.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputWrapper.d.ts +3 -14
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputWrapper.js +33 -60
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputWrapper.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSRangePickerWrapper.d.ts +3 -14
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSRangePickerWrapper.js +54 -64
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSRangePickerWrapper.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSRichTextWrapper.d.ts +3 -14
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSRichTextWrapper.js +33 -56
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSRichTextWrapper.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValue.d.ts +16 -9
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValue.js +56 -402
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValue.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/ValuesList/DSListSelect.d.ts +4 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/ValuesList/DSListSelect.js +141 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/ValuesList/DSListSelect.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/ValuesList/_types.d.ts +2 -6
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/_types.d.ts +15 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/_types.js +2 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/_types.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/calculatedInheritedFlags.d.ts +42 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/calculatedInheritedFlags.js +56 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/calculatedInheritedFlags.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/useGetPresentationValues.d.ts +12 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/useGetPresentationValues.js +32 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/useGetPresentationValues.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/ValuesAdd/ValuesAdd.js +2 -2
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/ValuesAdd/ValuesAdd.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordModal/EditRecordModal.js +10 -4
- package/dist/components/RecordEdition/EditRecordModal/EditRecordModal.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordPage/EditRecordPage.d.ts +2 -0
- package/dist/components/RecordEdition/EditRecordPage/EditRecordPage.js +2 -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/{EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValueDisplayHandler → EditRecordSidebar/AttributeSummary}/index.js +2 -1
- 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/{EditRecordContent/reducers/standardFieldReducer → EditRecordSidebar/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 +39 -5
- 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 +2 -281
- package/dist/components/RecordEdition/EditRecordSidebar/RecordSummary/RecordSummary.js +25 -56
- package/dist/components/RecordEdition/EditRecordSidebar/RecordSummary/RecordSummary.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordSidebar/ValueDetails/ValueDetails.js +1 -13
- package/dist/components/RecordEdition/EditRecordSidebar/ValueDetails/ValueDetails.js.map +1 -1
- 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/{EditRecordContent/reducers/standardFieldReducer/standardFieldReducerContext.js → EditRecordSkeleton/index.js} +3 -6
- package/dist/components/RecordEdition/EditRecordSkeleton/index.js.map +1 -0
- 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/SelectTreeNode.d.ts +4 -7
- package/dist/components/SelectTreeNode/SelectTreeNode.js +17 -135
- package/dist/components/SelectTreeNode/SelectTreeNode.js.map +1 -1
- package/dist/components/SelectTreeNode/SelectTreeNodeContent.d.ts +16 -0
- package/dist/components/SelectTreeNode/SelectTreeNodeContent.js +131 -0
- package/dist/components/SelectTreeNode/SelectTreeNodeContent.js.map +1 -0
- package/dist/components/SelectTreeNode/index.d.ts +1 -1
- package/dist/components/SelectTreeNode/index.js +1 -1
- package/dist/components/SelectTreeNode/index.js.map +1 -1
- package/dist/components/SelectTreeNodeModal/SelectTreeNodeModal.d.ts +4 -7
- package/dist/components/SelectTreeNodeModal/SelectTreeNodeModal.js +10 -10
- package/dist/components/SelectTreeNodeModal/SelectTreeNodeModal.js.map +1 -1
- package/dist/components/SelectTreeNodeModal/index.d.ts +1 -2
- package/dist/components/SelectTreeNodeModal/index.js +1 -2
- package/dist/components/SelectTreeNodeModal/index.js.map +1 -1
- package/dist/components/UploadFiles/UploadFiles.js +1 -1
- package/dist/components/UploadFiles/UploadFiles.js.map +1 -1
- package/dist/components/ValuesVersionConfigurator/VersionTree/VersionTree.js +2 -2
- package/dist/components/ValuesVersionConfigurator/VersionTree/VersionTree.js.map +1 -1
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.js +1 -0
- package/dist/components/index.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/useDebouncedValue/index.d.ts +1 -0
- package/dist/hooks/useDebouncedValue/index.js +5 -0
- package/dist/hooks/useDebouncedValue/index.js.map +1 -0
- package/dist/hooks/useExecuteSaveViewMutation/index.d.ts +1 -0
- package/dist/hooks/useExecuteSaveViewMutation/index.js +5 -0
- 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} +6 -6
- package/dist/hooks/useExecuteSaveViewMutation/useExecuteSaveViewMutation.js.map +1 -0
- package/dist/hooks/useGetRecordForm/useGetRecordForm.d.ts +1 -0
- package/dist/hooks/useGetRecordForm/useGetRecordForm.js.map +1 -1
- package/dist/locales/en/shared.json +91 -8
- package/dist/locales/fr/shared.json +93 -10
- package/dist/types/views.d.ts +4 -4
- package/package.json +7 -2
- package/dist/components/Explorer/types.d.ts +0 -21
- package/dist/components/Explorer/types.js +0 -2
- package/dist/components/Explorer/types.js.map +0 -1
- package/dist/components/Explorer/useCreateMainAction.js +0 -36
- package/dist/components/Explorer/useCreateMainAction.js.map +0 -1
- package/dist/components/Explorer/useDeactivateAction.d.ts +0 -12
- package/dist/components/Explorer/useDeactivateAction.js +0 -51
- package/dist/components/Explorer/useDeactivateAction.js.map +0 -1
- package/dist/components/Explorer/useExplorerData.d.ts +0 -11
- package/dist/components/Explorer/useExplorerData.js +0 -23
- package/dist/components/Explorer/useExplorerData.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/EditRecordSkeleton.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/reducers/standardFieldReducer/index.d.ts +0 -2
- package/dist/components/RecordEdition/EditRecordContent/reducers/standardFieldReducer/index.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/reducers/standardFieldReducer/standardFieldReducer.d.ts +0 -138
- package/dist/components/RecordEdition/EditRecordContent/reducers/standardFieldReducer/standardFieldReducer.js +0 -361
- package/dist/components/RecordEdition/EditRecordContent/reducers/standardFieldReducer/standardFieldReducer.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/reducers/standardFieldReducer/standardFieldReducerContext.d.ts +0 -7
- package/dist/components/RecordEdition/EditRecordContent/reducers/standardFieldReducer/standardFieldReducerContext.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/reducers/standardFieldReducer/useStandardFieldReducer.d.ts +0 -1
- package/dist/components/RecordEdition/EditRecordContent/reducers/standardFieldReducer/useStandardFieldReducer.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/EditRecordContent/uiElements/StandardField/StandardFieldValue/Inputs/CheckboxInput.d.ts +0 -3
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/Inputs/CheckboxInput.js +0 -14
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/Inputs/CheckboxInput.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/Inputs/ColorInput.d.ts +0 -3
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/Inputs/ColorInput.js +0 -22
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/Inputs/ColorInput.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/Inputs/DateInput.d.ts +0 -3
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/Inputs/DateInput.js +0 -22
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/Inputs/DateInput.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/Inputs/EncryptedInput.d.ts +0 -3
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/Inputs/EncryptedInput.js +0 -19
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/Inputs/EncryptedInput.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/Inputs/NumberInput.d.ts +0 -3
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/Inputs/NumberInput.js +0 -32
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/Inputs/NumberInput.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/Inputs/RichTextEditorInput.d.ts +0 -3
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/Inputs/RichTextEditorInput.js +0 -51
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/Inputs/RichTextEditorInput.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/Inputs/TextInput.d.ts +0 -3
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/Inputs/TextInput.js +0 -26
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/Inputs/TextInput.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValueDisplayHandler/StandardFieldValueDisplayHandler.d.ts +0 -13
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValueDisplayHandler/StandardFieldValueDisplayHandler.js +0 -89
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValueDisplayHandler/StandardFieldValueDisplayHandler.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValueDisplayHandler/StandardFieldValueRead/ColorPickerBlock.d.ts +0 -7
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValueDisplayHandler/StandardFieldValueRead/ColorPickerBlock.js +0 -45
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValueDisplayHandler/StandardFieldValueRead/ColorPickerBlock.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValueDisplayHandler/StandardFieldValueRead/StandardFieldValueRead.d.ts +0 -9
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValueDisplayHandler/StandardFieldValueRead/StandardFieldValueRead.js +0 -141
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValueDisplayHandler/StandardFieldValueRead/StandardFieldValueRead.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValueDisplayHandler/index.d.ts +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValueDisplayHandler/index.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/ValuesList/MonoValueSelect.d.ts +0 -3
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/ValuesList/MonoValueSelect.js +0 -123
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/ValuesList/MonoValueSelect.js.map +0 -1
- package/dist/hooks/useExecuteAddViewMutation/useExecuteAddViewMutation.d.ts +0 -6
- package/dist/hooks/useExecuteAddViewMutation/useExecuteAddViewMutation.js.map +0 -1
|
@@ -0,0 +1,5 @@
|
|
|
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
|
+
export * from './useDebouncedValue';
|
|
5
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/hooks/useDebouncedValue/index.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,cAAc,qBAAqB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './useExecuteSaveViewMutation';
|
|
@@ -0,0 +1,5 @@
|
|
|
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
|
+
export { default } from './useExecuteSaveViewMutation';
|
|
5
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/hooks/useExecuteSaveViewMutation/index.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,OAAO,EAAC,MAAM,8BAA8B,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { FetchResult } from '@apollo/client';
|
|
2
|
+
import { SaveViewMutation, SaveViewMutationVariables } from '../../_gqlTypes';
|
|
3
|
+
export interface IUseSaveViewMutationHook {
|
|
4
|
+
saveView: (variables: SaveViewMutationVariables) => Promise<FetchResult<SaveViewMutation>>;
|
|
5
|
+
}
|
|
6
|
+
export default function useExecuteSaveViewMutation(): IUseSaveViewMutationHook;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { useSaveViewMutation } from '../../_gqlTypes';
|
|
2
2
|
import { getViewsListQuery } from '../../_queries/views/getViewsListQuery';
|
|
3
|
-
export default function
|
|
4
|
-
const [
|
|
3
|
+
export default function useExecuteSaveViewMutation() {
|
|
4
|
+
const [executeSaveView] = useSaveViewMutation();
|
|
5
5
|
return {
|
|
6
|
-
|
|
7
|
-
return
|
|
6
|
+
saveView(variables) {
|
|
7
|
+
return executeSaveView({
|
|
8
8
|
variables,
|
|
9
9
|
update: (cache, mutationResult, options) => {
|
|
10
10
|
if (options.variables.view.id) {
|
|
@@ -33,4 +33,4 @@ export default function useExecuteAddViewMutation() {
|
|
|
33
33
|
}
|
|
34
34
|
};
|
|
35
35
|
}
|
|
36
|
-
//# sourceMappingURL=
|
|
36
|
+
//# sourceMappingURL=useExecuteSaveViewMutation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useExecuteSaveViewMutation.js","sourceRoot":"","sources":["../../../src/hooks/useExecuteSaveViewMutation/useExecuteSaveViewMutation.ts"],"names":[],"mappings":"AAIA,OAAO,EAKH,mBAAmB,EACtB,MAAM,eAAe,CAAC;AACvB,OAAO,EAAC,iBAAiB,EAAC,MAAM,sCAAsC,CAAC;AAMvE,MAAM,CAAC,OAAO,UAAU,0BAA0B;IAC9C,MAAM,CAAC,eAAe,CAAC,GAAG,mBAAmB,EAAE,CAAC;IAEhD,OAAO;QACH,QAAQ,CAAC,SAAS;YACd,OAAO,eAAe,CAAC;gBACnB,SAAS;gBACT,MAAM,EAAE,CAAC,KAAK,EAAE,cAAc,EAAE,OAAO,EAAE,EAAE;oBACvC,IAAI,OAAO,CAAC,SAAS,CAAC,IAAI,CAAC,EAAE,EAAE,CAAC;wBAC5B,OAAO,CAAC,iBAAiB;oBAC7B,CAAC;oBAED,MAAM,aAAa,GAAG;wBAClB,KAAK,EAAE,iBAAiB;wBACxB,SAAS,EAAE;4BACP,SAAS,EAAE,OAAO,CAAC,SAAS,CAAC,IAAI,CAAC,OAAO;yBAC5C;qBACJ,CAAC;oBAEF,MAAM,SAAS,GAAG,KAAK,CAAC,SAAS,CAAgD,aAAa,CAAC,CAAC;oBAEhG,IAAI,SAAS,EAAE,CAAC;wBACZ,KAAK,CAAC,UAAU,CAAgD;4BAC5D,GAAG,aAAa;4BAChB,IAAI,EAAE;gCACF,KAAK,EAAE;oCACH,IAAI,EAAE,CAAC,GAAG,SAAS,CAAC,KAAK,CAAC,IAAI,EAAE,cAAc,CAAC,IAAI,CAAC,QAAQ,CAAC;oCAC7D,UAAU,EAAE,SAAS,CAAC,KAAK,CAAC,UAAU,GAAG,CAAC;iCAC7C;6BACJ;yBACJ,CAAC,CAAC;oBACP,CAAC;gBACL,CAAC;aACJ,CAAC,CAAC;QACP,CAAC;KACJ,CAAC;AACN,CAAC"}
|
|
@@ -39,6 +39,7 @@ export type RecordFormElement = Override<RecordFormElementFragment, {
|
|
|
39
39
|
export type IRecordForm = Override<RecordFormQuery['recordForm'], {
|
|
40
40
|
elements: RecordFormElement[];
|
|
41
41
|
}>;
|
|
42
|
+
export type RecordFormElementAttribute = RecordFormElement['attribute'];
|
|
42
43
|
export interface IUseGetRecordFormHook {
|
|
43
44
|
loading: boolean;
|
|
44
45
|
error: ApolloError;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useGetRecordForm.js","sourceRoot":"","sources":["../../../src/hooks/useGetRecordForm/useGetRecordForm.ts"],"names":[],"mappings":"AAIA,OAAO,EAAC,sBAAsB,EAAW,MAAM,aAAa,CAAC;AAC7D,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAIH,kBAAkB,EAIrB,MAAM,eAAe,CAAC;AACvB,OAAO,EAAC,yBAAyB,EAAC,MAAM,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"useGetRecordForm.js","sourceRoot":"","sources":["../../../src/hooks/useGetRecordForm/useGetRecordForm.ts"],"names":[],"mappings":"AAIA,OAAO,EAAC,sBAAsB,EAAW,MAAM,aAAa,CAAC;AAC7D,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAIH,kBAAkB,EAIrB,MAAM,eAAe,CAAC;AACvB,OAAO,EAAC,yBAAyB,EAAC,MAAM,YAAY,CAAC;AAkErD,MAAM,gBAAgB,GAAG,CAAC,EACtB,SAAS,EACT,QAAQ,EACR,MAAM,EACN,OAAO,EAMV,EAAyB,EAAE;IACxB,MAAM,CAAC,UAAU,EAAE,aAAa,CAAC,GAAG,KAAK,CAAC,QAAQ,CAAc,IAAI,CAAC,CAAC;IAEtE,MAAM,cAAc,GAAG,OAAO;QAC1B,CAAC,CAAC,sBAAsB,CAAC,OAAO,CAAC;aAC1B,MAAM,CAAC,YAAY,CAAC,EAAE,CAAC,CAAC,CAAC,YAAY,CAAC,KAAK,CAAC;aAC5C,GAAG,CAAC,CAAC,EAAC,IAAI,EAAE,KAAK,EAAC,EAAE,EAAE,CAAC,CAAC;YACrB,MAAM,EAAE,IAAI;YACZ,UAAU,EAAE,KAAK,CAAC,EAAE;SACvB,CAAC,CAAC;QACT,CAAC,CAAC,IAAI,CAAC;IAEX,MAAM,EAAC,OAAO,EAAE,KAAK,EAAE,OAAO,EAAC,GAAG,kBAAkB,CAAC;QACjD,WAAW,EAAE,cAAc;QAC3B,2BAA2B,EAAE,IAAI;QACjC,SAAS,EAAE;YACP,SAAS;YACT,QAAQ;YACR,MAAM;YACN,OAAO,EAAE,cAAc;SAC1B;QACD,WAAW,EAAE,IAAI,CAAC,EAAE;YAChB,wEAAwE;YACxE,MAAM,mBAAmB,GAAgB;gBACrC,GAAG,IAAI,CAAC,UAAU;gBAClB,QAAQ,EAAE,IAAI,CAAC,UAAU,CAAC,QAAQ,CAAC,GAAG,CAClC,CAAC,OAAO,EAAqB,EAAE,CAAC,CAAC;oBAC7B,GAAG,OAAO;oBACV,MAAM,EAAE,CAAC,OAAO,EAAE,MAAM,IAAI,EAAE,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC;wBAC1C,GAAG,KAAK;wBACR,OAAO,EAAE,yBAAyB,CAAC,KAAK,CAAC,OAAO,IAAI,EAAE,CAAC;wBACvD,QAAQ,EAAE,CAAC,KAAK,CAAC,QAAQ,IAAI,EAAE,CAAC,CAAC,GAAG,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC;4BAC9C,GAAG,QAAQ;4BACX,KAAK,EAAE;gCACH,GAAG,QAAQ,CAAC,KAAK;gCACjB,OAAO,EAAE,yBAAyB,CAAC,QAAQ,CAAC,KAAK,EAAE,OAAO,IAAI,EAAE,CAAC;6BACpE;yBACJ,CAAC,CAAC;qBACN,CAAC,CAAC;iBACN,CAAC,CACL;aACJ,CAAC;YAEF,aAAa,CAAC,mBAAmB,CAAC,CAAC;QACvC,CAAC;KACJ,CAAC,CAAC;IAEH,MAAM,iBAAiB,GAAG,GAAG,EAAE,CAC3B,OAAO,CAAC;QACJ,SAAS;QACT,QAAQ;QACR,MAAM;QACN,OAAO,EAAE,cAAc;KAC1B,CAAC,CAAC;IAEP,kHAAkH;IAClH,2BAA2B;IAC3B,OAAO,EAAC,OAAO,EAAE,OAAO,IAAI,CAAC,CAAC,UAAU,IAAI,CAAC,KAAK,CAAC,EAAE,KAAK,EAAE,UAAU,EAAE,OAAO,EAAE,iBAAiB,EAAC,CAAC;AACxG,CAAC,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
|
|
@@ -164,7 +164,8 @@
|
|
|
164
164
|
"advanced_settings": "Advanced settings",
|
|
165
165
|
"delete": "Delete tree",
|
|
166
166
|
"delete_confirm": "Do you really want to delete this tree?",
|
|
167
|
-
"delete_confirm_warning": "Warning: this action is irreversible"
|
|
167
|
+
"delete_confirm_warning": "Warning: this action is irreversible",
|
|
168
|
+
"unknown_tree": "Unknown tree {{treeId}}"
|
|
168
169
|
},
|
|
169
170
|
"lang": {
|
|
170
171
|
"fr": "French",
|
|
@@ -402,7 +403,9 @@
|
|
|
402
403
|
"link_created_at": "Linked at",
|
|
403
404
|
"add_value": "Add value",
|
|
404
405
|
"add_value_link": "Add link",
|
|
406
|
+
"delete_value": "Delete value",
|
|
405
407
|
"delete_value_confirm": "Do you really want to delete this value?",
|
|
408
|
+
"delete_link_confirm": "Do you really want to delete this link?",
|
|
406
409
|
"whoAmI": "Information",
|
|
407
410
|
"no_value": "No value",
|
|
408
411
|
"value_details": "Value details",
|
|
@@ -423,6 +426,7 @@
|
|
|
423
426
|
"metadata_section": "Value properties",
|
|
424
427
|
"metadata_section_link": "Link properties",
|
|
425
428
|
"value_length": "{{length}} characters",
|
|
429
|
+
"delete_all": "Delete all",
|
|
426
430
|
"delete_all_values": "Delete all values",
|
|
427
431
|
"delete_all_values_confirm": "Do you really want to delete all values?",
|
|
428
432
|
"value_details_tooltip": "More details",
|
|
@@ -453,16 +457,29 @@
|
|
|
453
457
|
"cancel_confirm_modal_title": "Confirm cancellation?",
|
|
454
458
|
"cancel_confirm_modal_content": "You are about to cancel the creation.",
|
|
455
459
|
"cancel_confirm_modal_question": "Are you sure?",
|
|
456
|
-
"
|
|
457
|
-
"
|
|
458
|
-
"
|
|
460
|
+
"inherited_value": "Inherited value",
|
|
461
|
+
"calculated_value": "Calculated value",
|
|
462
|
+
"overrided_value": "Overrided value",
|
|
459
463
|
"date_range_from_to": "from {{- from}} to {{- to}}",
|
|
460
464
|
"link_search_result_count": "Results ({{count}}/{{total}})",
|
|
461
465
|
"suggestions_count": "Suggestions ({{count}})",
|
|
462
466
|
"search_not_found": "No match",
|
|
463
467
|
"press_enter_to": "Press enter to ",
|
|
464
468
|
"select_this_value": "Select this value",
|
|
465
|
-
"select_option": "Select option "
|
|
469
|
+
"select_option": "Select option ",
|
|
470
|
+
"create_and_select_option": "Create and select option ",
|
|
471
|
+
"please_select_value_before_adding": "Please select a value before adding a new one",
|
|
472
|
+
"placeholder": {
|
|
473
|
+
"record_select": "Select a record",
|
|
474
|
+
"enter_a_text": "Enter a text",
|
|
475
|
+
"enter_a_date": "Enter a date (e.g. 12/25/2024)",
|
|
476
|
+
"enter_a_period": "Enter a period",
|
|
477
|
+
"enter_a_number": "Enter a number",
|
|
478
|
+
"enter_a_password": "Enter a password",
|
|
479
|
+
"start_date": "Start date",
|
|
480
|
+
"end_date": "End date",
|
|
481
|
+
"select_an_option": "Select an option"
|
|
482
|
+
}
|
|
466
483
|
},
|
|
467
484
|
"record_summary": {
|
|
468
485
|
"preview_title": "Click here to visualize preview.",
|
|
@@ -472,7 +489,20 @@
|
|
|
472
489
|
"created_at": "Created on",
|
|
473
490
|
"created_at_value": "{{date}} by {{user}}",
|
|
474
491
|
"modified_at": "Modified on",
|
|
475
|
-
"modified_at_value": "{{date}} by {{user}}"
|
|
492
|
+
"modified_at_value": "{{date}} by {{user}}",
|
|
493
|
+
"new_record": "New record",
|
|
494
|
+
"id_entity": "Entity identifier",
|
|
495
|
+
"creation": "Creation",
|
|
496
|
+
"last_modification": "Last modification",
|
|
497
|
+
"date_by_user": "{{date}} by {{user}}",
|
|
498
|
+
"open_preview_modal": "Open preview modal",
|
|
499
|
+
"informations": "Informations",
|
|
500
|
+
"chat": "Chat",
|
|
501
|
+
"history": "History",
|
|
502
|
+
"entity_overview": "{{entity}} overview",
|
|
503
|
+
"attribute": "Attribute",
|
|
504
|
+
"attribute_format": "Attribute format",
|
|
505
|
+
"descriptive": "Descriptive"
|
|
476
506
|
},
|
|
477
507
|
"view": {
|
|
478
508
|
"views": "Views",
|
|
@@ -601,7 +631,60 @@
|
|
|
601
631
|
"create-one": "Create",
|
|
602
632
|
"actions": "Actions",
|
|
603
633
|
"more-actions": "Show more",
|
|
604
|
-
"
|
|
605
|
-
"
|
|
634
|
+
"deactivate-item": "Deactivate",
|
|
635
|
+
"delete-item": "Delete",
|
|
636
|
+
"edit-item": "Edit item",
|
|
637
|
+
"settings": "Settings",
|
|
638
|
+
"back": "Back",
|
|
639
|
+
"router-menu": "View Configuration",
|
|
640
|
+
"configure-display": "Display Mode",
|
|
641
|
+
"view-type-list": "List",
|
|
642
|
+
"view-type-table": "Table",
|
|
643
|
+
"view-type-mosaic": "Mosaic",
|
|
644
|
+
"view-type-planning": "Planning",
|
|
645
|
+
"filters": "Filters",
|
|
646
|
+
"sort-items": "Sort",
|
|
647
|
+
"filter-items": "Filter",
|
|
648
|
+
"sort-ascending": "Ascending",
|
|
649
|
+
"sort-descending": "Descending",
|
|
650
|
+
"sort-list": {
|
|
651
|
+
"active": "Active sorts",
|
|
652
|
+
"inactive": "Inactive sorts"
|
|
653
|
+
},
|
|
654
|
+
"toolbar": "Toolbar",
|
|
655
|
+
"reset-filter": "Reset filter",
|
|
656
|
+
"reset-view": "Reset view",
|
|
657
|
+
"empty-data": "No items found.",
|
|
658
|
+
"available-attributes": "Other available attributes",
|
|
659
|
+
"coming-soon": "Coming soon",
|
|
660
|
+
"show": "Show",
|
|
661
|
+
"hide": "Hide",
|
|
662
|
+
"columns": "Columns",
|
|
663
|
+
"visible-columns": "Visible columns",
|
|
664
|
+
"invisible-columns": "Invisible columns",
|
|
665
|
+
"pagination-total-number_one": "{{from, number}} - {{to, number}} of {{count, number}} item",
|
|
666
|
+
"pagination-total-number_other": "{{from, number}} - {{to, number}} of {{count, number}} items",
|
|
667
|
+
"active-items-number": "{{count, number}} active",
|
|
668
|
+
"active-items-number_zero": "None",
|
|
669
|
+
"invalid-value": "Invalid value",
|
|
670
|
+
"type-a-value": "Type a value",
|
|
671
|
+
"save-view": "Save",
|
|
672
|
+
"reinit-view": "Reset",
|
|
673
|
+
"select-condition": "Select condition",
|
|
674
|
+
"true": "True",
|
|
675
|
+
"false": "False",
|
|
676
|
+
"massAction": {
|
|
677
|
+
"itemsTotal_one": "{{count, number}} item",
|
|
678
|
+
"itemsTotal_other": "{{count, number}} items",
|
|
679
|
+
"selectedItems_one": "{{count, number}} selected",
|
|
680
|
+
"selectedItems_other": "{{count, number}} selected",
|
|
681
|
+
"deactivate": "Deactivate",
|
|
682
|
+
"toggle_selection": {
|
|
683
|
+
"select_page_one": "Select visible item ({{count, number}})",
|
|
684
|
+
"select_page_other": "Select visible items ({{count, number}})",
|
|
685
|
+
"select_all": "Select all items ({{count, number}})",
|
|
686
|
+
"deselect_all": "Deselect all items"
|
|
687
|
+
}
|
|
688
|
+
}
|
|
606
689
|
}
|
|
607
690
|
}
|
|
@@ -164,7 +164,8 @@
|
|
|
164
164
|
"advanced_settings": "Paramètres avancés",
|
|
165
165
|
"delete": "Supprimer l'arbre",
|
|
166
166
|
"delete_confirm": "Êtes-vous sûr de vouloir supprimer cet arbre ?",
|
|
167
|
-
"delete_confirm_warning": "Attention, cette action est irréversible"
|
|
167
|
+
"delete_confirm_warning": "Attention, cette action est irréversible",
|
|
168
|
+
"unknown_tree": "Arbre {{treeId}} inconnu"
|
|
168
169
|
},
|
|
169
170
|
"lang": {
|
|
170
171
|
"fr": "Français",
|
|
@@ -402,7 +403,9 @@
|
|
|
402
403
|
"link_created_at": "Lié le",
|
|
403
404
|
"add_value": "Ajouter une valeur",
|
|
404
405
|
"add_value_link": "Ajouter une liaison",
|
|
406
|
+
"delete_value": "Supprimer cette valeur",
|
|
405
407
|
"delete_value_confirm": "Êtes-vous sûr de vouloir supprimer cette valeur?",
|
|
408
|
+
"delete_link_confirm": "Êtes-vous sûr de vouloir supprimer cette liaison?",
|
|
406
409
|
"whoAmI": "Informations",
|
|
407
410
|
"no_value": "Pas de valeur",
|
|
408
411
|
"value_details": "Infos valeur",
|
|
@@ -423,6 +426,7 @@
|
|
|
423
426
|
"metadata_section": "Propriétés de la valeur",
|
|
424
427
|
"metadata_section_link": "Propriétés de la liaison",
|
|
425
428
|
"value_length": "{{length}} caractère(s)",
|
|
429
|
+
"delete_all": "Tout supprimer",
|
|
426
430
|
"delete_all_values": "Supprimer toutes les valeurs",
|
|
427
431
|
"delete_all_values_confirm": "Êtes-vous sûr de vouloir supprimer toutes les valeurs?",
|
|
428
432
|
"value_details_tooltip": "Plus d'informations",
|
|
@@ -453,16 +457,29 @@
|
|
|
453
457
|
"cancel_confirm_modal_title": "Confirmer l'abandon?",
|
|
454
458
|
"cancel_confirm_modal_content": "Vous êtes sur le point d'abandonner la création.",
|
|
455
459
|
"cancel_confirm_modal_question": "Êtes-vous sûr(e) ?",
|
|
456
|
-
"
|
|
457
|
-
"
|
|
458
|
-
"
|
|
460
|
+
"inherited_value": "Valeur héritée",
|
|
461
|
+
"calculated_value": "Valeur calculée",
|
|
462
|
+
"overrided_value": "Valeur surchargée",
|
|
459
463
|
"date_range_from_to": "du {{- from}} au {{- to}}",
|
|
460
464
|
"link_search_result_count": "Résultats ({{count}}/{{total}})",
|
|
461
465
|
"suggestions_count": "Suggestions ({{count}})",
|
|
462
466
|
"search_not_found": "Aucune correspondance",
|
|
463
467
|
"press_enter_to": "Appuyer sur Entrer pour ",
|
|
464
468
|
"select_this_value": "Sélectionner cette valeur",
|
|
465
|
-
"select_option": "Sélectionner l’option "
|
|
469
|
+
"select_option": "Sélectionner l’option ",
|
|
470
|
+
"create_and_select_option": "Créer et sélectionner l’option ",
|
|
471
|
+
"please_select_value_before_adding": "Veuillez sélectionner une valeur avant d'en ajouter une nouvelle",
|
|
472
|
+
"placeholder": {
|
|
473
|
+
"record_select": "Sélectionnez un élément",
|
|
474
|
+
"enter_a_text": "Saisir un texte",
|
|
475
|
+
"enter_a_date": "Saisir une date (ex: 25/12/2024)",
|
|
476
|
+
"enter_a_period": "Saisir une période",
|
|
477
|
+
"enter_a_number": "Saisir un nombre",
|
|
478
|
+
"enter_a_password": "Saisir un mot de passe",
|
|
479
|
+
"start_date": "Date de début",
|
|
480
|
+
"end_date": "Date de fin",
|
|
481
|
+
"select_an_option": "Sélectionner une option"
|
|
482
|
+
}
|
|
466
483
|
},
|
|
467
484
|
"record_summary": {
|
|
468
485
|
"preview_title": "Cliquez ici pour voir l’aperçu.",
|
|
@@ -472,7 +489,20 @@
|
|
|
472
489
|
"created_at": "Créé le",
|
|
473
490
|
"created_at_value": "{{date}} par {{user}}",
|
|
474
491
|
"modified_at": "Modifié le",
|
|
475
|
-
"modified_at_value": "{{date}} par {{user}}"
|
|
492
|
+
"modified_at_value": "{{date}} par {{user}}",
|
|
493
|
+
"new_record": "Nouvel élément",
|
|
494
|
+
"id_entity": "Identifiant entité",
|
|
495
|
+
"creation": "Création",
|
|
496
|
+
"last_modification": "Dernière modification",
|
|
497
|
+
"date_by_user": "Le {{date}} par {{user}}",
|
|
498
|
+
"open_preview_modal": "Ouvrir la modale d'aperçu",
|
|
499
|
+
"informations": "Informations",
|
|
500
|
+
"chat": "Chat",
|
|
501
|
+
"history": "Historique",
|
|
502
|
+
"entity_overview": "Fiche {{entity}}",
|
|
503
|
+
"attribute": "Attribut",
|
|
504
|
+
"attribute_format": "Format de l'attribut",
|
|
505
|
+
"descriptive": "Descriptif"
|
|
476
506
|
},
|
|
477
507
|
"view": {
|
|
478
508
|
"views": "Vues",
|
|
@@ -536,8 +566,8 @@
|
|
|
536
566
|
"records_deactivation": {
|
|
537
567
|
"title": "Désactiver les éléments",
|
|
538
568
|
"title_one": "Désactiver",
|
|
539
|
-
"confirm": "Êtes-vous sûr de vouloir désactiver les éléments sélectionnés?",
|
|
540
|
-
"confirm_one": "Êtes-vous sûr de vouloir désactiver cet élément?"
|
|
569
|
+
"confirm": "Êtes-vous sûr de vouloir désactiver les éléments sélectionnés ?",
|
|
570
|
+
"confirm_one": "Êtes-vous sûr de vouloir désactiver cet élément ?"
|
|
541
571
|
},
|
|
542
572
|
"table-columns-selection": {
|
|
543
573
|
"header": "Colonnes disponibles",
|
|
@@ -601,7 +631,60 @@
|
|
|
601
631
|
"create-one": "Créer",
|
|
602
632
|
"actions": "Actions",
|
|
603
633
|
"more-actions": "Voir plus",
|
|
604
|
-
"
|
|
605
|
-
"
|
|
634
|
+
"deactivate-item": "Désactiver",
|
|
635
|
+
"delete-item": "Supprimer",
|
|
636
|
+
"edit-item": "Éditer l’élément",
|
|
637
|
+
"settings": "Paramètres",
|
|
638
|
+
"back": "Retour",
|
|
639
|
+
"router-menu": "Configuration de la vue",
|
|
640
|
+
"configure-display": "Mode d’affichage",
|
|
641
|
+
"view-type-list": "Liste",
|
|
642
|
+
"view-type-table": "Tableau",
|
|
643
|
+
"view-type-mosaic": "Mosaïque",
|
|
644
|
+
"view-type-planning": "Planning",
|
|
645
|
+
"filters": "Filtrer",
|
|
646
|
+
"sort-items": "Trier",
|
|
647
|
+
"filter-items": "Filtrer",
|
|
648
|
+
"sort-list": {
|
|
649
|
+
"active": "Tris actifs",
|
|
650
|
+
"inactive": "Tris inactifs"
|
|
651
|
+
},
|
|
652
|
+
"toolbar": "Barre d’outils",
|
|
653
|
+
"reset-filter": "Réinitialiser le filtre",
|
|
654
|
+
"reset-view": "Réinitialiser la vue",
|
|
655
|
+
"empty-data": "Aucun élément trouvé.",
|
|
656
|
+
"sort-ascending": "Ascendant",
|
|
657
|
+
"sort-descending": "Descendant",
|
|
658
|
+
"available-attributes": "Autres propriétés disponibles",
|
|
659
|
+
"coming-soon": "À venir",
|
|
660
|
+
"show": "Afficher",
|
|
661
|
+
"hide": "Masquer",
|
|
662
|
+
"pagination-total-number_one": "{{from, number}} - {{to, number}} de {{count, number}} élément",
|
|
663
|
+
"pagination-total-number_other": "{{from, number}} - {{to, number}} de {{count, number}} éléments",
|
|
664
|
+
"columns": "Colonnes",
|
|
665
|
+
"visible-columns": "Colonnes visibles",
|
|
666
|
+
"invisible-columns": "Colonnes invisibles",
|
|
667
|
+
"active-items-number": "{{count, number}} actifs",
|
|
668
|
+
"active-items-number_zero": "Aucun",
|
|
669
|
+
"invalid-value": "Valeur invalide",
|
|
670
|
+
"type-a-value": "Saisissez une valeur",
|
|
671
|
+
"save-view": "Enregistrer",
|
|
672
|
+
"reinit-view": "Réinitialiser",
|
|
673
|
+
"select-condition": "Sélectionner une condition",
|
|
674
|
+
"true": "Vrai",
|
|
675
|
+
"false": "Faux",
|
|
676
|
+
"massAction": {
|
|
677
|
+
"itemsTotal_one": "{{count, number}} élément",
|
|
678
|
+
"itemsTotal_other": "{{count, number}} éléments",
|
|
679
|
+
"selectedItems_one": "{{count, number}} sélectionné",
|
|
680
|
+
"selectedItems_other": "{{count, number}} sélectionnés",
|
|
681
|
+
"deactivate": "Supprimer",
|
|
682
|
+
"toggle_selection": {
|
|
683
|
+
"select_page_one": "Sélectionner l’éléments visible ({{count, number}})",
|
|
684
|
+
"select_page_other": "Sélectionner les éléments visibles ({{count, number}})",
|
|
685
|
+
"select_all": "Tout sélectionner ({{count, number}})",
|
|
686
|
+
"deselect_all": "Tout désélectionner"
|
|
687
|
+
}
|
|
688
|
+
}
|
|
606
689
|
}
|
|
607
690
|
}
|
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-9ec784a",
|
|
4
4
|
"description": "Shared React components and hooks",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"prepublishOnly": "yarn build",
|
|
@@ -34,6 +34,7 @@
|
|
|
34
34
|
"@total-typescript/ts-reset": "0.6.1",
|
|
35
35
|
"@types/dompurify": "3.0.3",
|
|
36
36
|
"@types/jest": "29.0.2",
|
|
37
|
+
"@types/lodash.isequal": "^4",
|
|
37
38
|
"@types/object-path": "0.11.1",
|
|
38
39
|
"@types/react-beautiful-dnd": "13.1.2",
|
|
39
40
|
"@types/react-table": "7.7.12",
|
|
@@ -51,7 +52,7 @@
|
|
|
51
52
|
"@ant-design/icons": ">=5.2",
|
|
52
53
|
"@apollo/client": ">=3.8.1",
|
|
53
54
|
"antd": "5.15.3",
|
|
54
|
-
"aristid-ds": "
|
|
55
|
+
"aristid-ds": "12.0.0-8a56c10",
|
|
55
56
|
"dayjs": "^1.11.10",
|
|
56
57
|
"i18next": "22.5",
|
|
57
58
|
"react": "18.2.0",
|
|
@@ -64,10 +65,14 @@
|
|
|
64
65
|
"dependencies": {
|
|
65
66
|
"@ckeditor/ckeditor5-build-inline": "39.0.1",
|
|
66
67
|
"@ckeditor/ckeditor5-react": "6.1.0",
|
|
68
|
+
"@dnd-kit/core": "6.1.0",
|
|
69
|
+
"@dnd-kit/sortable": "8.0.0",
|
|
67
70
|
"@leav/utils": "0.0.3",
|
|
71
|
+
"@uidotdev/usehooks": "2.4.1",
|
|
68
72
|
"dompurify": "3.1.3",
|
|
69
73
|
"html-react-parser": "4.2.2",
|
|
70
74
|
"i18next-resources-to-backend": "1.1.4",
|
|
75
|
+
"lodash.isequal": "4.5.0",
|
|
71
76
|
"moment": "2.30.1",
|
|
72
77
|
"object-path": "0.11.8",
|
|
73
78
|
"react-beautiful-dnd": "13.1.1",
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { PropertyValueFragment, RecordIdentityFragment } from '../../_gqlTypes';
|
|
2
|
-
import { ReactElement } from 'react';
|
|
3
|
-
export type ItemWhoAmI = Required<RecordIdentityFragment['whoAmI']>;
|
|
4
|
-
export interface IItemData {
|
|
5
|
-
libraryId: string;
|
|
6
|
-
key: string;
|
|
7
|
-
itemId: string;
|
|
8
|
-
whoAmI: ItemWhoAmI;
|
|
9
|
-
propertiesById: {
|
|
10
|
-
[attributeId: string]: PropertyValueFragment[];
|
|
11
|
-
};
|
|
12
|
-
}
|
|
13
|
-
export interface IItemAction {
|
|
14
|
-
callback: (item: IItemData) => void;
|
|
15
|
-
icon: ReactElement;
|
|
16
|
-
label: string;
|
|
17
|
-
isDanger?: boolean;
|
|
18
|
-
}
|
|
19
|
-
export type ActionHook<T = {}> = {
|
|
20
|
-
isEnabled: boolean;
|
|
21
|
-
} & T;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/components/Explorer/types.ts"],"names":[],"mappings":""}
|
|
@@ -1,36 +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 { KitButton } from 'aristid-ds';
|
|
7
|
-
import { FaPlus } from 'react-icons/fa';
|
|
8
|
-
import { EditRecordModal } from '../../components';
|
|
9
|
-
import { useSharedTranslation } from '../../hooks/useSharedTranslation';
|
|
10
|
-
/**
|
|
11
|
-
* Hook used to get the action for `<DataView />` component.
|
|
12
|
-
*
|
|
13
|
-
* When the creation is done, we refresh all data even if the new record will not be visible due to some filters.
|
|
14
|
-
*
|
|
15
|
-
* It returns also two parts : one for the call action button - one for displayed the modal required by the action.
|
|
16
|
-
*
|
|
17
|
-
* @param isEnabled - whether the action is present
|
|
18
|
-
* @param library - the library's id to add new item
|
|
19
|
-
* @param refetch - method to call to refresh the list. New item will be visible if it matches filters and sorts
|
|
20
|
-
*/
|
|
21
|
-
export const useCreateMainAction = ({ isEnabled, library, refetch }) => {
|
|
22
|
-
const { t } = useSharedTranslation();
|
|
23
|
-
const [isRecordCreationVisible, setRecordCreationVisible] = useState(false);
|
|
24
|
-
return {
|
|
25
|
-
createButton: isEnabled ? (_jsx(KitButton, { type: "primary", icon: _jsx(FaPlus, {}) /* TODO: move to font-awesome icons*/, onClick: () => {
|
|
26
|
-
setRecordCreationVisible(true);
|
|
27
|
-
}, children: t('explorer.create-one') })) : null,
|
|
28
|
-
createModal: isRecordCreationVisible ? (_jsx(EditRecordModal, { open: true, record: null, library: library, onClose: () => {
|
|
29
|
-
setRecordCreationVisible(false);
|
|
30
|
-
}, onCreate: ignoreNewItem => {
|
|
31
|
-
refetch();
|
|
32
|
-
setRecordCreationVisible(false);
|
|
33
|
-
}, submitButtons: ['create'] })) : null
|
|
34
|
-
};
|
|
35
|
-
};
|
|
36
|
-
//# sourceMappingURL=useCreateMainAction.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useCreateMainAction.js","sourceRoot":"","sources":["../../../src/components/Explorer/useCreateMainAction.tsx"],"names":[],"mappings":";AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,QAAQ,EAAC,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAC,SAAS,EAAC,MAAM,YAAY,CAAC;AACrC,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,mBAAmB,GAAG,CAAC,EAChC,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,OAAO;QACH,YAAY,EAAE,SAAS,CAAC,CAAC,CAAC,CACtB,KAAC,SAAS,IACN,IAAI,EAAC,SAAS,EACd,IAAI,EAAE,KAAC,MAAM,KAAG,CAAC,qCAAqC,EACtD,OAAO,EAAE,GAAG,EAAE;gBACV,wBAAwB,CAAC,IAAI,CAAC,CAAC;YACnC,CAAC,YAEA,CAAC,CAAC,qBAAqB,CAAC,GACjB,CACf,CAAC,CAAC,CAAC,IAAI;QACR,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,aAAa,CAAC,EAAE;gBACtB,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,51 +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
|
-
/**
|
|
10
|
-
* Hook used to get the action for `<DataView />` component.
|
|
11
|
-
*
|
|
12
|
-
* When the mutation for deactivation is done, the Apollo cache will be clean (`Record` and `RecordIdentity`)
|
|
13
|
-
* from deactivated record.
|
|
14
|
-
*
|
|
15
|
-
* @param isEnabled - whether the action is present
|
|
16
|
-
*/
|
|
17
|
-
export const useDeactivateAction = ({ isEnabled }) => {
|
|
18
|
-
const { t } = useSharedTranslation();
|
|
19
|
-
const [deactivateRecordsMutation] = useDeactivateRecordsMutation({
|
|
20
|
-
update(cache, deactivatedRecords) {
|
|
21
|
-
deactivatedRecords.data?.deactivateRecords.forEach(record => {
|
|
22
|
-
cache.evict({
|
|
23
|
-
id: cache.identify(record)
|
|
24
|
-
});
|
|
25
|
-
});
|
|
26
|
-
cache.gc();
|
|
27
|
-
}
|
|
28
|
-
});
|
|
29
|
-
const _deactivateAction = {
|
|
30
|
-
label: t('explorer.deactivateItem'),
|
|
31
|
-
icon: _jsx(FaTrash, {}),
|
|
32
|
-
isDanger: true,
|
|
33
|
-
callback: ({ itemId, libraryId }) => KitModal.confirm({
|
|
34
|
-
type: 'confirm',
|
|
35
|
-
dangerConfirm: true,
|
|
36
|
-
content: t('records_deactivation.confirm_one') ?? undefined,
|
|
37
|
-
okText: t('global.submit') ?? undefined,
|
|
38
|
-
cancelText: t('global.cancel') ?? undefined,
|
|
39
|
-
onOk: () => deactivateRecordsMutation({
|
|
40
|
-
variables: {
|
|
41
|
-
libraryId,
|
|
42
|
-
recordsIds: [itemId]
|
|
43
|
-
}
|
|
44
|
-
})
|
|
45
|
-
})
|
|
46
|
-
};
|
|
47
|
-
return {
|
|
48
|
-
deactivateAction: isEnabled ? _deactivateAction : null
|
|
49
|
-
};
|
|
50
|
-
};
|
|
51
|
-
//# 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;AAGpE;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,EAAC,SAAS,EAAa,EAAE,EAAE;IAC3D,MAAM,EAAC,CAAC,EAAC,GAAG,oBAAoB,EAAE,CAAC;IAEnC,MAAM,CAAC,yBAAyB,CAAC,GAAG,4BAA4B,CAAC;QAC7D,MAAM,CAAC,KAAK,EAAE,kBAAkB;YAC5B,kBAAkB,CAAC,IAAI,EAAE,iBAAiB,CAAC,OAAO,CAAC,MAAM,CAAC,EAAE;gBACxD,KAAK,CAAC,KAAK,CAAC;oBACR,EAAE,EAAE,KAAK,CAAC,QAAQ,CAAC,MAAM,CAAC;iBAC7B,CAAC,CAAC;YACP,CAAC,CAAC,CAAC;YACH,KAAK,CAAC,EAAE,EAAE,CAAC;QACf,CAAC;KACJ,CAAC,CAAC;IAEH,MAAM,iBAAiB,GAAgB;QACnC,KAAK,EAAE,CAAC,CAAC,yBAAyB,CAAC;QACnC,IAAI,EAAE,KAAC,OAAO,KAAG;QACjB,QAAQ,EAAE,IAAI;QACd,QAAQ,EAAE,CAAC,EAAC,MAAM,EAAE,SAAS,EAAC,EAAE,EAAE,CAC9B,QAAQ,CAAC,OAAO,CAAC;YACb,IAAI,EAAE,SAAS;YACf,aAAa,EAAE,IAAI;YACnB,OAAO,EAAE,CAAC,CAAC,kCAAkC,CAAC,IAAI,SAAS;YAC3D,MAAM,EAAE,CAAC,CAAC,eAAe,CAAC,IAAI,SAAS;YACvC,UAAU,EAAE,CAAC,CAAC,eAAe,CAAC,IAAI,SAAS;YAC3C,IAAI,EAAE,GAAG,EAAE,CACP,yBAAyB,CAAC;gBACtB,SAAS,EAAE;oBACP,SAAS;oBACT,UAAU,EAAE,CAAC,MAAM,CAAC;iBACvB;aACJ,CAAC;SACT,CAAC;KACT,CAAC;IAEF,OAAO;QACH,gBAAgB,EAAE,SAAS,CAAC,CAAC,CAAC,iBAAiB,CAAC,CAAC,CAAC,IAAI;KACzD,CAAC;AACN,CAAC,CAAC"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { IItemData } from './types';
|
|
2
|
-
import { ExplorerQuery } from '../../_gqlTypes';
|
|
3
|
-
export declare const useExplorerData: (libraryId: string, attributeIds: string[]) => {
|
|
4
|
-
data: IItemData[];
|
|
5
|
-
loading: boolean;
|
|
6
|
-
refetch: (variables?: Partial<import("../../_gqlTypes").Exact<{
|
|
7
|
-
libraryId: import("../../_gqlTypes").Scalars["ID"];
|
|
8
|
-
attributeIds: Array<import("../../_gqlTypes").Scalars["ID"]> | import("../../_gqlTypes").Scalars["ID"];
|
|
9
|
-
filters?: import("../../_gqlTypes").InputMaybe<Array<import("../../_gqlTypes").InputMaybe<import("../../_gqlTypes").RecordFilterInput>> | import("../../_gqlTypes").InputMaybe<import("../../_gqlTypes").RecordFilterInput>>;
|
|
10
|
-
}>>) => Promise<import("@apollo/client").ApolloQueryResult<ExplorerQuery>>;
|
|
11
|
-
};
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { useExplorerQuery } from '../../_gqlTypes';
|
|
2
|
-
const _mapping = (data, libraryId) => data.records.list.map(({ whoAmI, properties }) => ({
|
|
3
|
-
libraryId,
|
|
4
|
-
key: whoAmI.id, // For <KitTable /> only
|
|
5
|
-
itemId: whoAmI.id, // For <KitTable /> only
|
|
6
|
-
whoAmI: {
|
|
7
|
-
label: null,
|
|
8
|
-
subLabel: null,
|
|
9
|
-
color: null,
|
|
10
|
-
preview: null,
|
|
11
|
-
...whoAmI
|
|
12
|
-
},
|
|
13
|
-
propertiesById: properties.reduce((acc, { attributeId, values }) => ({ ...acc, [attributeId]: values }), {})
|
|
14
|
-
}));
|
|
15
|
-
export const useExplorerData = (libraryId, attributeIds) => {
|
|
16
|
-
const { data, loading, refetch } = useExplorerQuery({ variables: { libraryId, attributeIds } });
|
|
17
|
-
return {
|
|
18
|
-
data: data !== undefined ? _mapping(data, libraryId) : null,
|
|
19
|
-
loading,
|
|
20
|
-
refetch
|
|
21
|
-
};
|
|
22
|
-
};
|
|
23
|
-
//# sourceMappingURL=useExplorerData.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useExplorerData.js","sourceRoot":"","sources":["../../../src/components/Explorer/useExplorerData.ts"],"names":[],"mappings":"AAIA,OAAO,EAAgB,gBAAgB,EAAC,MAAM,eAAe,CAAC;AAE9D,MAAM,QAAQ,GAAG,CAAC,IAAmB,EAAE,SAAiB,EAAe,EAAE,CACrE,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,EAAC,MAAM,EAAE,UAAU,EAAC,EAAE,EAAE,CAAC,CAAC;IAC7C,SAAS;IACT,GAAG,EAAE,MAAM,CAAC,EAAE,EAAE,wBAAwB;IACxC,MAAM,EAAE,MAAM,CAAC,EAAE,EAAE,wBAAwB;IAC3C,MAAM,EAAE;QACJ,KAAK,EAAE,IAAI;QACX,QAAQ,EAAE,IAAI;QACd,KAAK,EAAE,IAAI;QACX,OAAO,EAAE,IAAI;QACb,GAAG,MAAM;KACZ;IACD,cAAc,EAAE,UAAU,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,EAAC,WAAW,EAAE,MAAM,EAAC,EAAE,EAAE,CAAC,CAAC,EAAC,GAAG,GAAG,EAAE,CAAC,WAAW,CAAC,EAAE,MAAM,EAAC,CAAC,EAAE,EAAE,CAAC;CAC3G,CAAC,CAAC,CAAC;AAER,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,SAAiB,EAAE,YAAsB,EAAE,EAAE;IACzE,MAAM,EAAC,IAAI,EAAE,OAAO,EAAE,OAAO,EAAC,GAAG,gBAAgB,CAAC,EAAC,SAAS,EAAE,EAAC,SAAS,EAAE,YAAY,EAAC,EAAC,CAAC,CAAC;IAE1F,OAAO;QACH,IAAI,EAAE,IAAI,KAAK,SAAS,CAAC,CAAC,CAAC,QAAQ,CAAC,IAAI,EAAE,SAAS,CAAC,CAAC,CAAC,CAAC,IAAI;QAC3D,OAAO;QACP,OAAO;KACV,CAAC;AACN,CAAC,CAAC"}
|