@leav/ui 0.4.0-c10dd58e → 0.4.0-c689c2a2

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 (168) hide show
  1. package/dist/_gqlTypes/index.d.ts +125 -215
  2. package/dist/_gqlTypes/index.js +1306 -1334
  3. package/dist/_gqlTypes/index.js.map +1 -1
  4. package/dist/_utils/attributeType.d.ts +2 -1
  5. package/dist/_utils/attributeType.js +2 -1
  6. package/dist/_utils/attributeType.js.map +1 -1
  7. package/dist/components/Explorer/Explorer.d.ts +1 -0
  8. package/dist/components/Explorer/Explorer.js +11 -3
  9. package/dist/components/Explorer/Explorer.js.map +1 -1
  10. package/dist/components/Explorer/_queries/prepareFiltersForRequest.d.ts +1 -1
  11. package/dist/components/Explorer/_queries/prepareFiltersForRequest.js +82 -31
  12. package/dist/components/Explorer/_queries/prepareFiltersForRequest.js.map +1 -1
  13. package/dist/components/Explorer/_queries/useExplorerData.js +31 -27
  14. package/dist/components/Explorer/_queries/useExplorerData.js.map +1 -1
  15. package/dist/components/Explorer/_types.d.ts +18 -2
  16. package/dist/components/Explorer/_types.js +1 -0
  17. package/dist/components/Explorer/_types.js.map +1 -1
  18. package/dist/components/Explorer/actions-item/useReplaceItemAction.d.ts +2 -1
  19. package/dist/components/Explorer/actions-item/useReplaceItemAction.js +2 -2
  20. package/dist/components/Explorer/actions-item/useReplaceItemAction.js.map +1 -1
  21. package/dist/components/Explorer/actions-primary/useCreatePrimaryAction.d.ts +3 -1
  22. package/dist/components/Explorer/actions-primary/useCreatePrimaryAction.js +5 -18
  23. package/dist/components/Explorer/actions-primary/useCreatePrimaryAction.js.map +1 -1
  24. package/dist/components/Explorer/actions-primary/useLinkPrimaryAction.d.ts +6 -3
  25. package/dist/components/Explorer/actions-primary/useLinkPrimaryAction.js +5 -19
  26. package/dist/components/Explorer/actions-primary/useLinkPrimaryAction.js.map +1 -1
  27. package/dist/components/Explorer/link-item/LinkModal.d.ts +3 -0
  28. package/dist/components/Explorer/link-item/LinkModal.js +14 -4
  29. package/dist/components/Explorer/link-item/LinkModal.js.map +1 -1
  30. package/dist/components/Explorer/manage-view-settings/_shared/CommonFilterItem.js +1 -1
  31. package/dist/components/Explorer/manage-view-settings/_shared/CommonFilterItem.js.map +1 -1
  32. package/dist/components/Explorer/manage-view-settings/_shared/useTransformFilters.js +22 -2
  33. package/dist/components/Explorer/manage-view-settings/_shared/useTransformFilters.js.map +1 -1
  34. package/dist/components/Explorer/manage-view-settings/filter-items/FilterItems.js +10 -7
  35. package/dist/components/Explorer/manage-view-settings/filter-items/FilterItems.js.map +1 -1
  36. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/FilterDropdownContent.js +5 -1
  37. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/FilterDropdownContent.js.map +1 -1
  38. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/TreeAttributeDropDown.d.ts +3 -0
  39. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/TreeAttributeDropDown.js +69 -0
  40. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/TreeAttributeDropDown.js.map +1 -0
  41. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/_types.d.ts +6 -1
  42. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/useConditionOptionsByType.d.ts +2 -0
  43. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/useConditionOptionsByType.js +31 -4
  44. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/useConditionOptionsByType.js.map +1 -1
  45. package/dist/components/Explorer/manage-view-settings/save-view/prepareViewForRequest.js +19 -8
  46. package/dist/components/Explorer/manage-view-settings/save-view/prepareViewForRequest.js.map +1 -1
  47. package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsInitialState.js +1 -1
  48. package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsInitialState.js.map +1 -1
  49. package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsReducer.d.ts +2 -2
  50. package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsReducer.js +38 -12
  51. package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsReducer.js.map +1 -1
  52. package/dist/components/Explorer/useLoadView.d.ts +1 -1
  53. package/dist/components/Explorer/useLoadView.js +32 -38
  54. package/dist/components/Explorer/useLoadView.js.map +1 -1
  55. package/dist/components/Explorer/useSearchInput.js +1 -0
  56. package/dist/components/Explorer/useSearchInput.js.map +1 -1
  57. package/dist/components/RecordEdition/EditRecord/EditRecord.d.ts +2 -1
  58. package/dist/components/RecordEdition/EditRecord/EditRecord.js +72 -224
  59. package/dist/components/RecordEdition/EditRecord/EditRecord.js.map +1 -1
  60. package/dist/components/RecordEdition/EditRecordContent/EditRecordContent.d.ts +2 -2
  61. package/dist/components/RecordEdition/EditRecordContent/EditRecordContent.js +6 -14
  62. package/dist/components/RecordEdition/EditRecordContent/EditRecordContent.js.map +1 -1
  63. package/dist/components/RecordEdition/EditRecordContent/_types.d.ts +2 -5
  64. package/dist/components/RecordEdition/EditRecordContent/hooks/useCreateEmptyRecordMutation.d.ts +5 -0
  65. package/dist/components/RecordEdition/EditRecordContent/hooks/useCreateEmptyRecordMutation.js +28 -0
  66. package/dist/components/RecordEdition/EditRecordContent/hooks/useCreateEmptyRecordMutation.js.map +1 -0
  67. package/dist/components/RecordEdition/EditRecordContent/hooks/useFetchVisibleFormValue.d.ts +1 -1
  68. package/dist/components/RecordEdition/EditRecordContent/hooks/useFetchVisibleFormValue.js +2 -8
  69. package/dist/components/RecordEdition/EditRecordContent/hooks/useFetchVisibleFormValue.js.map +1 -1
  70. package/dist/components/RecordEdition/EditRecordContent/uiElements/Container/Container.d.ts +2 -1
  71. package/dist/components/RecordEdition/EditRecordContent/uiElements/Container/Container.js +2 -2
  72. package/dist/components/RecordEdition/EditRecordContent/uiElements/Container/Container.js.map +1 -1
  73. package/dist/components/RecordEdition/EditRecordContent/uiElements/FormDivider/FormDivider.js.map +1 -1
  74. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/LinkField.js +9 -33
  75. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/LinkField.js.map +1 -1
  76. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record/ActionButton.d.ts +3 -0
  77. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record/ActionButton.js +9 -0
  78. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record/ActionButton.js.map +1 -0
  79. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/{link-record-in-edition/useLinkRecords.d.ts → link-record/useExplorerLinkRecords.d.ts} +2 -2
  80. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/{link-record-in-edition/useLinkRecords.js → link-record/useExplorerLinkRecords.js} +3 -3
  81. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record/useExplorerLinkRecords.js.map +1 -0
  82. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/{link-record-in-edition/useLinkRecordsInEdition.d.ts → link-record/useLinkRecords.d.ts} +5 -9
  83. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record/useLinkRecords.js +79 -0
  84. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record/useLinkRecords.js.map +1 -0
  85. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/shared/utils.js +1 -0
  86. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/shared/utils.js.map +1 -1
  87. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardField.js +1 -9
  88. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardField.js.map +1 -1
  89. package/dist/components/RecordEdition/EditRecordContent/uiElements/TextBlock/TextBlock.js.map +1 -1
  90. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/TreeField.js +2 -9
  91. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/TreeField.js.map +1 -1
  92. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/manage-tree-node-selection/useManageTreeNodeSelection.d.ts +2 -1
  93. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/manage-tree-node-selection/useManageTreeNodeSelection.js +12 -5
  94. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/manage-tree-node-selection/useManageTreeNodeSelection.js.map +1 -1
  95. package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/useOutsideInteractionDetector.d.ts +1 -3
  96. package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/useOutsideInteractionDetector.js +6 -10
  97. package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/useOutsideInteractionDetector.js.map +1 -1
  98. package/dist/components/RecordEdition/EditRecordModal/EditRecordModal.js +22 -4
  99. package/dist/components/RecordEdition/EditRecordModal/EditRecordModal.js.map +1 -1
  100. package/dist/components/RecordEdition/EditRecordPage/EditRecordPage.js +23 -5
  101. package/dist/components/RecordEdition/EditRecordPage/EditRecordPage.js.map +1 -1
  102. package/dist/components/RecordEdition/index.d.ts +1 -1
  103. package/dist/components/RecordEdition/index.js +1 -1
  104. package/dist/components/RecordEdition/index.js.map +1 -1
  105. package/dist/components/SelectRecordForLinkModal/SelectRecordForLinkModal.d.ts +2 -0
  106. package/dist/components/SelectRecordForLinkModal/SelectRecordForLinkModal.js +6 -4
  107. package/dist/components/SelectRecordForLinkModal/SelectRecordForLinkModal.js.map +1 -1
  108. package/dist/components/SelectTreeNode/SelectTreeNode.d.ts +2 -0
  109. package/dist/components/SelectTreeNode/SelectTreeNode.js +2 -2
  110. package/dist/components/SelectTreeNode/SelectTreeNode.js.map +1 -1
  111. package/dist/components/SelectTreeNode/SelectTreeNodeContent.d.ts +2 -0
  112. package/dist/components/SelectTreeNode/SelectTreeNodeContent.js +54 -43
  113. package/dist/components/SelectTreeNode/SelectTreeNodeContent.js.map +1 -1
  114. package/dist/components/SelectTreeNode/_types.d.ts +1 -0
  115. package/dist/components/SelectTreeNode/_types.js.map +1 -1
  116. package/dist/hooks/useIFrameMessenger/types.d.ts +2 -0
  117. package/dist/hooks/useIFrameMessenger/useIFrameMessenger.d.ts +3 -3
  118. package/dist/hooks/useIFrameMessenger/useIFrameMessenger.js +5 -1
  119. package/dist/hooks/useIFrameMessenger/useIFrameMessenger.js.map +1 -1
  120. package/package.json +1 -1
  121. package/dist/components/LinkSelect/LinkSelect.d.ts +0 -15
  122. package/dist/components/LinkSelect/LinkSelect.js +0 -88
  123. package/dist/components/LinkSelect/LinkSelect.js.map +0 -1
  124. package/dist/components/LinkSelect/index.d.ts +0 -2
  125. package/dist/components/LinkSelect/index.js +0 -6
  126. package/dist/components/LinkSelect/index.js.map +0 -1
  127. package/dist/components/RecordEdition/EditRecord/creationErrorContext.d.ts +0 -6
  128. package/dist/components/RecordEdition/EditRecord/creationErrorContext.js +0 -7
  129. package/dist/components/RecordEdition/EditRecord/creationErrorContext.js.map +0 -1
  130. package/dist/components/RecordEdition/EditRecordContent/hooks/useCreateRecordMutation.d.ts +0 -5
  131. package/dist/components/RecordEdition/EditRecordContent/hooks/useCreateRecordMutation.js +0 -28
  132. package/dist/components/RecordEdition/EditRecordContent/hooks/useCreateRecordMutation.js.map +0 -1
  133. package/dist/components/RecordEdition/EditRecordContent/hooks/useRunActionsListAndFormatOnValue.d.ts +0 -121
  134. package/dist/components/RecordEdition/EditRecordContent/hooks/useRunActionsListAndFormatOnValue.js +0 -31
  135. package/dist/components/RecordEdition/EditRecordContent/hooks/useRunActionsListAndFormatOnValue.js.map +0 -1
  136. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/action-item/useEditRecord.d.ts +0 -5
  137. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/action-item/useEditRecord.js +0 -39
  138. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/action-item/useEditRecord.js.map +0 -1
  139. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/action-item/useUnselectRecord.d.ts +0 -8
  140. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/action-item/useUnselectRecord.js +0 -23
  141. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/action-item/useUnselectRecord.js.map +0 -1
  142. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/action-mass/useUnselectAllRecords.d.ts +0 -9
  143. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/action-mass/useUnselectAllRecords.js +0 -23
  144. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/action-mass/useUnselectAllRecords.js.map +0 -1
  145. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/action-primary/useCreateRecord.d.ts +0 -8
  146. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/action-primary/useCreateRecord.js +0 -26
  147. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/action-primary/useCreateRecord.js.map +0 -1
  148. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/action-primary/useRecordSelector.d.ts +0 -12
  149. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/action-primary/useRecordSelector.js +0 -24
  150. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/action-primary/useRecordSelector.js.map +0 -1
  151. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record-in-creation/useLinkRecords.d.ts +0 -19
  152. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record-in-creation/useLinkRecords.js +0 -103
  153. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record-in-creation/useLinkRecords.js.map +0 -1
  154. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record-in-creation/useLinkRecordsInCreation.d.ts +0 -22
  155. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record-in-creation/useLinkRecordsInCreation.js +0 -104
  156. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record-in-creation/useLinkRecordsInCreation.js.map +0 -1
  157. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record-in-edition/useLinkRecords.js.map +0 -1
  158. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record-in-edition/useLinkRecordsInEdition.js +0 -311
  159. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record-in-edition/useLinkRecordsInEdition.js.map +0 -1
  160. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/shared/LinkActionsButtons.d.ts +0 -9
  161. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/shared/LinkActionsButtons.js +0 -15
  162. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/shared/LinkActionsButtons.js.map +0 -1
  163. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/ValuesList/ValuesList.d.ts +0 -16
  164. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/ValuesList/ValuesList.js +0 -35
  165. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/ValuesList/ValuesList.js.map +0 -1
  166. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/ValuesList/index.d.ts +0 -2
  167. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/ValuesList/index.js +0 -6
  168. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/ValuesList/index.js.map +0 -1
