@leav/ui 0.3.6-1190202 → 0.3.6-1636d93

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 (200) hide show
  1. package/dist/__mocks__/common/attribute.d.ts +1 -0
  2. package/dist/__mocks__/common/attribute.js +9 -1
  3. package/dist/__mocks__/common/attribute.js.map +1 -1
  4. package/dist/__mocks__/common/value.js +3 -1
  5. package/dist/__mocks__/common/value.js.map +1 -1
  6. package/dist/__mocks__/common/view.js +7 -5
  7. package/dist/__mocks__/common/view.js.map +1 -1
  8. package/dist/__mocks__/mockQuery/mockGetLibraryDetailExtendedQuery.js +1 -1
  9. package/dist/__mocks__/mockQuery/mockGetLibraryDetailExtendedQuery.js.map +1 -1
  10. package/dist/__mocks__/mockQuery/mockGetViewListQuery.js +2 -1
  11. package/dist/__mocks__/mockQuery/mockGetViewListQuery.js.map +1 -1
  12. package/dist/_gqlTypes/index.d.ts +108 -47
  13. package/dist/_gqlTypes/index.js +63 -20
  14. package/dist/_gqlTypes/index.js.map +1 -1
  15. package/dist/_queries/libraries/getLibraryDetailExtendQuery.d.ts +3 -4
  16. package/dist/_queries/libraries/getLibraryDetailExtendQuery.js +2 -3
  17. package/dist/_queries/libraries/getLibraryDetailExtendQuery.js.map +1 -1
  18. package/dist/_queries/records/getRecordColumnsValues.d.ts +5 -3
  19. package/dist/_queries/records/getRecordColumnsValues.js +4 -1
  20. package/dist/_queries/records/getRecordColumnsValues.js.map +1 -1
  21. package/dist/_queries/records/recordFormAttributeFragment.js +2 -0
  22. package/dist/_queries/records/recordFormAttributeFragment.js.map +1 -1
  23. package/dist/_queries/views/saveViewMutation.js +1 -1
  24. package/dist/_queries/views/viewDetailsFragment.js +14 -11
  25. package/dist/_queries/views/viewDetailsFragment.js.map +1 -1
  26. package/dist/_utils/index.js +5 -2
  27. package/dist/_utils/index.js.map +1 -1
  28. package/dist/_utils/interleaveElement.d.ts +1 -0
  29. package/dist/_utils/interleaveElement.js +5 -0
  30. package/dist/_utils/interleaveElement.js.map +1 -0
  31. package/dist/components/Explorer/DataView.js +2 -1
  32. package/dist/components/Explorer/DataView.js.map +1 -1
  33. package/dist/components/Explorer/Explorer.d.ts +2 -3
  34. package/dist/components/Explorer/Explorer.js +7 -13
  35. package/dist/components/Explorer/Explorer.js.map +1 -1
  36. package/dist/components/Explorer/_constants.d.ts +4 -0
  37. package/dist/components/Explorer/_constants.js +17 -0
  38. package/dist/components/Explorer/_constants.js.map +1 -0
  39. package/dist/components/Explorer/_queries/useExplorerData.d.ts +6 -4
  40. package/dist/components/Explorer/_queries/useExplorerData.js +76 -12
  41. package/dist/components/Explorer/_queries/useExplorerData.js.map +1 -1
  42. package/dist/components/Explorer/_types.d.ts +8 -0
  43. package/dist/components/Explorer/display-view-filters/ExplorerToolBar.d.ts +4 -0
  44. package/dist/components/Explorer/display-view-filters/ExplorerToolBar.js +47 -0
  45. package/dist/components/Explorer/display-view-filters/ExplorerToolBar.js.map +1 -0
  46. package/dist/components/Explorer/manage-view-settings/_shared/CommonFilterItem.d.ts +5 -0
  47. package/dist/components/Explorer/manage-view-settings/_shared/CommonFilterItem.js +12 -0
  48. package/dist/components/Explorer/manage-view-settings/_shared/CommonFilterItem.js.map +1 -0
  49. package/dist/components/Explorer/manage-view-settings/filter-items/FilterItems.js +11 -21
  50. package/dist/components/Explorer/manage-view-settings/filter-items/FilterItems.js.map +1 -1
  51. package/dist/components/Explorer/manage-view-settings/filter-items/FilterListItem.d.ts +1 -2
  52. package/dist/components/Explorer/manage-view-settings/filter-items/FilterListItem.js +3 -3
  53. package/dist/components/Explorer/manage-view-settings/filter-items/FilterListItem.js.map +1 -1
  54. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/BooleanAttributeDropdown.d.ts +3 -0
  55. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/BooleanAttributeDropdown.js +37 -0
  56. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/BooleanAttributeDropdown.js.map +1 -0
  57. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/DateAttributeDropDown.d.ts +3 -0
  58. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/DateAttributeDropDown.js +90 -0
  59. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/DateAttributeDropDown.js.map +1 -0
  60. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/FilterDropDown.js +6 -0
  61. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/FilterDropDown.js.map +1 -1
  62. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/NumericAttributeDropDown.d.ts +1 -1
  63. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/NumericAttributeDropDown.js +11 -2
  64. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/NumericAttributeDropDown.js.map +1 -1
  65. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/SimpleFilterDropDown.d.ts +1 -1
  66. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/SimpleFilterDropDown.js +13 -10
  67. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/SimpleFilterDropDown.js.map +1 -1
  68. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/TextAttributeDropDown.d.ts +1 -1
  69. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/TextAttributeDropDown.js +12 -2
  70. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/TextAttributeDropDown.js.map +1 -1
  71. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/useConditionOptionsByType.d.ts +5 -9
  72. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/useConditionOptionsByType.js +31 -3
  73. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/useConditionOptionsByType.js.map +1 -1
  74. package/dist/components/Explorer/manage-view-settings/open-view-settings/EditSettingsContext.d.ts +1 -0
  75. package/dist/components/Explorer/manage-view-settings/open-view-settings/EditSettingsContext.js.map +1 -1
  76. package/dist/components/Explorer/manage-view-settings/open-view-settings/useOpenViewSettings.d.ts +2 -0
  77. package/dist/components/Explorer/manage-view-settings/open-view-settings/useOpenViewSettings.js +24 -6
  78. package/dist/components/Explorer/manage-view-settings/open-view-settings/useOpenViewSettings.js.map +1 -1
  79. package/dist/components/Explorer/manage-view-settings/router-menu/SettingsPanel.d.ts +2 -1
  80. package/dist/components/Explorer/manage-view-settings/router-menu/SettingsPanel.js +45 -28
  81. package/dist/components/Explorer/manage-view-settings/router-menu/SettingsPanel.js.map +1 -1
  82. package/dist/components/Explorer/manage-view-settings/sort-items/SortItems.js +20 -20
  83. package/dist/components/Explorer/manage-view-settings/sort-items/SortItems.js.map +1 -1
  84. package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsInitialState.js +7 -1
  85. package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsInitialState.js.map +1 -1
  86. package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsReducer.d.ts +23 -10
  87. package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsReducer.js +48 -23
  88. package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsReducer.js.map +1 -1
  89. package/dist/components/Explorer/nullValuesConditions.d.ts +1 -0
  90. package/dist/components/Explorer/nullValuesConditions.js +14 -0
  91. package/dist/components/Explorer/nullValuesConditions.js.map +1 -0
  92. package/dist/components/Explorer/useViewSettingsReducer.d.ts +7 -0
  93. package/dist/components/Explorer/useViewSettingsReducer.js +106 -0
  94. package/dist/components/Explorer/useViewSettingsReducer.js.map +1 -0
  95. package/dist/components/LibraryItemsList/LibraryItemsListContent/LibraryItemsListContent.js +7 -11
  96. package/dist/components/LibraryItemsList/LibraryItemsListContent/LibraryItemsListContent.js.map +1 -1
  97. package/dist/components/LibraryItemsList/LibraryItemsListTable/Header/Header.js +7 -5
  98. package/dist/components/LibraryItemsList/LibraryItemsListTable/Header/Header.js.map +1 -1
  99. package/dist/components/LibraryItemsList/MenuView/MenuView.js +4 -9
  100. package/dist/components/LibraryItemsList/MenuView/MenuView.js.map +1 -1
  101. package/dist/components/LibraryItemsList/ViewPanel/EditView/EditView.js +2 -3
  102. package/dist/components/LibraryItemsList/ViewPanel/EditView/EditView.js.map +1 -1
  103. package/dist/components/LibraryItemsList/ViewPanel/View/View.js +3 -3
  104. package/dist/components/LibraryItemsList/ViewPanel/View/View.js.map +1 -1
  105. package/dist/components/LibraryItemsList/helpers/getFieldsFromView.js +4 -9
  106. package/dist/components/LibraryItemsList/helpers/getFieldsFromView.js.map +1 -1
  107. package/dist/components/LibraryItemsList/hooks/useLibraryView/useLibraryView.js +7 -5
  108. package/dist/components/LibraryItemsList/hooks/useLibraryView/useLibraryView.js.map +1 -1
  109. package/dist/components/LibraryItemsList/hooks/useSearchReducer/_types.d.ts +1 -1
  110. package/dist/components/LibraryItemsList/hooks/useSearchReducer/searchReducer.d.ts +1 -1
  111. package/dist/components/LibraryItemsList/hooks/useSearchReducer/searchReducer.js +25 -33
  112. package/dist/components/LibraryItemsList/hooks/useSearchReducer/searchReducer.js.map +1 -1
  113. package/dist/components/RecordEdition/EditRecord/EditRecord.d.ts +1 -0
  114. package/dist/components/RecordEdition/EditRecord/EditRecord.js +8 -16
  115. package/dist/components/RecordEdition/EditRecord/EditRecord.js.map +1 -1
  116. package/dist/components/RecordEdition/EditRecordContent/EditRecordContent.js +16 -3
  117. package/dist/components/RecordEdition/EditRecordContent/EditRecordContent.js.map +1 -1
  118. package/dist/components/RecordEdition/EditRecordContent/_types.d.ts +2 -0
  119. package/dist/components/RecordEdition/EditRecordContent/_types.js.map +1 -1
  120. package/dist/components/RecordEdition/EditRecordContent/antdUtils.d.ts +5 -2
  121. package/dist/components/RecordEdition/EditRecordContent/antdUtils.js +6 -3
  122. package/dist/components/RecordEdition/EditRecordContent/antdUtils.js.map +1 -1
  123. package/dist/components/RecordEdition/EditRecordContent/helpers/extractFormElements/extractFormElements.d.ts +3 -1
  124. package/dist/components/RecordEdition/EditRecordContent/helpers/extractFormElements/extractFormElements.js +8 -2
  125. package/dist/components/RecordEdition/EditRecordContent/helpers/extractFormElements/extractFormElements.js.map +1 -1
  126. package/dist/components/RecordEdition/EditRecordContent/uiElements/Container/Container.d.ts +3 -1
  127. package/dist/components/RecordEdition/EditRecordContent/uiElements/Container/Container.js +2 -2
  128. package/dist/components/RecordEdition/EditRecordContent/uiElements/Container/Container.js.map +1 -1
  129. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/LinkField.js +2 -2
  130. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/LinkField.js.map +1 -1
  131. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/MonoValueSelect/MonoValueSelect.d.ts +0 -1
  132. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/MonoValueSelect/MonoValueSelect.js +2 -7
  133. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/MonoValueSelect/MonoValueSelect.js.map +1 -1
  134. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/MultiValueSelect/MultiValueSelect.d.ts +0 -1
  135. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/MultiValueSelect/MultiValueSelect.js +2 -7
  136. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/MultiValueSelect/MultiValueSelect.js.map +1 -1
  137. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/ComputeIndicator.d.ts +6 -0
  138. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/ComputeIndicator.js +18 -0
  139. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/ComputeIndicator.js.map +1 -0
  140. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardField.d.ts +2 -0
  141. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardField.js +16 -36
  142. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardField.js.map +1 -1
  143. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSBooleanWrapper.js +1 -2
  144. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSBooleanWrapper.js.map +1 -1
  145. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSColorPickerWrapper.js +9 -6
  146. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSColorPickerWrapper.js.map +1 -1
  147. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSDatePickerWrapper.js +18 -5
  148. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSDatePickerWrapper.js.map +1 -1
  149. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputNumberWrapper.js +9 -5
  150. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputNumberWrapper.js.map +1 -1
  151. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputWrapper.js +9 -8
  152. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputWrapper.js.map +1 -1
  153. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSRangePickerWrapper.js +13 -6
  154. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSRangePickerWrapper.js.map +1 -1
  155. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSRichTextWrapper.js +9 -10
  156. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSRichTextWrapper.js.map +1 -1
  157. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValue.d.ts +4 -2
  158. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValue.js +3 -1
  159. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValue.js.map +1 -1
  160. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/ValuesList/DSListSelect.js +15 -3
  161. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/ValuesList/DSListSelect.js.map +1 -1
  162. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/_types.d.ts +2 -0
  163. package/dist/components/RecordEdition/EditRecordModal/EditRecordModal.js +10 -4
  164. package/dist/components/RecordEdition/EditRecordModal/EditRecordModal.js.map +1 -1
  165. package/dist/components/RecordEdition/EditRecordPage/EditRecordPage.d.ts +2 -0
  166. package/dist/components/RecordEdition/EditRecordPage/EditRecordPage.js +2 -2
  167. package/dist/components/RecordEdition/EditRecordPage/EditRecordPage.js.map +1 -1
  168. package/dist/components/RecordEdition/EditRecordSidebar/EditRecordSidebar.d.ts +4 -1
  169. package/dist/components/RecordEdition/EditRecordSidebar/EditRecordSidebar.js +35 -3
  170. package/dist/components/RecordEdition/EditRecordSidebar/EditRecordSidebar.js.map +1 -1
  171. package/dist/components/RecordEdition/EditRecordSidebar/PropertiesList/PropertiesList.d.ts +4 -7
  172. package/dist/components/RecordEdition/EditRecordSidebar/PropertiesList/PropertiesList.js +6 -8
  173. package/dist/components/RecordEdition/EditRecordSidebar/PropertiesList/PropertiesList.js.map +1 -1
  174. package/dist/components/RecordEdition/EditRecordSidebar/RecordSummary/RecordInformations/RecordInformations.d.ts +9 -0
  175. package/dist/components/RecordEdition/EditRecordSidebar/RecordSummary/RecordInformations/RecordInformations.js +42 -0
  176. package/dist/components/RecordEdition/EditRecordSidebar/RecordSummary/RecordInformations/RecordInformations.js.map +1 -0
  177. package/dist/components/RecordEdition/EditRecordSidebar/RecordSummary/RecordInformations/useRecordInformations.d.ts +6 -0
  178. package/dist/components/RecordEdition/EditRecordSidebar/RecordSummary/RecordInformations/useRecordInformations.js +35 -0
  179. package/dist/components/RecordEdition/EditRecordSidebar/RecordSummary/RecordInformations/useRecordInformations.js.map +1 -0
  180. package/dist/components/RecordEdition/EditRecordSidebar/RecordSummary/RecordSummary.d.ts +2 -281
  181. package/dist/components/RecordEdition/EditRecordSidebar/RecordSummary/RecordSummary.js +25 -56
  182. package/dist/components/RecordEdition/EditRecordSidebar/RecordSummary/RecordSummary.js.map +1 -1
  183. package/dist/constants.d.ts +1 -0
  184. package/dist/constants.js +1 -0
  185. package/dist/constants.js.map +1 -1
  186. package/dist/hooks/useExecuteSaveViewMutation/index.d.ts +1 -0
  187. package/dist/hooks/useExecuteSaveViewMutation/index.js +5 -0
  188. package/dist/hooks/useExecuteSaveViewMutation/index.js.map +1 -0
  189. package/dist/hooks/useExecuteSaveViewMutation/useExecuteSaveViewMutation.d.ts +6 -0
  190. package/dist/hooks/{useExecuteAddViewMutation/useExecuteAddViewMutation.js → useExecuteSaveViewMutation/useExecuteSaveViewMutation.js} +6 -6
  191. package/dist/hooks/useExecuteSaveViewMutation/useExecuteSaveViewMutation.js.map +1 -0
  192. package/dist/locales/en/shared.json +18 -6
  193. package/dist/locales/fr/shared.json +18 -6
  194. package/dist/types/views.d.ts +4 -4
  195. package/package.json +2 -2
  196. package/dist/components/Explorer/display-view-filters/ExplorerFilterBar.d.ts +0 -2
  197. package/dist/components/Explorer/display-view-filters/ExplorerFilterBar.js +0 -41
  198. package/dist/components/Explorer/display-view-filters/ExplorerFilterBar.js.map +0 -1
  199. package/dist/hooks/useExecuteAddViewMutation/useExecuteAddViewMutation.d.ts +0 -6
  200. package/dist/hooks/useExecuteAddViewMutation/useExecuteAddViewMutation.js.map +0 -1
