@leav/ui 0.4.0-ab52676 → 0.4.0-b2f45ba3

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 (57) hide show
  1. package/README.md +1 -0
  2. package/dist/_gqlTypes/index.d.ts +838 -24
  3. package/dist/_gqlTypes/index.js +59 -2
  4. package/dist/_gqlTypes/index.js.map +1 -1
  5. package/dist/_queries/records/getRecordFormQuery.js +9 -0
  6. package/dist/_queries/records/getRecordFormQuery.js.map +1 -1
  7. package/dist/components/Explorer/Explorer.d.ts +2 -0
  8. package/dist/components/Explorer/Explorer.js +2 -1
  9. package/dist/components/Explorer/Explorer.js.map +1 -1
  10. package/dist/components/Explorer/ExplorerToolbar.js +4 -3
  11. package/dist/components/Explorer/ExplorerToolbar.js.map +1 -1
  12. package/dist/components/Explorer/_queries/useExplorerData.js +2 -2
  13. package/dist/components/Explorer/_queries/useExplorerData.js.map +1 -1
  14. package/dist/components/Explorer/_types.d.ts +3 -0
  15. package/dist/components/Explorer/_types.js.map +1 -1
  16. package/dist/components/Explorer/actions-primary/useCreatePrimaryAction.d.ts +3 -1
  17. package/dist/components/Explorer/actions-primary/useCreatePrimaryAction.js +13 -6
  18. package/dist/components/Explorer/actions-primary/useCreatePrimaryAction.js.map +1 -1
  19. package/dist/components/Explorer/manage-view-settings/_shared/useTransformFilters.js +4 -0
  20. package/dist/components/Explorer/manage-view-settings/_shared/useTransformFilters.js.map +1 -1
  21. package/dist/components/LibraryItemsList/FiltersPanel/Filter/Filter.js +2 -2
  22. package/dist/components/LibraryItemsList/FiltersPanel/Filter/Filter.js.map +1 -1
  23. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/LinkField.js +2 -1
  24. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/LinkField.js.map +1 -1
  25. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record-in-edition/useLinkRecordsInEdition.d.ts +3 -2
  26. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record-in-edition/useLinkRecordsInEdition.js +109 -13
  27. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record-in-edition/useLinkRecordsInEdition.js.map +1 -1
  28. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/manage-tree-node-selection/SelectTreeNodeModal.d.ts +21 -2
  29. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/manage-tree-node-selection/SelectTreeNodeModal.js +8 -5
  30. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/manage-tree-node-selection/SelectTreeNodeModal.js.map +1 -1
  31. package/dist/components/RecordEdition/index.d.ts +1 -0
  32. package/dist/components/RecordEdition/index.js +1 -0
  33. package/dist/components/RecordEdition/index.js.map +1 -1
  34. package/dist/components/SelectRecordForLinkModal/SelectRecordForLinkModal.d.ts +2 -1
  35. package/dist/components/SelectRecordForLinkModal/SelectRecordForLinkModal.js +2 -2
  36. package/dist/components/SelectRecordForLinkModal/SelectRecordForLinkModal.js.map +1 -1
  37. package/dist/components/{SelectTreeNodeModal/SelectTreeNodeModal.d.ts → SelectTreeNodeModalOld/SelectTreeNodeModalOld.d.ts} +1 -1
  38. package/dist/components/{SelectTreeNodeModal/SelectTreeNodeModal.js → SelectTreeNodeModalOld/SelectTreeNodeModalOld.js} +4 -2
  39. package/dist/components/SelectTreeNodeModalOld/SelectTreeNodeModalOld.js.map +1 -0
  40. package/dist/components/SelectTreeNodeModalOld/index.d.ts +1 -0
  41. package/dist/components/{SelectTreeNodeModal → SelectTreeNodeModalOld}/index.js +1 -1
  42. package/dist/components/SelectTreeNodeModalOld/index.js.map +1 -0
  43. package/dist/components/ValuesVersionConfigurator/VersionTree/VersionTree.js +2 -2
  44. package/dist/components/ValuesVersionConfigurator/VersionTree/VersionTree.js.map +1 -1
  45. package/dist/components/index.d.ts +1 -1
  46. package/dist/components/index.js +1 -1
  47. package/dist/components/index.js.map +1 -1
  48. package/dist/hooks/useIFrameMessenger/schema.d.ts +20 -0
  49. package/dist/hooks/useIFrameMessenger/schema.js +75 -0
  50. package/dist/hooks/useIFrameMessenger/schema.js.map +1 -0
  51. package/dist/hooks/useIFrameMessenger/types.d.ts +13 -56
  52. package/dist/hooks/useIFrameMessenger/types.js.map +1 -1
  53. package/dist/hooks/useIFrameMessenger/useIFrameMessenger.js.map +1 -1
  54. package/package.json +7 -4
  55. package/dist/components/SelectTreeNodeModal/SelectTreeNodeModal.js.map +0 -1
  56. package/dist/components/SelectTreeNodeModal/index.d.ts +0 -1
  57. package/dist/components/SelectTreeNodeModal/index.js.map +0 -1
