@leav/ui 1.7.0-68370392 → 1.7.0-911ea1fb

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 (22) hide show
  1. package/dist/_gqlTypes/index.d.ts +47 -2
  2. package/dist/_gqlTypes/index.js +21 -1
  3. package/dist/_gqlTypes/index.js.map +1 -1
  4. package/dist/components/RecordEdition/EditRecordContent/antdUtils.js +2 -0
  5. package/dist/components/RecordEdition/EditRecordContent/antdUtils.js.map +1 -1
  6. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSRichTextWrapper.js +1 -1
  7. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSRichTextWrapper.js.map +1 -1
  8. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValue.js +2 -0
  9. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValue.js.map +1 -1
  10. package/dist/components/RecordHistory/RecordHistoryLogEntry.js +10 -2
  11. package/dist/components/RecordHistory/RecordHistoryLogEntry.js.map +1 -1
  12. package/dist/components/RecordHistory/_queries/recordHistoryQuery.d.ts +7 -0
  13. package/dist/components/RecordHistory/_queries/recordHistoryQuery.js +64 -0
  14. package/dist/components/RecordHistory/_queries/recordHistoryQuery.js.map +1 -0
  15. package/dist/components/RecordHistory/hooks/useFetchRecordHistory.js +5 -2
  16. package/dist/components/RecordHistory/hooks/useFetchRecordHistory.js.map +1 -1
  17. package/dist/components/RecordHistory/utils/extendedAttribute.d.ts +11 -0
  18. package/dist/components/RecordHistory/utils/extendedAttribute.js +40 -0
  19. package/dist/components/RecordHistory/utils/extendedAttribute.js.map +1 -0
  20. package/dist/locales/en/shared.json +2 -1
  21. package/dist/locales/fr/shared.json +2 -1
  22. package/package.json +2 -2
@@ -354,6 +354,16 @@ export declare enum FormsSortableFields {
354
354
  library = "library",
355
355
  system = "system"
356
356
  }