@@ -7,6 +7,7 @@ export declare const mockAttributeLink: AttributeDetailsFragment;
7
7
  export declare const mockAttributeTree: AttributeDetailsFragment;
8
8
  export declare const mockAttributeVersionable: AttributeDetailsFragment;
9
9
  export declare const mockFormAttribute: RecordFormAttributeFragment;
10
+ export declare const mockFormAttributeCompute: RecordFormAttributeFragment;
10
11
  export declare const mockFormAttributeTree: RecordFormAttributeTreeAttributeFragment;
11
12
  export declare const mockSelectedAttributeA: ISelectedAttribute;
12
13
  export declare const mockSelectedAttributeB: ISelectedAttribute;
@@ -95,6 +95,7 @@ export const mockFormAttribute = {
95
95
  },
96
96
  system: false,
97
97
  readonly: false,
98
+ required: false,
98
99
  multiple_values: false,
99
100
  values_list: {
100
101
  enable: false,
@@ -115,7 +116,14 @@ export const mockFormAttribute = {
115
116
  }
116
117
  }
117
118
  ],
118
- versions_conf: null
119
+ versions_conf: null,
120
+ compute: false
121
+ };
122
+ export const mockFormAttributeCompute = {
123
+ ...mockFormAttribute,
124
+ id: 'test_compute_attribute',
125
+ format: AttributeFormat.text,
126
+ compute: true
119
127
  };