@@ -346,7 +346,6 @@ export declare enum LogAction {
346
346
  PERMISSION_SAVE = "PERMISSION_SAVE",
347
347
  RECORD_DELETE = "RECORD_DELETE",
348
348
  RECORD_SAVE = "RECORD_SAVE",
349
- SDO_LOG_EXPORT_RECORD = "SDO_LOG_EXPORT_RECORD",
350
349
  TASKS_DELETE = "TASKS_DELETE",
351
350
  TREE_ADD_ELEMENT = "TREE_ADD_ELEMENT",
352
351
  TREE_DELETE = "TREE_DELETE",
@@ -1773,6 +1772,261 @@ export type RecordFormElementFragment = {
1773
1772
  key: string;
1774
1773
  value: any;
1775
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;
1776
2030
  };
1777
2031
  export type ValueDetailsLinkValueFragment = {
1778
2032
  id_value?: string | null;
@@ -2419,34 +2673,289 @@ export type RecordFormAttributeTreeAttributeFragment = {
2419
2673
  from?: string | null;
2420
2674
  to?: string | null;
2421
2675
  }> | null;
2422
- } | {
2423
- enable: boolean;
2424
- allowFreeEntry?: boolean | null;
2425
- allowListUpdate?: boolean | null;
2426
- values?: Array<string> | null;
2676
+ } | {
2677
+ enable: boolean;
2678
+ allowFreeEntry?: boolean | null;
2679
+ allowListUpdate?: boolean | null;
2680
+ values?: Array<string> | null;
2681
+ } | null;
2682
+ metadata_fields?: Array<{
2683
+ id: string;
2684
+ }> | null;
2685
+ }> | null;
2686
+ };
2687
+ export type RecordFormAttributeFragment = RecordFormAttributeLinkAttributeFragment | RecordFormAttributeStandardAttributeFragment | RecordFormAttributeTreeAttributeFragment;
2688
+ export type StandardValuesListFragmentStandardDateRangeValuesListConfFragment = {
2689
+ enable: boolean;
2690
+ allowFreeEntry?: boolean | null;
2691
+ allowListUpdate?: boolean | null;
2692
+ dateRangeValues?: Array<{
2693
+ from?: string | null;
2694
+ to?: string | null;
2695
+ }> | null;
2696
+ };
2697
+ export type StandardValuesListFragmentStandardStringValuesListConfFragment = {
2698
+ enable: boolean;
2699
+ allowFreeEntry?: boolean | null;
2700
+ allowListUpdate?: boolean | null;
2701
+ values?: Array<string> | null;
2702
+ };
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;
2427
2925
  } | null;
2428
2926
  metadata_fields?: Array<{
2429
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;
2430
2956
  }> | null;
2431
- }> | null;
2432
- };
2433
- export type RecordFormAttributeFragment = RecordFormAttributeLinkAttributeFragment | RecordFormAttributeStandardAttributeFragment | RecordFormAttributeTreeAttributeFragment;
2434
- export type StandardValuesListFragmentStandardDateRangeValuesListConfFragment = {
2435
- enable: boolean;
2436
- allowFreeEntry?: boolean | null;
2437
- allowListUpdate?: boolean | null;
2438
- dateRangeValues?: Array<{
2439
- from?: string | null;
2440
- to?: string | null;
2441
- }> | null;
2442
- };
2443
- export type StandardValuesListFragmentStandardStringValuesListConfFragment = {
2444
- enable: boolean;
2445
- allowFreeEntry?: boolean | null;
2446
- allowListUpdate?: boolean | null;
2447
- values?: Array<string> | null;
2957
+ };
2448
2958
  };
2449
- export type StandardValuesListFragmentFragment = StandardValuesListFragmentStandardDateRangeValuesListConfFragment | StandardValuesListFragmentStandardStringValuesListConfFragment;
2450
2959
  export type TreeDetailsFragment = {
2451
2960
  id: string;
2452
2961
  label?: any | null;
@@ -4481,6 +4990,261 @@ export type RecordFormQuery = {
4481
4990
  key: string;
4482
4991
  value: any;
4483
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;
4484
5248
  }>;
4485
5249
  sidePanel?: {
4486
5250
  enable: boolean;
@@ -6659,6 +7423,23 @@ export type UpdateViewMutation = {
6659
7423
  }> | null;
6660
7424
  };
6661
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
+ };
6662
7443
  export type TreeDataQueryQueryVariables = Exact<{
6663
7444
  treeId: Scalars['ID'];
6664
7445
  }>;
@@ -6684,6 +7465,7 @@ export declare const ValuesVersionDetailsFragmentDoc: Apollo.DocumentNode;
6684
7465
  export declare const ValueDetailsFragmentDoc: Apollo.DocumentNode;
6685
7466
  export declare const StandardValuesListFragmentFragmentDoc: Apollo.DocumentNode;
6686
7467
  export declare const RecordFormAttributeFragmentDoc: Apollo.DocumentNode;
7468
+ export declare const JoinLibraryContextFragmentDoc: Apollo.DocumentNode;
6687
7469
  export declare const RecordFormElementFragmentDoc: Apollo.DocumentNode;
6688
7470
  export declare const TreeLightFragmentDoc: Apollo.DocumentNode;
6689
7471
  export declare const TreeDetailsFragmentDoc: Apollo.DocumentNode;
@@ -8454,6 +9236,38 @@ export declare function useUpdateViewMutation(baseOptions?: Apollo.MutationHookO
8454
9236
  export type UpdateViewMutationHookResult = ReturnType<typeof useUpdateViewMutation>;
8455
9237
  export type UpdateViewMutationResult = Apollo.MutationResult<UpdateViewMutation>;
8456
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>;
8457
9271
  export declare const TreeDataQueryDocument: Apollo.DocumentNode;
8458
9272
  /**
8459
9273
  * __useTreeDataQueryQuery__