@@ -452,6 +452,7 @@ export declare enum PermissionsActions {
452
452
  admin_access_applications = "admin_access_applications",
453
453
  admin_access_attributes = "admin_access_attributes",
454
454
  admin_access_libraries = "admin_access_libraries",
455
+ admin_access_logs = "admin_access_logs",
455
456
  admin_access_permissions = "admin_access_permissions",
456
457
  admin_access_tasks = "admin_access_tasks",
457
458
  admin_access_trees = "admin_access_trees",
@@ -3173,6 +3174,27 @@ export type LinkAttributeDetailsFragment = {
3173
3174
  id: string;
3174
3175
  label?: any | null;
3175
3176
  } | null;
3177
+ values_list?: {
3178
+ allowFreeEntry?: boolean | null;
3179
+ enable: boolean;
3180
+ values?: Array<{
3181
+ id: string;
3182
+ whoAmI: {
3183
+ id: string;
3184
+ library: {
3185
+ id: string;
3186
+ };
3187
+ };
3188
+ }> | null;
3189
+ } | null;
3190
+ };
3191
+ export type TreeAttributeDetailsFragment = {
3192
+ id: string;
3193
+ label?: any | null;
3194
+ linked_tree?: {
3195
+ id: string;
3196
+ label?: any | null;
3197
+ } | null;
3176
3198
  };
