@leav/ui 0.3.6-fa687e8 → 0.4.0-025a3e54
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/README.md +1 -0
- package/dist/__mocks__/common/attribute.d.ts +1 -0
- package/dist/__mocks__/common/attribute.js +9 -2
- package/dist/__mocks__/common/attribute.js.map +1 -1
- package/dist/__mocks__/common/form.d.ts +644 -5
- package/dist/__mocks__/common/form.js +65 -25
- 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.d.ts +1 -2
- package/dist/__mocks__/common/value.js +3 -13
- 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 +4552 -2492
- package/dist/_gqlTypes/index.js +1871 -1041
- package/dist/_gqlTypes/index.js.map +1 -1
- package/dist/_queries/attributes/attributeDetailsFragment.js +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/activateRecordsMutation.d.ts +1 -0
- package/dist/_queries/records/activateRecordsMutation.js +15 -0
- package/dist/_queries/records/activateRecordsMutation.js.map +1 -0
- package/dist/_queries/records/createRecordMutation.js +2 -3
- package/dist/_queries/records/createRecordMutation.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 +14 -5
- 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 +3 -0
- package/dist/_queries/records/recordFormAttributeFragment.js.map +1 -1
- package/dist/_queries/trees/treeNodeChildrenQuery.js +12 -2
- package/dist/_queries/trees/treeNodeChildrenQuery.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/_utils/interleaveElement.d.ts +1 -0
- package/dist/{components/RecordEdition/EditRecordContent/reducers/standardFieldReducer/standardFieldReducerContext.js → _utils/interleaveElement.js} +2 -6
- 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 +4 -6
- 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/EditApplicationInfo/EditApplicationInfoForm/EditApplicationInfoForm.js.map +1 -1
- package/dist/components/EditApplication/_types.d.ts +2 -2
- 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/EditLibraryModal/EditLibrary/EditLibraryAttributes/AttributesList/DeleteButton/DeleteButton.js +3 -2
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/AttributesList/DeleteButton/DeleteButton.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/EditTreeModal/EditTree/EditTreeInfo/EditTreeInfoForm/TreeLibrariesForm/TreeLibrariesForm.js +8 -1
- package/dist/components/EditTreeModal/EditTree/EditTreeInfo/EditTreeInfoForm/TreeLibrariesForm/TreeLibrariesForm.js.map +1 -1
- package/dist/components/ErrorBoundary/ErrorBoundaryContent/ErrorBoundaryContent.d.ts +2 -2
- package/dist/components/ErrorBoundary/ErrorBoundaryContent/ErrorBoundaryContent.js +4 -3
- package/dist/components/ErrorBoundary/ErrorBoundaryContent/ErrorBoundaryContent.js.map +1 -1
- package/dist/components/Explorer/DataView.d.ts +19 -2
- package/dist/components/Explorer/DataView.js +128 -50
- package/dist/components/Explorer/DataView.js.map +1 -1
- package/dist/components/Explorer/Explorer.d.ts +50 -7
- package/dist/components/Explorer/Explorer.js +157 -29
- 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 +7 -0
- package/dist/components/Explorer/ExplorerToolbar.js +54 -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 +163 -0
- package/dist/components/Explorer/TableCell.js.map +1 -0
- package/dist/components/Explorer/TableTagGroup.d.ts +6 -0
- package/dist/components/Explorer/TableTagGroup.js +17 -0
- package/dist/components/Explorer/TableTagGroup.js.map +1 -0
- package/dist/components/Explorer/_constants.d.ts +8 -0
- package/dist/components/Explorer/_constants.js +21 -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/useExecuteUpdateViewMutation.d.ts +6 -0
- package/dist/components/Explorer/_queries/useExecuteUpdateViewMutation.js +12 -0
- package/dist/components/Explorer/_queries/useExecuteUpdateViewMutation.js.map +1 -0
- package/dist/components/Explorer/_queries/useExplorerData.d.ts +32 -5
- package/dist/components/Explorer/_queries/useExplorerData.js +111 -16
- package/dist/components/Explorer/_queries/useExplorerData.js.map +1 -1
- package/dist/components/Explorer/_types.d.ts +116 -9
- 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} +8 -4
- package/dist/components/Explorer/actions-item/useEditItemAction.js +57 -0
- package/dist/components/Explorer/actions-item/useEditItemAction.js.map +1 -0
- package/dist/components/Explorer/actions-item/useEditStatusItemAction.d.ts +26 -0
- package/dist/components/Explorer/actions-item/useEditStatusItemAction.js +170 -0
- package/dist/components/Explorer/actions-item/useEditStatusItemAction.js.map +1 -0
- package/dist/components/Explorer/actions-item/useReplaceItemAction.d.ts +21 -0
- package/dist/components/Explorer/actions-item/useReplaceItemAction.js +42 -0
- package/dist/components/Explorer/actions-item/useReplaceItemAction.js.map +1 -0
- package/dist/components/Explorer/actions-mass/useDeactivateMassAction.d.ts +29 -0
- package/dist/components/Explorer/actions-mass/useDeactivateMassAction.js +81 -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 +86 -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 +34 -0
- package/dist/components/Explorer/actions-primary/useCreatePrimaryAction.js +129 -0
- package/dist/components/Explorer/actions-primary/useCreatePrimaryAction.js.map +1 -0
- package/dist/components/Explorer/actions-primary/useLinkPrimaryAction.d.ts +23 -0
- package/dist/components/Explorer/actions-primary/useLinkPrimaryAction.js +55 -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/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 +1 -5
- package/dist/components/Explorer/index.js +1 -5
- package/dist/components/Explorer/index.js.map +1 -1
- package/dist/components/Explorer/link-item/LinkModal.d.ts +11 -0
- package/dist/components/Explorer/link-item/LinkModal.js +33 -0
- package/dist/components/Explorer/link-item/LinkModal.js.map +1 -0
- package/dist/components/Explorer/link-item/useAddLinkMassAction.d.ts +21 -0
- package/dist/components/Explorer/link-item/useAddLinkMassAction.js +34 -0
- package/dist/components/Explorer/link-item/useAddLinkMassAction.js.map +1 -0
- package/dist/components/Explorer/link-item/useReplaceLinkMassAction.d.ts +23 -0
- package/dist/components/Explorer/link-item/useReplaceLinkMassAction.js +35 -0
- package/dist/components/Explorer/link-item/useReplaceLinkMassAction.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 +88 -0
- package/dist/components/Explorer/list-saved-views/SavedViews.js.map +1 -0
- package/dist/components/Explorer/{edit-settings → manage-view-settings/_shared}/ColumnItem.d.ts +1 -1
- package/dist/components/Explorer/{edit-settings → manage-view-settings/_shared}/ColumnItem.js +12 -5
- 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 +19 -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 +69 -0
- package/dist/components/Explorer/manage-view-settings/_shared/useAttributeDetailsData.js.map +1 -0
- package/dist/components/Explorer/manage-view-settings/_shared/useTransformFilters.d.ts +21 -0
- package/dist/components/Explorer/manage-view-settings/_shared/useTransformFilters.js +97 -0
- package/dist/components/Explorer/manage-view-settings/_shared/useTransformFilters.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 +55 -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 +88 -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 +40 -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/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.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/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 +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/_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 +12 -0
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/useConditionOptionsByType.js +108 -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/{edit-settings → manage-view-settings/open-view-settings}/EditSettingsContext.d.ts +3 -1
- package/dist/components/Explorer/{edit-settings → manage-view-settings/open-view-settings}/EditSettingsContext.js +3 -2
- 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 +8 -0
- package/dist/components/Explorer/{edit-settings → manage-view-settings/open-view-settings}/EditSettingsContextProvider.js +4 -3
- package/dist/components/Explorer/manage-view-settings/open-view-settings/EditSettingsContextProvider.js.map +1 -0
- package/dist/components/Explorer/{edit-settings → manage-view-settings/open-view-settings}/SidePanel.js +4 -4
- 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.js.map +1 -0
- package/dist/components/Explorer/manage-view-settings/open-view-settings/useOpenViewSettings.d.ts +12 -0
- package/dist/components/Explorer/manage-view-settings/open-view-settings/useOpenViewSettings.js +66 -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.js.map +1 -0
- package/dist/components/Explorer/{edit-settings → manage-view-settings/router-menu}/SettingsPanel.d.ts +2 -1
- package/dist/components/Explorer/manage-view-settings/router-menu/SettingsPanel.js +36 -0
- package/dist/components/Explorer/manage-view-settings/router-menu/SettingsPanel.js.map +1 -0
- package/dist/components/Explorer/manage-view-settings/save-view/LabelViewFormModal.d.ts +9 -0
- package/dist/components/Explorer/manage-view-settings/save-view/LabelViewFormModal.js +36 -0
- package/dist/components/Explorer/manage-view-settings/save-view/LabelViewFormModal.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/useDeleteView.d.ts +5 -0
- package/dist/components/Explorer/manage-view-settings/save-view/useDeleteView.js +47 -0
- package/dist/components/Explorer/manage-view-settings/save-view/useDeleteView.js.map +1 -0
- package/dist/components/Explorer/manage-view-settings/save-view/useEditLabelView.d.ts +5 -0
- package/dist/components/Explorer/manage-view-settings/save-view/useEditLabelView.js +48 -0
- package/dist/components/Explorer/manage-view-settings/save-view/useEditLabelView.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 +65 -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.d.ts +4 -0
- package/dist/components/Explorer/manage-view-settings/sort-items/SortItems.js +111 -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/{edit-settings/ViewSetingsContext.d.ts → manage-view-settings/store-view-settings/ViewSettingsContext.d.ts} +1 -2
- package/dist/components/Explorer/{edit-settings/ViewSetingsContext.js → manage-view-settings/store-view-settings/ViewSettingsContext.js} +2 -6
- package/dist/components/Explorer/manage-view-settings/store-view-settings/ViewSettingsContext.js.map +1 -0
- package/dist/components/Explorer/{edit-settings → manage-view-settings/store-view-settings}/useViewSettingsContext.js +1 -1
- 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 +5 -0
- package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsInitialState.js +37 -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 +189 -0
- package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsReducer.js +320 -0
- package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsReducer.js.map +1 -0
- package/dist/components/Explorer/useColumnWidth.d.ts +8 -0
- package/dist/components/Explorer/useColumnWidth.js +50 -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 +83 -0
- package/dist/components/Explorer/useLoadView.js.map +1 -0
- package/dist/components/Explorer/usePagination.d.ts +8 -0
- package/dist/components/Explorer/usePagination.js +25 -0
- package/dist/components/Explorer/usePagination.js.map +1 -0
- package/dist/components/Explorer/useSearchInput.d.ts +18 -0
- package/dist/components/Explorer/useSearchInput.js +41 -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 +154 -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 +6 -6
- package/dist/components/ImportModal/ImportModalConfigStep/ImportModalConfigStep.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/CreateNewRecordButton/CreateNewRecordButton.js +1 -0
- package/dist/components/LibraryItemsList/CreateNewRecordButton/CreateNewRecordButton.js.map +1 -1
- package/dist/components/LibraryItemsList/DisplayOptions/DisplayOptions.js.map +1 -1
- package/dist/components/LibraryItemsList/FiltersPanel/Filter/Filter.js +3 -3
- package/dist/components/LibraryItemsList/FiltersPanel/Filter/Filter.js.map +1 -1
- package/dist/components/LibraryItemsList/FiltersPanel/Filter/Filter.utils.js +2 -2
- package/dist/components/LibraryItemsList/FiltersPanel/Filter/Filter.utils.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/Cell/typeGuards.d.ts +4 -0
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/typeGuards.js +4 -1
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/typeGuards.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/LibraryItemsList/shared/DeactivateRecordBtn/DeactivateRecordBtn.js +3 -3
- package/dist/components/LibraryItemsList/shared/DeactivateRecordBtn/DeactivateRecordBtn.js.map +1 -1
- package/dist/components/LinkSelect/LinkSelect.d.ts +15 -0
- package/dist/components/LinkSelect/LinkSelect.js +88 -0
- package/dist/components/LinkSelect/LinkSelect.js.map +1 -0
- package/dist/components/LinkSelect/index.d.ts +2 -0
- package/dist/components/{RecordEdition/EditRecordContent/uiElements/LinkField/ValuesAdd/QuickSearch → LinkSelect}/index.js +2 -2
- package/dist/components/LinkSelect/index.js.map +1 -0
- package/dist/components/RecordEdition/EditRecord/EditRecord.d.ts +4 -4
- package/dist/components/RecordEdition/EditRecord/EditRecord.js +109 -105
- package/dist/components/RecordEdition/EditRecord/EditRecord.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordButtons/EditRecordButtons.d.ts +2 -0
- package/dist/components/RecordEdition/EditRecordButtons/EditRecordButtons.js +43 -0
- package/dist/components/RecordEdition/EditRecordButtons/EditRecordButtons.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordButtons/SidebarButton.d.ts +2 -0
- package/dist/components/RecordEdition/EditRecordButtons/SidebarButton.js +25 -0
- package/dist/components/RecordEdition/EditRecordButtons/SidebarButton.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordButtons/index.d.ts +2 -0
- package/dist/components/RecordEdition/{EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValueDisplayHandler → EditRecordButtons}/index.js +2 -1
- package/dist/components/RecordEdition/EditRecordButtons/index.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordContent/EditRecordContent.d.ts +6 -2
- package/dist/components/RecordEdition/EditRecordContent/EditRecordContent.js +81 -21
- package/dist/components/RecordEdition/EditRecordContent/EditRecordContent.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/_types.d.ts +32 -26
- package/dist/components/RecordEdition/EditRecordContent/_types.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/antdUtils.d.ts +11 -1
- package/dist/components/RecordEdition/EditRecordContent/antdUtils.js +50 -34
- package/dist/components/RecordEdition/EditRecordContent/antdUtils.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/formConstants.d.ts +1 -0
- package/dist/components/RecordEdition/EditRecordContent/formConstants.js +1 -0
- package/dist/components/RecordEdition/EditRecordContent/formConstants.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/helpers/extractFormElements/extractFormElements.d.ts +16 -1
- package/dist/components/RecordEdition/EditRecordContent/helpers/extractFormElements/extractFormElements.js +48 -19
- 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/hooks/useFetchVisibleFormValue.d.ts +13 -0
- package/dist/components/RecordEdition/EditRecordContent/hooks/useFetchVisibleFormValue.js +119 -0
- package/dist/components/RecordEdition/EditRecordContent/hooks/useFetchVisibleFormValue.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordContent/hooks/useTabManagement.d.ts +12 -0
- package/dist/components/RecordEdition/EditRecordContent/hooks/useTabManagement.js +39 -0
- package/dist/components/RecordEdition/EditRecordContent/hooks/useTabManagement.js.map +1 -0
- 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/Container/Container.d.ts +3 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/Container/Container.js +4 -5
- package/dist/components/RecordEdition/EditRecordContent/uiElements/Container/Container.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/FormTabs/FormTabs.js +26 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/FormTabs/FormTabs.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/Frame/Frame.d.ts +4 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/Frame/Frame.js +51 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/Frame/Frame.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/Frame/index.d.ts +2 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/{LinkField/ValuesAdd → Frame}/index.js +2 -2
- package/dist/components/RecordEdition/EditRecordContent/uiElements/Frame/index.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/LinkField.d.ts +8 -2
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/LinkField.js +103 -92
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/LinkField.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/action-item/useEditRecord.d.ts +5 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/action-item/useEditRecord.js +39 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/action-item/useEditRecord.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/action-item/useUnselectRecord.d.ts +8 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/action-item/useUnselectRecord.js +23 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/action-item/useUnselectRecord.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/action-mass/useUnselectAllRecords.d.ts +9 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/action-mass/useUnselectAllRecords.js +23 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/action-mass/useUnselectAllRecords.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/action-primary/useCreateRecord.d.ts +8 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/action-primary/useCreateRecord.js +26 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/action-primary/useCreateRecord.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/action-primary/useRecordSelector.d.ts +12 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/action-primary/useRecordSelector.js +24 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/action-primary/useRecordSelector.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record-in-creation/useLinkRecords.d.ts +19 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record-in-creation/useLinkRecords.js +103 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record-in-creation/useLinkRecords.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record-in-creation/useLinkRecordsInCreation.d.ts +22 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record-in-creation/useLinkRecordsInCreation.js +104 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record-in-creation/useLinkRecordsInCreation.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record-in-edition/useLinkRecords.d.ts +22 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record-in-edition/useLinkRecords.js +85 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record-in-edition/useLinkRecords.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record-in-edition/useLinkRecordsInEdition.d.ts +28 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record-in-edition/useLinkRecordsInEdition.js +311 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record-in-edition/useLinkRecordsInEdition.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/shared/ExplorerWrapper.d.ts +265 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/shared/ExplorerWrapper.js +13 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/shared/ExplorerWrapper.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/shared/LinkActionsButtons.d.ts +9 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/shared/LinkActionsButtons.js +15 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/shared/LinkActionsButtons.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/shared/utils.d.ts +4 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/shared/utils.js +22 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/shared/utils.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardField.d.ts +3 -2
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardField.js +186 -188
- 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 +10 -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 +76 -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 +36 -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 +12 -75
- 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 +32 -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 +50 -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 +32 -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 +138 -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 -9
- 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/useGetPresentationValues.d.ts +12 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/useGetPresentationValues.js +33 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/useGetPresentationValues.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/TreeField.d.ts +3 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/TreeField.js +73 -219
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/TreeField.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/display-tree-node/TreeFieldWrapper.d.ts +265 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/display-tree-node/TreeFieldWrapper.js +13 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/display-tree-node/TreeFieldWrapper.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/display-tree-node/TreeNodeItem.d.ts +11 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/display-tree-node/TreeNodeItem.js +51 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/display-tree-node/TreeNodeItem.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/display-tree-node/TreeNodeList.d.ts +11 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/display-tree-node/TreeNodeList.js +5 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/display-tree-node/TreeNodeList.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/manage-tree-node-selection/SelectTreeNodeModal.d.ts +27 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/manage-tree-node-selection/SelectTreeNodeModal.js +43 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/manage-tree-node-selection/SelectTreeNodeModal.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/manage-tree-node-selection/useManageTreeNodeSelection.d.ts +24 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/manage-tree-node-selection/useManageTreeNodeSelection.js +136 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/manage-tree-node-selection/useManageTreeNodeSelection.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/index.js +3 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/index.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/ComputeIndicator.d.ts +8 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/ComputeIndicator.js +16 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/ComputeIndicator.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/DeleteAllValuesButton.d.ts +8 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/DeleteAllValuesButton.js +25 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/DeleteAllValuesButton.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/calculatedInheritedFlags.d.ts +42 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/calculatedInheritedFlags.js +56 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/calculatedInheritedFlags.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/useOutsideInteractionDetector.d.ts +17 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/useOutsideInteractionDetector.js +76 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/useOutsideInteractionDetector.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordModal/EditRecordModal.d.ts +6 -0
- package/dist/components/RecordEdition/EditRecordModal/EditRecordModal.js +54 -47
- package/dist/components/RecordEdition/EditRecordModal/EditRecordModal.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordPage/EditRecordPage.d.ts +7 -1
- package/dist/components/RecordEdition/EditRecordPage/EditRecordPage.js +10 -7
- 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/TreeField/TreeFieldValue → EditRecordSidebar/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/Breacrumb/index.js +6 -0
- package/dist/components/RecordEdition/EditRecordSidebar/Breacrumb/index.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordSidebar/EditRecordSidebar.d.ts +3 -1
- package/dist/components/RecordEdition/EditRecordSidebar/EditRecordSidebar.js +54 -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 +84 -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/EditRecordSidebar/ValuesVersions/ValuesVersions.js +2 -2
- package/dist/components/RecordEdition/EditRecordSidebar/ValuesVersions/ValuesVersions.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/uiElements/LinkField/RecordIdentityCell → EditRecordSkeleton}/index.js +2 -2
- package/dist/components/RecordEdition/EditRecordSkeleton/index.js.map +1 -0
- package/dist/components/RecordEdition/constants.d.ts +2 -0
- package/dist/components/RecordEdition/constants.js +6 -0
- package/dist/components/RecordEdition/constants.js.map +1 -0
- package/dist/components/RecordEdition/editRecordReducer/editRecordReducer.d.ts +45 -12
- package/dist/components/RecordEdition/editRecordReducer/editRecordReducer.js +80 -14
- package/dist/components/RecordEdition/editRecordReducer/editRecordReducer.js.map +1 -1
- package/dist/components/RecordEdition/hooks/useGetSubmitButtons.d.ts +1 -1
- package/dist/components/RecordEdition/hooks/useGetSubmitButtons.js +3 -3
- package/dist/components/RecordEdition/hooks/useGetSubmitButtons.js.map +1 -1
- package/dist/components/RecordEdition/index.d.ts +4 -0
- package/dist/components/RecordEdition/index.js +4 -0
- package/dist/components/RecordEdition/index.js.map +1 -1
- package/dist/components/SelectRecordForLinkModal/SelectRecordForLinkModal.d.ts +16 -0
- package/dist/components/SelectRecordForLinkModal/SelectRecordForLinkModal.js +83 -0
- package/dist/components/SelectRecordForLinkModal/SelectRecordForLinkModal.js.map +1 -0
- package/dist/components/SelectRecordForLinkModal/index.d.ts +1 -0
- package/dist/components/{RecordEdition/EditRecordSidebar/ValueDetails/ValueInfo → SelectRecordForLinkModal}/index.js +1 -2
- package/dist/components/SelectRecordForLinkModal/index.js.map +1 -0
- package/dist/components/SelectTreeNode/SelectTreeNode.d.ts +10 -9
- package/dist/components/SelectTreeNode/SelectTreeNode.js +16 -135
- package/dist/components/SelectTreeNode/SelectTreeNode.js.map +1 -1
- package/dist/components/SelectTreeNode/SelectTreeNodeContent.d.ts +20 -0
- package/dist/components/SelectTreeNode/SelectTreeNodeContent.js +133 -0
- package/dist/components/SelectTreeNode/SelectTreeNodeContent.js.map +1 -0
- package/dist/components/SelectTreeNode/SelectTreeNodeContentSkeleton.d.ts +2 -0
- package/dist/components/SelectTreeNode/SelectTreeNodeContentSkeleton.js +17 -0
- package/dist/components/SelectTreeNode/SelectTreeNodeContentSkeleton.js.map +1 -0
- package/dist/components/SelectTreeNode/TreeNodeTitle.d.ts +9 -0
- package/dist/components/SelectTreeNode/TreeNodeTitle.js +8 -0
- package/dist/components/SelectTreeNode/TreeNodeTitle.js.map +1 -0
- package/dist/components/SelectTreeNode/_types.d.ts +17 -0
- package/dist/components/SelectTreeNode/_types.js +2 -0
- package/dist/components/SelectTreeNode/_types.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/SelectTreeNodeModalOld/SelectTreeNodeModalOld.d.ts +12 -0
- package/dist/components/SelectTreeNodeModalOld/SelectTreeNodeModalOld.js +34 -0
- package/dist/components/SelectTreeNodeModalOld/SelectTreeNodeModalOld.js.map +1 -0
- package/dist/components/SelectTreeNodeModalOld/index.d.ts +1 -0
- package/dist/components/SelectTreeNodeModalOld/index.js +5 -0
- package/dist/components/SelectTreeNodeModalOld/index.js.map +1 -0
- package/dist/components/SimpleErrorBoundary/SimpleErrorBoundary.d.ts +1 -1
- package/dist/components/SimpleErrorBoundary/SimpleErrorBoundary.js.map +1 -1
- package/dist/components/SimpleErrorBoundary/SimpleErrorBoundaryContent/SimpleErrorBoundaryContent.d.ts +2 -2
- package/dist/components/SimpleErrorBoundary/SimpleErrorBoundaryContent/SimpleErrorBoundaryContent.js +6 -3
- package/dist/components/SimpleErrorBoundary/SimpleErrorBoundaryContent/SimpleErrorBoundaryContent.js.map +1 -1
- package/dist/components/UploadFiles/UploadFiles.js +4 -4
- 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 -2
- package/dist/components/index.js +1 -2
- package/dist/components/index.js.map +1 -1
- package/dist/constants.d.ts +5 -0
- package/dist/constants.js +5 -0
- package/dist/constants.js.map +1 -1
- package/dist/contexts/LangContext/LangContext.d.ts +1 -2
- package/dist/contexts/LangContext/LangContext.js +2 -2
- package/dist/contexts/LangContext/LangContext.js.map +1 -1
- package/dist/hooks/index.d.ts +3 -0
- package/dist/hooks/index.js +3 -0
- package/dist/hooks/index.js.map +1 -1
- package/dist/hooks/useAppLang/useAppLang.js.map +1 -1
- package/dist/hooks/useDebouncedValue/index.d.ts +1 -0
- package/dist/{components/RecordEdition/EditRecordContent/uiElements/TreeField/ValuesAdd → hooks/useDebouncedValue}/index.js +1 -2
- 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} +8 -7
- package/dist/hooks/useExecuteSaveViewMutation/useExecuteSaveViewMutation.js.map +1 -0
- package/dist/hooks/useGetRecordForm/useGetRecordForm.d.ts +3 -1
- package/dist/hooks/useGetRecordForm/useGetRecordForm.js +3 -14
- package/dist/hooks/useGetRecordForm/useGetRecordForm.js.map +1 -1
- 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/hooks/useIFrameMessenger/messageHandlers.d.ts +15 -0
- package/dist/hooks/useIFrameMessenger/messageHandlers.js +121 -0
- package/dist/hooks/useIFrameMessenger/messageHandlers.js.map +1 -0
- package/dist/hooks/useIFrameMessenger/schema.d.ts +21 -0
- package/dist/hooks/useIFrameMessenger/schema.js +76 -0
- package/dist/hooks/useIFrameMessenger/schema.js.map +1 -0
- package/dist/hooks/useIFrameMessenger/types.d.ts +118 -0
- package/dist/hooks/useIFrameMessenger/types.js +2 -0
- package/dist/hooks/useIFrameMessenger/types.js.map +1 -0
- package/dist/hooks/useIFrameMessenger/useIFrameMessenger.d.ts +19 -0
- package/dist/hooks/useIFrameMessenger/useIFrameMessenger.js +104 -0
- package/dist/hooks/useIFrameMessenger/useIFrameMessenger.js.map +1 -0
- package/dist/hooks/useIFrameMessengerClient/IFrameMessengerClient.d.ts +7 -0
- package/dist/hooks/useIFrameMessengerClient/IFrameMessengerClient.js +13 -0
- package/dist/hooks/useIFrameMessengerClient/IFrameMessengerClient.js.map +1 -0
- package/dist/hooks/useIFrameMessengerClient/iFrameMessengerClientContext.d.ts +13 -0
- package/dist/{components/RecordEdition/EditRecordContent/reducers/standardFieldReducer/index.js → hooks/useIFrameMessengerClient/iFrameMessengerClientContext.js} +3 -3
- package/dist/hooks/useIFrameMessengerClient/iFrameMessengerClientContext.js.map +1 -0
- package/dist/hooks/useIFrameMessengerClient/useIFrameMessengerClient.d.ts +13 -0
- package/dist/hooks/useIFrameMessengerClient/useIFrameMessengerClient.js +13 -0
- package/dist/hooks/useIFrameMessengerClient/useIFrameMessengerClient.js.map +1 -0
- package/dist/hooks/useRedirectToLogin/useRedirectToLogin.js +1 -1
- package/dist/hooks/useRedirectToLogin/useRedirectToLogin.js.map +1 -1
- package/dist/locales/en/shared.json +133 -18
- package/dist/locales/fr/shared.json +136 -21
- package/dist/types/attributes.d.ts +2 -1
- package/dist/types/trees.d.ts +1 -0
- package/dist/types/views.d.ts +4 -4
- package/package.json +30 -13
- package/dist/components/Explorer/edit-settings/ColumnItem.js.map +0 -1
- package/dist/components/Explorer/edit-settings/DisplayMode.d.ts +0 -6
- package/dist/components/Explorer/edit-settings/DisplayMode.js +0 -34
- package/dist/components/Explorer/edit-settings/DisplayMode.js.map +0 -1
- package/dist/components/Explorer/edit-settings/DisplayModeTable.d.ts +0 -6
- package/dist/components/Explorer/edit-settings/DisplayModeTable.js +0 -89
- package/dist/components/Explorer/edit-settings/DisplayModeTable.js.map +0 -1
- package/dist/components/Explorer/edit-settings/EditSettingsContext.js.map +0 -1
- package/dist/components/Explorer/edit-settings/EditSettingsContextProvider.d.ts +0 -2
- package/dist/components/Explorer/edit-settings/EditSettingsContextProvider.js.map +0 -1
- package/dist/components/Explorer/edit-settings/SettingItem.js.map +0 -1
- package/dist/components/Explorer/edit-settings/SettingsPanel.js +0 -53
- package/dist/components/Explorer/edit-settings/SettingsPanel.js.map +0 -1
- package/dist/components/Explorer/edit-settings/SidePanel.js.map +0 -1
- package/dist/components/Explorer/edit-settings/ViewSetingsContext.js.map +0 -1
- package/dist/components/Explorer/edit-settings/ViewSetingsContextProvider.d.ts +0 -2
- package/dist/components/Explorer/edit-settings/ViewSetingsContextProvider.js +0 -12
- package/dist/components/Explorer/edit-settings/ViewSetingsContextProvider.js.map +0 -1
- package/dist/components/Explorer/edit-settings/useEditSettings.js.map +0 -1
- package/dist/components/Explorer/edit-settings/useGetLibraryColumns.d.ts +0 -10
- package/dist/components/Explorer/edit-settings/useGetLibraryColumns.js +0 -24
- package/dist/components/Explorer/edit-settings/useGetLibraryColumns.js.map +0 -1
- package/dist/components/Explorer/edit-settings/useOpenSettings.d.ts +0 -1
- package/dist/components/Explorer/edit-settings/useOpenSettings.js +0 -19
- package/dist/components/Explorer/edit-settings/useOpenSettings.js.map +0 -1
- package/dist/components/Explorer/edit-settings/useViewSettingsContext.js.map +0 -1
- package/dist/components/Explorer/edit-settings/viewSettingsReducer.d.ts +0 -43
- package/dist/components/Explorer/edit-settings/viewSettingsReducer.js +0 -58
- package/dist/components/Explorer/edit-settings/viewSettingsReducer.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 -51
- package/dist/components/Explorer/useDeactivateAction.js.map +0 -1
- package/dist/components/Explorer/useEditAction.js +0 -52
- package/dist/components/Explorer/useEditAction.js.map +0 -1
- package/dist/components/Explorer/usePrimaryActions.d.ts +0 -20
- package/dist/components/Explorer/usePrimaryActions.js +0 -29
- package/dist/components/Explorer/usePrimaryActions.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/EditRecordSkeleton.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/hooks/useRecordEditionContext.d.ts +0 -3
- package/dist/components/RecordEdition/EditRecordContent/hooks/useRecordEditionContext.js +0 -7
- package/dist/components/RecordEdition/EditRecordContent/hooks/useRecordEditionContext.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 +0 -7
- 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/LinkField/FloatingMenuHandler/FloatingMenuHandler.d.ts +0 -14
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/FloatingMenuHandler/FloatingMenuHandler.js +0 -29
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/FloatingMenuHandler/FloatingMenuHandler.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/FloatingMenuHandler/index.d.ts +0 -2
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/FloatingMenuHandler/index.js +0 -6
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/FloatingMenuHandler/index.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/MonoValueSelect/MonoValueSelect.d.ts +0 -21
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/MonoValueSelect/MonoValueSelect.js +0 -58
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/MonoValueSelect/MonoValueSelect.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/MonoValueSelect/useGetOptionsQuery.d.ts +0 -19
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/MonoValueSelect/useGetOptionsQuery.js +0 -111
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/MonoValueSelect/useGetOptionsQuery.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/MultiValueSelect/MultiValueSelect.d.ts +0 -21
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/MultiValueSelect/MultiValueSelect.js +0 -78
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/MultiValueSelect/MultiValueSelect.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/MultiValueSelect/useGetOptionsQuery.d.ts +0 -14
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/MultiValueSelect/useGetOptionsQuery.js +0 -58
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/MultiValueSelect/useGetOptionsQuery.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/RecordIdentityCell/RecordIdentityCell.d.ts +0 -6
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/RecordIdentityCell/RecordIdentityCell.js +0 -11
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/RecordIdentityCell/RecordIdentityCell.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/RecordIdentityCell/index.d.ts +0 -2
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/RecordIdentityCell/index.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/ValuesAdd/QuickSearch/QuickSearch.d.ts +0 -13
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/ValuesAdd/QuickSearch/QuickSearch.js +0 -50
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/ValuesAdd/QuickSearch/QuickSearch.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/ValuesAdd/QuickSearch/index.d.ts +0 -2
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/ValuesAdd/QuickSearch/index.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/ValuesAdd/ValuesAdd.d.ts +0 -9
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/ValuesAdd/ValuesAdd.js +0 -215
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/ValuesAdd/ValuesAdd.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/ValuesAdd/index.d.ts +0 -2
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/ValuesAdd/index.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 -90
- 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 -145
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/ValuesList/MonoValueSelect.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/TreeFieldValue/TreeFieldValue.d.ts +0 -10
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/TreeFieldValue/TreeFieldValue.js +0 -50
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/TreeFieldValue/TreeFieldValue.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/TreeFieldValue/index.d.ts +0 -2
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/TreeFieldValue/index.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/ValuesAdd/ValuesAdd.d.ts +0 -9
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/ValuesAdd/ValuesAdd.js +0 -106
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/ValuesAdd/ValuesAdd.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/ValuesAdd/index.d.ts +0 -2
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/ValuesAdd/index.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 +0 -6
- 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 +0 -6
- 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 +0 -6
- package/dist/components/RecordEdition/EditRecordSidebar/ValueDetails/index.js.map +0 -1
- package/dist/components/SelectTreeNodeModal/SelectTreeNodeModal.d.ts +0 -15
- package/dist/components/SelectTreeNodeModal/SelectTreeNodeModal.js +0 -32
- package/dist/components/SelectTreeNodeModal/SelectTreeNodeModal.js.map +0 -1
- package/dist/components/SelectTreeNodeModal/index.d.ts +0 -2
- package/dist/components/SelectTreeNodeModal/index.js +0 -6
- package/dist/components/SelectTreeNodeModal/index.js.map +0 -1
- package/dist/hooks/useExecuteAddViewMutation/useExecuteAddViewMutation.d.ts +0 -6
- package/dist/hooks/useExecuteAddViewMutation/useExecuteAddViewMutation.js.map +0 -1
- /package/dist/components/Explorer/{edit-settings → manage-view-settings/open-view-settings}/SidePanel.d.ts +0 -0
- /package/dist/components/Explorer/{edit-settings → manage-view-settings/open-view-settings}/useEditSettings.d.ts +0 -0
- /package/dist/components/Explorer/{edit-settings → manage-view-settings/open-view-settings}/useEditSettings.js +0 -0
- /package/dist/components/Explorer/{edit-settings → manage-view-settings/router-menu}/SettingItem.d.ts +0 -0
- /package/dist/components/Explorer/{edit-settings → manage-view-settings/router-menu}/SettingItem.js +0 -0
- /package/dist/components/Explorer/{edit-settings → manage-view-settings/store-view-settings}/useViewSettingsContext.d.ts +0 -0
package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/ValuesAdd/ValuesAdd.js
DELETED
|
@@ -1,215 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } 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 { BulbOutlined, CloseOutlined, CloudUploadOutlined, FolderAddOutlined, PlusOutlined, SearchOutlined } from '@ant-design/icons';
|
|
6
|
-
import { useLazyQuery } from '@apollo/client';
|
|
7
|
-
import { localizedTranslation } from '@leav/utils';
|
|
8
|
-
import { Button, Divider, Input, Space, Spin } from 'antd';
|
|
9
|
-
import { useEffect, useRef, useState } from 'react';
|
|
10
|
-
import styled from 'styled-components';
|
|
11
|
-
import { themeVars } from '../../../../../../antdTheme';
|
|
12
|
-
import { CreateDirectory } from '../../../../../../components/CreateDirectory';
|
|
13
|
-
import { ErrorDisplay } from '../../../../../../components/ErrorDisplay';
|
|
14
|
-
import List from '../../../../../../components/List';
|
|
15
|
-
import { RecordCard } from '../../../../../../components/RecordCard';
|
|
16
|
-
import { EditRecordModal } from '../../../../../../components/RecordEdition/EditRecordModal';
|
|
17
|
-
import { SearchModal } from '../../../../../../components/SearchModal';
|
|
18
|
-
import { UploadFiles } from '../../../../../../components/UploadFiles';
|
|
19
|
-
import { PreviewSize } from '../../../../../../constants';
|
|
20
|
-
import { useLang } from '../../../../../../hooks';
|
|
21
|
-
import { useSharedTranslation } from '../../../../../../hooks/useSharedTranslation';
|
|
22
|
-
import { LibraryBehavior } from '../../../../../../_gqlTypes';
|
|
23
|
-
import { getRecordsFromLibraryQuery } from '../../../../../../_queries/records/getRecordsFromLibraryQuery';
|
|
24
|
-
const Wrapper = styled.div `
|
|
25
|
-
background-color: ${themeVars.defaultBg};
|
|
26
|
-
padding: 1em;
|
|
27
|
-
z-index: 1;
|
|
28
|
-
position: relative;
|
|
29
|
-
|
|
30
|
-
& .record-card .label {
|
|
31
|
-
font-weight: normal;
|
|
32
|
-
padding: 0.2em;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
& .ant-list-pagination {
|
|
36
|
-
margin-top: 5px;
|
|
37
|
-
}
|
|
38
|
-
`;
|
|
39
|
-
const ListsWrapper = styled.div `
|
|
40
|
-
max-height: 30rem;
|
|
41
|
-
overflow-y: scroll;
|
|
42
|
-
`;
|
|
43
|
-
const SearchActions = styled.div `
|
|
44
|
-
margin: 0 0 1em 0;
|
|
45
|
-
width: 100%;
|
|
46
|
-
display: flex;
|
|
47
|
-
direction: row;
|
|
48
|
-
align-items: center;
|
|
49
|
-
`;
|
|
50
|
-
const FooterWrapper = styled(Space) `
|
|
51
|
-
padding-top: 1em;
|
|
52
|
-
width: 100%;
|
|
53
|
-
display: flex;
|
|
54
|
-
justify-content: space-between;
|
|
55
|
-
`;
|
|
56
|
-
const SearchInput = styled(Input.Search) `
|
|
57
|
-
flex-grow: 1;
|
|
58
|
-
margin-right: 1em;
|
|
59
|
-
`;
|
|
60
|
-
const CloseButton = styled(CloseOutlined) `
|
|
61
|
-
margin-left: 2em;
|
|
62
|
-
`;
|
|
63
|
-
const StartTypingMessage = styled.div `
|
|
64
|
-
padding: 0.5rem;
|
|
65
|
-
font-style: italic;
|
|
66
|
-
`;
|
|
67
|
-
const _renderListItem = (item) => (_jsx(RecordCard, { record: item.whoAmI, size: PreviewSize.small, withLibrary: false, simplistic: true, style: { margin: '0.3rem 0' } }, item.id));
|
|
68
|
-
function ValuesAdd({ attribute, onAdd, onClose }) {
|
|
69
|
-
const { t } = useSharedTranslation();
|
|
70
|
-
const { lang } = useLang();
|
|
71
|
-
const valuesList = attribute.linkValuesList?.enable ? attribute.linkValuesList.values : [];
|
|
72
|
-
const [filteredValuesList, setFilteredValuesList] = useState(valuesList);
|
|
73
|
-
const wrapperRef = useRef();
|
|
74
|
-
const searchInputRef = useRef();
|
|
75
|
-
const [selectedValues, setSelectedValues] = useState([]);
|
|
76
|
-
const [isUploadFilesModalVisible, setIsUploadFilesModalVisible] = useState(false);
|
|
77
|
-
const [isCreateDirectoryModalVisible, setIsCreateDirectoryModalVisible] = useState(false);
|
|
78
|
-
const [isSearchModalVisible, setIsSearchModalVisible] = useState(false);
|
|
79
|
-
const [isCreateRecordModalVisible, setIsCreateRecordModalVisible] = useState(false);
|
|
80
|
-
const [valuesListCurrentPage, setValuesListCurrentPage] = useState(1);
|
|
81
|
-
const [searchCurrentPage, setSearchCurrentPage] = useState(1);
|
|
82
|
-
const pageSize = 10;
|
|
83
|
-
const canSearch = !attribute.linkValuesList?.enable || attribute.linkValuesList?.allowFreeEntry;
|
|
84
|
-
const canCreateRecord = attribute.linked_library.permissions.create_record &&
|
|
85
|
-
attribute.linked_library.behavior !== LibraryBehavior.files &&
|
|
86
|
-
attribute.linked_library.behavior !== LibraryBehavior.directories;
|
|
87
|
-
const canUploadFile = attribute.linked_library.permissions.create_record &&
|
|
88
|
-
attribute.linked_library.behavior === LibraryBehavior.files;
|
|
89
|
-
const canCreateDirectory = attribute.linked_library.permissions.create_record &&
|
|
90
|
-
attribute.linked_library.behavior === LibraryBehavior.directories;
|
|
91
|
-
const [runSearch, { loading, error, data: searchData }] = useLazyQuery(getRecordsFromLibraryQuery([], true));
|
|
92
|
-
useEffect(() => {
|
|
93
|
-
wrapperRef.current.scrollIntoView({ block: 'nearest' });
|
|
94
|
-
searchInputRef.current?.focus();
|
|
95
|
-
}, []);
|
|
96
|
-
const _handleItemClick = (valueListItem) => {
|
|
97
|
-
onAdd([valueListItem]);
|
|
98
|
-
};
|
|
99
|
-
const _handleClose = () => onClose();
|
|
100
|
-
const _handleSelectionChange = (selection) => setSelectedValues(selection);
|
|
101
|
-
const _handleSubmit = () => {
|
|
102
|
-
onAdd(selectedValues);
|
|
103
|
-
};
|
|
104
|
-
const _handleClickAdvancedSearch = () => {
|
|
105
|
-
setIsSearchModalVisible(true);
|
|
106
|
-
};
|
|
107
|
-
const _handleClickUploadFiles = () => setIsUploadFilesModalVisible(true);
|
|
108
|
-
const _handleCloseUploadFiles = () => setIsUploadFilesModalVisible(false);
|
|
109
|
-
const _handleClickCreateDirectoryModal = () => setIsCreateDirectoryModalVisible(true);
|
|
110
|
-
const _handleCloseCreateDirectoryModal = () => setIsCreateDirectoryModalVisible(false);
|
|
111
|
-
const _onUploadFilesCompleted = async (data) => {
|
|
112
|
-
const toAdd = data.map(d => ({ id: d.record.id, whoAmI: d.record.whoAmI }));
|
|
113
|
-
onAdd(toAdd);
|
|
114
|
-
};
|
|
115
|
-
const _onCreateDirectoryCompleted = async (data) => {
|
|
116
|
-
onAdd([{ id: data.id, whoAmI: data.whoAmI }]);
|
|
117
|
-
};
|
|
118
|
-
const _handleOpenCreateRecordModal = () => {
|
|
119
|
-
setIsCreateRecordModalVisible(true);
|
|
120
|
-
};
|
|
121
|
-
const _handleCloseCreateRecordModal = () => {
|
|
122
|
-
setIsCreateRecordModalVisible(false);
|
|
123
|
-
};
|
|
124
|
-
const _handleSearchModalSubmit = async ({ selected }) => {
|
|
125
|
-
if (!selected.length) {
|
|
126
|
-
return;
|
|
127
|
-
}
|
|
128
|
-
const selectedRecordToSave = attribute.multiple_values ? selected : [selected[0]];
|
|
129
|
-
const valuesToSave = selectedRecordToSave.map(selectedRecord => ({
|
|
130
|
-
id: selectedRecord.id,
|
|
131
|
-
whoAmI: {
|
|
132
|
-
id: selectedRecord.id,
|
|
133
|
-
label: selectedRecord.label,
|
|
134
|
-
subLabel: null,
|
|
135
|
-
library: attribute.linked_library,
|
|
136
|
-
color: null,
|
|
137
|
-
preview: null
|
|
138
|
-
}
|
|
139
|
-
}));
|
|
140
|
-
onAdd(valuesToSave);
|
|
141
|
-
};
|
|
142
|
-
const _handleSearchSubmit = (submittedSearch) => {
|
|
143
|
-
setValuesListCurrentPage(1);
|
|
144
|
-
setSearchCurrentPage(1);
|
|
145
|
-
if (valuesList.length) {
|
|
146
|
-
const newValuesList = valuesList.filter(value => {
|
|
147
|
-
const regex = new RegExp(submittedSearch.toLowerCase());
|
|
148
|
-
const label = String(value.whoAmI?.label) ?? '';
|
|
149
|
-
return !submittedSearch || value.id.match(regex) || label.toLowerCase().match(regex);
|
|
150
|
-
});
|
|
151
|
-
setFilteredValuesList(newValuesList);
|
|
152
|
-
}
|
|
153
|
-
if (canSearch && submittedSearch) {
|
|
154
|
-
runSearch({
|
|
155
|
-
variables: {
|
|
156
|
-
library: attribute.linked_library.id,
|
|
157
|
-
fullText: submittedSearch,
|
|
158
|
-
limit: pageSize,
|
|
159
|
-
offset: 0
|
|
160
|
-
}
|
|
161
|
-
});
|
|
162
|
-
}
|
|
163
|
-
};
|
|
164
|
-
const _handleSearchPageChange = (page) => {
|
|
165
|
-
if (!searchInputRef.current.input.value) {
|
|
166
|
-
return;
|
|
167
|
-
}
|
|
168
|
-
setSearchCurrentPage(page);
|
|
169
|
-
runSearch({
|
|
170
|
-
variables: {
|
|
171
|
-
library: attribute.linked_library.id,
|
|
172
|
-
fullText: searchInputRef.current.input.value,
|
|
173
|
-
limit: pageSize,
|
|
174
|
-
offset: (page - 1) * pageSize
|
|
175
|
-
}
|
|
176
|
-
});
|
|
177
|
-
};
|
|
178
|
-
const _handleAfterCreateRecord = (record) => {
|
|
179
|
-
onAdd([
|
|
180
|
-
{
|
|
181
|
-
id: record.id,
|
|
182
|
-
whoAmI: record
|
|
183
|
-
}
|
|
184
|
-
]);
|
|
185
|
-
_handleCloseCreateRecordModal();
|
|
186
|
-
};
|
|
187
|
-
const currentSearch = searchInputRef?.current?.input?.value;
|
|
188
|
-
const searchResult = searchData && currentSearch
|
|
189
|
-
? searchData.records.list.map(record => ({
|
|
190
|
-
id: record.whoAmI.id,
|
|
191
|
-
whoAmI: record.whoAmI
|
|
192
|
-
}))
|
|
193
|
-
: [];
|
|
194
|
-
const listCommonProps = {
|
|
195
|
-
onItemClick: _handleItemClick,
|
|
196
|
-
renderItemContent: _renderListItem,
|
|
197
|
-
selectable: attribute.multiple_values,
|
|
198
|
-
selectedItems: selectedValues,
|
|
199
|
-
onSelectionChange: _handleSelectionChange,
|
|
200
|
-
locale: { emptyText: t('record_edition.no_matching_value') }
|
|
201
|
-
};
|
|
202
|
-
const paginationCommonProps = {
|
|
203
|
-
simple: true,
|
|
204
|
-
pageSize,
|
|
205
|
-
current: valuesListCurrentPage
|
|
206
|
-
};
|
|
207
|
-
return (_jsxs(_Fragment, { children: [_jsxs(Wrapper, { "data-testid": "values-add", ref: wrapperRef, children: [_jsxs(SearchActions, { children: [_jsx(SearchInput, { placeholder: t('record_edition.search_elements'), onSearch: _handleSearchSubmit, loading: loading, allowClear: true, ref: searchInputRef, "aria-label": t('record_edition.search_elements') }), _jsx(CloseButton, { onClick: _handleClose, role: "button" })] }), _jsxs(ListsWrapper, { children: [!filteredValuesList.length && !searchResult.length && currentSearch ? (t('record_edition.no_matching_value')) : (_jsx(_Fragment, {})), !!filteredValuesList.length && (_jsxs(_Fragment, { children: [_jsx(Divider, { orientation: "left", children: t('record_edition.values_list') }), _jsx(List, { ...listCommonProps, "data-testid": "values_list", dataSource: filteredValuesList, pagination: false })] })), canSearch && !!searchResult.length && (_jsxs(_Fragment, { children: [_jsx(Divider, { orientation: "left", children: localizedTranslation(attribute.linked_library.label, lang) }), loading && _jsx(Spin, {}), error && _jsx(ErrorDisplay, { message: error.message }), !loading && !error && (_jsx(List, { ...listCommonProps, "data-testid": "search_result", dataSource: searchResult, pagination: {
|
|
208
|
-
...paginationCommonProps,
|
|
209
|
-
total: searchData?.records.totalCount ?? 0,
|
|
210
|
-
current: searchCurrentPage,
|
|
211
|
-
onChange: _handleSearchPageChange
|
|
212
|
-
} }))] })), canSearch && !currentSearch && (_jsxs(StartTypingMessage, { children: [_jsx(BulbOutlined, {}), " ", t('record_edition.start_typing_message')] }))] }), _jsxs(FooterWrapper, { children: [_jsxs(Space, { children: [canSearch && (_jsx(Button, { size: "small", icon: _jsx(SearchOutlined, {}), onClick: _handleClickAdvancedSearch, children: t('record_edition.advanced_search') })), canCreateRecord && (_jsx(Button, { size: "small", icon: _jsx(PlusOutlined, {}), onClick: _handleOpenCreateRecordModal, children: t('record_edition.new_record') })), canUploadFile && (_jsx(Button, { size: "small", icon: _jsx(CloudUploadOutlined, {}), onClick: _handleClickUploadFiles, children: t('upload.title') })), canCreateDirectory && (_jsx(Button, { size: "small", icon: _jsx(FolderAddOutlined, {}), onClick: _handleClickCreateDirectoryModal, children: t('create_directory.title') }))] }), _jsxs(Space, { children: [_jsx(Button, { size: "small", onClick: _handleClose, children: t('global.cancel') }), _jsx(Button, { type: "primary", size: "small", onClick: _handleSubmit, children: t('global.submit') })] })] })] }), isSearchModalVisible && (_jsx(SearchModal, { libId: attribute.linked_library.id, visible: isSearchModalVisible, setVisible: setIsSearchModalVisible, submitAction: _handleSearchModalSubmit })), isCreateRecordModalVisible && (_jsx(EditRecordModal, { open: isCreateRecordModalVisible, library: attribute.linked_library.id, record: null, onClose: _handleCloseCreateRecordModal, onCreate: _handleAfterCreateRecord })), isUploadFilesModalVisible && (_jsx(UploadFiles, { libraryId: attribute.linked_library.id, multiple: attribute.multiple_values, onCompleted: _onUploadFilesCompleted, onClose: _handleCloseUploadFiles })), isCreateDirectoryModalVisible && (_jsx(CreateDirectory, { libraryId: attribute.linked_library.id, onCompleted: _onCreateDirectoryCompleted, onClose: _handleCloseCreateDirectoryModal }))] }));
|
|
213
|
-
}
|
|
214
|
-
export default ValuesAdd;
|
|
215
|
-
//# sourceMappingURL=ValuesAdd.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ValuesAdd.js","sourceRoot":"","sources":["../../../../../../../src/components/RecordEdition/EditRecordContent/uiElements/LinkField/ValuesAdd/Valu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AAc,CAAC,EAAE,EACpC,MAAM,EAAE,IAAI,EACZ,OAAO,EAAE,6BAA6B,EACtC,QAAQ,EAAE,wBAAwB,GACpC,CACL,EACA,yBAAyB,IAAI,CAC1B,KAAC,WAAW,IACR,SAAS,EAAE,SAAS,CAAC,cAAc,CAAC,EAAE,EACtC,QAAQ,EAAE,SAAS,CAAC,eAAe,EACnC,WAAW,EAAE,uBAAuB,EACpC,OAAO,EAAE,uBAAuB,GAClC,CACL,EACA,6BAA6B,IAAI,CAC9B,KAAC,eAAe,IACZ,SAAS,EAAE,SAAS,CAAC,cAAc,CAAC,EAAE,EACtC,WAAW,EAAE,2BAA2B,EACxC,OAAO,EAAE,gCAAgC,GAC3C,CACL,IACF,CACN,CAAC;AACN,CAAC;AAED,eAAe,SAAS,CAAC"}
|
package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/ValuesAdd/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/components/RecordEdition/EditRecordContent/uiElements/LinkField/ValuesAdd/index.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,SAAS,MAAM,aAAa,CAAC;AACpC,eAAe,SAAS,CAAC"}
|
|
@@ -1,14 +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 { Checkbox } from 'antd';
|
|
6
|
-
function CheckboxInput({ state, fieldValue, onSubmit }) {
|
|
7
|
-
const _handleCheckboxChange = (e) => {
|
|
8
|
-
onSubmit(String(e.target.checked));
|
|
9
|
-
};
|
|
10
|
-
const { value } = fieldValue;
|
|
11
|
-
return (_jsx(Checkbox, { className: "nested-input", disabled: state.isReadOnly, checked: !!value?.payload, indeterminate: typeof value?.payload !== 'boolean', onChange: _handleCheckboxChange }));
|
|
12
|
-
}
|
|
13
|
-
export default CheckboxInput;
|
|
14
|
-
//# sourceMappingURL=CheckboxInput.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CheckboxInput.js","sourceRoot":"","sources":["../../../../../../../../src/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/Inputs/CheckboxInput.tsx"],"names":[],"mappings":";AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,QAAQ,EAAC,MAAM,MAAM,CAAC;AAI9B,SAAS,aAAa,CAAC,EAAC,KAAK,EAAE,UAAU,EAAE,QAAQ,EAAsB;IACrE,MAAM,qBAAqB,GAAG,CAAC,CAAsB,EAAE,EAAE;QACrD,QAAQ,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,CAAC;IACvC,CAAC,CAAC;IAEF,MAAM,EAAC,KAAK,EAAC,GAAG,UAAU,CAAC;IAE3B,OAAO,CACH,KAAC,QAAQ,IACL,SAAS,EAAC,cAAc,EACxB,QAAQ,EAAE,KAAK,CAAC,UAAU,EAC1B,OAAO,EAAE,CAAC,CAAC,KAAK,EAAE,OAAO,EACzB,aAAa,EAAE,OAAO,KAAK,EAAE,OAAO,KAAK,SAAS,EAClD,QAAQ,EAAE,qBAAqB,GACjC,CACL,CAAC;AACN,CAAC;AAED,eAAe,aAAa,CAAC"}
|
|
@@ -1,22 +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 { ColorPicker } from 'antd';
|
|
6
|
-
function ColorInput({ state, fieldValue, onChange, onFocus }) {
|
|
7
|
-
const { editingValue } = fieldValue;
|
|
8
|
-
const colorValue = '#' + editingValue.toString();
|
|
9
|
-
const _handleColorChange = (value) => {
|
|
10
|
-
onChange(value.toHex().toUpperCase());
|
|
11
|
-
};
|
|
12
|
-
const colorPickerStyle = {
|
|
13
|
-
height: fieldValue.index ? '44px' : '54px',
|
|
14
|
-
width: '100%',
|
|
15
|
-
justifyContent: 'left',
|
|
16
|
-
paddingTop: fieldValue.index ? '4px' : '14px',
|
|
17
|
-
paddingLeft: '15px'
|
|
18
|
-
};
|
|
19
|
-
return (_jsx(ColorPicker, { showText: true, disabledAlpha: true, disabled: state.isReadOnly, value: colorValue, style: colorPickerStyle, open: fieldValue.isEditing, size: "small", onChangeComplete: _handleColorChange, onOpenChange: onFocus }));
|
|
20
|
-
}
|
|
21
|
-
export default ColorInput;
|
|
22
|
-
//# sourceMappingURL=ColorInput.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ColorInput.js","sourceRoot":"","sources":["../../../../../../../../src/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/Inputs/ColorInput.tsx"],"names":[],"mappings":";AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,WAAW,EAAC,MAAM,MAAM,CAAC;AAIjC,SAAS,UAAU,CAAC,EAAC,KAAK,EAAE,UAAU,EAAE,QAAQ,EAAE,OAAO,EAAsB;IAC3E,MAAM,EAAC,YAAY,EAAC,GAAG,UAAU,CAAC;IAClC,MAAM,UAAU,GAAG,GAAG,GAAG,YAAY,CAAC,QAAQ,EAAE,CAAC;IAEjD,MAAM,kBAAkB,GAAG,CAAC,KAAY,EAAE,EAAE;QACxC,QAAQ,CAAC,KAAK,CAAC,KAAK,EAAE,CAAC,WAAW,EAAE,CAAC,CAAC;IAC1C,CAAC,CAAC;IACF,MAAM,gBAAgB,GAAwB;QAC1C,MAAM,EAAE,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM;QAC1C,KAAK,EAAE,MAAM;QACb,cAAc,EAAE,MAAM;QACtB,UAAU,EAAE,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM;QAC7C,WAAW,EAAE,MAAM;KACtB,CAAC;IAEF,OAAO,CACH,KAAC,WAAW,IACR,QAAQ,QACR,aAAa,QACb,QAAQ,EAAE,KAAK,CAAC,UAAU,EAC1B,KAAK,EAAE,UAAU,EACjB,KAAK,EAAE,gBAAgB,EACvB,IAAI,EAAE,UAAU,CAAC,SAAS,EAC1B,IAAI,EAAC,OAAO,EACZ,gBAAgB,EAAE,kBAAkB,EACpC,YAAY,EAAE,OAAO,GACvB,CACL,CAAC;AACN,CAAC;AAED,eAAe,UAAU,CAAC"}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import { DatePicker, Input } from 'antd';
|
|
3
|
-
import dayjs from 'dayjs';
|
|
4
|
-
import { themeVars } from '../../../../../../../antdTheme';
|
|
5
|
-
import { useSharedTranslation } from '../../../../../../../hooks/useSharedTranslation';
|
|
6
|
-
function DateInput({ state, fieldValue, onFocus, onSubmit, settings }) {
|
|
7
|
-
const { editingValue } = fieldValue;
|
|
8
|
-
const { i18n } = useSharedTranslation();
|
|
9
|
-
const attribute = state.formElement.attribute;
|
|
10
|
-
const isValuesListEnabled = !!attribute?.values_list?.enable;
|
|
11
|
-
const isValuesListOpen = !!attribute?.values_list?.allowFreeEntry;
|
|
12
|
-
const _handleDateChange = (selectedDate) => {
|
|
13
|
-
const dateToSave = selectedDate ? String(selectedDate.unix()) : null;
|
|
14
|
-
onSubmit(dateToSave);
|
|
15
|
-
};
|
|
16
|
-
const dateValue = editingValue ? dayjs(Number(editingValue) * 1000) : null;
|
|
17
|
-
// If we have a values list, picker must be on top to keep list readable
|
|
18
|
-
const pickerPosition = isValuesListEnabled ? 'topLeft' : null;
|
|
19
|
-
return !isValuesListEnabled || isValuesListOpen ? (_jsx(DatePicker, { className: "field-wrapper", "data-testid": "datepicker", disabled: state.isReadOnly, picker: "date", onChange: _handleDateChange, value: dateValue, autoFocus: true, defaultOpen: true, showTime: !!settings.withTime, onOk: _handleDateChange, popupStyle: { background: themeVars.defaultBg }, style: { background: themeVars.defaultBg, width: '100%' }, allowClear: false, placement: pickerPosition })) : (_jsx(Input, { className: `field-wrapper ${editingValue ? 'has-value' : ''}`, value: editingValue ? new Intl.DateTimeFormat(i18n.language).format(new Date(Number(editingValue) * 1000)) : '', onFocus: onFocus, disabled: true, allowClear: true, autoFocus: true }, "editing"));
|
|
20
|
-
}
|
|
21
|
-
export default DateInput;
|
|
22
|
-
//# sourceMappingURL=DateInput.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"DateInput.js","sourceRoot":"","sources":["../../../../../../../../src/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/Inputs/DateInput.tsx"],"names":[],"mappings":";AAIA,OAAO,EAAC,UAAU,EAAE,KAAK,EAAC,MAAM,MAAM,CAAC;AACvC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAC,SAAS,EAAC,MAAM,eAAe,CAAC;AAExC,OAAO,EAAC,oBAAoB,EAAC,MAAM,gCAAgC,CAAC;AAGpE,SAAS,SAAS,CAAC,EAAC,KAAK,EAAE,UAAU,EAAE,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAsB;IACpF,MAAM,EAAC,YAAY,EAAC,GAAG,UAAU,CAAC;IAClC,MAAM,EAAC,IAAI,EAAC,GAAG,oBAAoB,EAAE,CAAC;IAEtC,MAAM,SAAS,GAAG,KAAK,CAAC,WAAW,CAAC,SAAyD,CAAC;IAC9F,MAAM,mBAAmB,GAAG,CAAC,CAAC,SAAS,EAAE,WAAW,EAAE,MAAM,CAAC;IAC7D,MAAM,gBAAgB,GAAG,CAAC,CAAC,SAAS,EA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AQ,CAAC,CAAC,MAAM,CAAC,IAAI,IAAI,CAAC,MAAM,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,EAE5G,OAAO,EAAE,OAAO,EAChB,QAAQ,EAAE,IAAI,EACd,UAAU,QACV,SAAS,UARL,SAAS,CASf,CACL,CAAC;AACN,CAAC;AAED,eAAe,SAAS,CAAC"}
|
|
@@ -1,19 +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 { Input } from 'antd';
|
|
6
|
-
function EncryptedInput({ state, fieldValue, onChange, onPressEnter, inputRef }) {
|
|
7
|
-
const { editingValue } = fieldValue;
|
|
8
|
-
const _handleChange = e => {
|
|
9
|
-
onChange(e.target.value);
|
|
10
|
-
};
|
|
11
|
-
const _handleKeyPress = e => {
|
|
12
|
-
if (e.key === 'Enter') {
|
|
13
|
-
onPressEnter();
|
|
14
|
-
}
|
|
15
|
-
};
|
|
16
|
-
return (_jsx(Input.Password, { className: "nested-input", ref: inputRef, value: String(editingValue), onChange: _handleChange, onKeyPress: _handleKeyPress, disabled: state.isReadOnly, autoFocus: true, "data-testid": "encrypted-input" }));
|
|
17
|
-
}
|
|
18
|
-
export default EncryptedInput;
|
|
19
|
-
//# sourceMappingURL=EncryptedInput.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"EncryptedInput.js","sourceRoot":"","sources":["../../../../../../../../src/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/Inputs/EncryptedInput.tsx"],"names":[],"mappings":";AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,KAAK,EAAW,MAAM,MAAM,CAAC;AAIrC,SAAS,cAAc,CAAC,EAAC,KAAK,EAAE,UAAU,EAAE,QAAQ,EAAE,YAAY,EAAE,QAAQ,EAAsB;IAC9F,MAAM,EAAC,YAAY,EAAC,GAAG,UAAU,CAAC;IAClC,MAAM,aAAa,GAAG,CAAC,CAAC,EAAE;QACtB,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;IAC7B,CAAC,CAAC;IAEF,MAAM,eAAe,GAAG,CAAC,CAAC,EAAE;QACxB,IAAI,CAAC,CAAC,GAAG,KAAK,OAAO,EAAE,CAAC;YACpB,YAAY,EAAE,CAAC;QACnB,CAAC;IACL,CAAC,CAAC;IAEF,OAAO,CACH,KAAC,KAAK,CAAC,QAAQ,IACX,SAAS,EAAC,cAAc,EACxB,GAAG,EAAE,QAAsC,EAC3C,KAAK,EAAE,MAAM,CAAC,YAAY,CAAC,EAC3B,QAAQ,EAAE,aAAa,EACvB,UAAU,EAAE,eAAe,EAC3B,QAAQ,EAAE,KAAK,CAAC,UAAU,EAC1B,SAAS,uBACG,iBAAiB,GAC/B,CACL,CAAC;AACN,CAAC;AAED,eAAe,cAAc,CAAC"}
|
|
@@ -1,32 +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 { Input } from 'antd';
|
|
6
|
-
import styled from 'styled-components';
|
|
7
|
-
const StyledInput = styled(Input) `
|
|
8
|
-
// Remove arrows on number input
|
|
9
|
-
&& {
|
|
10
|
-
input {
|
|
11
|
-
-moz-appearance: textfield;
|
|
12
|
-
::-webkit-inner-spin-button {
|
|
13
|
-
-webkit-appearance: none;
|
|
14
|
-
margin: 0;
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
`;
|
|
19
|
-
function NumberInput({ state, fieldValue, onFocus, onPressEnter, onChange, inputRef }) {
|
|
20
|
-
const { editingValue } = fieldValue;
|
|
21
|
-
const _handleNumberChange = (e) => {
|
|
22
|
-
onChange(String(e.target.value));
|
|
23
|
-
};
|
|
24
|
-
const _handlePressEnter = () => {
|
|
25
|
-
onPressEnter();
|
|
26
|
-
};
|
|
27
|
-
const editingValueNumber = Number(editingValue);
|
|
28
|
-
const inputValue = editingValue !== '' ? editingValueNumber : '';
|
|
29
|
-
return (_jsx(StyledInput, { type: "number", ref: inputRef, className: "nested-input", value: inputValue, onFocus: onFocus, onChange: _handleNumberChange, onPressEnter: _handlePressEnter, disabled: state.isReadOnly, allowClear: true, autoFocus: true }));
|
|
30
|
-
}
|
|
31
|
-
export default NumberInput;
|
|
32
|
-
//# sourceMappingURL=NumberInput.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"NumberInput.js","sourceRoot":"","sources":["../../../../../../../../src/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/Inputs/NumberInput.tsx"],"names":[],"mappings":";AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,KAAK,EAAW,MAAM,MAAM,CAAC;AAErC,OAAO,MAAM,MAAM,mBAAmB,CAAC;AAGvC,MAAM,WAAW,GAAG,MAAM,CAAC,KAAK,CAAC,CAAA;;;;;;;;;;;CAWhC,CAAC;AAEF,SAAS,WAAW,CAAC,EAAC,KAAK,EAAE,UAAU,EAAE,OAAO,EAAE,YAAY,EAAE,QAAQ,EAAE,QAAQ,EAAsB;IACpG,MAAM,EAAC,YAAY,EAAC,GAAG,UAAU,CAAC;IAElC,MAAM,mBAAmB,GAAG,CAAC,CAAgC,EAAE,EAAE;QAC7D,QAAQ,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC;IACrC,CAAC,CAAC;IAEF,MAAM,iBAAiB,GAAG,GAAG,EAAE;QAC3B,YAAY,EAAE,CAAC;IACnB,CAAC,CAAC;IAEF,MAAM,kBAAkB,GAAG,MAAM,CAAC,YAAY,CAAC,CAAC;IAEhD,MAAM,UAAU,GAAG,YAAY,KAAK,EAAE,CAAC,CAAC,CAAE,kBAA6B,CAAC,CAAC,CAAC,EAAE,CAAC;IAE7E,OAAO,CACH,KAAC,WAAW,IACR,IAAI,EAAC,QAAQ,EACb,GAAG,EAAE,QAAsC,EAC3C,SAAS,EAAC,cAAc,EACxB,KAAK,EAAE,UAAU,EACjB,OAAO,EAAE,OAAO,EAChB,QAAQ,EAAE,mBAAmB,EAC7B,YAAY,EAAE,iBAAiB,EAC/B,QAAQ,EAAE,KAAK,CAAC,UAAU,EAC1B,UAAU,QACV,SAAS,SACX,CACL,CAAC;AACN,CAAC;AAED,eAAe,WAAW,CAAC"}
|
|
@@ -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 InlineEditor from '@ckeditor/ckeditor5-build-inline';
|
|
6
|
-
import { CKEditor } from '@ckeditor/ckeditor5-react';
|
|
7
|
-
import styled from 'styled-components';
|
|
8
|
-
const CkeditorComponent = styled.div `
|
|
9
|
-
border-width: 1px;
|
|
10
|
-
border-style: solid;
|
|
11
|
-
border-color: #d9d9d9;
|
|
12
|
-
background: ${props => (props.$isEditing ? 'white' : '')};
|
|
13
|
-
border-radius: 5px;
|
|
14
|
-
height: 100%;
|
|
15
|
-
position: relative;
|
|
16
|
-
z-index: 1;
|
|
17
|
-
`;
|
|
18
|
-
function RichTextEditorInput({ state, fieldValue, onFocus, onChange }) {
|
|
19
|
-
const { isEditing, editingValue } = fieldValue;
|
|
20
|
-
const _handleOnChange = (event, editor) => {
|
|
21
|
-
onChange(editor.getData());
|
|
22
|
-
};
|
|
23
|
-
const _handleOnFocus = (event, editor) => {
|
|
24
|
-
onFocus();
|
|
25
|
-
};
|
|
26
|
-
const configToolBar = {
|
|
27
|
-
toolbar: {
|
|
28
|
-
items: [
|
|
29
|
-
'undo',
|
|
30
|
-
'redo',
|
|
31
|
-
'|',
|
|
32
|
-
'heading',
|
|
33
|
-
'|',
|
|
34
|
-
'bold',
|
|
35
|
-
'italic',
|
|
36
|
-
'|',
|
|
37
|
-
'link',
|
|
38
|
-
'blockQuote',
|
|
39
|
-
'insertTable',
|
|
40
|
-
'|',
|
|
41
|
-
'bulletedList',
|
|
42
|
-
'numberedList',
|
|
43
|
-
'outdent',
|
|
44
|
-
'indent'
|
|
45
|
-
]
|
|
46
|
-
}
|
|
47
|
-
};
|
|
48
|
-
return (_jsx(CkeditorComponent, { "data-testid": "ckeditor", "$isEditing": isEditing, children: _jsx(CKEditor, { editor: InlineEditor, config: configToolBar, data: editingValue.toString(), onChange: _handleOnChange, onFocus: _handleOnFocus }) }));
|
|
49
|
-
}
|
|
50
|
-
export default RichTextEditorInput;
|
|
51
|
-
//# sourceMappingURL=RichTextEditorInput.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RichTextEditorInput.js","sourceRoot":"","sources":["../../../../../../../../src/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/Inputs/RichTextEditorInput.tsx"],"names":[],"mappings":";AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,YAAY,MAAM,kCAAkC,CAAC;AAC5D,OAAO,EAAC,QAAQ,EAAC,MAAM,2BAA2B,CAAC;AACnD,OAAO,MAAM,MAAM,mBAAmB,CAAC;AAGvC,MAAM,iBAAiB,GAAG,MAAM,CAAC,GAAG,CAAuB;;;;kBAIzC,KAAK,CAAC,EAAE,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,CAAC;;;;;CAK3D,CAAC;AAEF,SAAS,mBAAmB,CAAC,EAAC,KAAK,EAAE,UAAU,EAAE,OAAO,EAAE,QAAQ,EAAsB;IACpF,MAAM,EAAC,SAAS,EAAE,YAAY,EAAC,GAAG,UAAU,CAAC;IAE7C,MAAM,eAAe,GAAG,CAAC,KAAK,EAAE,MAAM,EAAE,EAAE;QACtC,QAAQ,CAAC,MAAM,CAAC,OAAO,EAAE,CAAC,CAAC;IAC/B,CAAC,CAAC;IAEF,MAAM,cAAc,GAAG,CAAC,KAAK,EAAE,MAAM,EAAE,EAAE;QACrC,OAAO,EAAE,CAAC;IACd,CAAC,CAAC;IAEF,MAAM,aAAa,GAAG;QAClB,OAAO,EAAE;YACL,KAAK,EAAE;gBACH,MAAM;gBACN,MAAM;gBACN,GAAG;gBACH,SAAS;gBACT,GAAG;gBACH,MAAM;gBACN,QAAQ;gBACR,GAAG;gBACH,MAAM;gBACN,YAAY;gBACZ,aAAa;gBACb,GAAG;gBACH,cAAc;gBACd,cAAc;gBACd,SAAS;gBACT,QAAQ;aACX;SACJ;KACJ,CAAC;IAEF,OAAO,CACH,KAAC,iBAAiB,mBAAa,UAAU,gBAAa,SAAS,YAC3D,KAAC,QAAQ,IACL,MAAM,EAAE,YAAY,EACpB,MAAM,EAAE,aAAa,EACrB,IAAI,EAAE,YAAY,CAAC,QAAQ,EAAE,EAC7B,QAAQ,EAAE,eAAe,EACzB,OAAO,EAAE,cAAc,GACzB,GACc,CACvB,CAAC;AACN,CAAC;AAED,eAAe,mBAAmB,CAAC"}
|
|
@@ -1,26 +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 { Input } from 'antd';
|
|
6
|
-
import { useEffect } from 'react';
|
|
7
|
-
function TextInput({ state, fieldValue, onFocus, onChange, onPressEnter, inputRef }) {
|
|
8
|
-
const { isEditing, editingValue } = fieldValue;
|
|
9
|
-
useEffect(() => {
|
|
10
|
-
// Handle focusing via click on label (not standard focus via click on input)
|
|
11
|
-
if (isEditing) {
|
|
12
|
-
inputRef.current.focus();
|
|
13
|
-
}
|
|
14
|
-
}, [isEditing, inputRef]);
|
|
15
|
-
const _handleChange = e => {
|
|
16
|
-
onChange(e.target.value);
|
|
17
|
-
};
|
|
18
|
-
const _handleKeyPress = e => {
|
|
19
|
-
if (e.key === 'Enter') {
|
|
20
|
-
onPressEnter();
|
|
21
|
-
}
|
|
22
|
-
};
|
|
23
|
-
return (_jsx(Input, { ref: inputRef, className: `field-wrapper ${editingValue ? 'has-value' : ''}`, value: String(editingValue), onFocus: onFocus, onChange: _handleChange, onKeyPress: _handleKeyPress, disabled: state.isReadOnly, allowClear: true, autoFocus: true }, "editing"));
|
|
24
|
-
}
|
|
25
|
-
export default TextInput;
|
|
26
|
-
//# sourceMappingURL=TextInput.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TextInput.js","sourceRoot":"","sources":["../../../../../../../../src/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/Inputs/TextInput.tsx"],"names":[],"mappings":";AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,KAAK,EAAW,MAAM,MAAM,CAAC;AACrC,OAAO,EAAmB,SAAS,EAAC,MAAM,OAAO,CAAC;AAGlD,SAAS,SAAS,CAAC,EAAC,KAAK,EAAE,UAAU,EAAE,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAE,QAAQ,EAAsB;IAClG,MAAM,EAAC,SAAS,EAAE,YAAY,EAAC,GAAG,UAAU,CAAC;IAE7C,SAAS,CAAC,GAAG,EAAE;QACX,6EAA6E;QAC7E,IAAI,SAAS,EAAE,CAAC;YACX,QAAuC,CAAC,OAAO,CAAC,KAAK,EAAE,CAAC;QAC7D,CAAC;IACL,CAAC,EAAE,CAAC,SAAS,EAAE,QAAQ,CAAC,CAAC,CAAC;IAE1B,MAAM,aAAa,GAAG,CAAC,CAAC,EAAE;QACtB,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;IAC7B,CAAC,CAAC;IAEF,MAAM,eAAe,GAAG,CAAC,CAAC,EAAE;QACxB,IAAI,CAAC,CAAC,GAAG,KAAK,OAAO,EAAE,CAAC;YACpB,YAAY,EAAE,CAAC;QACnB,CAAC;IACL,CAAC,CAAC;IAEF,OAAO,CACH,KAAC,KAAK,IAEF,GAAG,EAAE,QAAsC,EAC3C,SAAS,EAAE,iBAAiB,YAAY,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,EAAE,EAAE,EAC7D,KAAK,EAAE,MAAM,CAAC,YAAY,CAAC,EAC3B,OAAO,EAAE,OAAO,EAChB,QAAQ,EAAE,aAAa,EACvB,UAAU,EAAE,eAAe,EAC3B,QAAQ,EAAE,KAAK,CAAC,UAAU,EAC1B,UAAU,QACV,SAAS,UATL,SAAS,CAUf,CACL,CAAC;AACN,CAAC;AAED,eAAe,SAAS,CAAC"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { RecordFormAttributeStandardAttributeFragment } from '../../../../../../../_gqlTypes';
|
|
2
|
-
import { FunctionComponent } from 'react';
|
|
3
|
-
import { IStandardFieldReducerState, IStandardFieldValue } from '../../../../reducers/standardFieldReducer/standardFieldReducer';
|
|
4
|
-
import { StandardValueTypes } from '../../../../_types';
|
|
5
|
-
interface IStandardFieldValueDisplayHandlerProps {
|
|
6
|
-
state: IStandardFieldReducerState;
|
|
7
|
-
attribute: RecordFormAttributeStandardAttributeFragment;
|
|
8
|
-
fieldValue: IStandardFieldValue;
|
|
9
|
-
shouldShowValueDetailsButton?: boolean;
|
|
10
|
-
handleSubmit: (value: StandardValueTypes, id?: string) => void;
|
|
11
|
-
}
|
|
12
|
-
export declare const StandardFieldValueDisplayHandler: FunctionComponent<IStandardFieldValueDisplayHandlerProps>;
|
|
13
|
-
export {};
|
|
@@ -1,90 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, Fragment as _Fragment, 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 { AttributeFormat } from '../../../../../../../_gqlTypes';
|
|
6
|
-
import { StandardFieldReducerActionsTypes } from '../../../../reducers/standardFieldReducer/standardFieldReducer';
|
|
7
|
-
import { DSBooleanWrapper } from '../DSBooleanWrapper';
|
|
8
|
-
import { DSDatePickerWrapper } from '../DSDatePickerWrapper';
|
|
9
|
-
import { DSInputNumberWrapper } from '../DSInputNumberWrapper';
|
|
10
|
-
import { DSInputEncryptedWrapper } from '../DSInputEncryptedWrapper';
|
|
11
|
-
import { DSInputWrapper } from '../DSInputWrapper';
|
|
12
|
-
import { DSRangePickerWrapper } from '../DSRangePickerWrapper';
|
|
13
|
-
import { useEditRecordReducer } from '../../../../../../../components/RecordEdition/editRecordReducer/useEditRecordReducer';
|
|
14
|
-
import { StandardFieldValueRead } from './StandardFieldValueRead/StandardFieldValueRead';
|
|
15
|
-
import { useStandardFieldReducer } from '../../../../../../../components/RecordEdition/EditRecordContent/reducers/standardFieldReducer/useStandardFieldReducer';
|
|
16
|
-
import { Form } from 'antd';
|
|
17
|
-
import { useTranslation } from 'react-i18next';
|
|
18
|
-
import { DSRichTextWrapper } from '../DSRichTextWrapper';
|
|
19
|
-
import { DSColorPickerWrapper } from '../DSColorPickerWrapper';
|
|
20
|
-
import { MonoValueSelect } from '../ValuesList/MonoValueSelect';
|
|
21
|
-
export const StandardFieldValueDisplayHandler = ({ attribute, fieldValue, handleSubmit }) => {
|
|
22
|
-
const { t } = useTranslation();
|
|
23
|
-
const { state: editRecordState, dispatch: editRecordDispatch } = useEditRecordReducer();
|
|
24
|
-
const { state, dispatch } = useStandardFieldReducer();
|
|
25
|
-
const mustDisplayReadValue = !fieldValue.isEditing && attribute.format !== AttributeFormat.boolean;
|
|
26
|
-
const _handleClickOnReadValue = e => {
|
|
27
|
-
e.stopPropagation();
|
|
28
|
-
if (state.isReadOnly) {
|
|
29
|
-
return;
|
|
30
|
-
}
|
|
31
|
-
dispatch({
|
|
32
|
-
type: StandardFieldReducerActionsTypes.FOCUS_FIELD,
|
|
33
|
-
idValue: fieldValue.idValue
|
|
34
|
-
});
|
|
35
|
-
};
|
|
36
|
-
const _handleBlur = () => {
|
|
37
|
-
dispatch({
|
|
38
|
-
type: StandardFieldReducerActionsTypes.CANCEL_EDITING,
|
|
39
|
-
idValue: fieldValue.idValue
|
|
40
|
-
});
|
|
41
|
-
};
|
|
42
|
-
const commonProps = {
|
|
43
|
-
state,
|
|
44
|
-
editRecordDispatch,
|
|
45
|
-
handleSubmit,
|
|
46
|
-
handleBlur: _handleBlur,
|
|
47
|
-
attribute,
|
|
48
|
-
fieldValue,
|
|
49
|
-
shouldShowValueDetailsButton: editRecordState.withInfoButton
|
|
50
|
-
};
|
|
51
|
-
const isValuesListEnabled = Boolean(attribute.values_list?.enable);
|
|
52
|
-
let valueContent;
|
|
53
|
-
if (isValuesListEnabled) {
|
|
54
|
-
valueContent = _jsx(MonoValueSelect, { ...commonProps });
|
|
55
|
-
}
|
|
56
|
-
else {
|
|
57
|
-
switch (attribute.format) {
|
|
58
|
-
case AttributeFormat.text:
|
|
59
|
-
valueContent = _jsx(DSInputWrapper, { ...commonProps });
|
|
60
|
-
break;
|
|
61
|
-
case AttributeFormat.date:
|
|
62
|
-
valueContent = _jsx(DSDatePickerWrapper, { ...commonProps });
|
|
63
|
-
break;
|
|
64
|
-
case AttributeFormat.date_range:
|
|
65
|
-
valueContent = _jsx(DSRangePickerWrapper, { ...commonProps });
|
|
66
|
-
break;
|
|
67
|
-
case AttributeFormat.numeric:
|
|
68
|
-
valueContent = _jsx(DSInputNumberWrapper, { ...commonProps });
|
|
69
|
-
break;
|
|
70
|
-
case AttributeFormat.encrypted:
|
|
71
|
-
valueContent = _jsx(DSInputEncryptedWrapper, { ...commonProps });
|
|
72
|
-
break;
|
|
73
|
-
case AttributeFormat.boolean:
|
|
74
|
-
valueContent = _jsx(DSBooleanWrapper, { ...commonProps });
|
|
75
|
-
break;
|
|
76
|
-
case AttributeFormat.rich_text:
|
|
77
|
-
valueContent = _jsx(DSRichTextWrapper, { ...commonProps });
|
|
78
|
-
break;
|
|
79
|
-
case AttributeFormat.color:
|
|
80
|
-
valueContent = _jsx(DSColorPickerWrapper, { ...commonProps });
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
return (_jsxs(_Fragment, { children: [_jsx("div", { style: { display: mustDisplayReadValue ? 'block' : 'none' }, children: _jsx(StandardFieldValueRead, { fieldValue: fieldValue, onClick: _handleClickOnReadValue }) }), _jsx(Form.Item, { name: attribute.id, rules: [
|
|
84
|
-
{
|
|
85
|
-
required: state.formElement.settings.required,
|
|
86
|
-
message: t('errors.standard_field_required')
|
|
87
|
-
}
|
|
88
|
-
], style: { display: mustDisplayReadValue ? 'none' : 'block' }, children: valueContent })] }));
|
|
89
|
-
};
|
|
90
|
-
//# sourceMappingURL=StandardFieldValueDisplayHandler.js.map
|