@leav/ui 0.4.0-8a31349 → 0.4.0-8e7c1f94

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 (123) hide show
  1. package/README.md +1 -0
  2. package/dist/_gqlTypes/index.d.ts +944 -3
  3. package/dist/_gqlTypes/index.js +140 -2
  4. package/dist/_gqlTypes/index.js.map +1 -1
  5. package/dist/_queries/attributes/attributeDetailsFragment.js +1 -0
  6. package/dist/_queries/attributes/attributeDetailsFragment.js.map +1 -1
  7. package/dist/_queries/records/activateRecordsMutation.d.ts +1 -0
  8. package/dist/_queries/records/activateRecordsMutation.js +15 -0
  9. package/dist/_queries/records/activateRecordsMutation.js.map +1 -0
  10. package/dist/_queries/records/getRecordFormQuery.js +9 -0
  11. package/dist/_queries/records/getRecordFormQuery.js.map +1 -1
  12. package/dist/components/Explorer/DataView.d.ts +2 -1
  13. package/dist/components/Explorer/DataView.js +13 -10
  14. package/dist/components/Explorer/DataView.js.map +1 -1
  15. package/dist/components/Explorer/Explorer.d.ts +5 -4
  16. package/dist/components/Explorer/Explorer.js +7 -5
  17. package/dist/components/Explorer/Explorer.js.map +1 -1
  18. package/dist/components/Explorer/ExplorerToolbar.js +4 -3
  19. package/dist/components/Explorer/ExplorerToolbar.js.map +1 -1
  20. package/dist/components/Explorer/TableCell.js +19 -8
  21. package/dist/components/Explorer/TableCell.js.map +1 -1
  22. package/dist/components/Explorer/_queries/useExplorerData.js +7 -3
  23. package/dist/components/Explorer/_queries/useExplorerData.js.map +1 -1
  24. package/dist/components/Explorer/_types.d.ts +7 -2
  25. package/dist/components/Explorer/_types.js.map +1 -1
  26. package/dist/components/Explorer/actions-item/{useRemoveItemAction.d.ts → useEditStatusItemAction.d.ts} +2 -2
  27. package/dist/components/Explorer/actions-item/{useRemoveItemAction.js → useEditStatusItemAction.js} +71 -24
  28. package/dist/components/Explorer/actions-item/useEditStatusItemAction.js.map +1 -0
  29. package/dist/components/Explorer/actions-primary/useCreatePrimaryAction.d.ts +3 -1
  30. package/dist/components/Explorer/actions-primary/useCreatePrimaryAction.js +14 -6
  31. package/dist/components/Explorer/actions-primary/useCreatePrimaryAction.js.map +1 -1
  32. package/dist/components/Explorer/manage-view-settings/_shared/useTransformFilters.js +4 -0
  33. package/dist/components/Explorer/manage-view-settings/_shared/useTransformFilters.js.map +1 -1
  34. package/dist/components/Explorer/useViewSettingsReducer.js +6 -2
  35. package/dist/components/Explorer/useViewSettingsReducer.js.map +1 -1
  36. package/dist/components/LibraryItemsList/FiltersPanel/Filter/Filter.js +2 -2
  37. package/dist/components/LibraryItemsList/FiltersPanel/Filter/Filter.js.map +1 -1
  38. package/dist/components/LibraryItemsList/FiltersPanel/Filter/Filter.utils.js +2 -2
  39. package/dist/components/LibraryItemsList/FiltersPanel/Filter/Filter.utils.js.map +1 -1
  40. package/dist/components/LinkSelect/LinkSelect.d.ts +15 -0
  41. package/dist/components/LinkSelect/LinkSelect.js +88 -0
  42. package/dist/components/LinkSelect/LinkSelect.js.map +1 -0
  43. package/dist/components/LinkSelect/index.d.ts +2 -0
  44. package/dist/components/{SelectTreeNodeModal → LinkSelect}/index.js +2 -1
  45. package/dist/components/LinkSelect/index.js.map +1 -0
  46. package/dist/components/RecordEdition/EditRecord/EditRecord.js +1 -1
  47. package/dist/components/RecordEdition/EditRecord/EditRecord.js.map +1 -1
  48. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/LinkField.d.ts +2 -2
  49. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/LinkField.js +7 -4
  50. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/LinkField.js.map +1 -1
  51. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record-in-creation/useLinkRecordsInCreation.js +2 -2
  52. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record-in-creation/useLinkRecordsInCreation.js.map +1 -1
  53. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record-in-edition/useLinkRecordsInEdition.d.ts +4 -2
  54. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record-in-edition/useLinkRecordsInEdition.js +258 -52
  55. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record-in-edition/useLinkRecordsInEdition.js.map +1 -1
  56. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardField.js +1 -1
  57. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardField.js.map +1 -1
  58. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/ValuesList/DSListSelect.js +3 -3
  59. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/ValuesList/DSListSelect.js.map +1 -1
  60. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/TreeField.js +4 -3
  61. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/TreeField.js.map +1 -1
  62. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/display-tree-node/TreeNodeItem.d.ts +2 -1
  63. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/display-tree-node/TreeNodeItem.js +2 -2
  64. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/display-tree-node/TreeNodeItem.js.map +1 -1
  65. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/display-tree-node/useDisplayTreeNode.d.ts +2 -1
  66. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/display-tree-node/useDisplayTreeNode.js +2 -2
  67. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/display-tree-node/useDisplayTreeNode.js.map +1 -1
  68. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/manage-tree-node-selection/SelectTreeNodeModal.d.ts +21 -2
  69. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/manage-tree-node-selection/SelectTreeNodeModal.js +8 -5
  70. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/manage-tree-node-selection/SelectTreeNodeModal.js.map +1 -1
  71. package/dist/components/RecordEdition/EditRecordModal/EditRecordModal.d.ts +1 -0
  72. package/dist/components/RecordEdition/EditRecordModal/EditRecordModal.js +2 -2
  73. package/dist/components/RecordEdition/EditRecordModal/EditRecordModal.js.map +1 -1
  74. package/dist/components/RecordEdition/EditRecordPage/EditRecordPage.d.ts +1 -0
  75. package/dist/components/RecordEdition/EditRecordPage/EditRecordPage.js +2 -2
  76. package/dist/components/RecordEdition/EditRecordPage/EditRecordPage.js.map +1 -1
  77. package/dist/components/RecordEdition/index.d.ts +3 -0
  78. package/dist/components/RecordEdition/index.js +3 -0
  79. package/dist/components/RecordEdition/index.js.map +1 -1
  80. package/dist/components/SelectRecordForLinkModal/SelectRecordForLinkModal.d.ts +2 -1
  81. package/dist/components/SelectRecordForLinkModal/SelectRecordForLinkModal.js +2 -2
  82. package/dist/components/SelectRecordForLinkModal/SelectRecordForLinkModal.js.map +1 -1
  83. package/dist/components/{SelectTreeNodeModal/SelectTreeNodeModal.d.ts → SelectTreeNodeModalOld/SelectTreeNodeModalOld.d.ts} +1 -1
  84. package/dist/components/{SelectTreeNodeModal/SelectTreeNodeModal.js → SelectTreeNodeModalOld/SelectTreeNodeModalOld.js} +4 -2
  85. package/dist/components/SelectTreeNodeModalOld/SelectTreeNodeModalOld.js.map +1 -0
  86. package/dist/components/SelectTreeNodeModalOld/index.d.ts +1 -0
  87. package/dist/components/SelectTreeNodeModalOld/index.js +5 -0
  88. package/dist/components/SelectTreeNodeModalOld/index.js.map +1 -0
  89. package/dist/components/ValuesVersionConfigurator/VersionTree/VersionTree.js +2 -2
  90. package/dist/components/ValuesVersionConfigurator/VersionTree/VersionTree.js.map +1 -1
  91. package/dist/components/index.d.ts +1 -2
  92. package/dist/components/index.js +1 -2
  93. package/dist/components/index.js.map +1 -1
  94. package/dist/contexts/LangContext/LangContext.d.ts +1 -2
  95. package/dist/contexts/LangContext/LangContext.js +2 -2
  96. package/dist/contexts/LangContext/LangContext.js.map +1 -1
  97. package/dist/hooks/index.d.ts +1 -0
  98. package/dist/hooks/index.js +1 -0
  99. package/dist/hooks/index.js.map +1 -1
  100. package/dist/hooks/useGetRecordForm/useGetRecordForm.js +1 -1
  101. package/dist/hooks/useGetRecordForm/useGetRecordForm.js.map +1 -1
  102. package/dist/hooks/useIFrameMessenger/messageHandlers.d.ts +14 -0
  103. package/dist/hooks/useIFrameMessenger/messageHandlers.js +118 -0
  104. package/dist/hooks/useIFrameMessenger/messageHandlers.js.map +1 -0
  105. package/dist/hooks/useIFrameMessenger/schema.d.ts +20 -0
  106. package/dist/hooks/useIFrameMessenger/schema.js +75 -0
  107. package/dist/hooks/useIFrameMessenger/schema.js.map +1 -0
  108. package/dist/hooks/useIFrameMessenger/types.d.ts +104 -0
  109. package/dist/hooks/useIFrameMessenger/types.js +2 -0
  110. package/dist/hooks/useIFrameMessenger/types.js.map +1 -0
  111. package/dist/hooks/useIFrameMessenger/useIFrameMessenger.d.ts +11 -0
  112. package/dist/hooks/useIFrameMessenger/useIFrameMessenger.js +73 -0
  113. package/dist/hooks/useIFrameMessenger/useIFrameMessenger.js.map +1 -0
  114. package/dist/hooks/useRedirectToLogin/useRedirectToLogin.js +1 -1
  115. package/dist/hooks/useRedirectToLogin/useRedirectToLogin.js.map +1 -1
  116. package/dist/locales/en/shared.json +5 -0
  117. package/dist/locales/fr/shared.json +5 -0
  118. package/dist/types/attributes.d.ts +2 -1
  119. package/package.json +7 -5
  120. package/dist/components/Explorer/actions-item/useRemoveItemAction.js.map +0 -1
  121. package/dist/components/SelectTreeNodeModal/SelectTreeNodeModal.js.map +0 -1
  122. package/dist/components/SelectTreeNodeModal/index.d.ts +0 -1
  123. package/dist/components/SelectTreeNodeModal/index.js.map +0 -1