3177
3199
  export type AttributePropertiesFragment = {
3178
3200
  id: string;
@@ -4608,6 +4630,33 @@ export type ActivateRecordsMutation = {
4608
4630
  };
4609
4631
  }>;
4610
4632
  };
4633
+ export type CreateEmptyRecordMutationVariables = Exact<{
4634
+ library: Scalars['ID'];
4635
+ }>;
4636
+ export type CreateEmptyRecordMutation = {
4637
+ createEmptyRecord: {
4638
+ record?: {
4639
+ id: string;
4640
+ whoAmI: {
4641
+ id: string;
4642
+ label?: string | null;
4643
+ subLabel?: string | null;
4644
+ color?: string | null;
4645
+ preview?: IPreviewScalar | null;
4646
+ library: {
4647
+ id: string;
4648
+ label?: any | null;
4649
+ };
4650
+ };
4651
+ } | null;
4652
+ valuesErrors?: Array<{
4653
+ type: string;
4654
+ attribute: string;
4655
+ input?: string | null;
4656
+ message: string;
4657
+ }> | null;
4658
+ };
4659
+ };
4611
4660
  export type CreateRecordMutationVariables = Exact<{
4612
4661
  library: Scalars['ID'];
4613
4662
  data?: InputMaybe<CreateRecordDataInput>;
@@ -6307,128 +6356,6 @@ export type DeleteValueMutation = {
6307
6356
  } | null> | null;
6308
6357
  }>;
