@leav/ui 0.3.6-1190202 → 0.3.6-1e8a80b
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/__mocks__/common/attribute.d.ts +1 -0
- package/dist/__mocks__/common/attribute.js +9 -1
- package/dist/__mocks__/common/attribute.js.map +1 -1
- package/dist/__mocks__/common/value.js +3 -1
- package/dist/__mocks__/common/value.js.map +1 -1
- package/dist/__mocks__/common/view.js +7 -5
- package/dist/__mocks__/common/view.js.map +1 -1
- package/dist/__mocks__/mockQuery/mockGetLibraryDetailExtendedQuery.js +1 -1
- package/dist/__mocks__/mockQuery/mockGetLibraryDetailExtendedQuery.js.map +1 -1
- package/dist/__mocks__/mockQuery/mockGetViewListQuery.js +2 -1
- package/dist/__mocks__/mockQuery/mockGetViewListQuery.js.map +1 -1
- package/dist/_gqlTypes/index.d.ts +367 -72
- package/dist/_gqlTypes/index.js +202 -48
- package/dist/_gqlTypes/index.js.map +1 -1
- package/dist/_queries/libraries/getLibraryDetailExtendQuery.d.ts +3 -4
- package/dist/_queries/libraries/getLibraryDetailExtendQuery.js +2 -3
- package/dist/_queries/libraries/getLibraryDetailExtendQuery.js.map +1 -1
- package/dist/_queries/records/getRecordColumnsValues.d.ts +5 -3
- package/dist/_queries/records/getRecordColumnsValues.js +4 -1
- package/dist/_queries/records/getRecordColumnsValues.js.map +1 -1
- package/dist/_queries/records/recordFormAttributeFragment.js +2 -0
- package/dist/_queries/records/recordFormAttributeFragment.js.map +1 -1
- package/dist/_queries/views/saveViewMutation.js +1 -1
- package/dist/_queries/views/viewDetailsFragment.js +14 -11
- package/dist/_queries/views/viewDetailsFragment.js.map +1 -1
- package/dist/_utils/index.js +5 -2
- package/dist/_utils/index.js.map +1 -1
- package/dist/_utils/interleaveElement.d.ts +1 -0
- package/dist/_utils/interleaveElement.js +5 -0
- package/dist/_utils/interleaveElement.js.map +1 -0
- package/dist/components/Explorer/DataView.js +2 -1
- package/dist/components/Explorer/DataView.js.map +1 -1
- package/dist/components/Explorer/Explorer.d.ts +3 -4
- package/dist/components/Explorer/Explorer.js +22 -25
- 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/_constants.d.ts +4 -0
- package/dist/components/Explorer/_constants.js +17 -0
- package/dist/components/Explorer/_constants.js.map +1 -0
- package/dist/components/Explorer/_queries/useExplorerData.d.ts +15 -7
- package/dist/components/Explorer/_queries/useExplorerData.js +136 -19
- package/dist/components/Explorer/_queries/useExplorerData.js.map +1 -1
- package/dist/components/Explorer/_types.d.ts +33 -1
- 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/display-view-filters/ExplorerToolBar.d.ts +4 -0
- package/dist/components/Explorer/display-view-filters/ExplorerToolBar.js +47 -0
- package/dist/components/Explorer/display-view-filters/ExplorerToolBar.js.map +1 -0
- package/dist/components/Explorer/manage-view-settings/_shared/CommonFilterItem.d.ts +5 -0
- package/dist/components/Explorer/manage-view-settings/_shared/CommonFilterItem.js +12 -0
- package/dist/components/Explorer/manage-view-settings/_shared/CommonFilterItem.js.map +1 -0
- package/dist/components/Explorer/manage-view-settings/filter-items/FilterItems.js +11 -21
- package/dist/components/Explorer/manage-view-settings/filter-items/FilterItems.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/filter-items/FilterListItem.d.ts +1 -2
- package/dist/components/Explorer/manage-view-settings/filter-items/FilterListItem.js +3 -3
- package/dist/components/Explorer/manage-view-settings/filter-items/FilterListItem.js.map +1 -1
- 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 +10 -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 +1 -1
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/FilterDropDown.js +60 -6
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/FilterDropDown.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/FilterValueList.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/NumericAttributeDropDown.d.ts +2 -2
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/NumericAttributeDropDown.js +11 -27
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/NumericAttributeDropDown.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/TextAttributeDropDown.d.ts +2 -2
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/TextAttributeDropDown.js +11 -26
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/TextAttributeDropDown.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/useConditionOptionsByType.d.ts +6 -9
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/useConditionOptionsByType.js +25 -7
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/useConditionOptionsByType.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/open-view-settings/EditSettingsContext.d.ts +1 -0
- package/dist/components/Explorer/manage-view-settings/open-view-settings/EditSettingsContext.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/open-view-settings/useOpenViewSettings.d.ts +2 -0
- package/dist/components/Explorer/manage-view-settings/open-view-settings/useOpenViewSettings.js +24 -6
- package/dist/components/Explorer/manage-view-settings/open-view-settings/useOpenViewSettings.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/router-menu/SettingsPanel.d.ts +2 -1
- package/dist/components/Explorer/manage-view-settings/router-menu/SettingsPanel.js +45 -28
- package/dist/components/Explorer/manage-view-settings/router-menu/SettingsPanel.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/sort-items/SortItems.js +20 -20
- package/dist/components/Explorer/manage-view-settings/sort-items/SortItems.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsInitialState.js +12 -1
- package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsInitialState.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsReducer.d.ts +26 -11
- package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsReducer.js +58 -23
- package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsReducer.js.map +1 -1
- package/dist/components/Explorer/useEditAction.js +3 -3
- package/dist/components/Explorer/useEditAction.js.map +1 -1
- package/dist/components/Explorer/useSearchInput.js +1 -1
- package/dist/components/Explorer/useSearchInput.js.map +1 -1
- package/dist/components/Explorer/useViewSettingsReducer.d.ts +8 -0
- package/dist/components/Explorer/useViewSettingsReducer.js +125 -0
- package/dist/components/Explorer/useViewSettingsReducer.js.map +1 -0
- package/dist/components/LibraryItemsList/LibraryItemsListContent/LibraryItemsListContent.js +7 -11
- package/dist/components/LibraryItemsList/LibraryItemsListContent/LibraryItemsListContent.js.map +1 -1
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Header/Header.js +7 -5
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Header/Header.js.map +1 -1
- package/dist/components/LibraryItemsList/MenuView/MenuView.js +4 -9
- package/dist/components/LibraryItemsList/MenuView/MenuView.js.map +1 -1
- package/dist/components/LibraryItemsList/ViewPanel/EditView/EditView.js +2 -3
- package/dist/components/LibraryItemsList/ViewPanel/EditView/EditView.js.map +1 -1
- package/dist/components/LibraryItemsList/ViewPanel/View/View.js +3 -3
- package/dist/components/LibraryItemsList/ViewPanel/View/View.js.map +1 -1
- package/dist/components/LibraryItemsList/helpers/getFieldsFromView.js +4 -9
- package/dist/components/LibraryItemsList/helpers/getFieldsFromView.js.map +1 -1
- package/dist/components/LibraryItemsList/hooks/useLibraryView/useLibraryView.js +7 -5
- package/dist/components/LibraryItemsList/hooks/useLibraryView/useLibraryView.js.map +1 -1
- package/dist/components/LibraryItemsList/hooks/useSearchReducer/_types.d.ts +1 -1
- package/dist/components/LibraryItemsList/hooks/useSearchReducer/searchReducer.d.ts +1 -1
- package/dist/components/LibraryItemsList/hooks/useSearchReducer/searchReducer.js +25 -33
- package/dist/components/LibraryItemsList/hooks/useSearchReducer/searchReducer.js.map +1 -1
- package/dist/components/RecordEdition/EditRecord/EditRecord.d.ts +1 -0
- package/dist/components/RecordEdition/EditRecord/EditRecord.js +8 -16
- package/dist/components/RecordEdition/EditRecord/EditRecord.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/EditRecordContent.js +16 -3
- package/dist/components/RecordEdition/EditRecordContent/EditRecordContent.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/_types.d.ts +2 -0
- package/dist/components/RecordEdition/EditRecordContent/_types.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/antdUtils.d.ts +5 -2
- package/dist/components/RecordEdition/EditRecordContent/antdUtils.js +6 -3
- package/dist/components/RecordEdition/EditRecordContent/antdUtils.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/helpers/extractFormElements/extractFormElements.d.ts +3 -1
- package/dist/components/RecordEdition/EditRecordContent/helpers/extractFormElements/extractFormElements.js +8 -2
- package/dist/components/RecordEdition/EditRecordContent/helpers/extractFormElements/extractFormElements.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/Container/Container.d.ts +3 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/Container/Container.js +2 -2
- package/dist/components/RecordEdition/EditRecordContent/uiElements/Container/Container.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/LinkField.js +2 -2
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/LinkField.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/MonoValueSelect/MonoValueSelect.d.ts +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/MonoValueSelect/MonoValueSelect.js +2 -7
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/MonoValueSelect/MonoValueSelect.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/MultiValueSelect/MultiValueSelect.d.ts +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/MultiValueSelect/MultiValueSelect.js +2 -7
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/MultiValueSelect/MultiValueSelect.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/ComputeIndicator.d.ts +6 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/ComputeIndicator.js +18 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/ComputeIndicator.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardField.d.ts +2 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardField.js +16 -36
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardField.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSBooleanWrapper.js +1 -2
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSBooleanWrapper.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSColorPickerWrapper.js +9 -6
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSColorPickerWrapper.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSDatePickerWrapper.js +18 -5
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSDatePickerWrapper.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputNumberWrapper.js +9 -5
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputNumberWrapper.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputWrapper.js +9 -8
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputWrapper.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSRangePickerWrapper.js +13 -6
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSRangePickerWrapper.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSRichTextWrapper.js +9 -10
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSRichTextWrapper.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValue.d.ts +4 -2
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValue.js +3 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValue.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/ValuesList/DSListSelect.js +15 -3
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/ValuesList/DSListSelect.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/_types.d.ts +2 -0
- package/dist/components/RecordEdition/EditRecordModal/EditRecordModal.js +10 -4
- package/dist/components/RecordEdition/EditRecordModal/EditRecordModal.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordPage/EditRecordPage.d.ts +2 -0
- package/dist/components/RecordEdition/EditRecordPage/EditRecordPage.js +2 -2
- package/dist/components/RecordEdition/EditRecordPage/EditRecordPage.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordSidebar/EditRecordSidebar.d.ts +4 -1
- package/dist/components/RecordEdition/EditRecordSidebar/EditRecordSidebar.js +35 -3
- package/dist/components/RecordEdition/EditRecordSidebar/EditRecordSidebar.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordSidebar/PropertiesList/PropertiesList.d.ts +4 -7
- package/dist/components/RecordEdition/EditRecordSidebar/PropertiesList/PropertiesList.js +6 -8
- package/dist/components/RecordEdition/EditRecordSidebar/PropertiesList/PropertiesList.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordSidebar/RecordSummary/RecordInformations/RecordInformations.d.ts +9 -0
- package/dist/components/RecordEdition/EditRecordSidebar/RecordSummary/RecordInformations/RecordInformations.js +42 -0
- package/dist/components/RecordEdition/EditRecordSidebar/RecordSummary/RecordInformations/RecordInformations.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordSidebar/RecordSummary/RecordInformations/useRecordInformations.d.ts +6 -0
- package/dist/components/RecordEdition/EditRecordSidebar/RecordSummary/RecordInformations/useRecordInformations.js +35 -0
- package/dist/components/RecordEdition/EditRecordSidebar/RecordSummary/RecordInformations/useRecordInformations.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordSidebar/RecordSummary/RecordSummary.d.ts +2 -281
- package/dist/components/RecordEdition/EditRecordSidebar/RecordSummary/RecordSummary.js +25 -56
- package/dist/components/RecordEdition/EditRecordSidebar/RecordSummary/RecordSummary.js.map +1 -1
- package/dist/constants.d.ts +1 -0
- package/dist/constants.js +1 -0
- package/dist/constants.js.map +1 -1
- package/dist/hooks/useExecuteSaveViewMutation/index.d.ts +1 -0
- package/dist/hooks/useExecuteSaveViewMutation/index.js +5 -0
- package/dist/hooks/useExecuteSaveViewMutation/index.js.map +1 -0
- package/dist/hooks/useExecuteSaveViewMutation/useExecuteSaveViewMutation.d.ts +6 -0
- package/dist/hooks/{useExecuteAddViewMutation/useExecuteAddViewMutation.js → useExecuteSaveViewMutation/useExecuteSaveViewMutation.js} +6 -6
- package/dist/hooks/useExecuteSaveViewMutation/useExecuteSaveViewMutation.js.map +1 -0
- package/dist/locales/en/shared.json +19 -6
- package/dist/locales/fr/shared.json +19 -6
- package/dist/types/views.d.ts +4 -4
- package/package.json +2 -2
- package/dist/components/Explorer/display-view-filters/ExplorerFilterBar.d.ts +0 -2
- package/dist/components/Explorer/display-view-filters/ExplorerFilterBar.js +0 -41
- package/dist/components/Explorer/display-view-filters/ExplorerFilterBar.js.map +0 -1
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/SimpleFilterDropDown.d.ts +0 -3
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/SimpleFilterDropDown.js +0 -69
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/SimpleFilterDropDown.js.map +0 -1
- package/dist/hooks/useExecuteAddViewMutation/useExecuteAddViewMutation.d.ts +0 -6
- package/dist/hooks/useExecuteAddViewMutation/useExecuteAddViewMutation.js.map +0 -1
|
@@ -1,286 +1,7 @@
|
|
|
1
1
|
import { IRecordIdentityWhoAmI } from '../../../../types/records';
|
|
2
|
+
import { FunctionComponent } from 'react';
|
|
2
3
|
interface IRecordSummaryProps {
|
|
3
4
|
record: IRecordIdentityWhoAmI;
|
|
4
5
|
}
|
|
5
|
-
export declare const
|
|
6
|
-
prefixCls?: string;
|
|
7
|
-
className?: string;
|
|
8
|
-
rootClassName?: string;
|
|
9
|
-
style?: import("react").CSSProperties;
|
|
10
|
-
size?: import("antd/es/space").SpaceSize | [import("antd/es/space").SpaceSize, import("antd/es/space").SpaceSize];
|
|
11
|
-
direction?: "horizontal" | "vertical";
|
|
12
|
-
align?: "start" | "end" | "center" | "baseline";
|
|
13
|
-
split?: import("react").ReactNode;
|
|
14
|
-
wrap?: boolean;
|
|
15
|
-
classNames?: {
|
|
16
|
-
item: string;
|
|
17
|
-
};
|
|
18
|
-
styles?: {
|
|
19
|
-
item: import("react").CSSProperties;
|
|
20
|
-
};
|
|
21
|
-
defaultChecked?: boolean | undefined;
|
|
22
|
-
defaultValue?: string | number | ReadonlyArray<string> | undefined;
|
|
23
|
-
suppressContentEditableWarning?: boolean | undefined;
|
|
24
|
-
suppressHydrationWarning?: boolean | undefined;
|
|
25
|
-
accessKey?: string | undefined;
|
|
26
|
-
autoFocus?: boolean | undefined;
|
|
27
|
-
contentEditable?: (boolean | "true" | "false") | "inherit" | undefined;
|
|
28
|
-
contextMenu?: string | undefined;
|
|
29
|
-
dir?: string | undefined;
|
|
30
|
-
draggable?: (boolean | "true" | "false") | undefined;
|
|
31
|
-
hidden?: boolean | undefined;
|
|
32
|
-
id?: string | undefined;
|
|
33
|
-
lang?: string | undefined;
|
|
34
|
-
nonce?: string | undefined;
|
|
35
|
-
placeholder?: string | undefined;
|
|
36
|
-
slot?: string | undefined;
|
|
37
|
-
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
38
|
-
tabIndex?: number | undefined;
|
|
39
|
-
title?: string | undefined;
|
|
40
|
-
translate?: "yes" | "no" | undefined;
|
|
41
|
-
radioGroup?: string | undefined;
|
|
42
|
-
role?: import("react").AriaRole | undefined;
|
|
43
|
-
about?: string | undefined;
|
|
44
|
-
content?: string | undefined;
|
|
45
|
-
datatype?: string | undefined;
|
|
46
|
-
inlist?: any;
|
|
47
|
-
prefix?: string | undefined;
|
|
48
|
-
property?: string | undefined;
|
|
49
|
-
rel?: string | undefined;
|
|
50
|
-
resource?: string | undefined;
|
|
51
|
-
rev?: string | undefined;
|
|
52
|
-
typeof?: string | undefined;
|
|
53
|
-
vocab?: string | undefined;
|
|
54
|
-
autoCapitalize?: string | undefined;
|
|
55
|
-
autoCorrect?: string | undefined;
|
|
56
|
-
autoSave?: string | undefined;
|
|
57
|
-
color?: string | undefined;
|
|
58
|
-
itemProp?: string | undefined;
|
|
59
|
-
itemScope?: boolean | undefined;
|
|
60
|
-
itemType?: string | undefined;
|
|
61
|
-
itemID?: string | undefined;
|
|
62
|
-
itemRef?: string | undefined;
|
|
63
|
-
results?: number | undefined;
|
|
64
|
-
security?: string | undefined;
|
|
65
|
-
unselectable?: "on" | "off" | undefined;
|
|
66
|
-
inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined;
|
|
67
|
-
is?: string | undefined;
|
|
68
|
-
children?: import("react").ReactNode;
|
|
69
|
-
'aria-activedescendant'?: string | undefined;
|
|
70
|
-
'aria-atomic'?: boolean | "false" | "true" | undefined;
|
|
71
|
-
'aria-autocomplete'?: "none" | "inline" | "list" | "both" | undefined;
|
|
72
|
-
'aria-busy'?: boolean | "false" | "true" | undefined;
|
|
73
|
-
'aria-checked'?: boolean | "false" | "mixed" | "true" | undefined;
|
|
74
|
-
'aria-colcount'?: number | undefined;
|
|
75
|
-
'aria-colindex'?: number | undefined;
|
|
76
|
-
'aria-colspan'?: number | undefined;
|
|
77
|
-
'aria-controls'?: string | undefined;
|
|
78
|
-
'aria-current'?: boolean | "false" | "true" | "page" | "step" | "location" | "date" | "time" | undefined;
|
|
79
|
-
'aria-describedby'?: string | undefined;
|
|
80
|
-
'aria-details'?: string | undefined;
|
|
81
|
-
'aria-disabled'?: boolean | "false" | "true" | undefined;
|
|
82
|
-
'aria-dropeffect'?: "none" | "copy" | "execute" | "link" | "move" | "popup" | undefined;
|
|
83
|
-
'aria-errormessage'?: string | undefined;
|
|
84
|
-
'aria-expanded'?: boolean | "false" | "true" | undefined;
|
|
85
|
-
'aria-flowto'?: string | undefined;
|
|
86
|
-
'aria-grabbed'?: boolean | "false" | "true" | undefined;
|
|
87
|
-
'aria-haspopup'?: boolean | "false" | "true" | "menu" | "listbox" | "tree" | "grid" | "dialog" | undefined;
|
|
88
|
-
'aria-hidden'?: boolean | "false" | "true" | undefined;
|
|
89
|
-
'aria-invalid'?: boolean | "false" | "true" | "grammar" | "spelling" | undefined;
|
|
90
|
-
'aria-keyshortcuts'?: string | undefined;
|
|
91
|
-
'aria-label'?: string | undefined;
|
|
92
|
-
'aria-labelledby'?: string | undefined;
|
|
93
|
-
'aria-level'?: number | undefined;
|
|
94
|
-
'aria-live'?: "off" | "assertive" | "polite" | undefined;
|
|
95
|
-
'aria-modal'?: boolean | "false" | "true" | undefined;
|
|
96
|
-
'aria-multiline'?: boolean | "false" | "true" | undefined;
|
|
97
|
-
'aria-multiselectable'?: boolean | "false" | "true" | undefined;
|
|
98
|
-
'aria-orientation'?: "horizontal" | "vertical" | undefined;
|
|
99
|
-
'aria-owns'?: string | undefined;
|
|
100
|
-
'aria-placeholder'?: string | undefined;
|
|
101
|
-
'aria-posinset'?: number | undefined;
|
|
102
|
-
'aria-pressed'?: boolean | "false" | "mixed" | "true" | undefined;
|
|
103
|
-
'aria-readonly'?: boolean | "false" | "true" | undefined;
|
|
104
|
-
'aria-relevant'?: "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text" | "text additions" | "text removals" | undefined;
|
|
105
|
-
'aria-required'?: boolean | "false" | "true" | undefined;
|
|
106
|
-
'aria-roledescription'?: string | undefined;
|
|
107
|
-
'aria-rowcount'?: number | undefined;
|
|
108
|
-
'aria-rowindex'?: number | undefined;
|
|
109
|
-
'aria-rowspan'?: number | undefined;
|
|
110
|
-
'aria-selected'?: boolean | "false" | "true" | undefined;
|
|
111
|
-
'aria-setsize'?: number | undefined;
|
|
112
|
-
'aria-sort'?: "none" | "ascending" | "descending" | "other" | undefined;
|
|
113
|
-
'aria-valuemax'?: number | undefined;
|
|
114
|
-
'aria-valuemin'?: number | undefined;
|
|
115
|
-
'aria-valuenow'?: number | undefined;
|
|
116
|
-
'aria-valuetext'?: string | undefined;
|
|
117
|
-
dangerouslySetInnerHTML?: {
|
|
118
|
-
__html: string | TrustedHTML;
|
|
119
|
-
} | undefined;
|
|
120
|
-
onCopy?: import("react").ClipboardEventHandler<HTMLDivElement>;
|
|
121
|
-
onCopyCapture?: import("react").ClipboardEventHandler<HTMLDivElement>;
|
|
122
|
-
onCut?: import("react").ClipboardEventHandler<HTMLDivElement>;
|
|
123
|
-
onCutCapture?: import("react").ClipboardEventHandler<HTMLDivElement>;
|
|
124
|
-
onPaste?: import("react").ClipboardEventHandler<HTMLDivElement>;
|
|
125
|
-
onPasteCapture?: import("react").ClipboardEventHandler<HTMLDivElement>;
|
|
126
|
-
onCompositionEnd?: import("react").CompositionEventHandler<HTMLDivElement>;
|
|
127
|
-
onCompositionEndCapture?: import("react").CompositionEventHandler<HTMLDivElement>;
|
|
128
|
-
onCompositionStart?: import("react").CompositionEventHandler<HTMLDivElement>;
|
|
129
|
-
onCompositionStartCapture?: import("react").CompositionEventHandler<HTMLDivElement>;
|
|
130
|
-
onCompositionUpdate?: import("react").CompositionEventHandler<HTMLDivElement>;
|
|
131
|
-
onCompositionUpdateCapture?: import("react").CompositionEventHandler<HTMLDivElement>;
|
|
132
|
-
onFocus?: import("react").FocusEventHandler<HTMLDivElement>;
|
|
133
|
-
onFocusCapture?: import("react").FocusEventHandler<HTMLDivElement>;
|
|
134
|
-
onBlur?: import("react").FocusEventHandler<HTMLDivElement>;
|
|
135
|
-
onBlurCapture?: import("react").FocusEventHandler<HTMLDivElement>;
|
|
136
|
-
onChange?: import("react").FormEventHandler<HTMLDivElement>;
|
|
137
|
-
onChangeCapture?: import("react").FormEventHandler<HTMLDivElement>;
|
|
138
|
-
onBeforeInput?: import("react").FormEventHandler<HTMLDivElement>;
|
|
139
|
-
onBeforeInputCapture?: import("react").FormEventHandler<HTMLDivElement>;
|
|
140
|
-
onInput?: import("react").FormEventHandler<HTMLDivElement>;
|
|
141
|
-
onInputCapture?: import("react").FormEventHandler<HTMLDivElement>;
|
|
142
|
-
onReset?: import("react").FormEventHandler<HTMLDivElement>;
|
|
143
|
-
onResetCapture?: import("react").FormEventHandler<HTMLDivElement>;
|
|
144
|
-
onSubmit?: import("react").FormEventHandler<HTMLDivElement>;
|
|
145
|
-
onSubmitCapture?: import("react").FormEventHandler<HTMLDivElement>;
|
|
146
|
-
onInvalid?: import("react").FormEventHandler<HTMLDivElement>;
|
|
147
|
-
onInvalidCapture?: import("react").FormEventHandler<HTMLDivElement>;
|
|
148
|
-
onLoad?: import("react").ReactEventHandler<HTMLDivElement>;
|
|
149
|
-
onLoadCapture?: import("react").ReactEventHandler<HTMLDivElement>;
|
|
150
|
-
onError?: import("react").ReactEventHandler<HTMLDivElement>;
|
|
151
|
-
onErrorCapture?: import("react").ReactEventHandler<HTMLDivElement>;
|
|
152
|
-
onKeyDown?: import("react").KeyboardEventHandler<HTMLDivElement>;
|
|
153
|
-
onKeyDownCapture?: import("react").KeyboardEventHandler<HTMLDivElement>;
|
|
154
|
-
onKeyPress?: import("react").KeyboardEventHandler<HTMLDivElement>;
|
|
155
|
-
onKeyPressCapture?: import("react").KeyboardEventHandler<HTMLDivElement>;
|
|
156
|
-
onKeyUp?: import("react").KeyboardEventHandler<HTMLDivElement>;
|
|
157
|
-
onKeyUpCapture?: import("react").KeyboardEventHandler<HTMLDivElement>;
|
|
158
|
-
onAbort?: import("react").ReactEventHandler<HTMLDivElement>;
|
|
159
|
-
onAbortCapture?: import("react").ReactEventHandler<HTMLDivElement>;
|
|
160
|
-
onCanPlay?: import("react").ReactEventHandler<HTMLDivElement>;
|
|
161
|
-
onCanPlayCapture?: import("react").ReactEventHandler<HTMLDivElement>;
|
|
162
|
-
onCanPlayThrough?: import("react").ReactEventHandler<HTMLDivElement>;
|
|
163
|
-
onCanPlayThroughCapture?: import("react").ReactEventHandler<HTMLDivElement>;
|
|
164
|
-
onDurationChange?: import("react").ReactEventHandler<HTMLDivElement>;
|
|
165
|
-
onDurationChangeCapture?: import("react").ReactEventHandler<HTMLDivElement>;
|
|
166
|
-
onEmptied?: import("react").ReactEventHandler<HTMLDivElement>;
|
|
167
|
-
onEmptiedCapture?: import("react").ReactEventHandler<HTMLDivElement>;
|
|
168
|
-
onEncrypted?: import("react").ReactEventHandler<HTMLDivElement>;
|
|
169
|
-
onEncryptedCapture?: import("react").ReactEventHandler<HTMLDivElement>;
|
|
170
|
-
onEnded?: import("react").ReactEventHandler<HTMLDivElement>;
|
|
171
|
-
onEndedCapture?: import("react").ReactEventHandler<HTMLDivElement>;
|
|
172
|
-
onLoadedData?: import("react").ReactEventHandler<HTMLDivElement>;
|
|
173
|
-
onLoadedDataCapture?: import("react").ReactEventHandler<HTMLDivElement>;
|
|
174
|
-
onLoadedMetadata?: import("react").ReactEventHandler<HTMLDivElement>;
|
|
175
|
-
onLoadedMetadataCapture?: import("react").ReactEventHandler<HTMLDivElement>;
|
|
176
|
-
onLoadStart?: import("react").ReactEventHandler<HTMLDivElement>;
|
|
177
|
-
onLoadStartCapture?: import("react").ReactEventHandler<HTMLDivElement>;
|
|
178
|
-
onPause?: import("react").ReactEventHandler<HTMLDivElement>;
|
|
179
|
-
onPauseCapture?: import("react").ReactEventHandler<HTMLDivElement>;
|
|
180
|
-
onPlay?: import("react").ReactEventHandler<HTMLDivElement>;
|
|
181
|
-
onPlayCapture?: import("react").ReactEventHandler<HTMLDivElement>;
|
|
182
|
-
onPlaying?: import("react").ReactEventHandler<HTMLDivElement>;
|
|
183
|
-
onPlayingCapture?: import("react").ReactEventHandler<HTMLDivElement>;
|
|
184
|
-
onProgress?: import("react").ReactEventHandler<HTMLDivElement>;
|
|
185
|
-
onProgressCapture?: import("react").ReactEventHandler<HTMLDivElement>;
|
|
186
|
-
onRateChange?: import("react").ReactEventHandler<HTMLDivElement>;
|
|
187
|
-
onRateChangeCapture?: import("react").ReactEventHandler<HTMLDivElement>;
|
|
188
|
-
onSeeked?: import("react").ReactEventHandler<HTMLDivElement>;
|
|
189
|
-
onSeekedCapture?: import("react").ReactEventHandler<HTMLDivElement>;
|
|
190
|
-
onSeeking?: import("react").ReactEventHandler<HTMLDivElement>;
|
|
191
|
-
onSeekingCapture?: import("react").ReactEventHandler<HTMLDivElement>;
|
|
192
|
-
onStalled?: import("react").ReactEventHandler<HTMLDivElement>;
|
|
193
|
-
onStalledCapture?: import("react").ReactEventHandler<HTMLDivElement>;
|
|
194
|
-
onSuspend?: import("react").ReactEventHandler<HTMLDivElement>;
|
|
195
|
-
onSuspendCapture?: import("react").ReactEventHandler<HTMLDivElement>;
|
|
196
|
-
onTimeUpdate?: import("react").ReactEventHandler<HTMLDivElement>;
|
|
197
|
-
onTimeUpdateCapture?: import("react").ReactEventHandler<HTMLDivElement>;
|
|
198
|
-
onVolumeChange?: import("react").ReactEventHandler<HTMLDivElement>;
|
|
199
|
-
onVolumeChangeCapture?: import("react").ReactEventHandler<HTMLDivElement>;
|
|
200
|
-
onWaiting?: import("react").ReactEventHandler<HTMLDivElement>;
|
|
201
|
-
onWaitingCapture?: import("react").ReactEventHandler<HTMLDivElement>;
|
|
202
|
-
onAuxClick?: import("react").MouseEventHandler<HTMLDivElement>;
|
|
203
|
-
onAuxClickCapture?: import("react").MouseEventHandler<HTMLDivElement>;
|
|
204
|
-
onClick?: import("react").MouseEventHandler<HTMLDivElement>;
|
|
205
|
-
onClickCapture?: import("react").MouseEventHandler<HTMLDivElement>;
|
|
206
|
-
onContextMenu?: import("react").MouseEventHandler<HTMLDivElement>;
|
|
207
|
-
onContextMenuCapture?: import("react").MouseEventHandler<HTMLDivElement>;
|
|
208
|
-
onDoubleClick?: import("react").MouseEventHandler<HTMLDivElement>;
|
|
209
|
-
onDoubleClickCapture?: import("react").MouseEventHandler<HTMLDivElement>;
|
|
210
|
-
onDrag?: import("react").DragEventHandler<HTMLDivElement>;
|
|
211
|
-
onDragCapture?: import("react").DragEventHandler<HTMLDivElement>;
|
|
212
|
-
onDragEnd?: import("react").DragEventHandler<HTMLDivElement>;
|
|
213
|
-
onDragEndCapture?: import("react").DragEventHandler<HTMLDivElement>;
|
|
214
|
-
onDragEnter?: import("react").DragEventHandler<HTMLDivElement>;
|
|
215
|
-
onDragEnterCapture?: import("react").DragEventHandler<HTMLDivElement>;
|
|
216
|
-
onDragExit?: import("react").DragEventHandler<HTMLDivElement>;
|
|
217
|
-
onDragExitCapture?: import("react").DragEventHandler<HTMLDivElement>;
|
|
218
|
-
onDragLeave?: import("react").DragEventHandler<HTMLDivElement>;
|
|
219
|
-
onDragLeaveCapture?: import("react").DragEventHandler<HTMLDivElement>;
|
|
220
|
-
onDragOver?: import("react").DragEventHandler<HTMLDivElement>;
|
|
221
|
-
onDragOverCapture?: import("react").DragEventHandler<HTMLDivElement>;
|
|
222
|
-
onDragStart?: import("react").DragEventHandler<HTMLDivElement>;
|
|
223
|
-
onDragStartCapture?: import("react").DragEventHandler<HTMLDivElement>;
|
|
224
|
-
onDrop?: import("react").DragEventHandler<HTMLDivElement>;
|
|
225
|
-
onDropCapture?: import("react").DragEventHandler<HTMLDivElement>;
|
|
226
|
-
onMouseDown?: import("react").MouseEventHandler<HTMLDivElement>;
|
|
227
|
-
onMouseDownCapture?: import("react").MouseEventHandler<HTMLDivElement>;
|
|
228
|
-
onMouseEnter?: import("react").MouseEventHandler<HTMLDivElement>;
|
|
229
|
-
onMouseLeave?: import("react").MouseEventHandler<HTMLDivElement>;
|
|
230
|
-
onMouseMove?: import("react").MouseEventHandler<HTMLDivElement>;
|
|
231
|
-
onMouseMoveCapture?: import("react").MouseEventHandler<HTMLDivElement>;
|
|
232
|
-
onMouseOut?: import("react").MouseEventHandler<HTMLDivElement>;
|
|
233
|
-
onMouseOutCapture?: import("react").MouseEventHandler<HTMLDivElement>;
|
|
234
|
-
onMouseOver?: import("react").MouseEventHandler<HTMLDivElement>;
|
|
235
|
-
onMouseOverCapture?: import("react").MouseEventHandler<HTMLDivElement>;
|
|
236
|
-
onMouseUp?: import("react").MouseEventHandler<HTMLDivElement>;
|
|
237
|
-
onMouseUpCapture?: import("react").MouseEventHandler<HTMLDivElement>;
|
|
238
|
-
onSelect?: import("react").ReactEventHandler<HTMLDivElement>;
|
|
239
|
-
onSelectCapture?: import("react").ReactEventHandler<HTMLDivElement>;
|
|
240
|
-
onTouchCancel?: import("react").TouchEventHandler<HTMLDivElement>;
|
|
241
|
-
onTouchCancelCapture?: import("react").TouchEventHandler<HTMLDivElement>;
|
|
242
|
-
onTouchEnd?: import("react").TouchEventHandler<HTMLDivElement>;
|
|
243
|
-
onTouchEndCapture?: import("react").TouchEventHandler<HTMLDivElement>;
|
|
244
|
-
onTouchMove?: import("react").TouchEventHandler<HTMLDivElement>;
|
|
245
|
-
onTouchMoveCapture?: import("react").TouchEventHandler<HTMLDivElement>;
|
|
246
|
-
onTouchStart?: import("react").TouchEventHandler<HTMLDivElement>;
|
|
247
|
-
onTouchStartCapture?: import("react").TouchEventHandler<HTMLDivElement>;
|
|
248
|
-
onPointerDown?: import("react").PointerEventHandler<HTMLDivElement>;
|
|
249
|
-
onPointerDownCapture?: import("react").PointerEventHandler<HTMLDivElement>;
|
|
250
|
-
onPointerMove?: import("react").PointerEventHandler<HTMLDivElement>;
|
|
251
|
-
onPointerMoveCapture?: import("react").PointerEventHandler<HTMLDivElement>;
|
|
252
|
-
onPointerUp?: import("react").PointerEventHandler<HTMLDivElement>;
|
|
253
|
-
onPointerUpCapture?: import("react").PointerEventHandler<HTMLDivElement>;
|
|
254
|
-
onPointerCancel?: import("react").PointerEventHandler<HTMLDivElement>;
|
|
255
|
-
onPointerCancelCapture?: import("react").PointerEventHandler<HTMLDivElement>;
|
|
256
|
-
onPointerEnter?: import("react").PointerEventHandler<HTMLDivElement>;
|
|
257
|
-
onPointerEnterCapture?: import("react").PointerEventHandler<HTMLDivElement>;
|
|
258
|
-
onPointerLeave?: import("react").PointerEventHandler<HTMLDivElement>;
|
|
259
|
-
onPointerLeaveCapture?: import("react").PointerEventHandler<HTMLDivElement>;
|
|
260
|
-
onPointerOver?: import("react").PointerEventHandler<HTMLDivElement>;
|
|
261
|
-
onPointerOverCapture?: import("react").PointerEventHandler<HTMLDivElement>;
|
|
262
|
-
onPointerOut?: import("react").PointerEventHandler<HTMLDivElement>;
|
|
263
|
-
onPointerOutCapture?: import("react").PointerEventHandler<HTMLDivElement>;
|
|
264
|
-
onGotPointerCapture?: import("react").PointerEventHandler<HTMLDivElement>;
|
|
265
|
-
onGotPointerCaptureCapture?: import("react").PointerEventHandler<HTMLDivElement>;
|
|
266
|
-
onLostPointerCapture?: import("react").PointerEventHandler<HTMLDivElement>;
|
|
267
|
-
onLostPointerCaptureCapture?: import("react").PointerEventHandler<HTMLDivElement>;
|
|
268
|
-
onScroll?: import("react").UIEventHandler<HTMLDivElement>;
|
|
269
|
-
onScrollCapture?: import("react").UIEventHandler<HTMLDivElement>;
|
|
270
|
-
onWheel?: import("react").WheelEventHandler<HTMLDivElement>;
|
|
271
|
-
onWheelCapture?: import("react").WheelEventHandler<HTMLDivElement>;
|
|
272
|
-
onAnimationStart?: import("react").AnimationEventHandler<HTMLDivElement>;
|
|
273
|
-
onAnimationStartCapture?: import("react").AnimationEventHandler<HTMLDivElement>;
|
|
274
|
-
onAnimationEnd?: import("react").AnimationEventHandler<HTMLDivElement>;
|
|
275
|
-
onAnimationEndCapture?: import("react").AnimationEventHandler<HTMLDivElement>;
|
|
276
|
-
onAnimationIteration?: import("react").AnimationEventHandler<HTMLDivElement>;
|
|
277
|
-
onAnimationIterationCapture?: import("react").AnimationEventHandler<HTMLDivElement>;
|
|
278
|
-
onTransitionEnd?: import("react").TransitionEventHandler<HTMLDivElement>;
|
|
279
|
-
onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLDivElement>;
|
|
280
|
-
ref?: import("react").Ref<HTMLDivElement>;
|
|
281
|
-
key?: import("react").Key | null | undefined;
|
|
282
|
-
}> & import("react").ForwardRefExoticComponent<import("antd").SpaceProps & import("react").RefAttributes<HTMLDivElement>> & {
|
|
283
|
-
Compact: import("react").FC<import("antd/es/space/Compact").SpaceCompactProps>;
|
|
284
|
-
};
|
|
285
|
-
declare function RecordSummary({ record }: IRecordSummaryProps): JSX.Element;
|
|
6
|
+
export declare const RecordSummary: FunctionComponent<IRecordSummaryProps>;
|
|
286
7
|
export default RecordSummary;
|
|
@@ -1,73 +1,42 @@
|
|
|
1
|
-
import { jsx as _jsx
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
// Copyright LEAV Solutions 2017 until 2023/11/05, Copyright Aristid from 2023/11/06
|
|
3
3
|
// This file is released under LGPL V3
|
|
4
4
|
// License text available at https://www.gnu.org/licenses/lgpl-3.0.txt
|
|
5
|
-
import { localizedTranslation } from '@leav/utils';
|
|
6
|
-
import { Space, theme } from 'antd';
|
|
7
|
-
import styled from 'styled-components';
|
|
8
|
-
import { useSharedTranslation } from '../../../../hooks/useSharedTranslation';
|
|
9
|
-
import { PreviewSize } from '../../../../constants';
|
|
10
|
-
import { useLang } from '../../../../hooks';
|
|
11
5
|
import { useGetRecordValuesQuery } from '../../../../hooks/useGetRecordValuesQuery/useGetRecordValuesQuery';
|
|
12
6
|
import { ErrorDisplay } from '../../../ErrorDisplay';
|
|
13
7
|
import { Loading } from '../../../Loading';
|
|
14
|
-
import {
|
|
15
|
-
import
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
display: flex;
|
|
19
|
-
`;
|
|
20
|
-
function RecordSummary({ record }) {
|
|
21
|
-
const preview = record?.preview?.medium ? String(record?.preview?.medium) : null;
|
|
22
|
-
const previewFile = record?.preview?.file;
|
|
23
|
-
const { token } = theme.useToken();
|
|
8
|
+
import { KitTabs } from 'aristid-ds';
|
|
9
|
+
import { RecordInformations } from './RecordInformations/RecordInformations';
|
|
10
|
+
import { useSharedTranslation } from '../../../../hooks/useSharedTranslation';
|
|
11
|
+
export const RecordSummary = ({ record }) => {
|
|
24
12
|
const { t } = useSharedTranslation();
|
|
25
|
-
const { lang } = useLang();
|
|
26
13
|
const { loading, error, data } = useGetRecordValuesQuery(record?.library?.id, ['created_at', 'created_by', 'modified_at', 'modified_by'], [record?.id]);
|
|
27
14
|
if (loading) {
|
|
15
|
+
//TODO: In XSTREAM-1134, we will have to handle the loading state
|
|
28
16
|
return _jsx(Loading, {});
|
|
29
17
|
}
|
|
30
18
|
if (error) {
|
|
19
|
+
//TODO: In XSTREAM-1134, we will have to handle the error state
|
|
31
20
|
return _jsx(ErrorDisplay, { message: error.message });
|
|
32
21
|
}
|
|
33
22
|
const recordData = data?.[record?.id];
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
value: t('record_summary.created_at_value', {
|
|
53
|
-
date: (recordData?.created_at?.[0]).value,
|
|
54
|
-
user: recordData?.created_by?.[0]?.linkValue?.whoAmI?.label,
|
|
55
|
-
interpolation: { escapeValue: false }
|
|
56
|
-
})
|
|
57
|
-
});
|
|
58
|
-
}
|
|
59
|
-
if (recordData.modified_at?.[0]) {
|
|
60
|
-
summaryContent.push({
|
|
61
|
-
title: t('record_summary.modified_at'),
|
|
62
|
-
value: t('record_summary.modified_at_value', {
|
|
63
|
-
date: (recordData?.modified_at?.[0]).value,
|
|
64
|
-
user: recordData?.modified_by?.[0]?.linkValue?.whoAmI?.label,
|
|
65
|
-
interpolation: { escapeValue: false }
|
|
66
|
-
})
|
|
67
|
-
});
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
return (_jsxs(Wrapper, { direction: "vertical", children: [_jsx(RecordPreviewWithModal, { label: record?.label ?? record?.id, color: record?.color, image: preview ?? null, tile: true, size: PreviewSize.medium, style: { borderRadius: token.borderRadius }, previewFile: previewFile, imageStyle: { borderRadius: token.borderRadius } }), _jsx(PropertiesList, { items: summaryContent })] }));
|
|
71
|
-
}
|
|
23
|
+
return (_jsx(KitTabs, { items: [
|
|
24
|
+
{
|
|
25
|
+
key: 'informations',
|
|
26
|
+
label: t('record_summary.informations'),
|
|
27
|
+
tabContent: _jsx(RecordInformations, { record: record, recordData: recordData })
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
key: 'chat',
|
|
31
|
+
label: t('record_summary.chat'),
|
|
32
|
+
disabled: true
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
key: 'history',
|
|
36
|
+
label: t('record_summary.history'),
|
|
37
|
+
disabled: true
|
|
38
|
+
}
|
|
39
|
+
] }));
|
|
40
|
+
};
|
|
72
41
|
export default RecordSummary;
|
|
73
42
|
//# sourceMappingURL=RecordSummary.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RecordSummary.js","sourceRoot":"","sources":["../../../../../src/components/RecordEdition/EditRecordSidebar/RecordSummary/RecordSummary.tsx"],"names":[],"mappings":";AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,
|
|
1
|
+
{"version":3,"file":"RecordSummary.js","sourceRoot":"","sources":["../../../../../src/components/RecordEdition/EditRecordSidebar/RecordSummary/RecordSummary.tsx"],"names":[],"mappings":";AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,uBAAuB,EAAC,MAAM,mEAAmE,CAAC;AAE1G,OAAO,EAAC,YAAY,EAAC,MAAM,uBAAuB,CAAC;AACnD,OAAO,EAAC,OAAO,EAAC,MAAM,kBAAkB,CAAC;AACzC,OAAO,EAAC,OAAO,EAAC,MAAM,YAAY,CAAC;AACnC,OAAO,EAAC,kBAAkB,EAAC,MAAM,yCAAyC,CAAC;AAE3E,OAAO,EAAC,oBAAoB,EAAC,MAAM,gCAAgC,CAAC;AAMpE,MAAM,CAAC,MAAM,aAAa,GAA2C,CAAC,EAAC,MAAM,EAAC,EAAE,EAAE;IAC9E,MAAM,EAAC,CAAC,EAAC,GAAG,oBAAoB,EAAE,CAAC;IACnC,MAAM,EAAC,OAAO,EAAE,KAAK,EAAE,IAAI,EAAC,GAAG,uBAAuB,CAClD,MAAM,EAAE,OAAO,EAAE,EAAE,EACnB,CAAC,YAAY,EAAE,YAAY,EAAE,aAAa,EAAE,aAAa,CAAC,EAC1D,CAAC,MAAM,EAAE,EAAE,CAAC,CACf,CAAC;IAEF,IAAI,OAAO,EAAE,CAAC;QACV,iEAAiE;QACjE,OAAO,KAAC,OAAO,KAAG,CAAC;IACvB,CAAC;IAED,IAAI,KAAK,EAAE,CAAC;QACR,+DAA+D;QAC/D,OAAO,KAAC,YAAY,IAAC,OAAO,EAAE,KAAK,CAAC,OAAO,GAAI,CAAC;IACpD,CAAC;IAED,MAAM,UAAU,GAAG,IAAI,EAAE,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC;IAEtC,OAAO,CACH,KAAC,OAAO,IACJ,KAAK,EAAE;YACH;gBACI,GAAG,EAAE,cAAc;gBACnB,KAAK,EAAE,CAAC,CAAC,6BAA6B,CAAC;gBACvC,UAAU,EAAE,KAAC,kBAAkB,IAAC,MAAM,EAAE,MAAM,EAAE,UAAU,EAAE,UAAU,GAAI;aAC7E;YACD;gBACI,GAAG,EAAE,MAAM;gBACX,KAAK,EAAE,CAAC,CAAC,qBAAqB,CAAC;gBAC/B,QAAQ,EAAE,IAAI;aACjB;YACD;gBACI,GAAG,EAAE,SAAS;gBACd,KAAK,EAAE,CAAC,CAAC,wBAAwB,CAAC;gBAClC,QAAQ,EAAE,IAAI;aACjB;SACJ,GACH,CACL,CAAC;AACN,CAAC,CAAC;AAEF,eAAe,aAAa,CAAC"}
|
package/dist/constants.d.ts
CHANGED
|
@@ -21,3 +21,4 @@ export declare const APPS_ENDPOINT = "app";
|
|
|
21
21
|
export declare const APP_ENDPOINT: string;
|
|
22
22
|
export declare const PREFIX_USER_VIEWS_ORDER_KEY = "user_views_order_";
|
|
23
23
|
export declare const PREFIX_SHARED_VIEWS_ORDER_KEY = "shared_views_order_";
|
|
24
|
+
export declare const TOOLTIP_DEFAULT_DELAY_IN_SECONDS = 0.5;
|
package/dist/constants.js
CHANGED
|
@@ -41,4 +41,5 @@ export const APPS_ENDPOINT = 'app';
|
|
|
41
41
|
export const APP_ENDPOINT = window.location.pathname.split('/').filter(e => e)[1]; // Get endpoint app current from url /APPS_ENDPOINT/:endpoint
|
|
42
42
|
export const PREFIX_USER_VIEWS_ORDER_KEY = 'user_views_order_';
|
|
43
43
|
export const PREFIX_SHARED_VIEWS_ORDER_KEY = 'shared_views_order_';
|
|
44
|
+
export const TOOLTIP_DEFAULT_DELAY_IN_SECONDS = 0.5;
|
|
44
45
|
//# sourceMappingURL=constants.js.map
|
package/dist/constants.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,gCAAgC;AAChC,sCAAsC;AAKtC,OAAO,EAAC,eAAe,EAAE,aAAa,EAAC,MAAM,aAAa,CAAC;AAE3D,sEAAsE;AACtE,MAAM,CAAN,IAAY,WAKX;AALD,WAAY,WAAW;IACnB,4BAAa,CAAA;IACb,8BAAe,CAAA;IACf,gCAAiB,CAAA;IACjB,0BAAW,CAAA;AACf,CAAC,EALW,WAAW,KAAX,WAAW,QAKtB;AAED,MAAM,CAAC,MAAM,uBAAuB,GAAmE;IACnG,CAAC,aAAa,CAAC,MAAM,CAAC,EAAE,CAAC,QAAQ,EAAE,SAAS,CAAC;IAC7C,CAAC,aAAa,CAAC,WAAW,CAAC,EAAE,CAAC,MAAM,EAAE,SAAS,CAAC;IAChD,CAAC,aAAa,CAAC,QAAQ,CAAC,EAAE,CAAC,QAAQ,EAAE,SAAS,CAAC;IAC/C,CAAC,aAAa,CAAC,aAAa,CAAC,EAAE,CAAC,SAAS,EAAE,SAAS,CAAC;IACrD,CAAC,aAAa,CAAC,IAAI,CAAC,EAAE,CAAC,OAAO,EAAE,SAAS,CAAC;CAC7C,CAAC;AAEF,MAAM,CAAC,MAAM,yBAAyB,GAAqE;IACvG,CAAC,eAAe,CAAC,OAAO,CAAC,EAAE,CAAC,MAAM,EAAE,SAAS,CAAC;IAC9C,CAAC,eAAe,CAAC,IAAI,CAAC,EAAE,CAAC,MAAM,EAAE,SAAS,CAAC;IAC3C,CAAC,eAAe,CAAC,UAAU,CAAC,EAAE,CAAC,SAAS,EAAE,SAAS,CAAC;IACpD,CAAC,eAAe,CAAC,SAAS,CAAC,EAAE,CAAC,KAAK,EAAE,SAAS,CAAC;IAC/C,CAAC,eAAe,CAAC,QAAQ,CAAC,EAAE,CAAC,SAAS,EAAE,SAAS,CAAC;IAClD,CAAC,eAAe,CAAC,OAAO,CAAC,EAAE,CAAC,QAAQ,EAAE,SAAS,CAAC;IAChD,CAAC,eAAe,CAAC,IAAI,CAAC,EAAE,CAAC,OAAO,EAAE,SAAS,CAAC;IAC5C,CAAC,eAAe,CAAC,KAAK,CAAC,EAAE,CAAC,QAAQ,EAAE,SAAS,CAAC;IAC9C,CAAC,eAAe,CAAC,SAAS,CAAC,EAAE,CAAC,SAAS,EAAE,SAAS,CAAC;CACtD,CAAC;AAEF,MAAM,CAAN,IAAY,iBAIX;AAJD,WAAY,iBAAiB;IACzB,oCAAe,CAAA;IACf,0DAAqC,CAAA;IACrC,4DAAuC,CAAA;AAC3C,CAAC,EAJW,iBAAiB,KAAjB,iBAAiB,QAI5B;AAED,MAAM,CAAC,MAAM,yBAAyB,GAAG,EAAE,CAAC;AAE5C,MAAM,CAAC,MAAM,aAAa,GAAG,KAAK,CAAC;AACnC,MAAM,CAAC,MAAM,YAAY,GAAG,MAAM,CAAC,QAAQ,CAAC,QAAQ,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,6DAA6D;AAEhJ,MAAM,CAAC,MAAM,2BAA2B,GAAG,mBAAmB,CAAC;AAC/D,MAAM,CAAC,MAAM,6BAA6B,GAAG,qBAAqB,CAAC"}
|
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,gCAAgC;AAChC,sCAAsC;AAKtC,OAAO,EAAC,eAAe,EAAE,aAAa,EAAC,MAAM,aAAa,CAAC;AAE3D,sEAAsE;AACtE,MAAM,CAAN,IAAY,WAKX;AALD,WAAY,WAAW;IACnB,4BAAa,CAAA;IACb,8BAAe,CAAA;IACf,gCAAiB,CAAA;IACjB,0BAAW,CAAA;AACf,CAAC,EALW,WAAW,KAAX,WAAW,QAKtB;AAED,MAAM,CAAC,MAAM,uBAAuB,GAAmE;IACnG,CAAC,aAAa,CAAC,MAAM,CAAC,EAAE,CAAC,QAAQ,EAAE,SAAS,CAAC;IAC7C,CAAC,aAAa,CAAC,WAAW,CAAC,EAAE,CAAC,MAAM,EAAE,SAAS,CAAC;IAChD,CAAC,aAAa,CAAC,QAAQ,CAAC,EAAE,CAAC,QAAQ,EAAE,SAAS,CAAC;IAC/C,CAAC,aAAa,CAAC,aAAa,CAAC,EAAE,CAAC,SAAS,EAAE,SAAS,CAAC;IACrD,CAAC,aAAa,CAAC,IAAI,CAAC,EAAE,CAAC,OAAO,EAAE,SAAS,CAAC;CAC7C,CAAC;AAEF,MAAM,CAAC,MAAM,yBAAyB,GAAqE;IACvG,CAAC,eAAe,CAAC,OAAO,CAAC,EAAE,CAAC,MAAM,EAAE,SAAS,CAAC;IAC9C,CAAC,eAAe,CAAC,IAAI,CAAC,EAAE,CAAC,MAAM,EAAE,SAAS,CAAC;IAC3C,CAAC,eAAe,CAAC,UAAU,CAAC,EAAE,CAAC,SAAS,EAAE,SAAS,CAAC;IACpD,CAAC,eAAe,CAAC,SAAS,CAAC,EAAE,CAAC,KAAK,EAAE,SAAS,CAAC;IAC/C,CAAC,eAAe,CAAC,QAAQ,CAAC,EAAE,CAAC,SAAS,EAAE,SAAS,CAAC;IAClD,CAAC,eAAe,CAAC,OAAO,CAAC,EAAE,CAAC,QAAQ,EAAE,SAAS,CAAC;IAChD,CAAC,eAAe,CAAC,IAAI,CAAC,EAAE,CAAC,OAAO,EAAE,SAAS,CAAC;IAC5C,CAAC,eAAe,CAAC,KAAK,CAAC,EAAE,CAAC,QAAQ,EAAE,SAAS,CAAC;IAC9C,CAAC,eAAe,CAAC,SAAS,CAAC,EAAE,CAAC,SAAS,EAAE,SAAS,CAAC;CACtD,CAAC;AAEF,MAAM,CAAN,IAAY,iBAIX;AAJD,WAAY,iBAAiB;IACzB,oCAAe,CAAA;IACf,0DAAqC,CAAA;IACrC,4DAAuC,CAAA;AAC3C,CAAC,EAJW,iBAAiB,KAAjB,iBAAiB,QAI5B;AAED,MAAM,CAAC,MAAM,yBAAyB,GAAG,EAAE,CAAC;AAE5C,MAAM,CAAC,MAAM,aAAa,GAAG,KAAK,CAAC;AACnC,MAAM,CAAC,MAAM,YAAY,GAAG,MAAM,CAAC,QAAQ,CAAC,QAAQ,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,6DAA6D;AAEhJ,MAAM,CAAC,MAAM,2BAA2B,GAAG,mBAAmB,CAAC;AAC/D,MAAM,CAAC,MAAM,6BAA6B,GAAG,qBAAqB,CAAC;AAEnE,MAAM,CAAC,MAAM,gCAAgC,GAAG,GAAG,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './useExecuteSaveViewMutation';
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
// Copyright LEAV Solutions 2017 until 2023/11/05, Copyright Aristid from 2023/11/06
|
|
2
|
+
// This file is released under LGPL V3
|
|
3
|
+
// License text available at https://www.gnu.org/licenses/lgpl-3.0.txt
|
|
4
|
+
export { default } from './useExecuteSaveViewMutation';
|
|
5
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/hooks/useExecuteSaveViewMutation/index.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,OAAO,EAAC,MAAM,8BAA8B,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { FetchResult } from '@apollo/client';
|
|
2
|
+
import { SaveViewMutation, SaveViewMutationVariables } from '../../_gqlTypes';
|
|
3
|
+
export interface IUseSaveViewMutationHook {
|
|
4
|
+
saveView: (variables: SaveViewMutationVariables) => Promise<FetchResult<SaveViewMutation>>;
|
|
5
|
+
}
|
|
6
|
+
export default function useExecuteSaveViewMutation(): IUseSaveViewMutationHook;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { useSaveViewMutation } from '../../_gqlTypes';
|
|
2
2
|
import { getViewsListQuery } from '../../_queries/views/getViewsListQuery';
|
|
3
|
-
export default function
|
|
4
|
-
const [
|
|
3
|
+
export default function useExecuteSaveViewMutation() {
|
|
4
|
+
const [executeSaveView] = useSaveViewMutation();
|
|
5
5
|
return {
|
|
6
|
-
|
|
7
|
-
return
|
|
6
|
+
saveView(variables) {
|
|
7
|
+
return executeSaveView({
|
|
8
8
|
variables,
|
|
9
9
|
update: (cache, mutationResult, options) => {
|
|
10
10
|
if (options.variables.view.id) {
|
|
@@ -33,4 +33,4 @@ export default function useExecuteAddViewMutation() {
|
|
|
33
33
|
}
|
|
34
34
|
};
|
|
35
35
|
}
|
|
36
|
-
//# sourceMappingURL=
|
|
36
|
+
//# sourceMappingURL=useExecuteSaveViewMutation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useExecuteSaveViewMutation.js","sourceRoot":"","sources":["../../../src/hooks/useExecuteSaveViewMutation/useExecuteSaveViewMutation.ts"],"names":[],"mappings":"AAIA,OAAO,EAKH,mBAAmB,EACtB,MAAM,eAAe,CAAC;AACvB,OAAO,EAAC,iBAAiB,EAAC,MAAM,sCAAsC,CAAC;AAMvE,MAAM,CAAC,OAAO,UAAU,0BAA0B;IAC9C,MAAM,CAAC,eAAe,CAAC,GAAG,mBAAmB,EAAE,CAAC;IAEhD,OAAO;QACH,QAAQ,CAAC,SAAS;YACd,OAAO,eAAe,CAAC;gBACnB,SAAS;gBACT,MAAM,EAAE,CAAC,KAAK,EAAE,cAAc,EAAE,OAAO,EAAE,EAAE;oBACvC,IAAI,OAAO,CAAC,SAAS,CAAC,IAAI,CAAC,EAAE,EAAE,CAAC;wBAC5B,OAAO,CAAC,iBAAiB;oBAC7B,CAAC;oBAED,MAAM,aAAa,GAAG;wBAClB,KAAK,EAAE,iBAAiB;wBACxB,SAAS,EAAE;4BACP,SAAS,EAAE,OAAO,CAAC,SAAS,CAAC,IAAI,CAAC,OAAO;yBAC5C;qBACJ,CAAC;oBAEF,MAAM,SAAS,GAAG,KAAK,CAAC,SAAS,CAAgD,aAAa,CAAC,CAAC;oBAEhG,IAAI,SAAS,EAAE,CAAC;wBACZ,KAAK,CAAC,UAAU,CAAgD;4BAC5D,GAAG,aAAa;4BAChB,IAAI,EAAE;gCACF,KAAK,EAAE;oCACH,IAAI,EAAE,CAAC,GAAG,SAAS,CAAC,KAAK,CAAC,IAAI,EAAE,cAAc,CAAC,IAAI,CAAC,QAAQ,CAAC;oCAC7D,UAAU,EAAE,SAAS,CAAC,KAAK,CAAC,UAAU,GAAG,CAAC;iCAC7C;6BACJ;yBACJ,CAAC,CAAC;oBACP,CAAC;gBACL,CAAC;aACJ,CAAC,CAAC;QACP,CAAC;KACJ,CAAC;AACN,CAAC"}
|
|
@@ -456,8 +456,9 @@
|
|
|
456
456
|
"cancel_confirm_modal_title": "Confirm cancellation?",
|
|
457
457
|
"cancel_confirm_modal_content": "You are about to cancel the creation.",
|
|
458
458
|
"cancel_confirm_modal_question": "Are you sure?",
|
|
459
|
-
"
|
|
460
|
-
"
|
|
459
|
+
"inherited_value": "Inherited value",
|
|
460
|
+
"calculated_value": "Calculated value",
|
|
461
|
+
"overrided_value": "Overrided value",
|
|
461
462
|
"date_range_from_to": "from {{- from}} to {{- to}}",
|
|
462
463
|
"link_search_result_count": "Results ({{count}}/{{total}})",
|
|
463
464
|
"suggestions_count": "Suggestions ({{count}})",
|
|
@@ -487,7 +488,16 @@
|
|
|
487
488
|
"created_at": "Created on",
|
|
488
489
|
"created_at_value": "{{date}} by {{user}}",
|
|
489
490
|
"modified_at": "Modified on",
|
|
490
|
-
"modified_at_value": "{{date}} by {{user}}"
|
|
491
|
+
"modified_at_value": "{{date}} by {{user}}",
|
|
492
|
+
"new_record": "New record",
|
|
493
|
+
"id_entity": "Entity identifier",
|
|
494
|
+
"creation": "Creation",
|
|
495
|
+
"last_modification": "Last modification",
|
|
496
|
+
"date_by_user": "{{date}} by {{user}}",
|
|
497
|
+
"open_preview_modal": "Open preview modal",
|
|
498
|
+
"informations": "Informations",
|
|
499
|
+
"chat": "Chat",
|
|
500
|
+
"history": "History"
|
|
491
501
|
},
|
|
492
502
|
"view": {
|
|
493
503
|
"views": "Views",
|
|
@@ -635,12 +645,12 @@
|
|
|
635
645
|
"active": "Active sorts",
|
|
636
646
|
"inactive": "Inactive sorts"
|
|
637
647
|
},
|
|
638
|
-
"
|
|
648
|
+
"toolbar": {
|
|
639
649
|
"active": "Active filters",
|
|
640
650
|
"inactive": "Inactive filters"
|
|
641
651
|
},
|
|
642
652
|
"reset-filter": "Reset filter",
|
|
643
|
-
"
|
|
653
|
+
"reset-view": "Reset view",
|
|
644
654
|
"empty-data": "No items found.",
|
|
645
655
|
"available-attributes": "Other available attributes",
|
|
646
656
|
"coming-soon": "Coming soon",
|
|
@@ -653,6 +663,9 @@
|
|
|
653
663
|
"active-items-number": "{{count, number}} active",
|
|
654
664
|
"active-items-number_zero": "None",
|
|
655
665
|
"invalid-value": "Invalid value",
|
|
656
|
-
"type-a-value": "Type a value"
|
|
666
|
+
"type-a-value": "Type a value",
|
|
667
|
+
"save-view": "Save",
|
|
668
|
+
"reinit-view": "Reset",
|
|
669
|
+
"select-condition": "Select condition"
|
|
657
670
|
}
|
|
658
671
|
}
|
|
@@ -456,8 +456,9 @@
|
|
|
456
456
|
"cancel_confirm_modal_title": "Confirmer l'abandon?",
|
|
457
457
|
"cancel_confirm_modal_content": "Vous êtes sur le point d'abandonner la création.",
|
|
458
458
|
"cancel_confirm_modal_question": "Êtes-vous sûr(e) ?",
|
|
459
|
-
"
|
|
460
|
-
"
|
|
459
|
+
"inherited_value": "Valeur héritée",
|
|
460
|
+
"calculated_value": "Valeur calculée",
|
|
461
|
+
"overrided_value": "Valeur surchargée",
|
|
461
462
|
"date_range_from_to": "du {{- from}} au {{- to}}",
|
|
462
463
|
"link_search_result_count": "Résultats ({{count}}/{{total}})",
|
|
463
464
|
"suggestions_count": "Suggestions ({{count}})",
|
|
@@ -487,7 +488,16 @@
|
|
|
487
488
|
"created_at": "Créé le",
|
|
488
489
|
"created_at_value": "{{date}} par {{user}}",
|
|
489
490
|
"modified_at": "Modifié le",
|
|
490
|
-
"modified_at_value": "{{date}} par {{user}}"
|
|
491
|
+
"modified_at_value": "{{date}} par {{user}}",
|
|
492
|
+
"new_record": "Nouvel élément",
|
|
493
|
+
"id_entity": "Identifiant entité",
|
|
494
|
+
"creation": "Création",
|
|
495
|
+
"last_modification": "Dernière modification",
|
|
496
|
+
"date_by_user": "Le {{date}} par {{user}}",
|
|
497
|
+
"open_preview_modal": "Ouvrir la modale d'aperçu",
|
|
498
|
+
"informations": "Informations",
|
|
499
|
+
"chat": "Chat",
|
|
500
|
+
"history": "Historique"
|
|
491
501
|
},
|
|
492
502
|
"view": {
|
|
493
503
|
"views": "Vues",
|
|
@@ -633,12 +643,12 @@
|
|
|
633
643
|
"active": "Tris actifs",
|
|
634
644
|
"inactive": "Tris inactifs"
|
|
635
645
|
},
|
|
636
|
-
"
|
|
646
|
+
"toolbar": {
|
|
637
647
|
"active": "Filtres actifs",
|
|
638
648
|
"inactive": "Filtres inactifs"
|
|
639
649
|
},
|
|
640
650
|
"reset-filter": "Réinitialiser le filtre",
|
|
641
|
-
"
|
|
651
|
+
"reset-view": "Réinitialiser la vue",
|
|
642
652
|
"empty-data": "Aucun élément trouvé.",
|
|
643
653
|
"sort-ascending": "Ascendant",
|
|
644
654
|
"sort-descending": "Descendant",
|
|
@@ -653,6 +663,9 @@
|
|
|
653
663
|
"active-items-number": "{{count, number}} actifs",
|
|
654
664
|
"active-items-number_zero": "Aucun",
|
|
655
665
|
"invalid-value": "Valeur invalide",
|
|
656
|
-
"type-a-value": "Saisissez une valeur"
|
|
666
|
+
"type-a-value": "Saisissez une valeur",
|
|
667
|
+
"save-view": "Enregistrer",
|
|
668
|
+
"reinit-view": "Réinitialiser",
|
|
669
|
+
"select-condition": "Sélectionner une condition"
|
|
657
670
|
}
|
|
658
671
|
}
|
package/dist/types/views.d.ts
CHANGED
|
@@ -13,12 +13,12 @@ export interface IView {
|
|
|
13
13
|
color?: string;
|
|
14
14
|
filters?: IFilter[];
|
|
15
15
|
valuesVersions?: IValueVersion;
|
|
16
|
-
|
|
17
|
-
|
|
16
|
+
sort?: IGetViewListSort[];
|
|
17
|
+
attributes?: string[];
|
|
18
18
|
}
|
|
19
19
|
export interface IViewDisplay {
|
|
20
20
|
type: ViewTypes;
|
|
21
|
-
size
|
|
21
|
+
size?: ViewSizes;
|
|
22
22
|
}
|
|
23
23
|
export interface IGetViewListSort {
|
|
24
24
|
field: string;
|
|
@@ -29,6 +29,6 @@ export interface IGetViewListSettings {
|
|
|
29
29
|
value?: any;
|
|
30
30
|
}
|
|
31
31
|
export interface IGetViewListDisplay {
|
|
32
|
-
size
|
|
32
|
+
size?: ViewSizes;
|
|
33
33
|
type: ViewTypes;
|
|
34
34
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@leav/ui",
|
|
3
|
-
"version": "0.3.6-
|
|
3
|
+
"version": "0.3.6-1e8a80b",
|
|
4
4
|
"description": "Shared React components and hooks",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"prepublishOnly": "yarn build",
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"@ant-design/icons": ">=5.2",
|
|
53
53
|
"@apollo/client": ">=3.8.1",
|
|
54
54
|
"antd": "5.15.3",
|
|
55
|
-
"aristid-ds": "11.0.0-
|
|
55
|
+
"aristid-ds": "11.0.0-6ec698b",
|
|
56
56
|
"dayjs": "^1.11.10",
|
|
57
57
|
"i18next": "22.5",
|
|
58
58
|
"react": "18.2.0",
|