120
128
  export const mockFormAttributeTree = {
121
129
  ...mockFormAttribute,
@@ -1 +1 @@
1
- {"version":3,"file":"attribute.js","sourceRoot":"","sources":["../../../src/__mocks__/common/attribute.ts"],"names":[],"mappings":"AAIA,OAAO,EAEH,eAAe,EACf,aAAa,EAKhB,MAAM,eAAe,CAAC;AAEvB,MAAM,CAAC,MAAM,oBAAoB,GAA8B;IAC3D,EAAE,EAAE,cAAc;IAClB,IAAI,EAAE,aAAa,CAAC,MAAM;IAC1B,MAAM,EAAE,eAAe,CAAC,IAAI;IAC5B,KAAK,EAAE;QACH,EAAE,EAAE,cAAc;QAClB,EAAE,EAAE,cAAc;KACrB;IACD,MAAM,EAAE,KAAK;CAChB,CAAC;AAEF,MAAM,CAAC,MAAM,mBAAmB,GAAgD;IAC5E,EAAE,EAAE,cAAc;IAClB,KAAK,EAAE;QACH,EAAE,EAAE,cAAc;QAClB,EAAE,EAAE,cAAc;KACrB;IACD,IAAI,EAAE,aAAa,CAAC,MAAM;IAC1B,MAAM,EAAE,eAAe,CAAC,IAAI;IAC5B,MAAM,EAAE,KAAK;CAChB,CAAC;AAEF,MAAM,CAAC,MAAM,wBAAwB,GAA6B;IAC9D,EAAE,EAAE,cAAc;IAClB,KAAK,EAAE;QACH,EAAE,EAAE,cAAc;QAClB,EAAE,EAAE,cAAc;KACrB;IACD,MAAM,EAAE,eAAe,CAAC,IAAI;IAC5B,IAAI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e,EAAE;QACb;YACI,GAAG,wBAAwB;YAC3B,WAAW,EAAE;gBACT,gBAAgB,EAAE,IAAI;gBACtB,UAAU,EAAE,IAAI;aACnB;SACJ;KACJ;IACD,aAAa,EAAE,IAAI;IACnB,OAAO,EAAE,KAAK;CACjB,CAAC;AAEF,MAAM,CAAC,MAAM,wBAAwB,GAAgC;IACjE,GAAG,iBAAiB;IACpB,EAAE,EAAE,wBAAwB;IAC5B,MAAM,EAAE,eAAe,CAAC,IAAI;IAC5B,OAAO,EAAE,IAAI;CAChB,CAAC;AAEF,MAAM,CAAC,MAAM,qBAAqB,GAA6C;IAC3E,GAAG,iBAAiB;IACpB,GAAG,iBAAiB;IACpB,eAAe,EAAE,IAAI;IACrB,cAAc,EAAE,EAAC,MAAM,EAAE,KAAK,EAAE,cAAc,EAAE,KAAK,EAAE,eAAe,EAAE,KAAK,EAAE,MAAM,EAAE,EAAE,EAAC;CAC7F,CAAC;AAEF,MAAM,CAAC,MAAM,sBAAsB,GAAuB;IACtD,EAAE,EAAE,GAAG;IACP,IAAI,EAAE,aAAa,CAAC,MAAM;IAC1B,IAAI,EAAE,GAAG;IACT,OAAO,EAAE,UAAU;IACnB,KAAK,EAAE,EAAC,EAAE,EAAE,cAAc,EAAC;IAC3B,eAAe,EAAE,KAAK;CACzB,CAAC;AAEF,MAAM,CAAC,MAAM,sBAAsB,GAAuB;IACtD,GAAG,sBAAsB;IACzB,EAAE,EAAE,GAAG;IACP,IAAI,EAAE,GAAG;CACZ,CAAC;AAEF,MAAM,CAAC,MAAM,sBAAsB,GAAuB;IACtD,GAAG,sBAAsB;IACzB,EAAE,EAAE,GAAG;IACP,IAAI,EAAE,GAAG;CACZ,CAAC"}
@@ -35,7 +35,9 @@ export const mockRecordPropertyWithAttribute = {
35
35
  },
36
36
  multiple_values: false,
37
37
  readonly: false,
38
- permissions: { access_attribute: true, edit_value: true }
38
+ required: false,
39
+ permissions: { access_attribute: true, edit_value: true },
40
+ compute: false
39
41
  }
40
42
  };
41
43
  //# sourceMappingURL=value.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"value.js","sourceRoot":"","sources":["../../../src/__mocks__/common/value.ts"],"names":[],"mappings":"AAKA,OAAO,EAAC,mBAAmB,EAAC,MAAM,aAAa,CAAC;AAChD,OAAO,EAAC,YAAY,EAAC,MAAM,UAAU,CAAC;AAEtC,MAAM,CAAC,MAAM,YAAY,GAA4B;IACjD,EAAE,EAAE,GAAG;IACP,MAAM,EAAE;QACJ,EAAE,EAAE,QAAQ;QACZ,KAAK,EAAE,OAAO;QACd,QAAQ,EAAE,OAAO;QACjB,OAAO,EAAE;YACL,EAAE,EAAE,OAAO;YACX,KAAK,EAAE,EAAC,EAAE,EAAE,cAAc,EAAC;SAC9B;QACD,OAAO,EAAE,YAAY;QACrB,KAAK,EAAE,SAAS;KACnB;CACJ,CAAC;AAEF,MAAM,CAAC,MAAM,kBAAkB,GAAmB;IAC9C,QAAQ,EAAE,QAAQ;IAClB,UAAU,EAAE,UAAU;IACtB,UAAU,EAAE,YAAY;IACxB,WAAW,EAAE,UAAU;IACvB,WAAW,EAAE,YAAY;IACzB,OAAO,EAAE,YAAY;IACrB,WAAW,EAAE,YAAY;IACzB,SAAS,EAAE,IAAI;IACf,SAAS,EAAE,IAAI;CAClB,CAAC;AAEF,MAAM,CAAC,MAAM,+BAA+B,GAAiC;IACzE,KAAK,EAAE,kBAAkB;IACzB,SAAS,EAAE;QACP,GAAG,mBAAmB;QACtB,WAAW,EAAE;YACT,EAAE,EAAE,gBAAgB;YACpB,EAAE,EAAE,gBAAgB;SACvB;QACD,eAAe,EAAE,KAAK;QACtB,QAAQ,EAAE,KAAK;QACf,WAAW,EAAE,EAAC,gBAAgB,EAAE,IAAI,EAAE,UAAU,EAAE,IAAI,EAAC;KAC1D;CACJ,CAAC"}