6309
6358
  };
6310
- export type RunActionsListAndFormatOnValueQueryVariables = Exact<{
6311
- library: Scalars['ID'];
6312
- value?: InputMaybe<ValueBatchInput>;
6313
- version?: InputMaybe<Array<InputMaybe<ValueVersionInput>> | InputMaybe<ValueVersionInput>>;
6314
- }>;
6315
- export type RunActionsListAndFormatOnValueQuery = {
6316
- runActionsListAndFormatOnValue: Array<{
6317
- id_value?: string | null;
6318
- isInherited?: boolean | null;
6319
- isCalculated?: boolean | null;
6320
- modified_at?: number | null;
6321
- created_at?: number | null;
6322
- payload?: any | null;
6323
- raw_payload?: any | null;
6324
- value?: any | null;
6325
- raw_value?: any | null;
6326
- modified_by?: {
6327
- id: string;
6328
- whoAmI: {
6329
- id: string;
6330
- label?: string | null;
6331
- subLabel?: string | null;
6332
- color?: string | null;
6333
- preview?: IPreviewScalar | null;
6334
- library: {
6335
- id: string;
6336
- label?: any | null;
6337
- };
6338
- };
6339
- } | null;
6340
- created_by?: {
6341
- id: string;
6342
- whoAmI: {
6343
- id: string;
6344
- label?: string | null;
6345
- subLabel?: string | null;
6346
- color?: string | null;
6347
- preview?: IPreviewScalar | null;
6348
- library: {
6349
- id: string;
6350
- label?: any | null;
6351
- };
6352
- };
6353
- } | null;
6354
- version?: Array<{
6355
- treeId: string;
6356
- treeNode?: {
6357
- id: string;
6358
- record: {
6359
- id: string;
6360
- whoAmI: {
6361
- id: string;
6362
- label?: string | null;
6363
- library: {
6364
- id: string;
6365
- };
6366
- };
6367
- };
6368
- } | null;
6369
- } | null> | null;
6370
- attribute: {
6371
- id: string;
6372
- format?: AttributeFormat | null;
6373
- type: AttributeType;
6374
- system: boolean;
6375
- };
6376
- metadata?: Array<{
6377
- name: string;
6378
- value?: {
6379
- id_value?: string | null;
6380
- modified_at?: number | null;
6381
- created_at?: number | null;
6382
- payload?: any | null;
6383
- raw_payload?: any | null;
6384
- modified_by?: {
6385
- id: string;
6386
- whoAmI: {
6387
- id: string;
6388
- label?: string | null;
6389
- subLabel?: string | null;
6390
- color?: string | null;
6391
- preview?: IPreviewScalar | null;
6392
- library: {
6393
- id: string;
6394
- label?: any | null;
6395
- };
6396
- };
6397
- } | null;
6398
- created_by?: {
6399
- id: string;
6400
- whoAmI: {
6401
- id: string;
6402
- label?: string | null;
6403
- subLabel?: string | null;
6404
- color?: string | null;
6405
- preview?: IPreviewScalar | null;
6406
- library: {
6407
- id: string;
6408
- label?: any | null;
6409
- };
6410
- };
6411
- } | null;
6412
- version?: Array<{
6413
- treeId: string;
6414
- treeNode?: {
6415
- id: string;
6416
- record: {
6417
- id: string;
6418
- whoAmI: {
6419
- id: string;
6420
- label?: string | null;
6421
- library: {
6422
- id: string;
6423
- };
6424
- };
6425
- };
6426
- } | null;
6427
- } | null> | null;
6428
- } | null;
6429
- } | null> | null;
6430
- }>;
6431
- };
6432
6359
  export type SaveValueBatchMutationVariables = Exact<{
6433
6360
  library: Scalars['ID'];
6434
6361
  recordId: Scalars['ID'];
@@ -7102,6 +7029,19 @@ export type ExplorerAttributesQuery = {
7102
7029
  id: string;
7103
7030
  label?: any | null;
7104
7031
  } | null;
7032
+ values_list?: {
7033
+ allowFreeEntry?: boolean | null;
7034
+ enable: boolean;
7035
+ values?: Array<{
7036
+ id: string;
7037
+ whoAmI: {
7038
+ id: string;
7039
+ library: {
7040
+ id: string;
7041
+ };
7042
+ };
7043
+ }> | null;
7044
+ } | null;
7105
7045
  permissions: {
7106
7046
  access_attribute: boolean;
7107
7047
  };
@@ -7113,6 +7053,18 @@ export type ExplorerAttributesQuery = {
7113
7053
  permissions: {
7114
7054
  access_attribute: boolean;
7115
7055
  };
7056
+ } | {
7057
+ id: string;
7058
+ type: AttributeType;
7059
+ format?: AttributeFormat | null;
7060
+ label?: any | null;
7061
+ linked_tree?: {
7062
+ id: string;
7063
+ label?: any | null;
7064
+ } | null;
7065
+ permissions: {
7066
+ access_attribute: boolean;
7067
+ };
7116
7068
  }>;
7117
7069
  } | null;
