@leav/ui 0.3.6-621cfcd → 0.3.6-67cd90e

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.
Files changed (112) hide show
  1. package/dist/__mocks__/common/attribute.js +1 -0
  2. package/dist/__mocks__/common/attribute.js.map +1 -1
  3. package/dist/__mocks__/common/value.js +1 -0
  4. package/dist/__mocks__/common/value.js.map +1 -1
  5. package/dist/_gqlTypes/index.d.ts +268 -25
  6. package/dist/_gqlTypes/index.js +140 -28
  7. package/dist/_gqlTypes/index.js.map +1 -1
  8. package/dist/_queries/records/getRecordColumnsValues.d.ts +1 -1
  9. package/dist/_queries/records/recordFormAttributeFragment.js +1 -0
  10. package/dist/_queries/records/recordFormAttributeFragment.js.map +1 -1
  11. package/dist/antdTheme/index.d.ts +0 -3
  12. package/dist/antdTheme/index.js +3 -42
  13. package/dist/antdTheme/index.js.map +1 -1
  14. package/dist/components/Explorer/Explorer.d.ts +3 -3
  15. package/dist/components/Explorer/Explorer.js +22 -19
  16. package/dist/components/Explorer/Explorer.js.map +1 -1
  17. package/dist/components/Explorer/ExplorerTitle.d.ts +2 -0
  18. package/dist/components/Explorer/ExplorerTitle.js +28 -11
  19. package/dist/components/Explorer/ExplorerTitle.js.map +1 -1
  20. package/dist/components/Explorer/_queries/useExplorerData.d.ts +11 -5
  21. package/dist/components/Explorer/_queries/useExplorerData.js +95 -22
  22. package/dist/components/Explorer/_queries/useExplorerData.js.map +1 -1
  23. package/dist/components/Explorer/_types.d.ts +25 -1
  24. package/dist/components/Explorer/{nullValuesConditions.d.ts → conditionsHelper.d.ts} +1 -0
  25. package/dist/components/Explorer/{nullValuesConditions.js → conditionsHelper.js} +3 -1
  26. package/dist/components/Explorer/conditionsHelper.js.map +1 -0
  27. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/BooleanAttributeDropdown.d.ts +2 -2
  28. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/BooleanAttributeDropdown.js +16 -31
  29. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/BooleanAttributeDropdown.js.map +1 -1
  30. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/ColorAttributeDropDown.d.ts +3 -0
  31. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/ColorAttributeDropDown.js +11 -0
  32. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/ColorAttributeDropDown.js.map +1 -0
  33. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/DateAttributeDropDown.d.ts +2 -2
  34. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/DateAttributeDropDown.js +12 -36
  35. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/DateAttributeDropDown.js.map +1 -1
  36. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/DateRangeAttributeDropDown.d.ts +3 -0
  37. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/DateRangeAttributeDropDown.js +11 -0
  38. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/DateRangeAttributeDropDown.js.map +1 -0
  39. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/EncryptedAttributeDropDown.d.ts +3 -0
  40. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/EncryptedAttributeDropDown.js +11 -0
  41. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/EncryptedAttributeDropDown.js.map +1 -0
  42. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/ExtendedAttributeDropDown.d.ts +3 -0
  43. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/ExtendedAttributeDropDown.js +11 -0
  44. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/ExtendedAttributeDropDown.js.map +1 -0
  45. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/FilterDropDown.d.ts +1 -1
  46. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/FilterDropDown.js +56 -8
  47. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/FilterDropDown.js.map +1 -1
  48. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/FilterValueList.js.map +1 -1
  49. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/NumericAttributeDropDown.d.ts +2 -2
  50. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/NumericAttributeDropDown.js +7 -32
  51. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/NumericAttributeDropDown.js.map +1 -1
  52. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/TextAttributeDropDown.d.ts +2 -2
  53. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/TextAttributeDropDown.js +7 -32
  54. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/TextAttributeDropDown.js.map +1 -1
  55. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/useConditionOptionsByType.d.ts +1 -0
  56. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/useConditionOptionsByType.js +5 -15
  57. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/useConditionOptionsByType.js.map +1 -1
  58. package/dist/components/Explorer/manage-view-settings/router-menu/SettingsPanel.js +2 -2
  59. package/dist/components/Explorer/manage-view-settings/router-menu/SettingsPanel.js.map +1 -1
  60. package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsInitialState.js +5 -0
  61. package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsInitialState.js.map +1 -1
  62. package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsReducer.d.ts +3 -1
  63. package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsReducer.js +16 -6
  64. package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsReducer.js.map +1 -1
  65. package/dist/components/Explorer/useEditAction.js +3 -3
  66. package/dist/components/Explorer/useEditAction.js.map +1 -1
  67. package/dist/components/Explorer/useRemoveAction.d.ts +12 -0
  68. package/dist/components/Explorer/useRemoveAction.js +90 -0
  69. package/dist/components/Explorer/useRemoveAction.js.map +1 -0
  70. package/dist/components/Explorer/useSearchInput.js +1 -1
  71. package/dist/components/Explorer/useSearchInput.js.map +1 -1
  72. package/dist/components/Explorer/useViewSettingsReducer.d.ts +4 -3
  73. package/dist/components/Explorer/useViewSettingsReducer.js +35 -16
  74. package/dist/components/Explorer/useViewSettingsReducer.js.map +1 -1
  75. package/dist/components/RecordEdition/EditRecordContent/EditRecordContent.js +2 -2
  76. package/dist/components/RecordEdition/EditRecordContent/EditRecordContent.js.map +1 -1
  77. package/dist/components/RecordEdition/EditRecordContent/helpers/extractFormElements/extractFormElements.d.ts +3 -1
  78. package/dist/components/RecordEdition/EditRecordContent/helpers/extractFormElements/extractFormElements.js +8 -2
  79. package/dist/components/RecordEdition/EditRecordContent/helpers/extractFormElements/extractFormElements.js.map +1 -1
  80. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/LinkField.js +2 -2
  81. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/LinkField.js.map +1 -1
  82. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/ComputeIndicator.js +1 -1
  83. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/ComputeIndicator.js.map +1 -1
  84. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardField.js +2 -2
  85. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardField.js.map +1 -1
  86. package/dist/components/RecordEdition/EditRecordSidebar/EditRecordSidebar.js +5 -1
  87. package/dist/components/RecordEdition/EditRecordSidebar/EditRecordSidebar.js.map +1 -1
  88. package/dist/components/RecordEdition/EditRecordSidebar/PropertiesList/PropertiesList.d.ts +4 -7
  89. package/dist/components/RecordEdition/EditRecordSidebar/PropertiesList/PropertiesList.js +6 -8
  90. package/dist/components/RecordEdition/EditRecordSidebar/PropertiesList/PropertiesList.js.map +1 -1
  91. package/dist/components/RecordEdition/EditRecordSidebar/RecordSummary/RecordInformations/RecordInformations.d.ts +9 -0
  92. package/dist/components/RecordEdition/EditRecordSidebar/RecordSummary/RecordInformations/RecordInformations.js +42 -0
  93. package/dist/components/RecordEdition/EditRecordSidebar/RecordSummary/RecordInformations/RecordInformations.js.map +1 -0
  94. package/dist/components/RecordEdition/EditRecordSidebar/RecordSummary/RecordInformations/useRecordInformations.d.ts +6 -0
  95. package/dist/components/RecordEdition/EditRecordSidebar/RecordSummary/RecordInformations/useRecordInformations.js +35 -0
  96. package/dist/components/RecordEdition/EditRecordSidebar/RecordSummary/RecordInformations/useRecordInformations.js.map +1 -0
  97. package/dist/components/RecordEdition/EditRecordSidebar/RecordSummary/RecordSummary.d.ts +2 -281
  98. package/dist/components/RecordEdition/EditRecordSidebar/RecordSummary/RecordSummary.js +25 -56
  99. package/dist/components/RecordEdition/EditRecordSidebar/RecordSummary/RecordSummary.js.map +1 -1
  100. package/dist/constants.d.ts +1 -0
  101. package/dist/constants.js +1 -0
  102. package/dist/constants.js.map +1 -1
  103. package/dist/locales/en/shared.json +17 -3
  104. package/dist/locales/fr/shared.json +17 -3
  105. package/package.json +1 -1
  106. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/SimpleFilterDropDown.d.ts +0 -3
  107. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/SimpleFilterDropDown.js +0 -72
  108. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/SimpleFilterDropDown.js.map +0 -1
  109. package/dist/components/Explorer/nullValuesConditions.js.map +0 -1
  110. package/dist/components/Explorer/useDeactivateAction.d.ts +0 -12
  111. package/dist/components/Explorer/useDeactivateAction.js +0 -52
  112. package/dist/components/Explorer/useDeactivateAction.js.map +0 -1