1
+ {"version":3,"file":"value.js","sourceRoot":"","sources":["../../../src/__mocks__/common/value.ts"],"names":[],"mappings":"AAKA,OAAO,EAAC,mBAAmB,EAAC,MAAM,aAAa,CAAC;AAChD,OAAO,EAAC,YAAY,EAAC,MAAM,UAAU,CAAC;AAEtC,MAAM,CAAC,MAAM,YAAY,GAA4B;IACjD,EAAE,EAAE,GAAG;IACP,MAAM,EAAE;QACJ,EAAE,EAAE,QAAQ;QACZ,KAAK,EAAE,OAAO;QACd,QAAQ,EAAE,OAAO;QACjB,OAAO,EAAE;YACL,EAAE,EAAE,OAAO;YACX,KAAK,EAAE,EAAC,EAAE,EAAE,cAAc,EAAC;SAC9B;QACD,OAAO,EAAE,YAAY;QACrB,KAAK,EAAE,SAAS;KACnB;CACJ,CAAC;AAEF,MAAM,CAAC,MAAM,kBAAkB,GAAmB;IAC9C,QAAQ,EAAE,QAAQ;IAClB,UAAU,EAAE,UAAU;IACtB,UAAU,EAAE,YAAY;IACxB,WAAW,EAAE,UAAU;IACvB,WAAW,EAAE,YAAY;IACzB,OAAO,EAAE,YAAY;IACrB,WAAW,EAAE,YAAY;IACzB,SAAS,EAAE,IAAI;IACf,SAAS,EAAE,IAAI;CAClB,CAAC;AAEF,MAAM,CAAC,MAAM,+BAA+B,GAAiC;IACzE,KAAK,EAAE,kBAAkB;IACzB,SAAS,EAAE;QACP,GAAG,mBAAmB;QACtB,WAAW,EAAE;YACT,EAAE,EAAE,gBAAgB;YACpB,EAAE,EAAE,gBAAgB;SACvB;QACD,eAAe,EAAE,KAAK;QACtB,QAAQ,EAAE,KAAK;QACf,QAAQ,EAAE,KAAK;QACf,WAAW,EAAE,EAAC,gBAAgB,EAAE,IAAI,EAAE,UAAU,EAAE,IAAI,EAAC;QACvD,OAAO,EAAE,KAAK;KACjB;CACJ,CAAC"}
@@ -17,10 +17,12 @@ export const mockView = {
17
17
  },
18
18
  color: '#e48232',
19
19
  filters: [],
20
- sort: {
21
- field: 'id',
22
- order: SortOrder.asc
23
- },
24
- settings: []
20
+ sort: [
21
+ {
22
+ field: 'id',
23
+ order: SortOrder.asc
24
+ }
25
+ ],
26
+ attributes: []
25
27
  };
26
28
  //# sourceMappingURL=view.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"view.js","sourceRoot":"","sources":["../../../src/__mocks__/common/view.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AAGtE,OAAO,EAAC,SAAS,EAAE,SAAS,EAAE,SAAS,EAAC,MAAM,eAAe,CAAC;AAE9D,MAAM,CAAC,MAAM,QAAQ,GAAU;IAC3B,EAAE,EAAE,IAAI;IACR,OAAO,EAAE,EAAC,IAAI,EAAE,SAAS,CAAC,IAAI,EAAE,IAAI,EAAE,SAAS,CAAC,MAAM,EAAC;IACvD,MAAM,EAAE,KAAK;IACb,KAAK,EAAE,IAAI;IACX,KAAK,EAAE;QACH,EAAE,EAAE,MAAM;QACV,EAAE,EAAE,MAAM;KACb;IACD,WAAW,EAAE;QACT,EAAE,EAAE,iBAAiB;QACrB,EAAE,EAAE,iBAAiB;KACxB;IACD,KAAK,EAAE,SAAS;IAChB,OAAO,EAAE,EAAE;IACX,IAAI,EAAE;QACF,KAAK,EAAE,IAAI;QACX,KAAK,EAAE,SAAS,CAAC,GAAG;KACvB;IACD,QAAQ,EAAE,EAAE;CACf,CAAC"}