7118
7070
  };
@@ -7129,6 +7081,19 @@ export type ExplorerLinkAttributeQuery = {
7129
7081
  id: string;
7130
7082
  label?: any | null;
7131
7083
  } | null;
7084
+ values_list?: {
7085
+ allowFreeEntry?: boolean | null;
7086
+ enable: boolean;
7087
+ values?: Array<{
7088
+ id: string;
7089
+ whoAmI: {
7090
+ id: string;
7091
+ library: {
7092
+ id: string;
7093
+ };
7094
+ };
7095
+ }> | null;
7096
+ } | null;
7132
7097
  permissions: {
7133
7098
  access_attribute: boolean;
7134
7099
  edit_value: boolean;
@@ -7140,6 +7105,18 @@ export type ExplorerLinkAttributeQuery = {
7140
7105
  access_attribute: boolean;
7141
7106
  edit_value: boolean;
7142
7107
  };
7108
+ } | {
7109
+ label?: any | null;
7110
+ id: string;
7111
+ multiple_values: boolean;
7112
+ linked_tree?: {
7113
+ id: string;
7114
+ label?: any | null;
7115
+ } | null;
7116
+ permissions: {
7117
+ access_attribute: boolean;
7118
+ edit_value: boolean;
7119
+ };
7143
7120
  }>;