@@ -136,6 +136,7 @@ export type AttributeInput = {
136
136
  linked_library?: InputMaybe<Scalars['String']>;
137
137
  linked_tree?: InputMaybe<Scalars['String']>;
138
138
  metadata_fields?: InputMaybe<Array<Scalars['String']>>;
139
+ multi_link_display_option?: InputMaybe<MultiLinkDisplayOption>;
139
140
  multiple_values?: InputMaybe<Scalars['Boolean']>;
140
141
  permissions_conf?: InputMaybe<TreepermissionsConfInput>;
141
142
  readonly?: InputMaybe<Scalars['Boolean']>;
@@ -309,12 +310,12 @@ export type LibraryIconInput = {
309
310
  export type LibraryInput = {
310
311
  attributes?: InputMaybe<Array<Scalars['ID']>>;
311
312
  behavior?: InputMaybe<LibraryBehavior>;
312
- mandatoryAttribute?: InputMaybe<Scalars['ID']>;
313
313
  defaultView?: InputMaybe<Scalars['ID']>;
314
314
  fullTextAttributes?: InputMaybe<Array<Scalars['ID']>>;
315
315
  icon?: InputMaybe<LibraryIconInput>;
316
316
  id: Scalars['ID'];
317
317
  label?: InputMaybe<Scalars['SystemTranslation']>;
318
+ mandatoryAttribute?: InputMaybe<Scalars['ID']>;
318
319
  permissions_conf?: InputMaybe<TreepermissionsConfInput>;
319
320
  previewsSettings?: InputMaybe<Array<LibraryPreviewsSettingsInput>>;
320
321
  recordIdentityConf?: InputMaybe<RecordIdentityConfInput>;
@@ -345,7 +346,6 @@ export declare enum LogAction {
345
346
  PERMISSION_SAVE = "PERMISSION_SAVE",
346
347
  RECORD_DELETE = "RECORD_DELETE",
347
348
  RECORD_SAVE = "RECORD_SAVE",
348
- SDO_LOG_EXPORT_RECORD = "SDO_LOG_EXPORT_RECORD",
349
349
  TASKS_DELETE = "TASKS_DELETE",
350
350
  TREE_ADD_ELEMENT = "TREE_ADD_ELEMENT",
351
351
  TREE_DELETE = "TREE_DELETE",
@@ -400,6 +400,11 @@ export type LogTopicRecordFilterInput = {
400
400
  id?: InputMaybe<Scalars['String']>;
401
401
  libraryId?: InputMaybe<Scalars['String']>;
402
402
  };
403
+ export declare enum MultiLinkDisplayOption {
404
+ avatar = "avatar",
405
+ badge_qty = "badge_qty",
406
+ tag = "tag"
407
+ }
403
408
  export type Pagination = {
404
409
  limit: Scalars['Int'];
405
410
  offset: Scalars['Int'];
@@ -837,6 +842,7 @@ export type AttributeDetailsLinkAttributeFragment = {
837
842
  label?: any | null;
838
843
  description?: any | null;
839
844
  multiple_values: boolean;
845
+ multi_link_display_option?: MultiLinkDisplayOption | null;
840
846
  linked_library?: {
841
847
  id: string;
842
848
  label?: any | null;
@@ -874,6 +880,7 @@ export type AttributeDetailsStandardAttributeFragment = {
874
880
  label?: any | null;
875
881
  description?: any | null;
876
882
  multiple_values: boolean;
883
+ multi_link_display_option?: MultiLinkDisplayOption | null;
877
884
  metadata_fields?: Array<{
878
885
  id: string;
879
886
  label?: any | null;
@@ -906,6 +913,7 @@ export type AttributeDetailsTreeAttributeFragment = {
906
913
  label?: any | null;
907
914
  description?: any | null;
908
915
  multiple_values: boolean;
916
+ multi_link_display_option?: MultiLinkDisplayOption | null;
909
917
  linked_tree?: {
910
918
  id: string;
911
919
  label?: any | null;
@@ -1764,6 +1772,261 @@ export type RecordFormElementFragment = {
1764
1772
  key: string;
1765
1773
  value: any;
1766
1774
  }>;
1775
+ joinLibraryContext?: {
1776
+ mandatoryAttribute: {
1777
+ id: string;
1778
+ label?: any | null;
1779
+ description?: any | null;
1780
+ type: AttributeType;
1781
+ format?: AttributeFormat | null;
1782
+ system: boolean;
1783
+ readonly: boolean;
1784
+ required: boolean;
1785
+ multiple_values: boolean;
1786
+ compute: boolean;
1787
+ linked_library?: {
1788
+ id: string;
1789
+ label?: any | null;
1790
+ behavior: LibraryBehavior;
1791
+ permissions?: {
1792
+ create_record: boolean;
1793
+ } | null;
1794
+ } | null;
1795
+ linkValuesList?: {
1796
+ enable: boolean;
1797
+ allowFreeEntry?: boolean | null;
1798
+ allowListUpdate?: boolean | null;
1799
+ values?: Array<{
1800
+ id: string;
1801
+ whoAmI: {
1802
+ id: string;
1803
+ label?: string | null;
1804
+ subLabel?: string | null;
1805
+ color?: string | null;
1806
+ preview?: IPreviewScalar | null;
1807
+ library: {
1808
+ id: string;
1809
+ label?: any | null;
1810
+ };
1811
+ };
1812
+ }> | null;
1813
+ } | null;
1814
+ permissions: {
1815
+ access_attribute: boolean;
1816
+ edit_value: boolean;
1817
+ };
1818
+ versions_conf?: {
1819
+ versionable: boolean;
1820
+ profile?: {
1821
+ id: string;
1822
+ trees: Array<{
1823
+ id: string;
1824
+ label?: any | null;
1825
+ }>;
1826
+ } | null;
1827
+ } | null;
1828
+ metadata_fields?: Array<{
1829
+ id: string;
1830
+ label?: any | null;
1831
+ description?: any | null;
1832
+ type: AttributeType;
1833
+ format?: AttributeFormat | null;
1834
+ system: boolean;
1835
+ readonly: boolean;
1836
+ multiple_values: boolean;
1837
+ permissions: {
1838
+ access_attribute: boolean;
1839
+ edit_value: boolean;
1840
+ };
1841
+ values_list?: {
1842
+ enable: boolean;
1843
+ allowFreeEntry?: boolean | null;
1844
+ allowListUpdate?: boolean | null;
1845
+ dateRangeValues?: Array<{
1846
+ from?: string | null;
1847
+ to?: string | null;
1848
+ }> | null;
1849
+ } | {
1850
+ enable: boolean;
1851
+ allowFreeEntry?: boolean | null;
1852
+ allowListUpdate?: boolean | null;
1853
+ values?: Array<string> | null;
1854
+ } | null;
1855
+ metadata_fields?: Array<{
1856
+ id: string;
1857
+ }> | null;
1858
+ }> | null;
1859
+ } | {
1860
+ character_limit?: number | null;
1861
+ id: string;
1862
+ label?: any | null;
1863
+ description?: any | null;
1864
+ type: AttributeType;
1865
+ format?: AttributeFormat | null;
1866
+ system: boolean;
1867
+ readonly: boolean;
1868
+ required: boolean;
1869
+ multiple_values: boolean;
1870
+ compute: boolean;
1871
+ values_list?: {
1872
+ enable: boolean;
1873
+ allowFreeEntry?: boolean | null;
1874
+ allowListUpdate?: boolean | null;
1875
+ dateRangeValues?: Array<{
1876
+ from?: string | null;
1877
+ to?: string | null;
1878
+ }> | null;
1879
+ } | {
1880
+ enable: boolean;
1881
+ allowFreeEntry?: boolean | null;
1882
+ allowListUpdate?: boolean | null;
1883
+ values?: Array<string> | null;
1884
+ } | null;
1885
+ permissions: {
1886
+ access_attribute: boolean;
1887
+ edit_value: boolean;
1888
+ };
1889
+ versions_conf?: {
1890
+ versionable: boolean;
1891
+ profile?: {
1892
+ id: string;
1893
+ trees: Array<{
1894
+ id: string;
1895
+ label?: any | null;
1896
+ }>;
1897
+ } | null;
1898
+ } | null;
1899
+ metadata_fields?: Array<{
1900
+ id: string;
1901
+ label?: any | null;
1902
+ description?: any | null;
1903
+ type: AttributeType;
1904
+ format?: AttributeFormat | null;
1905
+ system: boolean;
1906
+ readonly: boolean;
1907
+ multiple_values: boolean;
1908
+ permissions: {
1909
+ access_attribute: boolean;
1910
+ edit_value: boolean;
1911
+ };
1912
+ values_list?: {
1913
+ enable: boolean;
1914
+ allowFreeEntry?: boolean | null;
1915
+ allowListUpdate?: boolean | null;
1916
+ dateRangeValues?: Array<{
1917
+ from?: string | null;
1918
+ to?: string | null;
1919
+ }> | null;
1920
+ } | {
1921
+ enable: boolean;
1922
+ allowFreeEntry?: boolean | null;
1923
+ allowListUpdate?: boolean | null;
1924
+ values?: Array<string> | null;
1925
+ } | null;
1926
+ metadata_fields?: Array<{
1927
+ id: string;
1928
+ }> | null;
1929
+ }> | null;
1930
+ } | {
1931
+ id: string;
1932
+ label?: any | null;
1933
+ description?: any | null;
1934
+ type: AttributeType;
1935
+ format?: AttributeFormat | null;
1936
+ system: boolean;
1937
+ readonly: boolean;
1938
+ required: boolean;
1939
+ multiple_values: boolean;
1940
+ compute: boolean;
1941
+ linked_tree?: {
1942
+ id: string;
1943
+ label?: any | null;
1944
+ } | null;
1945
+ treeValuesList?: {
1946
+ enable: boolean;
1947
+ allowFreeEntry?: boolean | null;
1948
+ allowListUpdate?: boolean | null;
1949
+ values?: Array<{
1950
+ id: string;
1951
+ record: {
1952
+ id: string;
1953
+ whoAmI: {
1954
+ id: string;
1955
+ label?: string | null;
1956
+ subLabel?: string | null;
1957
+ color?: string | null;
1958
+ preview?: IPreviewScalar | null;
1959
+ library: {
1960
+ id: string;
1961
+ label?: any | null;
1962
+ };
1963
+ };
1964
+ };
1965
+ ancestors?: Array<{
1966
+ record: {
1967
+ id: string;
1968
+ whoAmI: {
1969
+ id: string;
1970
+ label?: string | null;
1971
+ subLabel?: string | null;
1972
+ color?: string | null;
1973
+ preview?: IPreviewScalar | null;
1974
+ library: {
1975
+ id: string;
1976
+ label?: any | null;
1977
+ };
1978
+ };
1979
+ };
1980
+ }> | null;
1981
+ }> | null;
1982
+ } | null;
1983
+ permissions: {
1984
+ access_attribute: boolean;
1985
+ edit_value: boolean;
1986
+ };
1987
+ versions_conf?: {
1988
+ versionable: boolean;
1989
+ profile?: {
1990
+ id: string;
1991
+ trees: Array<{
1992
+ id: string;
1993
+ label?: any | null;
1994
+ }>;
1995
+ } | null;
1996
+ } | null;
1997
+ metadata_fields?: Array<{
1998
+ id: string;
1999
+ label?: any | null;
2000
+ description?: any | null;
2001
+ type: AttributeType;
2002
+ format?: AttributeFormat | null;
2003
+ system: boolean;
2004
+ readonly: boolean;
2005
+ multiple_values: boolean;
2006
+ permissions: {
2007
+ access_attribute: boolean;
2008
+ edit_value: boolean;
2009
+ };
2010
+ values_list?: {
2011
+ enable: boolean;
2012
+ allowFreeEntry?: boolean | null;
2013
+ allowListUpdate?: boolean | null;
2014
+ dateRangeValues?: Array<{
2015
+ from?: string | null;
2016
+ to?: string | null;
2017
+ }> | null;
2018
+ } | {
2019
+ enable: boolean;
2020
+ allowFreeEntry?: boolean | null;
2021
+ allowListUpdate?: boolean | null;
2022
+ values?: Array<string> | null;
2023
+ } | null;
2024
+ metadata_fields?: Array<{
2025
+ id: string;
2026
+ }> | null;
2027
+ }> | null;
2028
+ };
2029
+ } | null;
1767
2030
  };
1768
2031
  export type ValueDetailsLinkValueFragment = {
1769
2032
  id_value?: string | null;
@@ -2438,6 +2701,261 @@ export type StandardValuesListFragmentStandardStringValuesListConfFragment = {
2438
2701
  values?: Array<string> | null;
2439
2702
  };
2440
2703
  export type StandardValuesListFragmentFragment = StandardValuesListFragmentStandardDateRangeValuesListConfFragment | StandardValuesListFragmentStandardStringValuesListConfFragment;
2704
+ export type JoinLibraryContextFragment = {
2705
+ mandatoryAttribute: {
2706
+ id: string;
2707
+ label?: any | null;
2708
+ description?: any | null;
2709
+ type: AttributeType;
2710
+ format?: AttributeFormat | null;
2711
+ system: boolean;
2712
+ readonly: boolean;
2713
+ required: boolean;
2714
+ multiple_values: boolean;
2715
+ compute: boolean;
2716
+ linked_library?: {
2717
+ id: string;
2718
+ label?: any | null;
2719
+ behavior: LibraryBehavior;
2720
+ permissions?: {
2721
+ create_record: boolean;
2722
+ } | null;
2723
+ } | null;
2724
+ linkValuesList?: {
2725
+ enable: boolean;
2726
+ allowFreeEntry?: boolean | null;
2727
+ allowListUpdate?: boolean | null;
2728
+ values?: Array<{
2729
+ id: string;
2730
+ whoAmI: {
2731
+ id: string;
2732
+ label?: string | null;
2733
+ subLabel?: string | null;
2734
+ color?: string | null;
2735
+ preview?: IPreviewScalar | null;
2736
+ library: {
2737
+ id: string;
2738
+ label?: any | null;
2739
+ };
2740
+ };
2741
+ }> | null;
2742
+ } | null;
2743
+ permissions: {
2744
+ access_attribute: boolean;
2745
+ edit_value: boolean;
2746
+ };
2747
+ versions_conf?: {
2748
+ versionable: boolean;
2749
+ profile?: {
2750
+ id: string;
2751
+ trees: Array<{
2752
+ id: string;
2753
+ label?: any | null;
2754
+ }>;
2755
+ } | null;
2756
+ } | null;
2757
+ metadata_fields?: Array<{
2758
+ id: string;
2759
+ label?: any | null;
2760
+ description?: any | null;
2761
+ type: AttributeType;
2762
+ format?: AttributeFormat | null;
2763
+ system: boolean;
2764
+ readonly: boolean;
2765
+ multiple_values: boolean;
2766
+ permissions: {
2767
+ access_attribute: boolean;
2768
+ edit_value: boolean;
2769
+ };
2770
+ values_list?: {
2771
+ enable: boolean;
2772
+ allowFreeEntry?: boolean | null;
2773
+ allowListUpdate?: boolean | null;
2774
+ dateRangeValues?: Array<{
2775
+ from?: string | null;
2776
+ to?: string | null;
2777
+ }> | null;
2778
+ } | {
2779
+ enable: boolean;
2780
+ allowFreeEntry?: boolean | null;
2781
+ allowListUpdate?: boolean | null;
2782
+ values?: Array<string> | null;
2783
+ } | null;
2784
+ metadata_fields?: Array<{
2785
+ id: string;
2786
+ }> | null;
2787
+ }> | null;
2788
+ } | {
2789
+ character_limit?: number | null;
2790
+ id: string;
2791
+ label?: any | null;
2792
+ description?: any | null;
2793
+ type: AttributeType;
2794
+ format?: AttributeFormat | null;
2795
+ system: boolean;
2796
+ readonly: boolean;
2797
+ required: boolean;
2798
+ multiple_values: boolean;
2799
+ compute: boolean;
2800
+ values_list?: {
2801
+ enable: boolean;
2802
+ allowFreeEntry?: boolean | null;
2803
+ allowListUpdate?: boolean | null;
2804
+ dateRangeValues?: Array<{
2805
+ from?: string | null;
2806
+ to?: string | null;
2807
+ }> | null;
2808
+ } | {
2809
+ enable: boolean;
2810
+ allowFreeEntry?: boolean | null;
2811
+ allowListUpdate?: boolean | null;
2812
+ values?: Array<string> | null;
2813
+ } | null;
2814
+ permissions: {
2815
+ access_attribute: boolean;
2816
+ edit_value: boolean;
2817
+ };
2818
+ versions_conf?: {
2819
+ versionable: boolean;
2820
+ profile?: {
2821
+ id: string;
2822
+ trees: Array<{
2823
+ id: string;
2824
+ label?: any | null;
2825
+ }>;
2826
+ } | null;
2827
+ } | null;
2828
+ metadata_fields?: Array<{
2829
+ id: string;
2830
+ label?: any | null;
2831
+ description?: any | null;
2832
+ type: AttributeType;
2833
+ format?: AttributeFormat | null;
2834
+ system: boolean;
2835
+ readonly: boolean;
2836
+ multiple_values: boolean;
2837
+ permissions: {
2838
+ access_attribute: boolean;
2839
+ edit_value: boolean;
2840
+ };
2841
+ values_list?: {
2842
+ enable: boolean;
2843
+ allowFreeEntry?: boolean | null;
2844
+ allowListUpdate?: boolean | null;
2845
+ dateRangeValues?: Array<{
2846
+ from?: string | null;
2847
+ to?: string | null;
2848
+ }> | null;
2849
+ } | {
2850
+ enable: boolean;
2851
+ allowFreeEntry?: boolean | null;
2852
+ allowListUpdate?: boolean | null;
2853
+ values?: Array<string> | null;
2854
+ } | null;
2855
+ metadata_fields?: Array<{
2856
+ id: string;
2857
+ }> | null;
2858
+ }> | null;
2859
+ } | {
2860
+ id: string;
2861
+ label?: any | null;
2862
+ description?: any | null;
2863
+ type: AttributeType;
2864
+ format?: AttributeFormat | null;
2865
+ system: boolean;
2866
+ readonly: boolean;
2867
+ required: boolean;
2868
+ multiple_values: boolean;
2869
+ compute: boolean;
2870
+ linked_tree?: {
2871
+ id: string;
2872
+ label?: any | null;
2873
+ } | null;
2874
+ treeValuesList?: {
2875
+ enable: boolean;
2876
+ allowFreeEntry?: boolean | null;
2877
+ allowListUpdate?: boolean | null;
2878
+ values?: Array<{
2879
+ id: string;
2880
+ record: {
2881
+ id: string;
2882
+ whoAmI: {
2883
+ id: string;
2884
+ label?: string | null;
2885
+ subLabel?: string | null;
2886
+ color?: string | null;
2887
+ preview?: IPreviewScalar | null;
2888
+ library: {
2889
+ id: string;
2890
+ label?: any | null;
2891
+ };
2892
+ };
2893
+ };
2894
+ ancestors?: Array<{
2895
+ record: {
2896
+ id: string;
2897
+ whoAmI: {
2898
+ id: string;
2899
+ label?: string | null;
2900
+ subLabel?: string | null;
2901
+ color?: string | null;
2902
+ preview?: IPreviewScalar | null;
2903
+ library: {
2904
+ id: string;
2905
+ label?: any | null;
2906
+ };
2907
+ };
2908
+ };
2909
+ }> | null;
2910
+ }> | null;
2911
+ } | null;
2912
+ permissions: {
2913
+ access_attribute: boolean;
2914
+ edit_value: boolean;
2915
+ };
2916
+ versions_conf?: {
2917
+ versionable: boolean;
2918
+ profile?: {
2919
+ id: string;
2920
+ trees: Array<{
2921
+ id: string;
2922
+ label?: any | null;
2923
+ }>;
2924
+ } | null;
2925
+ } | null;
2926
+ metadata_fields?: Array<{
2927
+ id: string;
2928
+ label?: any | null;
2929
+ description?: any | null;
2930
+ type: AttributeType;
2931
+ format?: AttributeFormat | null;
2932
+ system: boolean;
2933
+ readonly: boolean;
2934
+ multiple_values: boolean;
2935
+ permissions: {
2936
+ access_attribute: boolean;
2937
+ edit_value: boolean;
2938
+ };
2939
+ values_list?: {
2940
+ enable: boolean;
2941
+ allowFreeEntry?: boolean | null;
2942
+ allowListUpdate?: boolean | null;
2943
+ dateRangeValues?: Array<{
2944
+ from?: string | null;
2945
+ to?: string | null;
2946
+ }> | null;
2947
+ } | {
2948
+ enable: boolean;
2949
+ allowFreeEntry?: boolean | null;
2950
+ allowListUpdate?: boolean | null;
2951
+ values?: Array<string> | null;
2952
+ } | null;
2953
+ metadata_fields?: Array<{
2954
+ id: string;
2955
+ }> | null;
2956
+ }> | null;
2957
+ };
2958
+ };
2441
2959
  export type TreeDetailsFragment = {
2442
2960
  id: string;
2443
2961
  label?: any | null;
@@ -2648,6 +3166,7 @@ export type AttributePropertiesFragment = {
2648
3166
  type: AttributeType;
2649
3167
  format?: AttributeFormat | null;
2650
3168
  multiple_values: boolean;
3169
+ multi_link_display_option?: MultiLinkDisplayOption | null;
2651
3170
  };
2652
3171
  export type PropertyValueLinkValueFragment = {
2653
3172
  linkPayload?: {
@@ -2700,6 +3219,7 @@ export type LinkPropertyLinkValueFragment = {
2700
3219
  type: AttributeType;
2701
3220
  format?: AttributeFormat | null;
2702
3221
  multiple_values: boolean;
3222
+ multi_link_display_option?: MultiLinkDisplayOption | null;
2703
3223
  };
2704
3224
  values: Array<{
2705
3225
  linkPayload?: {
@@ -2923,6 +3443,7 @@ export type GetAttributeByIdQuery = {
2923
3443
  label?: any | null;
2924
3444
  description?: any | null;
2925
3445
  multiple_values: boolean;
3446
+ multi_link_display_option?: MultiLinkDisplayOption | null;
2926
3447
  linked_library?: {
2927
3448
  id: string;
2928
3449
  label?: any | null;
@@ -2959,6 +3480,7 @@ export type GetAttributeByIdQuery = {
2959
3480
  label?: any | null;
2960
3481
  description?: any | null;
2961
3482
  multiple_values: boolean;
3483
+ multi_link_display_option?: MultiLinkDisplayOption | null;
2962
3484
  metadata_fields?: Array<{
2963
3485
  id: string;
2964
3486
  label?: any | null;
@@ -2990,6 +3512,7 @@ export type GetAttributeByIdQuery = {
2990
3512
  label?: any | null;
2991
3513
  description?: any | null;
2992
3514
  multiple_values: boolean;
3515
+ multi_link_display_option?: MultiLinkDisplayOption | null;
2993
3516
  linked_tree?: {
2994
3517
  id: string;
2995
3518
  label?: any | null;
@@ -3132,6 +3655,7 @@ export type SaveAttributeMutation = {
3132
3655
  label?: any | null;
3133
3656
  description?: any | null;
3134
3657
  multiple_values: boolean;
3658
+ multi_link_display_option?: MultiLinkDisplayOption | null;
3135
3659
  linked_library?: {
3136
3660
  id: string;
3137
3661
  label?: any | null;
@@ -3168,6 +3692,7 @@ export type SaveAttributeMutation = {
3168
3692
  label?: any | null;
3169
3693
  description?: any | null;
3170
3694
  multiple_values: boolean;
3695
+ multi_link_display_option?: MultiLinkDisplayOption | null;
3171
3696
  metadata_fields?: Array<{
3172
3697
  id: string;
3173
3698
  label?: any | null;
@@ -3199,6 +3724,7 @@ export type SaveAttributeMutation = {
3199
3724
  label?: any | null;
3200
3725
  description?: any | null;
3201
3726
  multiple_values: boolean;
3727
+ multi_link_display_option?: MultiLinkDisplayOption | null;
3202
3728
  linked_tree?: {
3203
3729
  id: string;
3204
3730
  label?: any | null;
@@ -3652,6 +4178,27 @@ export type IsAllowedQuery = {
3652
4178
  allowed?: boolean | null;
3653
4179
  }> | null;
3654
4180
  };
4181
+ export type ActivateRecordsMutationVariables = Exact<{
4182
+ libraryId: Scalars['String'];
4183
+ recordsIds?: InputMaybe<Array<Scalars['String']> | Scalars['String']>;
4184
+ filters?: InputMaybe<Array<RecordFilterInput> | RecordFilterInput>;
4185
+ }>;
4186
+ export type ActivateRecordsMutation = {
4187
+ activateRecords: Array<{
4188
+ id: string;
4189
+ whoAmI: {
4190
+ id: string;
4191
+ label?: string | null;
4192
+ subLabel?: string | null;
4193
+ color?: string | null;
4194
+ preview?: IPreviewScalar | null;
4195
+ library: {
4196
+ id: string;
4197
+ label?: any | null;
4198
+ };
4199
+ };
4200
+ }>;
4201
+ };
3655
4202
  export type CreateRecordMutationVariables = Exact<{
3656
4203
  library: Scalars['ID'];
3657
4204
  data?: InputMaybe<CreateRecordDataInput>;
@@ -4443,10 +4990,265 @@ export type RecordFormQuery = {
4443
4990
  key: string;
4444
4991
  value: any;
4445
4992
  }>;
4993
+ joinLibraryContext?: {
4994
+ mandatoryAttribute: {
4995
+ id: string;
4996
+ label?: any | null;
4997
+ description?: any | null;
4998
+ type: AttributeType;
4999
+ format?: AttributeFormat | null;
5000
+ system: boolean;
5001
+ readonly: boolean;
5002
+ required: boolean;
5003
+ multiple_values: boolean;
5004
+ compute: boolean;
5005
+ linked_library?: {
5006
+ id: string;
5007
+ label?: any | null;
5008
+ behavior: LibraryBehavior;
5009
+ permissions?: {
5010
+ create_record: boolean;
5011
+ } | null;
5012
+ } | null;
5013
+ linkValuesList?: {
5014
+ enable: boolean;
5015
+ allowFreeEntry?: boolean | null;
5016
+ allowListUpdate?: boolean | null;
5017
+ values?: Array<{
5018
+ id: string;
5019
+ whoAmI: {
5020
+ id: string;
5021
+ label?: string | null;
5022
+ subLabel?: string | null;
5023
+ color?: string | null;
5024
+ preview?: IPreviewScalar | null;
5025
+ library: {
5026
+ id: string;
5027
+ label?: any | null;
5028
+ };
5029
+ };
5030
+ }> | null;
5031
+ } | null;
5032
+ permissions: {
5033
+ access_attribute: boolean;
5034
+ edit_value: boolean;
5035
+ };
5036
+ versions_conf?: {
5037
+ versionable: boolean;
5038
+ profile?: {
5039
+ id: string;
5040
+ trees: Array<{
5041
+ id: string;
5042
+ label?: any | null;
5043
+ }>;
5044
+ } | null;
5045
+ } | null;
5046
+ metadata_fields?: Array<{
5047
+ id: string;
5048
+ label?: any | null;
5049
+ description?: any | null;
5050
+ type: AttributeType;
5051
+ format?: AttributeFormat | null;
5052
+ system: boolean;
5053
+ readonly: boolean;
5054
+ multiple_values: boolean;
5055
+ permissions: {
5056
+ access_attribute: boolean;
5057
+ edit_value: boolean;
5058
+ };
5059
+ values_list?: {
5060
+ enable: boolean;
5061
+ allowFreeEntry?: boolean | null;
5062
+ allowListUpdate?: boolean | null;
5063
+ dateRangeValues?: Array<{
5064
+ from?: string | null;
5065
+ to?: string | null;
5066
+ }> | null;
5067
+ } | {
5068
+ enable: boolean;
5069
+ allowFreeEntry?: boolean | null;
5070
+ allowListUpdate?: boolean | null;
5071
+ values?: Array<string> | null;
5072
+ } | null;
5073
+ metadata_fields?: Array<{
5074
+ id: string;
5075
+ }> | null;
5076
+ }> | null;
5077
+ } | {
5078
+ character_limit?: number | null;
5079
+ id: string;
5080
+ label?: any | null;
5081
+ description?: any | null;
5082
+ type: AttributeType;
5083
+ format?: AttributeFormat | null;
5084
+ system: boolean;
5085
+ readonly: boolean;
5086
+ required: boolean;
5087
+ multiple_values: boolean;
5088
+ compute: boolean;
5089
+ values_list?: {
5090
+ enable: boolean;
5091
+ allowFreeEntry?: boolean | null;
5092
+ allowListUpdate?: boolean | null;
5093
+ dateRangeValues?: Array<{
5094
+ from?: string | null;
5095
+ to?: string | null;
5096
+ }> | null;
5097
+ } | {
5098
+ enable: boolean;
5099
+ allowFreeEntry?: boolean | null;
5100
+ allowListUpdate?: boolean | null;
5101
+ values?: Array<string> | null;
5102
+ } | null;
5103
+ permissions: {
5104
+ access_attribute: boolean;
5105
+ edit_value: boolean;
5106
+ };
5107
+ versions_conf?: {
5108
+ versionable: boolean;
5109
+ profile?: {
5110
+ id: string;
5111
+ trees: Array<{
5112
+ id: string;
5113
+ label?: any | null;
5114
+ }>;
5115
+ } | null;
5116
+ } | null;
5117
+ metadata_fields?: Array<{
5118
+ id: string;
5119
+ label?: any | null;
5120
+ description?: any | null;
5121
+ type: AttributeType;
5122
+ format?: AttributeFormat | null;
5123
+ system: boolean;
5124
+ readonly: boolean;
5125
+ multiple_values: boolean;
5126
+ permissions: {
5127
+ access_attribute: boolean;
5128
+ edit_value: boolean;
5129
+ };
5130
+ values_list?: {
5131
+ enable: boolean;
5132
+ allowFreeEntry?: boolean | null;
5133
+ allowListUpdate?: boolean | null;
5134
+ dateRangeValues?: Array<{
5135
+ from?: string | null;
5136
+ to?: string | null;
5137
+ }> | null;
5138
+ } | {
5139
+ enable: boolean;
5140
+ allowFreeEntry?: boolean | null;
5141
+ allowListUpdate?: boolean | null;
5142
+ values?: Array<string> | null;
5143
+ } | null;
5144
+ metadata_fields?: Array<{
5145
+ id: string;
5146
+ }> | null;
5147
+ }> | null;
5148
+ } | {
5149
+ id: string;
5150
+ label?: any | null;
5151
+ description?: any | null;
5152
+ type: AttributeType;
5153
+ format?: AttributeFormat | null;
5154
+ system: boolean;
5155
+ readonly: boolean;
5156
+ required: boolean;
5157
+ multiple_values: boolean;
5158
+ compute: boolean;
5159
+ linked_tree?: {
5160
+ id: string;
5161
+ label?: any | null;
5162
+ } | null;
5163
+ treeValuesList?: {
5164
+ enable: boolean;
5165
+ allowFreeEntry?: boolean | null;
5166
+ allowListUpdate?: boolean | null;
5167
+ values?: Array<{
5168
+ id: string;
5169
+ record: {
5170
+ id: string;
5171
+ whoAmI: {
5172
+ id: string;
5173
+ label?: string | null;
5174
+ subLabel?: string | null;
5175
+ color?: string | null;
5176
+ preview?: IPreviewScalar | null;
5177
+ library: {
5178
+ id: string;
5179
+ label?: any | null;
5180
+ };
5181
+ };
5182
+ };
5183
+ ancestors?: Array<{
5184
+ record: {
5185
+ id: string;
5186
+ whoAmI: {
5187
+ id: string;
5188
+ label?: string | null;
5189
+ subLabel?: string | null;
5190
+ color?: string | null;
5191
+ preview?: IPreviewScalar | null;
5192
+ library: {
5193
+ id: string;
5194
+ label?: any | null;
5195
+ };
5196
+ };
5197
+ };
5198
+ }> | null;
5199
+ }> | null;
5200
+ } | null;
5201
+ permissions: {
5202
+ access_attribute: boolean;
5203
+ edit_value: boolean;
5204
+ };
5205
+ versions_conf?: {
5206
+ versionable: boolean;
5207
+ profile?: {
5208
+ id: string;
5209
+ trees: Array<{
5210
+ id: string;
5211
+ label?: any | null;
5212
+ }>;
5213
+ } | null;
5214
+ } | null;
5215
+ metadata_fields?: Array<{
5216
+ id: string;
5217
+ label?: any | null;
5218
+ description?: any | null;
5219
+ type: AttributeType;
5220
+ format?: AttributeFormat | null;
5221
+ system: boolean;
5222
+ readonly: boolean;
5223
+ multiple_values: boolean;
5224
+ permissions: {
5225
+ access_attribute: boolean;
5226
+ edit_value: boolean;
5227
+ };
5228
+ values_list?: {
5229
+ enable: boolean;
5230
+ allowFreeEntry?: boolean | null;
5231
+ allowListUpdate?: boolean | null;
5232
+ dateRangeValues?: Array<{
5233
+ from?: string | null;
5234
+ to?: string | null;
5235
+ }> | null;
5236
+ } | {
5237
+ enable: boolean;
5238
+ allowFreeEntry?: boolean | null;
5239
+ allowListUpdate?: boolean | null;
5240
+ values?: Array<string> | null;
5241
+ } | null;
5242
+ metadata_fields?: Array<{
5243
+ id: string;
5244
+ }> | null;
5245
+ }> | null;
5246
+ };
5247
+ } | null;
4446
5248
  }>;
4447
5249
  sidePanel?: {
4448
5250
  enable: boolean;
4449
- isOpenByDefault: boolean;
5251
+ isOpenByDefault?: boolean | null;
4450
5252
  } | null;
4451
5253
  } | null;
4452
5254
  };
@@ -4872,6 +5674,30 @@ export type RecordUpdateSubscription = {
4872
5674
  }>;
4873
5675
  };
4874
5676
  };
5677
+ export type GetRecordsFromLibraryQueryVariables = Exact<{
5678
+ libraryId: Scalars['ID'];
5679
+ pagination?: InputMaybe<RecordsPagination>;
5680
+ filters?: InputMaybe<Array<InputMaybe<RecordFilterInput>> | InputMaybe<RecordFilterInput>>;
5681
+ }>;
5682
+ export type GetRecordsFromLibraryQuery = {
5683
+ records: {
5684
+ totalCount?: number | null;
5685
+ list: Array<{
5686
+ id: string;
5687
+ whoAmI: {
5688
+ id: string;
5689
+ label?: string | null;
5690
+ subLabel?: string | null;
5691
+ color?: string | null;
5692
+ preview?: IPreviewScalar | null;
5693
+ library: {
5694
+ id: string;
5695
+ label?: any | null;
5696
+ };
5697
+ };
5698
+ }>;
5699
+ };
5700
+ };
4875
5701
  export type IndexRecordsMutationVariables = Exact<{
4876
5702
  libraryId: Scalars['String'];
4877
5703
  records?: InputMaybe<Array<Scalars['String']> | Scalars['String']>;
@@ -6303,6 +7129,7 @@ export type ExplorerLibraryDataQuery = {
6303
7129
  totalCount?: number | null;
6304
7130
  list: Array<{
6305
7131
  id: string;
7132
+ active: boolean;
6306
7133
  whoAmI: {
6307
7134
  id: string;
6308
7135
  label?: string | null;
@@ -6315,6 +7142,7 @@ export type ExplorerLibraryDataQuery = {
6315
7142
  };
6316
7143
  };
6317
7144
  permissions: {
7145
+ create_record: boolean;
6318
7146
  delete_record: boolean;
6319
7147
  };
6320
7148
  properties: Array<{
@@ -6325,6 +7153,7 @@ export type ExplorerLibraryDataQuery = {
6325
7153
  type: AttributeType;
6326
7154
  format?: AttributeFormat | null;
6327
7155
  multiple_values: boolean;
7156
+ multi_link_display_option?: MultiLinkDisplayOption | null;
6328
7157
  };
6329
7158
  values: Array<{
6330
7159
  linkPayload?: {
@@ -6405,6 +7234,7 @@ export type ExplorerLinkDataQuery = {
6405
7234
  type: AttributeType;
6406
7235
  format?: AttributeFormat | null;
6407
7236
  multiple_values: boolean;
7237
+ multi_link_display_option?: MultiLinkDisplayOption | null;
6408
7238
  };
6409
7239
  values: Array<{
6410
7240
  linkPayload?: {
@@ -6593,6 +7423,23 @@ export type UpdateViewMutation = {
6593
7423
  }> | null;
6594
7424
  };
6595
7425
  };
7426
+ export type GetJoinLibraryMandatoryAttributeValuesQueryVariables = Exact<{
7427
+ joinLibraryId: Scalars['ID'];
7428
+ filters?: InputMaybe<Array<InputMaybe<RecordFilterInput>> | InputMaybe<RecordFilterInput>>;
7429
+ mandatoryAttributeId: Scalars['ID'];
7430
+ }>;
7431
+ export type GetJoinLibraryMandatoryAttributeValuesQuery = {
7432
+ records: {
7433
+ list: Array<{
7434
+ id: string;
7435
+ property: Array<{
7436
+ payload?: {
7437
+ id: string;
7438
+ } | null;
7439
+ }>;
7440
+ }>;
7441
+ };
7442
+ };
6596
7443
  export type TreeDataQueryQueryVariables = Exact<{
6597
7444
  treeId: Scalars['ID'];
6598
7445
  }>;
@@ -6618,6 +7465,7 @@ export declare const ValuesVersionDetailsFragmentDoc: Apollo.DocumentNode;
6618
7465
  export declare const ValueDetailsFragmentDoc: Apollo.DocumentNode;
6619
7466
  export declare const StandardValuesListFragmentFragmentDoc: Apollo.DocumentNode;
6620
7467
  export declare const RecordFormAttributeFragmentDoc: Apollo.DocumentNode;
7468
+ export declare const JoinLibraryContextFragmentDoc: Apollo.DocumentNode;
6621
7469
  export declare const RecordFormElementFragmentDoc: Apollo.DocumentNode;
6622
7470
  export declare const TreeLightFragmentDoc: Apollo.DocumentNode;
6623
7471
  export declare const TreeDetailsFragmentDoc: Apollo.DocumentNode;
@@ -7369,6 +8217,35 @@ export declare function useIsAllowedLazyQuery(baseOptions?: Apollo.LazyQueryHook
7369
8217
  export type IsAllowedQueryHookResult = ReturnType<typeof useIsAllowedQuery>;
7370
8218
  export type IsAllowedLazyQueryHookResult = ReturnType<typeof useIsAllowedLazyQuery>;
7371
8219
  export type IsAllowedQueryResult = Apollo.QueryResult<IsAllowedQuery, IsAllowedQueryVariables>;
8220
+ export declare const ActivateRecordsDocument: Apollo.DocumentNode;
8221
+ export type ActivateRecordsMutationFn = Apollo.MutationFunction<ActivateRecordsMutation, ActivateRecordsMutationVariables>;
8222
+ /**
8223
+ * __useActivateRecordsMutation__
8224
+ *
8225
+ * To run a mutation, you first call `useActivateRecordsMutation` within a React component and pass it any options that fit your needs.
8226
+ * When your component renders, `useActivateRecordsMutation` returns a tuple that includes:
8227
+ * - A mutate function that you can call at any time to execute the mutation
8228
+ * - An object with fields that represent the current status of the mutation's execution
8229
+ *
8230
+ * @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;
8231
+ *
8232
+ * @example
8233
+ * const [activateRecordsMutation, { data, loading, error }] = useActivateRecordsMutation({
8234
+ * variables: {
8235
+ * libraryId: // value for 'libraryId'
8236
+ * recordsIds: // value for 'recordsIds'
8237
+ * filters: // value for 'filters'
8238
+ * },
8239
+ * });
8240
+ */
8241
+ export declare function useActivateRecordsMutation(baseOptions?: Apollo.MutationHookOptions<ActivateRecordsMutation, ActivateRecordsMutationVariables>): Apollo.MutationTuple<ActivateRecordsMutation, Exact<{
8242
+ libraryId: Scalars["String"];
8243
+ recordsIds?: InputMaybe<Array<Scalars["String"]> | Scalars["String"]>;
8244
+ filters?: InputMaybe<Array<RecordFilterInput> | RecordFilterInput>;
8245
+ }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
8246
+ export type ActivateRecordsMutationHookResult = ReturnType<typeof useActivateRecordsMutation>;
8247
+ export type ActivateRecordsMutationResult = Apollo.MutationResult<ActivateRecordsMutation>;
8248
+ export type ActivateRecordsMutationOptions = Apollo.BaseMutationOptions<ActivateRecordsMutation, ActivateRecordsMutationVariables>;
7372
8249
  export declare const CreateRecordDocument: Apollo.DocumentNode;
7373
8250
  export type CreateRecordMutationFn = Apollo.MutationFunction<CreateRecordMutation, CreateRecordMutationVariables>;
7374
8251
  /**
@@ -7546,6 +8423,38 @@ export declare function useRecordUpdateSubscription(baseOptions?: Apollo.Subscri
7546
8423
  }>>;
7547
8424
  export type RecordUpdateSubscriptionHookResult = ReturnType<typeof useRecordUpdateSubscription>;
7548
8425
  export type RecordUpdateSubscriptionResult = Apollo.SubscriptionResult<RecordUpdateSubscription>;
8426
+ export declare const GetRecordsFromLibraryDocument: Apollo.DocumentNode;
8427
+ /**
8428
+ * __useGetRecordsFromLibraryQuery__
8429
+ *
8430
+ * To run a query within a React component, call `useGetRecordsFromLibraryQuery` and pass it any options that fit your needs.
8431
+ * When your component renders, `useGetRecordsFromLibraryQuery` returns an object from Apollo Client that contains loading, error, and data properties
8432
+ * you can use to render your UI.
8433
+ *
8434
+ * @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;
8435
+ *
8436
+ * @example
8437
+ * const { data, loading, error } = useGetRecordsFromLibraryQuery({
8438
+ * variables: {
8439
+ * libraryId: // value for 'libraryId'
8440
+ * pagination: // value for 'pagination'
8441
+ * filters: // value for 'filters'
8442
+ * },
8443
+ * });
8444
+ */
8445
+ export declare function useGetRecordsFromLibraryQuery(baseOptions: Apollo.QueryHookOptions<GetRecordsFromLibraryQuery, GetRecordsFromLibraryQueryVariables>): Apollo.QueryResult<GetRecordsFromLibraryQuery, Exact<{
8446
+ libraryId: Scalars["ID"];
8447
+ pagination?: InputMaybe<RecordsPagination>;
8448
+ filters?: InputMaybe<Array<InputMaybe<RecordFilterInput>> | InputMaybe<RecordFilterInput>>;
8449
+ }>>;
8450
+ export declare function useGetRecordsFromLibraryLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<GetRecordsFromLibraryQuery, GetRecordsFromLibraryQueryVariables>): Apollo.LazyQueryResultTuple<GetRecordsFromLibraryQuery, Exact<{
8451
+ libraryId: Scalars["ID"];
8452
+ pagination?: InputMaybe<RecordsPagination>;
8453
+ filters?: InputMaybe<Array<InputMaybe<RecordFilterInput>> | InputMaybe<RecordFilterInput>>;
8454
+ }>>;
8455
+ export type GetRecordsFromLibraryQueryHookResult = ReturnType<typeof useGetRecordsFromLibraryQuery>;
8456
+ export type GetRecordsFromLibraryLazyQueryHookResult = ReturnType<typeof useGetRecordsFromLibraryLazyQuery>;
8457
+ export type GetRecordsFromLibraryQueryResult = Apollo.QueryResult<GetRecordsFromLibraryQuery, GetRecordsFromLibraryQueryVariables>;
7549
8458
  export declare const IndexRecordsDocument: Apollo.DocumentNode;
7550
8459
  export type IndexRecordsMutationFn = Apollo.MutationFunction<IndexRecordsMutation, IndexRecordsMutationVariables>;
7551
8460
  /**
@@ -8327,6 +9236,38 @@ export declare function useUpdateViewMutation(baseOptions?: Apollo.MutationHookO
8327
9236
  export type UpdateViewMutationHookResult = ReturnType<typeof useUpdateViewMutation>;
8328
9237
  export type UpdateViewMutationResult = Apollo.MutationResult<UpdateViewMutation>;
8329
9238
  export type UpdateViewMutationOptions = Apollo.BaseMutationOptions<UpdateViewMutation, UpdateViewMutationVariables>;
9239
+ export declare const GetJoinLibraryMandatoryAttributeValuesDocument: Apollo.DocumentNode;
9240
+ /**
9241
+ * __useGetJoinLibraryMandatoryAttributeValuesQuery__
9242
+ *
9243
+ * To run a query within a React component, call `useGetJoinLibraryMandatoryAttributeValuesQuery` and pass it any options that fit your needs.
9244
+ * When your component renders, `useGetJoinLibraryMandatoryAttributeValuesQuery` returns an object from Apollo Client that contains loading, error, and data properties
9245
+ * you can use to render your UI.
9246
+ *
9247
+ * @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;
9248
+ *
9249
+ * @example
9250
+ * const { data, loading, error } = useGetJoinLibraryMandatoryAttributeValuesQuery({
9251
+ * variables: {
9252
+ * joinLibraryId: // value for 'joinLibraryId'
9253
+ * filters: // value for 'filters'
9254
+ * mandatoryAttributeId: // value for 'mandatoryAttributeId'
9255
+ * },
9256
+ * });
9257
+ */
9258
+ export declare function useGetJoinLibraryMandatoryAttributeValuesQuery(baseOptions: Apollo.QueryHookOptions<GetJoinLibraryMandatoryAttributeValuesQuery, GetJoinLibraryMandatoryAttributeValuesQueryVariables>): Apollo.QueryResult<GetJoinLibraryMandatoryAttributeValuesQuery, Exact<{
9259
+ joinLibraryId: Scalars["ID"];
9260
+ filters?: InputMaybe<Array<InputMaybe<RecordFilterInput>> | InputMaybe<RecordFilterInput>>;
9261
+ mandatoryAttributeId: Scalars["ID"];
9262
+ }>>;
9263
+ export declare function useGetJoinLibraryMandatoryAttributeValuesLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<GetJoinLibraryMandatoryAttributeValuesQuery, GetJoinLibraryMandatoryAttributeValuesQueryVariables>): Apollo.LazyQueryResultTuple<GetJoinLibraryMandatoryAttributeValuesQuery, Exact<{
9264
+ joinLibraryId: Scalars["ID"];
9265
+ filters?: InputMaybe<Array<InputMaybe<RecordFilterInput>> | InputMaybe<RecordFilterInput>>;
9266
+ mandatoryAttributeId: Scalars["ID"];
9267
+ }>>;
9268
+ export type GetJoinLibraryMandatoryAttributeValuesQueryHookResult = ReturnType<typeof useGetJoinLibraryMandatoryAttributeValuesQuery>;
9269
+ export type GetJoinLibraryMandatoryAttributeValuesLazyQueryHookResult = ReturnType<typeof useGetJoinLibraryMandatoryAttributeValuesLazyQuery>;
9270
+ export type GetJoinLibraryMandatoryAttributeValuesQueryResult = Apollo.QueryResult<GetJoinLibraryMandatoryAttributeValuesQuery, GetJoinLibraryMandatoryAttributeValuesQueryVariables>;
8330
9271
  export declare const TreeDataQueryDocument: Apollo.DocumentNode;
8331
9272
  /**
8332
9273
  * __useTreeDataQueryQuery__