1
+ {"version":3,"file":"view.js","sourceRoot":"","sources":["../../../src/__mocks__/common/view.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AAGtE,OAAO,EAAC,SAAS,EAAE,SAAS,EAAE,SAAS,EAAC,MAAM,eAAe,CAAC;AAE9D,MAAM,CAAC,MAAM,QAAQ,GAAU;IAC3B,EAAE,EAAE,IAAI;IACR,OAAO,EAAE,EAAC,IAAI,EAAE,SAAS,CAAC,IAAI,EAAE,IAAI,EAAE,SAAS,CAAC,MAAM,EAAC;IACvD,MAAM,EAAE,KAAK;IACb,KAAK,EAAE,IAAI;IACX,KAAK,EAAE;QACH,EAAE,EAAE,MAAM;QACV,EAAE,EAAE,MAAM;KACb;IACD,WAAW,EAAE;QACT,EAAE,EAAE,iBAAiB;QACrB,EAAE,EAAE,iBAAiB;KACxB;IACD,KAAK,EAAE,SAAS;IAChB,OAAO,EAAE,EAAE;IACX,IAAI,EAAE;QACF;YACI,KAAK,EAAE,IAAI;YACX,KAAK,EAAE,SAAS,CAAC,GAAG;SACvB;KACJ;IACD,UAAU,EAAE,EAAE;CACjB,CAAC"}
@@ -12,7 +12,7 @@ export const mockGetLibraryDetailExtendedDefaultView = {
12
12
  filters: [],
13
13
  color: null,
14
14
  sort: null,
15
- settings: null
15
+ attributes: []
16
16
  };
17
17
  export const mockGetLibraryDetailExtendedElement = {
18
18
  id: 'test',
@@ -1 +1 @@
1
- {"version":3,"file":"mockGetLibraryDetailExtendedQuery.js","sourceRoot":"","sources":["../../../src/__mocks__/mockQuery/mockGetLibraryDetailExtendedQuery.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,eAAe,EAAE,aAAa,EAAE,eAAe,EAAE,SAAS,EAAE,SAAS,EAAC,MAAM,eAAe,CAAC;AAOpG,OAAO,EAAC,SAAS,EAAC,MAAM,4BAA4B,CAAC;AAErD,MAAM,CAAC,MAAM,uCAAuC,GAAsC;IACtF,EAAE,EAAE,eAAe;IACnB,WAAW,EAAE,EAAC,EAAE,EAAE,cAAc,EAAE,EAAE,EAAE,cAAc,EAAC;IACrD,KAAK,EAAE,SAAS,CAAC,kBAAkB,CAAC;IACpC,OAAO,EAAE,EAAC,IAAI,EAAE,SAAS,CAAC,IAAI,EAAE,IAAI,EAAE,SAAS,CAAC,MAAM,EAAC;IACvD,MAAM,EAAE,KAAK;IACb,OAAO,EAAE,EAAE;IACX,KAAK,EAAE,IAAI;IACX,IAAI,EAAE,IAAI;IACV,QAAQ,EAAE,IAAI;CACjB,CAAC;AAEF,MAAM,CAAC,MAAM,mCAAmC,GAA2B;IACvE,EAAE,EAAE,MAAM;IACV,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,eAAe,CAAC,QAAQ;IAClC,KAAK,EAAE;QACH,EAAE,EAAE,OAAO;QACX,EAAE,EAAE,OAAO;KACd;IACD,UAAU,EAAE;QACR;YACI,EAAE,EAAE,MAAM;YACV,IAAI,EAAE,aAAa,CAAC,MAAM;YAC1B,MAAM,EAAE,eAAe,CAAC,IAAI;YAC5B,KAAK,EAAE;gBACH,EAAE,EAAE,OAAO;gBACX,EAAE,EAAE,QAAQ;aACf;YACD,QAAQ,EAAE,KAAK;YACf,eAAe,EAAE,KAAK;YACtB,MAAM,EAAE,KAAK;SAChB;KACJ;IACD,WAAW,EAAE;QACT,cAAc,EAAE,IAAI;QACpB,aAAa,EAAE,IAAI;QACnB,aAAa,EAAE,IAAI;QACnB,aAAa,EAAE,IAAI;QACnB,WAAW,EAAE,IAAI;KACpB;IACD,WAAW,EAAE,uCAAuC;IACpD,WAAW,EAAE,EAAE;CAClB,CAAC;AAEF,MAAM,CAAC,MAAM,iCAAiC,GAAmC;IAC7E,SAAS,EAAE;QACP,IAAI,EAAE,CAAC,mCAAmC,CAAC;KAC9C;CACJ,CAAC;AAEF,MAAM,CAAC,MAAM,oCAAoC,GAAuC;IACpF,KAAK,EAAE,CAAC,MAAM,CAAC;CAClB,CAAC"}
1
+ {"version":3,"file":"mockGetLibraryDetailExtendedQuery.js","sourceRoot":"","sources":["../../../src/__mocks__/mockQuery/mockGetLibraryDetailExtendedQuery.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,eAAe,EAAE,aAAa,EAAE,eAAe,EAAE,SAAS,EAAE,SAAS,EAAC,MAAM,eAAe,CAAC;AAOpG,OAAO,EAAC,SAAS,EAAC,MAAM,4BAA4B,CAAC;AAErD,MAAM,CAAC,MAAM,uCAAuC,GAAsC;IACtF,EAAE,EAAE,eAAe;IACnB,WAAW,EAAE,EAAC,EAAE,EAAE,cAAc,EAAE,EAAE,EAAE,cAAc,EAAC;IACrD,KAAK,EAAE,SAAS,CAAC,kBAAkB,CAAC;IACpC,OAAO,EAAE,EAAC,IAAI,EAAE,SAAS,CAAC,IAAI,EAAE,IAAI,EAAE,SAAS,CAAC,MAAM,EAAC;IACvD,MAAM,EAAE,KAAK;IACb,OAAO,EAAE,EAAE;IACX,KAAK,EAAE,IAAI;IACX,IAAI,EAAE,IAAI;IACV,UAAU,EAAE,EAAE;CACjB,CAAC;AAEF,MAAM,CAAC,MAAM,mCAAmC,GAA2B;IACvE,EAAE,EAAE,MAAM;IACV,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,eAAe,CAAC,QAAQ;IAClC,KAAK,EAAE;QACH,EAAE,EAAE,OAAO;QACX,EAAE,EAAE,OAAO;KACd;IACD,UAAU,EAAE;QACR;YACI,EAAE,EAAE,MAAM;YACV,IAAI,EAAE,aAAa,CAAC,MAAM;YAC1B,MAAM,EAAE,eAAe,CAAC,IAAI;YAC5B,KAAK,EAAE;gBACH,EAAE,EAAE,OAAO;gBACX,EAAE,EAAE,QAAQ;aACf;YACD,QAAQ,EAAE,KAAK;YACf,eAAe,EAAE,KAAK;YACtB,MAAM,EAAE,KAAK;SAChB;KACJ;IACD,WAAW,EAAE;QACT,cAAc,EAAE,IAAI;QACpB,aAAa,EAAE,IAAI;QACnB,aAAa,EAAE,IAAI;QACnB,aAAa,EAAE,IAAI;QACnB,WAAW,EAAE,IAAI;KACpB;IACD,WAAW,EAAE,uCAAuC;IACpD,WAAW,EAAE,EAAE;CAClB,CAAC;AAEF,MAAM,CAAC,MAAM,iCAAiC,GAAmC;IAC7E,SAAS,EAAE;QACP,IAAI,EAAE,CAAC,mCAAmC,CAAC;KAC9C;CACJ,CAAC;AAEF,MAAM,CAAC,MAAM,oCAAoC,GAAuC;IACpF,KAAK,EAAE,CAAC,MAAM,CAAC;CAClB,CAAC"}
@@ -18,7 +18,8 @@ const views = [
18
18
  }
19
19
  },
20
20
  filters: [],
21
- valuesVersions: null
21
+ valuesVersions: null,
22
+ attributes: null
22
23
  }
23
24
  ];
24
25
  const mocksGetViewsListQuery = (libraryId) => {
@@ -1 +1 @@
1
- {"version":3,"file":"mockGetViewListQuery.js","sourceRoot":"","sources":["../../../src/__mocks__/mockQuery/mockGetViewListQuery.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AAItE,OAAO,EAAC,iBAAiB,EAAC,MAAM,sCAAsC,CAAC;AACvE,OAAO,EAAC,QAAQ,EAAC,MAAM,gBAAgB,CAAC;AAExC,MAAM,KAAK,GAA6C;IACpD;QACI,GAAG,QAAQ;QACX,UAAU,EAAE,MAAM;QAClB,UAAU,EAAE;YACR,EAAE,EAAE,GAAG;YACP,MAAM,EAAE;gBACJ,EAAE,EAAE,GAAG;gBACP,KAAK,EAAE,MAAM;gBACb,OAAO,EAAE;oBACL,EAAE,EAAE,OAAO;iBACd;aACJ;SACJ;QACD,OAAO,EAAE,EAAS;QAClB,cAAc,EAAE,IAAI;KACvB;CACJ,CAAC;AAEF,MAAM,sBAAsB,GAAG,CAAC,SAAiB,EAAE,EAAE;IACjD,MAAM,KAAK,GAAG;QACV;YACI,OAAO,EAAE;gBACL,KAAK,EAAE,iBAAiB;gBACxB,SAAS,EAAE;oBACP,SAAS;iBACZ;aACJ;YACD,MAAM,EAAE;gBACJ,IAAI,EAAE;oBACF,KAAK,EAAE;wBACH,UAAU,EAAE,CAAC;wBACb,IAAI,EAAE,KAAK;qBACd;iBACJ;aACJ;SACJ;KACJ,CAAC;IAEF,OAAO,KAAK,CAAC;AACjB,CAAC,CAAC;AAEF,eAAe,sBAAsB,CAAC"}
1
+ {"version":3,"file":"mockGetViewListQuery.js","sourceRoot":"","sources":["../../../src/__mocks__/mockQuery/mockGetViewListQuery.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AAItE,OAAO,EAAC,iBAAiB,EAAC,MAAM,sCAAsC,CAAC;AACvE,OAAO,EAAC,QAAQ,EAAC,MAAM,gBAAgB,CAAC;AAExC,MAAM,KAAK,GAA6C;IACpD;QACI,GAAG,QAAQ;QACX,UAAU,EAAE,MAAM;QAClB,UAAU,EAAE;YACR,EAAE,EAAE,GAAG;YACP,MAAM,EAAE;gBACJ,EAAE,EAAE,GAAG;gBACP,KAAK,EAAE,MAAM;gBACb,OAAO,EAAE;oBACL,EAAE,EAAE,OAAO;iBACd;aACJ;SACJ;QACD,OAAO,EAAE,EAAS;QAClB,cAAc,EAAE,IAAI;QACpB,UAAU,EAAE,IAAI;KACnB;CACJ,CAAC;AAEF,MAAM,sBAAsB,GAAG,CAAC,SAAiB,EAAE,EAAE;IACjD,MAAM,KAAK,GAAG;QACV;YACI,OAAO,EAAE;gBACL,KAAK,EAAE,iBAAiB;gBACxB,SAAS,EAAE;oBACP,SAAS;iBACZ;aACJ;YACD,MAAM,EAAE;gBACJ,IAAI,EAAE;oBACF,KAAK,EAAE;wBACH,UAAU,EAAE,CAAC;wBACb,IAAI,EAAE,KAAK;qBACd;iBACJ;aACJ;SACJ;KACJ,CAAC;IAEF,OAAO,KAAK,CAAC;AACjB,CAAC,CAAC;AAEF,eAAe,sBAAsB,CAAC"}
@@ -158,14 +158,15 @@ export declare enum AttributeType {
158
158
  tree = "tree"
159
159
  }
160
160
  export type AttributesFiltersInput = {
161
- format?: InputMaybe<Array<InputMaybe<AttributeFormat>>>;
161
+ format?: InputMaybe<Array<AttributeFormat>>;
162
162
  id?: InputMaybe<Scalars['ID']>;
163
+ ids?: InputMaybe<Array<Scalars['ID']>>;
163
164
  label?: InputMaybe<Scalars['String']>;
164
- libraries?: InputMaybe<Array<InputMaybe<Scalars['String']>>>;
165
- librariesExcluded?: InputMaybe<Array<InputMaybe<Scalars['String']>>>;
165
+ libraries?: InputMaybe<Array<Scalars['String']>>;
166
+ librariesExcluded?: InputMaybe<Array<Scalars['String']>>;
166
167
  multiple_values?: InputMaybe<Scalars['Boolean']>;
167
168
  system?: InputMaybe<Scalars['Boolean']>;
168
- type?: InputMaybe<Array<InputMaybe<AttributeType>>>;
169
+ type?: InputMaybe<Array<AttributeType>>;
169
170
  versionable?: InputMaybe<Scalars['Boolean']>;
170
171
  };
171
172
  export declare enum AttributesSortableFields {
@@ -725,10 +726,11 @@ export declare enum VersionProfilesSortableFields {
725
726
  id = "id"
726
727
  }
727
728
  export type ViewDisplayInput = {
728
- size: ViewSizes;
729
+ size?: InputMaybe<ViewSizes>;
729
730
  type: ViewTypes;
730
731
  };
731
732
  export type ViewInput = {
733
+ attributes?: InputMaybe<Array<Scalars['String']>>;
732
734
  color?: InputMaybe<Scalars['String']>;
733
735
  description?: InputMaybe<Scalars['SystemTranslationOptional']>;
734
736
  display: ViewDisplayInput;
@@ -736,15 +738,10 @@ export type ViewInput = {
736
738
  id?: InputMaybe<Scalars['String']>;
737
739
  label?: InputMaybe<Scalars['SystemTranslation']>;
738
740
  library: Scalars['String'];
739
- settings?: InputMaybe<Array<ViewSettingsInput>>;
740
741
  shared: Scalars['Boolean'];
741
- sort?: InputMaybe<RecordSortInput>;
742
+ sort?: InputMaybe<Array<RecordSortInput>>;
742
743
  valuesVersions?: InputMaybe<Array<ViewValuesVersionInput>>;
743
744
  };
744
- export type ViewSettingsInput = {
745
- name: Scalars['String'];
746
- value?: InputMaybe<Scalars['Any']>;
747
- };
748
745
  export declare enum ViewSizes {
749
746
  BIG = "BIG",
750
747
  MEDIUM = "MEDIUM",
@@ -1486,7 +1483,9 @@ export type RecordFormElementFragment = {
1486
1483
  format?: AttributeFormat | null;
1487
1484
  system: boolean;
1488
1485
  readonly: boolean;
1486
+ required: boolean;
1489
1487
  multiple_values: boolean;
1488
+ compute: boolean;
1490
1489
  linked_library?: {
1491
1490
  id: string;
1492
1491
  label?: any | null;
@@ -1567,7 +1566,9 @@ export type RecordFormElementFragment = {
1567
1566
  format?: AttributeFormat | null;
1568
1567
  system: boolean;
1569
1568
  readonly: boolean;
1569
+ required: boolean;
1570
1570
  multiple_values: boolean;
1571
+ compute: boolean;
1571
1572
  values_list?: {
1572
1573
  enable: boolean;
1573
1574
  allowFreeEntry?: boolean | null;
@@ -1635,7 +1636,9 @@ export type RecordFormElementFragment = {
1635
1636
  format?: AttributeFormat | null;
1636
1637
  system: boolean;
1637
1638
  readonly: boolean;
1639
+ required: boolean;
1638
1640
  multiple_values: boolean;
1641
+ compute: boolean;
1639
1642
  linked_tree?: {
1640
1643
  id: string;
1641
1644
  label?: any | null;
@@ -2138,7 +2141,9 @@ export type RecordFormAttributeLinkAttributeFragment = {
2138
2141
  format?: AttributeFormat | null;
2139
2142
  system: boolean;
2140
2143
  readonly: boolean;
2144
+ required: boolean;
2141
2145
  multiple_values: boolean;
2146
+ compute: boolean;
2142
2147
  linked_library?: {
2143
2148
  id: string;
2144
2149
  label?: any | null;
@@ -2220,7 +2225,9 @@ export type RecordFormAttributeStandardAttributeFragment = {
2220
2225
  format?: AttributeFormat | null;
2221
2226
  system: boolean;
2222
2227
  readonly: boolean;
2228
+ required: boolean;
2223
2229
  multiple_values: boolean;
2230
+ compute: boolean;
2224
2231
  values_list?: {
2225
2232
  enable: boolean;
2226
2233
  allowFreeEntry?: boolean | null;
@@ -2289,7 +2296,9 @@ export type RecordFormAttributeTreeAttributeFragment = {
2289
2296
  format?: AttributeFormat | null;
2290
2297
  system: boolean;
2291
2298
  readonly: boolean;
2299
+ required: boolean;
2292
2300
  multiple_values: boolean;
2301
+ compute: boolean;
2293
2302
  linked_tree?: {
2294
2303
  id: string;
2295
2304
  label?: any | null;
@@ -2471,7 +2480,7 @@ export type ViewDetailsFragment = {
2471
2480
  description?: any | null;
2472
2481
  color?: string | null;
2473
2482
  display: {
2474
- size: ViewSizes;
2483
+ size?: ViewSizes | null;
2475
2484
  type: ViewTypes;
2476
2485
  };
2477
2486
  created_by: {
@@ -2494,10 +2503,10 @@ export type ViewDetailsFragment = {
2494
2503
  label?: any | null;
2495
2504
  } | null;
2496
2505
  }> | null;
2497
- sort?: {
2506
+ sort?: Array<{
2498
2507
  field: string;
2499
2508
  order: SortOrder;
2500
- } | null;
2509
+ }> | null;
2501
2510
  valuesVersions?: Array<{
2502
2511
  treeId: string;
2503
2512
  treeNode: {
@@ -2518,11 +2527,20 @@ export type ViewDetailsFragment = {
2518
2527
  };
2519
2528
  };
2520
2529
  }> | null;
2521
- settings?: Array<{
2522
- name: string;
2523
- value?: any | null;
2530
+ attributes?: Array<{
2531
+ id: string;
2524
2532
  }> | null;
2525
2533
  };
2534
+ export type ViewDetailsFilterFragment = {
2535
+ field?: string | null;
2536
+ value?: string | null;
2537
+ condition?: RecordFilterCondition | null;
2538
+ operator?: RecordFilterOperator | null;
2539
+ tree?: {
2540
+ id: string;
2541
+ label?: any | null;
2542
+ } | null;
2543
+ };
2526
2544
  export type AttributePropertiesFragment = {
2527
2545
  id: string;
2528
2546
  label?: any | null;
@@ -3962,7 +3980,9 @@ export type RecordFormQuery = {
3962
3980
  format?: AttributeFormat | null;
3963
3981
  system: boolean;
3964
3982
  readonly: boolean;
3983
+ required: boolean;
3965
3984
  multiple_values: boolean;
3985
+ compute: boolean;
3966
3986
  linked_library?: {
3967
3987
  id: string;
3968
3988
  label?: any | null;
@@ -4043,7 +4063,9 @@ export type RecordFormQuery = {
4043
4063
  format?: AttributeFormat | null;
4044
4064
  system: boolean;
4045
4065
  readonly: boolean;
4066
+ required: boolean;
4046
4067
  multiple_values: boolean;
4068
+ compute: boolean;
4047
4069
  values_list?: {
4048
4070
  enable: boolean;
4049
4071
  allowFreeEntry?: boolean | null;
@@ -4111,7 +4133,9 @@ export type RecordFormQuery = {
4111
4133
  format?: AttributeFormat | null;
4112
4134
  system: boolean;
4113
4135
  readonly: boolean;
4136
+ required: boolean;
4114
4137
  multiple_values: boolean;
4138
+ compute: boolean;
4115
4139
  linked_tree?: {
4116
4140
  id: string;
4117
4141
  label?: any | null;
@@ -5752,7 +5776,7 @@ export type GetViewQuery = {
5752
5776
  description?: any | null;
5753
5777
  color?: string | null;
5754
5778
  display: {
5755
- size: ViewSizes;
5779
+ size?: ViewSizes | null;
5756
5780
  type: ViewTypes;
5757
5781
  };
5758
5782
  created_by: {
@@ -5775,10 +5799,10 @@ export type GetViewQuery = {
5775
5799
  label?: any | null;
5776
5800
  } | null;
5777
5801
  }> | null;
5778
- sort?: {
5802
+ sort?: Array<{
5779
5803
  field: string;
5780
5804
  order: SortOrder;
5781
- } | null;
5805
+ }> | null;
5782
5806
  valuesVersions?: Array<{
5783
5807
  treeId: string;
5784
5808
  treeNode: {
@@ -5799,9 +5823,8 @@ export type GetViewQuery = {
5799
5823
  };
5800
5824
  };
5801
5825
  }> | null;
5802
- settings?: Array<{
5803
- name: string;
5804
- value?: any | null;
5826
+ attributes?: Array<{
5827
+ id: string;
5805
5828
  }> | null;
5806
5829
  };
5807
5830
  };
@@ -5818,7 +5841,7 @@ export type GetViewsListQuery = {
5818
5841
  description?: any | null;
5819
5842
  color?: string | null;
5820
5843
  display: {
5821
- size: ViewSizes;
5844
+ size?: ViewSizes | null;
5822
5845
  type: ViewTypes;
5823
5846
  };
5824
5847
  created_by: {
@@ -5841,10 +5864,10 @@ export type GetViewsListQuery = {
5841
5864
  label?: any | null;
5842
5865
  } | null;
5843
5866
  }> | null;
5844
- sort?: {
5867
+ sort?: Array<{
5845
5868
  field: string;
5846
5869
  order: SortOrder;
5847
- } | null;
5870
+ }> | null;
5848
5871
  valuesVersions?: Array<{
5849
5872
  treeId: string;
5850
5873
  treeNode: {
@@ -5865,17 +5888,16 @@ export type GetViewsListQuery = {
5865
5888
  };
5866
5889
  };
5867
5890
  }> | null;
5868
- settings?: Array<{
5869
- name: string;
5870
- value?: any | null;
5891
+ attributes?: Array<{
5892
+ id: string;
5871
5893
  }> | null;
5872
5894
  }>;
5873
5895
  };
5874
5896
  };
5875
- export type AddViewMutationVariables = Exact<{
5897
+ export type SaveViewMutationVariables = Exact<{
5876
5898
  view: ViewInput;
5877
5899
  }>;
5878
- export type AddViewMutation = {
5900
+ export type SaveViewMutation = {
5879
5901
  saveView: {
5880
5902
  id: string;
5881
5903
  shared: boolean;
@@ -5883,7 +5905,7 @@ export type AddViewMutation = {
5883
5905
  description?: any | null;
5884
5906
  color?: string | null;
5885
5907
  display: {
5886
- size: ViewSizes;
5908
+ size?: ViewSizes | null;
5887
5909
  type: ViewTypes;
5888
5910
  };
5889
5911
  created_by: {
@@ -5906,10 +5928,10 @@ export type AddViewMutation = {
5906
5928
  label?: any | null;
5907
5929
  } | null;
5908
5930
  }> | null;
5909
- sort?: {
5931
+ sort?: Array<{
5910
5932
  field: string;
5911
5933
  order: SortOrder;
5912
- } | null;
5934
+ }> | null;
5913
5935
  valuesVersions?: Array<{
5914
5936
  treeId: string;
5915
5937
  treeNode: {
@@ -5930,12 +5952,24 @@ export type AddViewMutation = {
5930
5952
  };
5931
5953
  };
5932
5954
  }> | null;
5933
- settings?: Array<{
5934
- name: string;
5935
- value?: any | null;
5955
+ attributes?: Array<{
5956
+ id: string;
5936
5957
  }> | null;
5937
5958
  };
5938
5959
  };
5960
+ export type ExplorerAttributesQueryVariables = Exact<{
5961
+ ids?: InputMaybe<Array<Scalars['ID']> | Scalars['ID']>;
5962
+ }>;
5963
+ export type ExplorerAttributesQuery = {
5964
+ attributes?: {
5965
+ list: Array<{
5966
+ id: string;
5967
+ type: AttributeType;
5968
+ format?: AttributeFormat | null;
5969
+ label?: any | null;
5970
+ }>;
5971
+ } | null;
5972
+ };
5939
5973
  export type ExplorerQueryVariables = Exact<{
5940
5974
  libraryId: Scalars['ID'];
5941
5975
  attributeIds: Array<Scalars['ID']> | Scalars['ID'];
@@ -6047,6 +6081,7 @@ export declare const RecordFormElementFragmentDoc: Apollo.DocumentNode;
6047
6081
  export declare const TreeLightFragmentDoc: Apollo.DocumentNode;
6048
6082
  export declare const TreeDetailsFragmentDoc: Apollo.DocumentNode;
6049
6083
  export declare const TreeNodeChildFragmentDoc: Apollo.DocumentNode;
6084
+ export declare const ViewDetailsFilterFragmentDoc: Apollo.DocumentNode;
6050
6085
  export declare const ViewDetailsFragmentDoc: Apollo.DocumentNode;
6051
6086
  export declare const PropertyValueFragmentDoc: Apollo.DocumentNode;
6052
6087
  export declare const AttributePropertiesFragmentDoc: Apollo.DocumentNode;
@@ -7435,31 +7470,57 @@ export declare function useGetViewsListLazyQuery(baseOptions?: Apollo.LazyQueryH
7435
7470
  export type GetViewsListQueryHookResult = ReturnType<typeof useGetViewsListQuery>;
7436
7471
  export type GetViewsListLazyQueryHookResult = ReturnType<typeof useGetViewsListLazyQuery>;
7437
7472
  export type GetViewsListQueryResult = Apollo.QueryResult<GetViewsListQuery, GetViewsListQueryVariables>;
7438
- export declare const AddViewDocument: Apollo.DocumentNode;
7439
- export type AddViewMutationFn = Apollo.MutationFunction<AddViewMutation, AddViewMutationVariables>;
7473
+ export declare const SaveViewDocument: Apollo.DocumentNode;
7474
+ export type SaveViewMutationFn = Apollo.MutationFunction<SaveViewMutation, SaveViewMutationVariables>;
7440
7475
  /**
7441
- * __useAddViewMutation__
7476
+ * __useSaveViewMutation__
7442
7477
  *
7443
- * To run a mutation, you first call `useAddViewMutation` within a React component and pass it any options that fit your needs.
7444
- * When your component renders, `useAddViewMutation` returns a tuple that includes:
7478
+ * To run a mutation, you first call `useSaveViewMutation` within a React component and pass it any options that fit your needs.
7479
+ * When your component renders, `useSaveViewMutation` returns a tuple that includes:
7445
7480
  * - A mutate function that you can call at any time to execute the mutation
7446
7481
  * - An object with fields that represent the current status of the mutation's execution
7447
7482
  *
7448
7483
  * @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;
7449
7484
  *
7450
7485
  * @example
7451
- * const [addViewMutation, { data, loading, error }] = useAddViewMutation({
7486
+ * const [saveViewMutation, { data, loading, error }] = useSaveViewMutation({
7452
7487
  * variables: {
7453
7488
  * view: // value for 'view'
7454
7489
  * },
7455
7490
  * });
7456
7491
  */
7457
- export declare function useAddViewMutation(baseOptions?: Apollo.MutationHookOptions<AddViewMutation, AddViewMutationVariables>): Apollo.MutationTuple<AddViewMutation, Exact<{
7492
+ export declare function useSaveViewMutation(baseOptions?: Apollo.MutationHookOptions<SaveViewMutation, SaveViewMutationVariables>): Apollo.MutationTuple<SaveViewMutation, Exact<{
7458
7493
  view: ViewInput;
7459
7494
  }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
7460
- export type AddViewMutationHookResult = ReturnType<typeof useAddViewMutation>;
7461
- export type AddViewMutationResult = Apollo.MutationResult<AddViewMutation>;
7462
- export type AddViewMutationOptions = Apollo.BaseMutationOptions<AddViewMutation, AddViewMutationVariables>;
7495
+ export type SaveViewMutationHookResult = ReturnType<typeof useSaveViewMutation>;
7496
+ export type SaveViewMutationResult = Apollo.MutationResult<SaveViewMutation>;
7497
+ export type SaveViewMutationOptions = Apollo.BaseMutationOptions<SaveViewMutation, SaveViewMutationVariables>;
7498
+ export declare const ExplorerAttributesDocument: Apollo.DocumentNode;
7499
+ /**
7500
+ * __useExplorerAttributesQuery__
7501
+ *
7502
+ * To run a query within a React component, call `useExplorerAttributesQuery` and pass it any options that fit your needs.
7503
+ * When your component renders, `useExplorerAttributesQuery` returns an object from Apollo Client that contains loading, error, and data properties
7504
+ * you can use to render your UI.
7505
+ *
7506
+ * @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;
7507
+ *
7508
+ * @example
7509
+ * const { data, loading, error } = useExplorerAttributesQuery({
7510
+ * variables: {
7511
+ * ids: // value for 'ids'
7512
+ * },
7513
+ * });
7514
+ */
7515
+ export declare function useExplorerAttributesQuery(baseOptions?: Apollo.QueryHookOptions<ExplorerAttributesQuery, ExplorerAttributesQueryVariables>): Apollo.QueryResult<ExplorerAttributesQuery, Exact<{
7516
+ ids?: InputMaybe<Array<Scalars["ID"]> | Scalars["ID"]>;
7517
+ }>>;
7518
+ export declare function useExplorerAttributesLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<ExplorerAttributesQuery, ExplorerAttributesQueryVariables>): Apollo.LazyQueryResultTuple<ExplorerAttributesQuery, Exact<{
7519
+ ids?: InputMaybe<Array<Scalars["ID"]> | Scalars["ID"]>;
7520
+ }>>;
7521
+ export type ExplorerAttributesQueryHookResult = ReturnType<typeof useExplorerAttributesQuery>;
7522
+ export type ExplorerAttributesLazyQueryHookResult = ReturnType<typeof useExplorerAttributesLazyQuery>;
7523
+ export type ExplorerAttributesQueryResult = Apollo.QueryResult<ExplorerAttributesQuery, ExplorerAttributesQueryVariables>;
7463
7524
  export declare const ExplorerDocument: Apollo.DocumentNode;
7464
7525
  /**
7465
7526
  * __useExplorerQuery__
@@ -661,7 +661,9 @@ export const RecordFormAttributeFragmentDoc = gql `
661
661
  format
662
662
  system
663
663
  readonly
664
+ required
664
665
  multiple_values
666
+ compute
665
667
  permissions(record: {id: $recordId, library: $libraryId}) {
666
668
  access_attribute
667
669
  edit_value
@@ -820,6 +822,18 @@ export const TreeNodeChildFragmentDoc = gql `
820
822
  }
821
823
  }
822
824
  ${RecordIdentityFragmentDoc}`;
825
+ export const ViewDetailsFilterFragmentDoc = gql `
826
+ fragment ViewDetailsFilter on RecordFilter {
827
+ field
828
+ value
829
+ tree {
830
+ id
831
+ label
832
+ }
833
+ condition
834
+ operator
835
+ }
836
+ `;
823
837
  export const ViewDetailsFragmentDoc = gql `
824
838
  fragment ViewDetails on View {
825
839
  id
@@ -842,14 +856,7 @@ export const ViewDetailsFragmentDoc = gql `
842
856
  description
843
857
  color
844
858
  filters {
845
- field
846
- value
847
- tree {
848
- id
849
- label
850
- }
851
- condition
852
- operator
859
+ ...ViewDetailsFilter
853
860
  }
854
861
  sort {
855
862
  field
@@ -864,12 +871,12 @@ export const ViewDetailsFragmentDoc = gql `
864
871
  }
865
872
  }
866
873
  }
867
- settings {
868
- name
869
- value
874
+ attributes {
875
+ id
870
876
  }
871
877
  }
872
- ${RecordIdentityFragmentDoc}`;
878
+ ${ViewDetailsFilterFragmentDoc}
879
+ ${RecordIdentityFragmentDoc}`;
873
880
  export const PropertyValueFragmentDoc = gql `
874
881
  fragment PropertyValue on GenericValue {
875
882
  ... on Value {
@@ -2686,33 +2693,69 @@ export function useGetViewsListLazyQuery(baseOptions) {
2686
2693
  const options = { ...defaultOptions, ...baseOptions };
2687
2694
  return Apollo.useLazyQuery(GetViewsListDocument, options);
2688
2695
  }
2689
- export const AddViewDocument = gql `
2690
- mutation ADD_VIEW($view: ViewInput!) {
2696
+ export const SaveViewDocument = gql `
2697
+ mutation SAVE_VIEW($view: ViewInput!) {
2691
2698
  saveView(view: $view) {
2692
2699
  ...ViewDetails
2693
2700
  }
2694
2701
  }
2695
2702
  ${ViewDetailsFragmentDoc}`;
2696
2703
  /**
2697
- * __useAddViewMutation__
2704
+ * __useSaveViewMutation__
2698
2705
  *
2699
- * To run a mutation, you first call `useAddViewMutation` within a React component and pass it any options that fit your needs.
2700
- * When your component renders, `useAddViewMutation` returns a tuple that includes:
2706
+ * To run a mutation, you first call `useSaveViewMutation` within a React component and pass it any options that fit your needs.
2707
+ * When your component renders, `useSaveViewMutation` returns a tuple that includes:
2701
2708
  * - A mutate function that you can call at any time to execute the mutation
2702
2709
  * - An object with fields that represent the current status of the mutation's execution
2703
2710
  *
2704
2711
  * @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;
2705
2712
  *
2706
2713
  * @example
2707
- * const [addViewMutation, { data, loading, error }] = useAddViewMutation({
2714
+ * const [saveViewMutation, { data, loading, error }] = useSaveViewMutation({
2708
2715
  * variables: {
2709
2716
  * view: // value for 'view'
2710
2717
  * },
2711
2718
  * });
2712
2719
  */
2713
- export function useAddViewMutation(baseOptions) {
2720
+ export function useSaveViewMutation(baseOptions) {
2721
+ const options = { ...defaultOptions, ...baseOptions };
2722
+ return Apollo.useMutation(SaveViewDocument, options);
2723
+ }
2724
+ export const ExplorerAttributesDocument = gql `
2725
+ query ExplorerAttributes($ids: [ID!]) {
2726
+ attributes(filters: {ids: $ids}) {
2727
+ list {
2728
+ id
2729
+ type
2730
+ format
2731
+ label
2732
+ }
2733
+ }
2734
+ }
2735
+ `;
2736
+ /**
2737
+ * __useExplorerAttributesQuery__
2738
+ *
2739
+ * To run a query within a React component, call `useExplorerAttributesQuery` and pass it any options that fit your needs.
2740
+ * When your component renders, `useExplorerAttributesQuery` returns an object from Apollo Client that contains loading, error, and data properties
2741
+ * you can use to render your UI.
2742
+ *
2743
+ * @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;
2744
+ *
2745
+ * @example
2746
+ * const { data, loading, error } = useExplorerAttributesQuery({
2747
+ * variables: {
2748
+ * ids: // value for 'ids'
2749
+ * },
2750
+ * });
2751
+ */
2752
+ export function useExplorerAttributesQuery(baseOptions) {
2753
+ const options = { ...defaultOptions, ...baseOptions };
2754
+ return Apollo.useQuery(ExplorerAttributesDocument, options);
2755
+ }
2756
+ export function useExplorerAttributesLazyQuery(baseOptions) {
2714
2757
  const options = { ...defaultOptions, ...baseOptions };
2715
- return Apollo.useMutation(AddViewDocument, options);
2758
+ return Apollo.useLazyQuery(ExplorerAttributesDocument, options);
2716
2759
  }
2717
2760
  export const ExplorerDocument = gql `
2718
2761
  query Explorer($libraryId: ID!, $attributeIds: [ID!]!, $pagination: RecordsPagination, $filters: [RecordFilterInput], $multipleSort: [RecordSortInput!], $searchQuery: String) {