7144
7121
  } | null;
7145
7122
  };
@@ -7450,23 +7427,6 @@ export type UpdateViewMutation = {
7450
7427
  }> | null;
7451
7428
  };
7452
7429
  };
7453
- export type GetJoinLibraryMandatoryAttributeValuesQueryVariables = Exact<{
7454
- joinLibraryId: Scalars['ID'];
7455
- filters?: InputMaybe<Array<InputMaybe<RecordFilterInput>> | InputMaybe<RecordFilterInput>>;
7456
- mandatoryAttributeId: Scalars['ID'];
7457
- }>;
7458
- export type GetJoinLibraryMandatoryAttributeValuesQuery = {
7459
- records: {
7460
- list: Array<{
7461
- id: string;
7462
- property: Array<{
7463
- payload?: {
7464
- id: string;
7465
- } | null;
7466
- }>;
7467
- }>;
7468
- };
7469
- };
7470
7430
  export type TreeDataQueryQueryVariables = Exact<{
7471
7431
  treeId: Scalars['ID'];
7472
7432
  }>;
@@ -7503,6 +7463,7 @@ export declare const ViewDetailsFragmentDoc: Apollo.DocumentNode;
7503
7463
  export declare const AttributesByLibLinkAttributeWithPermissionsFragmentDoc: Apollo.DocumentNode;
7504
7464
  export declare const AttributesByLibAttributeWithPermissionsFragmentDoc: Apollo.DocumentNode;
7505
7465
  export declare const LinkAttributeDetailsFragmentDoc: Apollo.DocumentNode;
7466
+ export declare const TreeAttributeDetailsFragmentDoc: Apollo.DocumentNode;
7506
7467
  export declare const AttributePropertiesFragmentDoc: Apollo.DocumentNode;
7507
7468
  export declare const PropertyValueFragmentDoc: Apollo.DocumentNode;
7508
7469
  export declare const LinkPropertyFragmentDoc: Apollo.DocumentNode;