@@ -0,0 +1,42 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ // Copyright LEAV Solutions 2017 until 2023/11/05, Copyright Aristid from 2023/11/06
3
+ // This file is released under LGPL V3
4
+ // License text available at https://www.gnu.org/licenses/lgpl-3.0.txt
5
+ import { useState } from 'react';
6
+ import styled from 'styled-components';
7
+ import { KitButton, KitTooltip } from 'aristid-ds';
8
+ import { FaExpand } from 'react-icons/fa';
9
+ import PropertiesList from '../../PropertiesList';
10
+ import { useSharedTranslation } from '../../../../../hooks/useSharedTranslation';
11
+ import { useRecordInformations } from './useRecordInformations';
12
+ import FileModal from '../../../../../components/RecordPreviewWithModal/FileModal';
13
+ import { EntityPreview } from '../../../../../components/EntityPreview';
14
+ import { TOOLTIP_DEFAULT_DELAY_IN_SECONDS } from '../../../../../constants';
15
+ const InformationsWrapper = styled.div `
16
+ margin-top: calc(var(--general-spacing-s) * 1px);
17
+ `;
18
+ const PreviewWrapper = styled.div `
19
+ position: relative;
20
+ width: 100%;
21
+ height: 162px;
22
+ background-color: var(--general-colors-primary-50);
23
+ border-radius: calc(var(--general-border-radius-s) * 1px);
24
+ padding: calc(var(--general-spacing-xs) * 1px);
25
+ `;
26
+ const ExpandImageButton = styled(KitButton) `
27
+ position: absolute;
28
+ right: 0;
29
+ top: 0;
30
+ `;
31
+ const ContentWrapper = styled.div `
32
+ margin-top: calc(var(--general-spacing-s) * 1px);
33
+ `;
34
+ export const RecordInformations = ({ record, recordData }) => {
35
+ const { t } = useSharedTranslation();
36
+ const recordInformations = useRecordInformations(record, recordData);
37
+ const [isFilePreviewModalOpen, setFilePreviewModalOpen] = useState(false);
38
+ const previewFile = record?.preview?.file;
39
+ const preview = record?.preview?.medium ? String(record?.preview?.medium) : null;
40
+ return (_jsxs(InformationsWrapper, { children: [_jsxs(PreviewWrapper, { children: [_jsx(EntityPreview, { label: record?.label ?? record?.id, color: record?.color, image: preview, imageStyle: { border: 'none' }, placeholderStyle: { height: '100%', width: 'fit-content', margin: 'auto', borderRadius: '0' }, style: { height: '100%', background: 'initial' }, tile: true }), previewFile !== undefined && (_jsx(KitTooltip, { title: t('record_summary.open_preview_modal'), mouseEnterDelay: TOOLTIP_DEFAULT_DELAY_IN_SECONDS, children: _jsx(ExpandImageButton, { "aria-label": t('record_summary.open_preview_modal'), type: "tertiary", icon: _jsx(FaExpand, {}), onClick: () => setFilePreviewModalOpen(true) }) }))] }), isFilePreviewModalOpen && (_jsx(FileModal, { open: isFilePreviewModalOpen, fileId: previewFile?.id, libraryId: previewFile?.library, onClose: () => setFilePreviewModalOpen(false) })), _jsx(ContentWrapper, { children: _jsx(PropertiesList, { items: recordInformations }) })] }));
41
+ };
42
+ //# sourceMappingURL=RecordInformations.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RecordInformations.js","sourceRoot":"","sources":["../../../../../../src/components/RecordEdition/EditRecordSidebar/RecordSummary/RecordInformations/RecordInformations.tsx"],"names":[],"mappings":";AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAoB,QAAQ,EAAC,MAAM,OAAO,CAAC;AAElD,OAAO,MAAM,MAAM,mBAAmB,CAAC;AACvC,OAAO,EAAC,SAAS,EAAE,UAAU,EAAC,MAAM,YAAY,CAAC;AACjD,OAAO,EAAC,QAAQ,EAAC,MAAM,gBAAgB,CAAC;AACxC,OAAO,cAAc,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAC,oBAAoB,EAAC,MAAM,gCAAgC,CAAC;AAEpE,OAAO,EAAC,qBAAqB,EAAC,MAAM,yBAAyB,CAAC;AAC9D,OAAO,SAAS,MAAM,iDAAiD,CAAC;AACxE,OAAO,EAAC,aAAa,EAAC,MAAM,8BAA8B,CAAC;AAC3D,OAAO,EAAC,gCAAgC,EAAC,MAAM,eAAe,CAAC;AAO/D,MAAM,mBAAmB,GAAG,MAAM,CAAC,GAAG,CAAA;;CAErC,CAAC;AAEF,MAAM,cAAc,GAAG,MAAM,CAAC,GAAG,CAAA;;;;;;;CAOhC,CAAC;AAEF,MAAM,iBAAiB,GAAG,MAAM,CAAC,SAAS,CAAC,CAAA;;;;CAI1C,CAAC;AAEF,MAAM,cAAc,GAAG,MAAM,CAAC,GAAG,CAAA;;CAEhC,CAAC;AAEF,MAAM,CAAC,MAAM,kBAAkB,GAA0C,CAAC,EAAC,MAAM,EAAE,UAAU,EAAC,EAAE,EAAE;IA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N,IAAI,EAAE,sBAAsB,EAC5B,MAAM,EAAE,WAAW,EAAE,EAAE,EACvB,SAAS,EAAE,WAAW,EAAE,OAAO,EAC/B,OAAO,EAAE,GAAG,EAAE,CAAC,uBAAuB,CAAC,KAAK,CAAC,GAC/C,CACL,EACD,KAAC,cAAc,cACX,KAAC,cAAc,IAAC,KAAK,EAAE,kBAAkB,GAAI,GAChC,IACC,CACzB,CAAC;AACN,CAAC,CAAC"}
@@ -0,0 +1,6 @@
1
+ import { GetRecordColumnsValuesRecord } from '../../../../../_queries/records/getRecordColumnsValues';
2
+ import { IRecordIdentityWhoAmI } from '../../../../../types';
3
+ export declare const useRecordInformations: (record: IRecordIdentityWhoAmI, recordData: GetRecordColumnsValuesRecord) => {
4
+ title: string;
5
+ value: string;
6
+ }[];
@@ -0,0 +1,35 @@
1
+ // Copyright LEAV Solutions 2017 until 2023/11/05, Copyright Aristid from 2023/11/06
2
+ // This file is released under LGPL V3
3
+ // License text available at https://www.gnu.org/licenses/lgpl-3.0.txt
4
+ import { useSharedTranslation } from '../../../../../hooks/useSharedTranslation';
5
+ export const useRecordInformations = (record, recordData) => {
6
+ const { t } = useSharedTranslation();
7
+ const recordInformations = [
8
+ {
9
+ title: t('record_summary.id_entity'),
10
+ value: record?.id ?? '-'
11
+ }
12
+ ];
13
+ if (recordData?.created_at?.[0]) {
14
+ recordInformations.push({
15
+ title: t('record_summary.creation'),
16
+ value: t('record_summary.date_by_user', {
17
+ date: (recordData?.created_at?.[0]).payload,
18
+ user: recordData?.created_by?.[0]?.linkValue?.whoAmI?.label,
19
+ interpolation: { escapeValue: false }
20
+ })
21
+ });
22
+ }
23
+ if (recordData?.modified_at?.[0]) {
24
+ recordInformations.push({
25
+ title: t('record_summary.last_modification'),
26
+ value: t('record_summary.date_by_user', {
27
+ date: (recordData?.modified_at?.[0]).payload,
28
+ user: recordData?.modified_by?.[0]?.linkValue?.whoAmI?.label,
29
+ interpolation: { escapeValue: false }
30
+ })
31
+ });
32
+ }
33
+ return recordInformations;
34
+ };
35
+ //# sourceMappingURL=useRecordInformations.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useRecordInformations.js","sourceRoot":"","sources":["../../../../../../src/components/RecordEdition/EditRecordSidebar/RecordSummary/RecordInformations/useRecordInformations.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,oBAAoB,EAAC,MAAM,gCAAgC,CAAC;AAQpE,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,MAA6B,EAAE,UAAwC,EAAE,EAAE;IAC7G,MAAM,EAAC,CAAC,EAAC,GAAG,oBAAoB,EAAE,CAAC;IAEnC,MAAM,kBAAkB,GAAG;QACvB;YACI,KAAK,EAAE,CAAC,CAAC,0BAA0B,CAAC;YACpC,KAAK,EAAE,MAAM,EAAE,EAAE,IAAI,GAAG;SAC3B;KACJ,CAAC;IAEF,IAAI,UAAU,EAAE,UAAU,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;QAC9B,kBAAkB,CAAC,IAAI,CAAC;YACpB,KAAK,EAAE,CAAC,CAAC,yBAAyB,CAAC;YACnC,KAAK,EAAE,CAAC,CAAC,6BAA6B,EAAE;gBACpC,IAAI,EAAE,CAAC,UAAU,EAAE,UAAU,EAAE,CAAC,CAAC,CAAgC,CAAA,CAAC,OAAO;gBACzE,IAAI,EAAG,UAAU,EAAE,UAAU,EAAE,CAAC,CAAC,CAA4B,EAAE,SAAS,EAAE,MAAM,EAAE,KAAK;gBACvF,aAAa,EAAE,EAAC,WAAW,EAAE,KAAK,EAAC;aACtC,CAAC;SACL,CAAC,CAAC;IACP,CAAC;IAED,IAAI,UAAU,EAAE,WAAW,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;QAC/B,kBAAkB,CAAC,IAAI,CAAC;YACpB,KAAK,EAAE,CAAC,CAAC,kCAAkC,CAAC;YAC5C,KAAK,EAAE,CAAC,CAAC,6BAA6B,EAAE;gBACpC,IAAI,EAAE,CAAC,UAAU,EAAE,WAAW,EAAE,CAAC,CAAC,CAAgC,CAAA,CAAC,OAAO;gBAC1E,IAAI,EAAG,UAAU,EAAE,WAAW,EAAE,CAAC,CAAC,CAA4B,EAAE,SAAS,EAAE,MAAM,EAAE,KAAK;gBACxF,aAAa,EAAE,EAAC,WAAW,EAAE,KAAK,EAAC;aACtC,CAAC;SACL,CAAC,CAAC;IACP,CAAC;IAED,OAAO,kBAAkB,CAAC;AAC9B,CAAC,CAAC"}
@@ -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 Wrapper: import("styled-components").IStyledComponent<"web", {
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, jsxs as _jsxs } from "react/jsx-runtime";
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 { RecordPreviewWithModal } from '../../../RecordPreviewWithModal';
15
- import PropertiesList from '../PropertiesList';
16
- export const Wrapper = styled(Space) `
17
- padding: 1em;
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
- const summaryContent = [
35
- {
36
- title: t('record_summary.label'),
37
- value: record?.label
38
- },
39
- {
40
- title: t('record_summary.id'),
41
- value: record?.id
42
- },
43
- {
44
- title: t('record_summary.library'),
45
- value: localizedTranslation(record?.library.label, lang)
46
- }
47
- ];
48
- if (recordData) {
49
- if (recordData.created_at?.[0]) {
50
- summaryContent.push({
51
- title: t('record_summary.created_at'),
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,oBAAoB,EAAC,MAAM,aAAa,CAAC;AACjD,OAAO,EAAC,KAAK,EAAE,KAAK,EAAC,MAAM,MAAM,CAAC;AAClC,OAAO,MAAM,MAAM,mBAAmB,CAAC;AACvC,OAAO,EAAC,oBAAoB,EAAC,MAAM,gCAAgC,CAAC;AACpE,OAAO,EAAC,WAAW,EAAC,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAC,OAAO,EAAC,MAAM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,EAAE,KAAK;oBACxF,aAAa,EAAE,EAAC,WAAW,EAAE,KAAK,EAAC;iBACtC,CAAC;aACL,CAAC,CAAC;QACP,CAAC;IACL,CAAC;IAED,OAAO,CACH,MAAC,OAAO,IAAC,SAAS,EAAC,UAAU,aACzB,KAAC,sBAAsB,IACnB,KAAK,EAAE,MAAM,EAAE,KAAK,IAAI,MAAM,EAAE,EAAE,EAClC,KAAK,EAAE,MAAM,EAAE,KAAK,EACpB,KAAK,EAAE,OAAO,IAAI,IAAI,EACtB,IAAI,QACJ,IAAI,EAAE,WAAW,CAAC,MAAM,EACxB,KAAK,EAAE,EAAC,YAAY,EAAE,KAAK,CAAC,YAAY,EAAC,EACzC,WAAW,EAAE,WAAW,EACxB,UAAU,EAAE,EAAC,YAAY,EAAE,KAAK,CAAC,YAAY,EAAC,GAChD,EACF,KAAC,cAAc,IAAC,KAAK,EAAE,cAAc,GAAI,IACnC,CACb,CAAC;AACN,CAAC;AAED,eAAe,aAAa,CAAC"}
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"}
@@ -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
@@ -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,CAA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AE,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"}
@@ -405,6 +405,7 @@
405
405
  "add_value_link": "Add link",
406
406
  "delete_value": "Delete value",
407
407
  "delete_value_confirm": "Do you really want to delete this value?",
408
+ "delete_link_confirm": "Do you really want to delete this link?",
408
409
  "whoAmI": "Information",
409
410
  "no_value": "No value",
410
411
  "value_details": "Value details",
@@ -488,7 +489,16 @@
488
489
  "created_at": "Created on",
489
490
  "created_at_value": "{{date}} by {{user}}",
490
491
  "modified_at": "Modified on",
491
- "modified_at_value": "{{date}} by {{user}}"
492
+ "modified_at_value": "{{date}} by {{user}}",
493
+ "new_record": "New record",
494
+ "id_entity": "Entity identifier",
495
+ "creation": "Creation",
496
+ "last_modification": "Last modification",
497
+ "date_by_user": "{{date}} by {{user}}",
498
+ "open_preview_modal": "Open preview modal",
499
+ "informations": "Informations",
500
+ "chat": "Chat",
501
+ "history": "History"
492
502
  },
493
503
  "view": {
494
504
  "views": "Views",
@@ -617,7 +627,8 @@
617
627
  "create-one": "Create",
618
628
  "actions": "Actions",
619
629
  "more-actions": "Show more",
620
- "deactivate-item": "Deactivate item",
630
+ "deactivate-item": "Deactivate",
631
+ "delete-item": "Delete",
621
632
  "edit-item": "Edit item",
622
633
  "settings": "Settings",
623
634
  "back": "Back",
@@ -656,6 +667,9 @@
656
667
  "invalid-value": "Invalid value",
657
668
  "type-a-value": "Type a value",
658
669
  "save-view": "Save",
659
- "reinit-view": "Reset"
670
+ "reinit-view": "Reset",
671
+ "select-condition": "Select condition",
672
+ "true": "True",
673
+ "false": "False"
660
674
  }
661
675
  }
@@ -405,6 +405,7 @@
405
405
  "add_value_link": "Ajouter une liaison",
406
406
  "delete_value": "Supprimer cette valeur",
407
407
  "delete_value_confirm": "Êtes-vous sûr de vouloir supprimer cette valeur?",
408
+ "delete_link_confirm": "Êtes-vous sûr de vouloir supprimer cette liaison?",
408
409
  "whoAmI": "Informations",
409
410
  "no_value": "Pas de valeur",
410
411
  "value_details": "Infos valeur",
@@ -488,7 +489,16 @@
488
489
  "created_at": "Créé le",
489
490
  "created_at_value": "{{date}} par {{user}}",
490
491
  "modified_at": "Modifié le",
491
- "modified_at_value": "{{date}} par {{user}}"
492
+ "modified_at_value": "{{date}} par {{user}}",
493
+ "new_record": "Nouvel élément",
494
+ "id_entity": "Identifiant entité",
495
+ "creation": "Création",
496
+ "last_modification": "Dernière modification",
497
+ "date_by_user": "Le {{date}} par {{user}}",
498
+ "open_preview_modal": "Ouvrir la modale d'aperçu",
499
+ "informations": "Informations",
500
+ "chat": "Chat",
501
+ "history": "Historique"
492
502
  },
493
503
  "view": {
494
504
  "views": "Vues",
@@ -617,7 +627,8 @@
617
627
  "create-one": "Créer",
618
628
  "actions": "Actions",
619
629
  "more-actions": "Voir plus",
620
- "deactivate-item": "Désactiver l’élément",
630
+ "deactivate-item": "Désactiver",
631
+ "delete-item": "Supprimer",
621
632
  "edit-item": "Éditer l’élément",
622
633
  "settings": "Paramètres",
623
634
  "back": "Retour",
@@ -656,6 +667,9 @@
656
667
  "invalid-value": "Valeur invalide",
657
668
  "type-a-value": "Saisissez une valeur",
658
669
  "save-view": "Enregistrer",
659
- "reinit-view": "Réinitialiser"
670
+ "reinit-view": "Réinitialiser",
671
+ "select-condition": "Sélectionner une condition",
672
+ "true": "Vrai",
673
+ "false": "Faux"
660
674
  }
661
675
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leav/ui",
3
- "version": "0.3.6-621cfcd",
3
+ "version": "0.3.6-67cd90e",
4
4
  "description": "Shared React components and hooks",
5
5
  "scripts": {
6
6
  "prepublishOnly": "yarn build",