357
+ export declare enum GenerationStatus {
358
+ DONE = "DONE",
359
+ GENERATION_FAILED = "GENERATION_FAILED",
360
+ GENERATION_IN_PROGRESS = "GENERATION_IN_PROGRESS",
361
+ GENERATION_IN_PROGRESS_WITH_FAILURE = "GENERATION_IN_PROGRESS_WITH_FAILURE",
362
+ PREPARATION_FAILED = "PREPARATION_FAILED",
363
+ PREPARATION_IN_PROGRESS = "PREPARATION_IN_PROGRESS",
364
+ TRANSMISSION_FAILED = "TRANSMISSION_FAILED",
365
+ TRANSMISSION_IN_PROGRESS = "TRANSMISSION_IN_PROGRESS"
366
+ }
357
367
  export type GlobalSettingsFileInput = {
358
368
  library: Scalars['String']['input'];
359
369
  recordId: Scalars['String']['input'];
@@ -441,6 +451,9 @@ export declare enum LogAction {
441
451
  PERMISSION_SAVE = "PERMISSION_SAVE",
442
452
  RECORD_DELETE = "RECORD_DELETE",
443
453
  RECORD_SAVE = "RECORD_SAVE",
454
+ SDO_LOG_ERROR = "SDO_LOG_ERROR",
455
+ SDO_LOG_EXPORT_RECORD = "SDO_LOG_EXPORT_RECORD",
456
+ SDO_LOG_IMPORT_RECORD = "SDO_LOG_IMPORT_RECORD",
444
457
  TASKS_DELETE = "TASKS_DELETE",
445
458
  TREE_ADD_ELEMENT = "TREE_ADD_ELEMENT",
446
459
  TREE_DELETE = "TREE_DELETE",
@@ -557,6 +570,7 @@ export declare enum PermissionsActions {
557
570
  admin_access_libraries = "admin_access_libraries",
558
571
  admin_access_logs = "admin_access_logs",
559
572
  admin_access_permissions = "admin_access_permissions",
573
+ admin_access_plugins = "admin_access_plugins",
560
574
  admin_access_tasks = "admin_access_tasks",
561
575
  admin_access_trees = "admin_access_trees",
562
576
  admin_access_version_profiles = "admin_access_version_profiles",
@@ -754,7 +768,6 @@ export declare enum TaskType {
754
768
  IMPORT_CONFIG = "IMPORT_CONFIG",
755
769
  IMPORT_DATA = "IMPORT_DATA",
756
770
  INDEXATION = "INDEXATION",
757
- RENEW_CAMPAIGNS = "RENEW_CAMPAIGNS",
758
771
  SAVE_VALUE_BULK = "SAVE_VALUE_BULK"
759
772
  }
760
773
  export declare enum TreeBehavior {
@@ -3620,6 +3633,16 @@ export type RecordHistoryLogEntryFragment = {
3620
3633
  type: AttributeType;
3621
3634
  format?: AttributeFormat | null;
3622
3635
  multiple_values: boolean;
3636
+ } | {
3637
+ id: string;
3638
+ label?: any | null;
3639
+ type: AttributeType;
3640
+ format?: AttributeFormat | null;
3641
+ multiple_values: boolean;
3642
+ embedded_fields?: Array<{
3643
+ id: string;
3644
+ label?: any | null;
3645
+ } | null> | null;
3623
3646
  } | null;
3624
3647
  } | null;
3625
3648
  user: {
@@ -3644,13 +3667,25 @@ export type RecordHistoryLogEntryFragment = {
3644
3667
  asString?: string | null;
3645
3668
  } | null;
3646
3669
  };
3647
- export type RecordHistoryLogAttributeFragment = {
3670
+ export type RecordHistoryLogAttributeLinkAttributeTreeAttributeFragment = {
3648
3671
  id: string;
3649
3672
  label?: any | null;
3650
3673
  type: AttributeType;
3651
3674
  format?: AttributeFormat | null;
3652
3675
  multiple_values: boolean;
3653
3676
  };
3677
+ export type RecordHistoryLogAttributeStandardAttributeFragment = {
3678
+ id: string;
3679
+ label?: any | null;
3680
+ type: AttributeType;
3681
+ format?: AttributeFormat | null;
3682
+ multiple_values: boolean;
3683
+ embedded_fields?: Array<{
3684
+ id: string;
3685
+ label?: any | null;
3686
+ } | null> | null;
3687
+ };
3688
+ export type RecordHistoryLogAttributeFragment = RecordHistoryLogAttributeLinkAttributeTreeAttributeFragment | RecordHistoryLogAttributeStandardAttributeFragment;
3654
3689
  export type CheckApplicationExistenceQueryVariables = Exact<{
3655
3690
  id?: InputMaybe<Scalars['ID']['input']>;
3656
3691
  endpoint?: InputMaybe<Scalars['String']['input']>;
@@ -7991,6 +8026,16 @@ export type GetRecordHistoryQuery = {
7991
8026
  type: AttributeType;
7992
8027
  format?: AttributeFormat | null;
7993
8028
  multiple_values: boolean;
8029
+ } | {
8030
+ id: string;
8031
+ label?: any | null;
8032
+ type: AttributeType;
8033
+ format?: AttributeFormat | null;
8034
+ multiple_values: boolean;
8035
+ embedded_fields?: Array<{
8036
+ id: string;
8037
+ label?: any | null;
8038
+ } | null> | null;
7994
8039
  } | null;
7995
8040
  } | null;
7996
8041
  user: {
@@ -88,6 +88,17 @@ export var FormsSortableFields;
88
88
  FormsSortableFields["library"] = "library";
89
89
  FormsSortableFields["system"] = "system";
90
90
  })(FormsSortableFields || (FormsSortableFields = {}));
91
+ export var GenerationStatus;
92
+ (function (GenerationStatus) {
93
+ GenerationStatus["DONE"] = "DONE";
94
+ GenerationStatus["GENERATION_FAILED"] = "GENERATION_FAILED";
95
+ GenerationStatus["GENERATION_IN_PROGRESS"] = "GENERATION_IN_PROGRESS";
96
+ GenerationStatus["GENERATION_IN_PROGRESS_WITH_FAILURE"] = "GENERATION_IN_PROGRESS_WITH_FAILURE";
97
+ GenerationStatus["PREPARATION_FAILED"] = "PREPARATION_FAILED";
98
+ GenerationStatus["PREPARATION_IN_PROGRESS"] = "PREPARATION_IN_PROGRESS";
99
+ GenerationStatus["TRANSMISSION_FAILED"] = "TRANSMISSION_FAILED";
100
+ GenerationStatus["TRANSMISSION_IN_PROGRESS"] = "TRANSMISSION_IN_PROGRESS";
101
+ })(GenerationStatus || (GenerationStatus = {}));
91
102
  export var IoTypes;
92
103
  (function (IoTypes) {
93
104
  IoTypes["boolean"] = "boolean";
@@ -141,6 +152,9 @@ export var LogAction;
141
152
  LogAction["PERMISSION_SAVE"] = "PERMISSION_SAVE";
142
153
  LogAction["RECORD_DELETE"] = "RECORD_DELETE";
143
154
  LogAction["RECORD_SAVE"] = "RECORD_SAVE";
155
+ LogAction["SDO_LOG_ERROR"] = "SDO_LOG_ERROR";
156
+ LogAction["SDO_LOG_EXPORT_RECORD"] = "SDO_LOG_EXPORT_RECORD";
157
+ LogAction["SDO_LOG_IMPORT_RECORD"] = "SDO_LOG_IMPORT_RECORD";
144
158
  LogAction["TASKS_DELETE"] = "TASKS_DELETE";
145
159
  LogAction["TREE_ADD_ELEMENT"] = "TREE_ADD_ELEMENT";
146
160
  LogAction["TREE_DELETE"] = "TREE_DELETE";
@@ -201,6 +215,7 @@ export var PermissionsActions;
201
215
  PermissionsActions["admin_access_libraries"] = "admin_access_libraries";
202
216
  PermissionsActions["admin_access_logs"] = "admin_access_logs";
203
217
  PermissionsActions["admin_access_permissions"] = "admin_access_permissions";
218
+ PermissionsActions["admin_access_plugins"] = "admin_access_plugins";
204
219
  PermissionsActions["admin_access_tasks"] = "admin_access_tasks";
205
220
  PermissionsActions["admin_access_trees"] = "admin_access_trees";
206
221
  PermissionsActions["admin_access_version_profiles"] = "admin_access_version_profiles";
@@ -309,7 +324,6 @@ export var TaskType;
309
324
  TaskType["IMPORT_CONFIG"] = "IMPORT_CONFIG";
310
325
  TaskType["IMPORT_DATA"] = "IMPORT_DATA";
311
326
  TaskType["INDEXATION"] = "INDEXATION";
312
- TaskType["RENEW_CAMPAIGNS"] = "RENEW_CAMPAIGNS";
313
327
  TaskType["SAVE_VALUE_BULK"] = "SAVE_VALUE_BULK";
314
328
  })(TaskType || (TaskType = {}));
315
329
  export var TreeBehavior;
@@ -1171,6 +1185,12 @@ export const RecordHistoryLogAttributeFragmentDoc = gql `
1171
1185
  type
1172
1186
  format
1173
1187
  multiple_values
1188
+ ... on StandardAttribute {
1189
+ embedded_fields {
1190
+ id
1191
+ label
1192
+ }
1193
+ }
1174
1194
  }
1175
1195
  `;
1176
1196
  export const RecordHistoryLogEntryFragmentDoc = gql `