@@ -8398,6 +8359,31 @@ export declare function useActivateRecordsMutation(baseOptions?: Apollo.Mutation
8398
8359
  export type ActivateRecordsMutationHookResult = ReturnType<typeof useActivateRecordsMutation>;
8399
8360
  export type ActivateRecordsMutationResult = Apollo.MutationResult<ActivateRecordsMutation>;
8400
8361
  export type ActivateRecordsMutationOptions = Apollo.BaseMutationOptions<ActivateRecordsMutation, ActivateRecordsMutationVariables>;
8362
+ export declare const CreateEmptyRecordDocument: Apollo.DocumentNode;
8363
+ export type CreateEmptyRecordMutationFn = Apollo.MutationFunction<CreateEmptyRecordMutation, CreateEmptyRecordMutationVariables>;
8364
+ /**
8365
+ * __useCreateEmptyRecordMutation__
8366
+ *
8367
+ * To run a mutation, you first call `useCreateEmptyRecordMutation` within a React component and pass it any options that fit your needs.
8368
+ * When your component renders, `useCreateEmptyRecordMutation` returns a tuple that includes:
8369
+ * - A mutate function that you can call at any time to execute the mutation
8370
+ * - An object with fields that represent the current status of the mutation's execution
8371
+ *
8372
+ * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
8373
+ *
8374
+ * @example
8375
+ * const [createEmptyRecordMutation, { data, loading, error }] = useCreateEmptyRecordMutation({
8376
+ * variables: {
8377
+ * library: // value for 'library'
8378
+ * },
8379
+ * });
8380
+ */
8381
+ export declare function useCreateEmptyRecordMutation(baseOptions?: Apollo.MutationHookOptions<CreateEmptyRecordMutation, CreateEmptyRecordMutationVariables>): Apollo.MutationTuple<CreateEmptyRecordMutation, Exact<{
8382
+ library: Scalars["ID"];
8383
+ }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
8384
+ export type CreateEmptyRecordMutationHookResult = ReturnType<typeof useCreateEmptyRecordMutation>;
8385
+ export type CreateEmptyRecordMutationResult = Apollo.MutationResult<CreateEmptyRecordMutation>;
8386
+ export type CreateEmptyRecordMutationOptions = Apollo.BaseMutationOptions<CreateEmptyRecordMutation, CreateEmptyRecordMutationVariables>;
8401
8387
  export declare const CreateRecordDocument: Apollo.DocumentNode;
8402
8388
  export type CreateRecordMutationFn = Apollo.MutationFunction<CreateRecordMutation, CreateRecordMutationVariables>;
8403
8389
  /**
@@ -8993,44 +8979,6 @@ export declare function useDeleteValueMutation(baseOptions?: Apollo.MutationHook
8993
8979
  export type DeleteValueMutationHookResult = ReturnType<typeof useDeleteValueMutation>;
8994
8980
  export type DeleteValueMutationResult = Apollo.MutationResult<DeleteValueMutation>;
8995
8981
  export type DeleteValueMutationOptions = Apollo.BaseMutationOptions<DeleteValueMutation, DeleteValueMutationVariables>;
8996
- export declare const RunActionsListAndFormatOnValueDocument: Apollo.DocumentNode;
8997
- /**
8998
- * __useRunActionsListAndFormatOnValueQuery__
8999
- *
9000
- * To run a query within a React component, call `useRunActionsListAndFormatOnValueQuery` and pass it any options that fit your needs.
9001
- * When your component renders, `useRunActionsListAndFormatOnValueQuery` returns an object from Apollo Client that contains loading, error, and data properties
9002
- * you can use to render your UI.
9003
- *
9004
- * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
9005
- *
9006
- * @example
9007
- * const { data, loading, error } = useRunActionsListAndFormatOnValueQuery({
9008
- * variables: {
9009
- * library: // value for 'library'
9010
- * value: // value for 'value'
9011
- * version: // value for 'version'
9012
- * },
9013
- * });
9014
- */
9015
- export declare function useRunActionsListAndFormatOnValueQuery(baseOptions: Apollo.QueryHookOptions<RunActionsListAndFormatOnValueQuery, RunActionsListAndFormatOnValueQueryVariables>): Apollo.QueryResult<RunActionsListAndFormatOnValueQuery, Exact<{
9016
- library: Scalars["ID"];
9017
- value?: InputMaybe<ValueBatchInput>;
9018
- version?: InputMaybe<Array<InputMaybe<ValueVersionInput>> | InputMaybe<ValueVersionInput>>;
9019
- }>>;
9020
- export declare function useRunActionsListAndFormatOnValueLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<RunActionsListAndFormatOnValueQuery, RunActionsListAndFormatOnValueQueryVariables>): Apollo.LazyQueryResultTuple<RunActionsListAndFormatOnValueQuery, Exact<{
9021
- library: Scalars["ID"];
9022
- value?: InputMaybe<ValueBatchInput>;
9023
- version?: InputMaybe<Array<InputMaybe<ValueVersionInput>> | InputMaybe<ValueVersionInput>>;
9024
- }>>;
9025
- export declare function useRunActionsListAndFormatOnValueSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions<RunActionsListAndFormatOnValueQuery, RunActionsListAndFormatOnValueQueryVariables>): Apollo.UseSuspenseQueryResult<RunActionsListAndFormatOnValueQuery, Exact<{
9026
- library: Scalars["ID"];
9027
- value?: InputMaybe<ValueBatchInput>;
9028
- version?: InputMaybe<Array<InputMaybe<ValueVersionInput>> | InputMaybe<ValueVersionInput>>;
9029
- }>>;
9030
- export type RunActionsListAndFormatOnValueQueryHookResult = ReturnType<typeof useRunActionsListAndFormatOnValueQuery>;
9031
- export type RunActionsListAndFormatOnValueLazyQueryHookResult = ReturnType<typeof useRunActionsListAndFormatOnValueLazyQuery>;
9032
- export type RunActionsListAndFormatOnValueSuspenseQueryHookResult = ReturnType<typeof useRunActionsListAndFormatOnValueSuspenseQuery>;
9033
- export type RunActionsListAndFormatOnValueQueryResult = Apollo.QueryResult<RunActionsListAndFormatOnValueQuery, RunActionsListAndFormatOnValueQueryVariables>;
9034
8982
  export declare const SaveValueBatchDocument: Apollo.DocumentNode;
9035
8983
  export type SaveValueBatchMutationFn = Apollo.MutationFunction<SaveValueBatchMutation, SaveValueBatchMutationVariables>;
9036
8984
  /**
@@ -9504,44 +9452,6 @@ export declare function useUpdateViewMutation(baseOptions?: Apollo.MutationHookO
9504
9452
  export type UpdateViewMutationHookResult = ReturnType<typeof useUpdateViewMutation>;
9505
9453
  export type UpdateViewMutationResult = Apollo.MutationResult<UpdateViewMutation>;
9506
9454
  export type UpdateViewMutationOptions = Apollo.BaseMutationOptions<UpdateViewMutation, UpdateViewMutationVariables>;
9507
- export declare const GetJoinLibraryMandatoryAttributeValuesDocument: Apollo.DocumentNode;
9508
- /**
9509
- * __useGetJoinLibraryMandatoryAttributeValuesQuery__
9510
- *
9511
- * To run a query within a React component, call `useGetJoinLibraryMandatoryAttributeValuesQuery` and pass it any options that fit your needs.
9512
- * When your component renders, `useGetJoinLibraryMandatoryAttributeValuesQuery` returns an object from Apollo Client that contains loading, error, and data properties
9513
- * you can use to render your UI.
9514
- *
9515
- * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
9516
- *
9517
- * @example
9518
- * const { data, loading, error } = useGetJoinLibraryMandatoryAttributeValuesQuery({
9519
- * variables: {
9520
- * joinLibraryId: // value for 'joinLibraryId'
9521
- * filters: // value for 'filters'
9522
- * mandatoryAttributeId: // value for 'mandatoryAttributeId'
9523
- * },
9524
- * });
9525
- */
9526
- export declare function useGetJoinLibraryMandatoryAttributeValuesQuery(baseOptions: Apollo.QueryHookOptions<GetJoinLibraryMandatoryAttributeValuesQuery, GetJoinLibraryMandatoryAttributeValuesQueryVariables>): Apollo.QueryResult<GetJoinLibraryMandatoryAttributeValuesQuery, Exact<{
9527
- joinLibraryId: Scalars["ID"];
9528
- filters?: InputMaybe<Array<InputMaybe<RecordFilterInput>> | InputMaybe<RecordFilterInput>>;
9529
- mandatoryAttributeId: Scalars["ID"];
9530
- }>>;
9531
- export declare function useGetJoinLibraryMandatoryAttributeValuesLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<GetJoinLibraryMandatoryAttributeValuesQuery, GetJoinLibraryMandatoryAttributeValuesQueryVariables>): Apollo.LazyQueryResultTuple<GetJoinLibraryMandatoryAttributeValuesQuery, Exact<{
9532
- joinLibraryId: Scalars["ID"];
9533
- filters?: InputMaybe<Array<InputMaybe<RecordFilterInput>> | InputMaybe<RecordFilterInput>>;
9534
- mandatoryAttributeId: Scalars["ID"];
9535
- }>>;
9536
- export declare function useGetJoinLibraryMandatoryAttributeValuesSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions<GetJoinLibraryMandatoryAttributeValuesQuery, GetJoinLibraryMandatoryAttributeValuesQueryVariables>): Apollo.UseSuspenseQueryResult<GetJoinLibraryMandatoryAttributeValuesQuery, Exact<{
9537
- joinLibraryId: Scalars["ID"];
9538
- filters?: InputMaybe<Array<InputMaybe<RecordFilterInput>> | InputMaybe<RecordFilterInput>>;
9539
- mandatoryAttributeId: Scalars["ID"];
9540
- }>>;
9541
- export type GetJoinLibraryMandatoryAttributeValuesQueryHookResult = ReturnType<typeof useGetJoinLibraryMandatoryAttributeValuesQuery>;
9542
- export type GetJoinLibraryMandatoryAttributeValuesLazyQueryHookResult = ReturnType<typeof useGetJoinLibraryMandatoryAttributeValuesLazyQuery>;
9543
- export type GetJoinLibraryMandatoryAttributeValuesSuspenseQueryHookResult = ReturnType<typeof useGetJoinLibraryMandatoryAttributeValuesSuspenseQuery>;
9544
- export type GetJoinLibraryMandatoryAttributeValuesQueryResult = Apollo.QueryResult<GetJoinLibraryMandatoryAttributeValuesQuery, GetJoinLibraryMandatoryAttributeValuesQueryVariables>;
9545
9455
  export declare const TreeDataQueryDocument: Apollo.DocumentNode;
9546
9456
  /**
9547
9457
  * __useTreeDataQueryQuery__