@leav/ui 0.3.6-c939f2f → 0.3.6-cc1031e

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 (429) 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/form.d.ts +11 -5
  5. package/dist/__mocks__/common/form.js +18 -2
  6. package/dist/__mocks__/common/form.js.map +1 -1
  7. package/dist/__mocks__/common/record.d.ts +13 -2
  8. package/dist/__mocks__/common/record.js.map +1 -1
  9. package/dist/__mocks__/common/value.js +3 -1
  10. package/dist/__mocks__/common/value.js.map +1 -1
  11. package/dist/__mocks__/common/view.js +7 -5
  12. package/dist/__mocks__/common/view.js.map +1 -1
  13. package/dist/__mocks__/mockQuery/mockGetLibraryDetailExtendedQuery.js +1 -1
  14. package/dist/__mocks__/mockQuery/mockGetLibraryDetailExtendedQuery.js.map +1 -1
  15. package/dist/__mocks__/mockQuery/mockGetViewListQuery.js +2 -1
  16. package/dist/__mocks__/mockQuery/mockGetViewListQuery.js.map +1 -1
  17. package/dist/_gqlTypes/index.d.ts +462 -77
  18. package/dist/_gqlTypes/index.js +1274 -1055
  19. package/dist/_gqlTypes/index.js.map +1 -1
  20. package/dist/_queries/libraries/getLibraryDetailExtendQuery.d.ts +3 -4
  21. package/dist/_queries/libraries/getLibraryDetailExtendQuery.js +2 -3
  22. package/dist/_queries/libraries/getLibraryDetailExtendQuery.js.map +1 -1
  23. package/dist/_queries/records/getRecordColumnsValues.d.ts +5 -3
  24. package/dist/_queries/records/getRecordColumnsValues.js +4 -1
  25. package/dist/_queries/records/getRecordColumnsValues.js.map +1 -1
  26. package/dist/_queries/records/getRecordsFromLibraryQuery.js +1 -0
  27. package/dist/_queries/records/getRecordsFromLibraryQuery.js.map +1 -1
  28. package/dist/_queries/records/recordFormAttributeFragment.js +2 -0
  29. package/dist/_queries/records/recordFormAttributeFragment.js.map +1 -1
  30. package/dist/_queries/views/saveViewMutation.js +1 -1
  31. package/dist/_queries/views/viewDetailsFragment.js +14 -11
  32. package/dist/_queries/views/viewDetailsFragment.js.map +1 -1
  33. package/dist/_utils/index.js +5 -2
  34. package/dist/_utils/index.js.map +1 -1
  35. package/dist/_utils/interleaveElement.d.ts +1 -0
  36. package/dist/{components/RecordEdition/EditRecordContent/reducers/standardFieldReducer/standardFieldReducerContext.js → _utils/interleaveElement.js} +2 -6
  37. package/dist/_utils/interleaveElement.js.map +1 -0
  38. package/dist/antdTheme/index.d.ts +0 -3
  39. package/dist/antdTheme/index.js +3 -42
  40. package/dist/antdTheme/index.js.map +1 -1
  41. package/dist/components/CreateDirectory/CreateDirectory.js +1 -1
  42. package/dist/components/CreateDirectory/CreateDirectory.js.map +1 -1
  43. package/dist/components/EditApplication/EditApplication.js +2 -2
  44. package/dist/components/EditApplication/EditApplication.js.map +1 -1
  45. package/dist/components/EditApplication/_types.d.ts +2 -2
  46. package/dist/components/Explorer/DataView.d.ts +10 -1
  47. package/dist/components/Explorer/DataView.js +37 -36
  48. package/dist/components/Explorer/DataView.js.map +1 -1
  49. package/dist/components/Explorer/Explorer.d.ts +9 -5
  50. package/dist/components/Explorer/Explorer.js +61 -17
  51. package/dist/components/Explorer/Explorer.js.map +1 -1
  52. package/dist/components/Explorer/ExplorerTitle.d.ts +9 -0
  53. package/dist/components/Explorer/ExplorerTitle.js +47 -0
  54. package/dist/components/Explorer/ExplorerTitle.js.map +1 -0
  55. package/dist/components/Explorer/IdCard.d.ts +7 -0
  56. package/dist/components/Explorer/IdCard.js +15 -0
  57. package/dist/components/Explorer/IdCard.js.map +1 -0
  58. package/dist/components/Explorer/TableCell.d.ts +8 -0
  59. package/dist/components/Explorer/TableCell.js +144 -0
  60. package/dist/components/Explorer/TableCell.js.map +1 -0
  61. package/dist/components/Explorer/TableTagGroup.d.ts +7 -0
  62. package/dist/components/Explorer/TableTagGroup.js +30 -0
  63. package/dist/components/Explorer/TableTagGroup.js.map +1 -0
  64. package/dist/components/Explorer/_constants.d.ts +4 -0
  65. package/dist/components/Explorer/_constants.js +17 -0
  66. package/dist/components/Explorer/_constants.js.map +1 -0
  67. package/dist/components/Explorer/_queries/useExplorerData.d.ts +31 -7
  68. package/dist/components/Explorer/_queries/useExplorerData.js +199 -19
  69. package/dist/components/Explorer/_queries/useExplorerData.js.map +1 -1
  70. package/dist/components/Explorer/_types.d.ts +63 -3
  71. package/dist/components/Explorer/conditionsHelper.d.ts +2 -0
  72. package/dist/components/Explorer/conditionsHelper.js +16 -0
  73. package/dist/components/Explorer/conditionsHelper.js.map +1 -0
  74. package/dist/components/Explorer/display-view-filters/ExplorerToolBar.d.ts +4 -0
  75. package/dist/components/Explorer/display-view-filters/ExplorerToolBar.js +47 -0
  76. package/dist/components/Explorer/display-view-filters/ExplorerToolBar.js.map +1 -0
  77. package/dist/components/Explorer/index.d.ts +1 -3
  78. package/dist/components/Explorer/index.js +1 -3
  79. package/dist/components/Explorer/index.js.map +1 -1
  80. package/dist/components/Explorer/manage-view-settings/_shared/ColumnItem.d.ts +12 -0
  81. package/dist/components/Explorer/manage-view-settings/_shared/ColumnItem.js +85 -0
  82. package/dist/components/Explorer/manage-view-settings/_shared/ColumnItem.js.map +1 -0
  83. package/dist/components/Explorer/manage-view-settings/_shared/CommonFilterItem.d.ts +5 -0
  84. package/dist/components/Explorer/manage-view-settings/_shared/CommonFilterItem.js +12 -0
  85. package/dist/components/Explorer/manage-view-settings/_shared/CommonFilterItem.js.map +1 -0
  86. package/dist/components/Explorer/manage-view-settings/_shared/useAttributeDetailsData.d.ts +11 -0
  87. package/dist/components/Explorer/manage-view-settings/_shared/useAttributeDetailsData.js +61 -0
  88. package/dist/components/Explorer/manage-view-settings/_shared/useAttributeDetailsData.js.map +1 -0
  89. package/dist/components/Explorer/manage-view-settings/configure-display/ConfigureDisplay.d.ts +6 -0
  90. package/dist/components/Explorer/manage-view-settings/configure-display/ConfigureDisplay.js +28 -0
  91. package/dist/components/Explorer/manage-view-settings/configure-display/ConfigureDisplay.js.map +1 -0
  92. package/dist/components/Explorer/manage-view-settings/configure-display/attributes/SelectVisibleAttributes.d.ts +6 -0
  93. package/dist/components/Explorer/manage-view-settings/configure-display/attributes/SelectVisibleAttributes.js +56 -0
  94. package/dist/components/Explorer/manage-view-settings/configure-display/attributes/SelectVisibleAttributes.js.map +1 -0
  95. package/dist/components/Explorer/manage-view-settings/configure-display/view-type/SelectViewType.d.ts +8 -0
  96. package/dist/components/Explorer/manage-view-settings/configure-display/view-type/SelectViewType.js +12 -0
  97. package/dist/components/Explorer/manage-view-settings/configure-display/view-type/SelectViewType.js.map +1 -0
  98. package/dist/components/Explorer/manage-view-settings/filter-items/FilterItems.d.ts +4 -0
  99. package/dist/components/Explorer/manage-view-settings/filter-items/FilterItems.js +78 -0
  100. package/dist/components/Explorer/manage-view-settings/filter-items/FilterItems.js.map +1 -0
  101. package/dist/components/Explorer/manage-view-settings/filter-items/FilterListItem.d.ts +9 -0
  102. package/dist/components/Explorer/manage-view-settings/filter-items/FilterListItem.js +33 -0
  103. package/dist/components/Explorer/manage-view-settings/filter-items/FilterListItem.js.map +1 -0
  104. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/BooleanAttributeDropdown.d.ts +3 -0
  105. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/BooleanAttributeDropdown.js +22 -0
  106. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/BooleanAttributeDropdown.js.map +1 -0
  107. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/ColorAttributeDropDown.d.ts +3 -0
  108. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/ColorAttributeDropDown.js +11 -0
  109. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/ColorAttributeDropDown.js.map +1 -0
  110. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/DateAttributeDropDown.d.ts +3 -0
  111. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/DateAttributeDropDown.js +66 -0
  112. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/DateAttributeDropDown.js.map +1 -0
  113. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/DateRangeAttributeDropDown.d.ts +3 -0
  114. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/DateRangeAttributeDropDown.js +11 -0
  115. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/DateRangeAttributeDropDown.js.map +1 -0
  116. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/EncryptedAttributeDropDown.d.ts +3 -0
  117. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/EncryptedAttributeDropDown.js +11 -0
  118. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/EncryptedAttributeDropDown.js.map +1 -0
  119. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/ExtendedAttributeDropDown.d.ts +3 -0
  120. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/ExtendedAttributeDropDown.js +11 -0
  121. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/ExtendedAttributeDropDown.js.map +1 -0
  122. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/FilterDropDown.d.ts +3 -0
  123. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/FilterDropDown.js +71 -0
  124. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/FilterDropDown.js.map +1 -0
  125. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/FilterValueList.d.ts +10 -0
  126. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/FilterValueList.js +75 -0
  127. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/FilterValueList.js.map +1 -0
  128. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/NumericAttributeDropDown.d.ts +3 -0
  129. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/NumericAttributeDropDown.js +19 -0
  130. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/NumericAttributeDropDown.js.map +1 -0
  131. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/TextAttributeDropDown.d.ts +3 -0
  132. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/TextAttributeDropDown.js +28 -0
  133. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/TextAttributeDropDown.js.map +1 -0
  134. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/useConditionOptionsByType.d.ts +11 -0
  135. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/useConditionOptionsByType.js +100 -0
  136. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/useConditionOptionsByType.js.map +1 -0
  137. package/dist/components/Explorer/manage-view-settings/index.d.ts +8 -0
  138. package/dist/components/Explorer/manage-view-settings/index.js +11 -0
  139. package/dist/components/Explorer/manage-view-settings/index.js.map +1 -0
  140. package/dist/components/Explorer/{edit-settings → manage-view-settings/open-view-settings}/EditSettingsContext.d.ts +2 -0
  141. package/dist/components/Explorer/{edit-settings → manage-view-settings/open-view-settings}/EditSettingsContext.js +1 -0
  142. package/dist/components/Explorer/manage-view-settings/open-view-settings/EditSettingsContext.js.map +1 -0
  143. package/dist/components/Explorer/manage-view-settings/open-view-settings/EditSettingsContextProvider.d.ts +7 -0
  144. package/dist/components/Explorer/{edit-settings → manage-view-settings/open-view-settings}/EditSettingsContextProvider.js +2 -1
  145. package/dist/components/Explorer/manage-view-settings/open-view-settings/EditSettingsContextProvider.js.map +1 -0
  146. package/dist/components/Explorer/{edit-settings → manage-view-settings/open-view-settings}/SidePanel.js +2 -2
  147. package/dist/components/Explorer/manage-view-settings/open-view-settings/SidePanel.js.map +1 -0
  148. package/dist/components/Explorer/manage-view-settings/open-view-settings/useEditSettings.js.map +1 -0
  149. package/dist/components/Explorer/manage-view-settings/open-view-settings/useOpenViewSettings.d.ts +5 -0
  150. package/dist/components/Explorer/manage-view-settings/open-view-settings/useOpenViewSettings.js +39 -0
  151. package/dist/components/Explorer/manage-view-settings/open-view-settings/useOpenViewSettings.js.map +1 -0
  152. package/dist/components/Explorer/{edit-settings → manage-view-settings/router-menu}/SettingItem.d.ts +4 -2
  153. package/dist/components/Explorer/manage-view-settings/router-menu/SettingItem.js.map +1 -0
  154. package/dist/components/Explorer/manage-view-settings/router-menu/SettingsPanel.d.ts +8 -0
  155. package/dist/components/Explorer/manage-view-settings/router-menu/SettingsPanel.js +70 -0
  156. package/dist/components/Explorer/manage-view-settings/router-menu/SettingsPanel.js.map +1 -0
  157. package/dist/components/Explorer/manage-view-settings/sort-items/SortItems.d.ts +4 -0
  158. package/dist/components/Explorer/manage-view-settings/sort-items/SortItems.js +109 -0
  159. package/dist/components/Explorer/manage-view-settings/sort-items/SortItems.js.map +1 -0
  160. package/dist/components/Explorer/manage-view-settings/sort-items/SortListItem.d.ts +10 -0
  161. package/dist/components/Explorer/manage-view-settings/sort-items/SortListItem.js +32 -0
  162. package/dist/components/Explorer/manage-view-settings/sort-items/SortListItem.js.map +1 -0
  163. package/dist/components/Explorer/manage-view-settings/store-view-settings/ViewSettingsContext.d.ts +6 -0
  164. package/dist/components/Explorer/manage-view-settings/store-view-settings/ViewSettingsContext.js +11 -0
  165. package/dist/components/Explorer/manage-view-settings/store-view-settings/ViewSettingsContext.js.map +1 -0
  166. package/dist/components/Explorer/manage-view-settings/store-view-settings/useViewSettingsContext.d.ts +4 -0
  167. package/dist/components/{RecordEdition/EditRecordContent/reducers/standardFieldReducer/useStandardFieldReducer.js → Explorer/manage-view-settings/store-view-settings/useViewSettingsContext.js} +3 -3
  168. package/dist/components/Explorer/manage-view-settings/store-view-settings/useViewSettingsContext.js.map +1 -0
  169. package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsInitialState.d.ts +4 -0
  170. package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsInitialState.js +24 -0
  171. package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsInitialState.js.map +1 -0
  172. package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsReducer.d.ts +145 -0
  173. package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsReducer.js +199 -0
  174. package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsReducer.js.map +1 -0
  175. package/dist/components/Explorer/{useCreateMainAction.d.ts → useCreateAction.d.ts} +5 -3
  176. package/dist/components/Explorer/useCreateAction.js +73 -0
  177. package/dist/components/Explorer/useCreateAction.js.map +1 -0
  178. package/dist/components/Explorer/useEditAction.js +9 -7
  179. package/dist/components/Explorer/useEditAction.js.map +1 -1
  180. package/dist/components/Explorer/usePagination.d.ts +7 -0
  181. package/dist/components/Explorer/usePagination.js +25 -0
  182. package/dist/components/Explorer/usePagination.js.map +1 -0
  183. package/dist/components/Explorer/usePrimaryActions.d.ts +12 -0
  184. package/dist/components/Explorer/usePrimaryActions.js +28 -0
  185. package/dist/components/Explorer/usePrimaryActions.js.map +1 -0
  186. package/dist/components/Explorer/useRemoveAction.d.ts +12 -0
  187. package/dist/components/Explorer/useRemoveAction.js +90 -0
  188. package/dist/components/Explorer/useRemoveAction.js.map +1 -0
  189. package/dist/components/Explorer/useSearchInput.d.ts +10 -0
  190. package/dist/components/Explorer/useSearchInput.js +31 -0
  191. package/dist/components/Explorer/useSearchInput.js.map +1 -0
  192. package/dist/components/Explorer/useTableScrollableHeight.d.ts +5 -0
  193. package/dist/components/Explorer/useTableScrollableHeight.js +15 -0
  194. package/dist/components/Explorer/useTableScrollableHeight.js.map +1 -0
  195. package/dist/components/Explorer/useViewSettingsReducer.d.ts +8 -0
  196. package/dist/components/Explorer/useViewSettingsReducer.js +126 -0
  197. package/dist/components/Explorer/useViewSettingsReducer.js.map +1 -0
  198. package/dist/components/ExportModal/ExportModal.js +2 -2
  199. package/dist/components/ExportModal/ExportModal.js.map +1 -1
  200. package/dist/components/ImportModal/ImportModalConfigStep/ImportModalConfigStep.js +5 -5
  201. package/dist/components/ImportModal/ImportModalConfigStep/ImportModalConfigStep.js.map +1 -1
  202. package/dist/components/LibraryItemsList/FiltersPanel/Filter/Filter.js +2 -2
  203. package/dist/components/LibraryItemsList/FiltersPanel/Filter/Filter.js.map +1 -1
  204. package/dist/components/LibraryItemsList/LibraryItemsListContent/LibraryItemsListContent.js +7 -11
  205. package/dist/components/LibraryItemsList/LibraryItemsListContent/LibraryItemsListContent.js.map +1 -1
  206. package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/StandardCell/StandardCell.js +7 -2
  207. package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/StandardCell/StandardCell.js.map +1 -1
  208. package/dist/components/LibraryItemsList/LibraryItemsListTable/Header/Header.js +7 -5
  209. package/dist/components/LibraryItemsList/LibraryItemsListTable/Header/Header.js.map +1 -1
  210. package/dist/components/LibraryItemsList/MenuView/MenuView.js +4 -9
  211. package/dist/components/LibraryItemsList/MenuView/MenuView.js.map +1 -1
  212. package/dist/components/LibraryItemsList/ViewPanel/EditView/EditView.js +2 -3
  213. package/dist/components/LibraryItemsList/ViewPanel/EditView/EditView.js.map +1 -1
  214. package/dist/components/LibraryItemsList/ViewPanel/View/View.js +3 -3
  215. package/dist/components/LibraryItemsList/ViewPanel/View/View.js.map +1 -1
  216. package/dist/components/LibraryItemsList/helpers/getFieldsFromView.js +4 -9
  217. package/dist/components/LibraryItemsList/helpers/getFieldsFromView.js.map +1 -1
  218. package/dist/components/LibraryItemsList/hooks/useLibraryView/useLibraryView.js +7 -5
  219. package/dist/components/LibraryItemsList/hooks/useLibraryView/useLibraryView.js.map +1 -1
  220. package/dist/components/LibraryItemsList/hooks/useSearchReducer/_types.d.ts +1 -1
  221. package/dist/components/LibraryItemsList/hooks/useSearchReducer/searchReducer.d.ts +1 -1
  222. package/dist/components/LibraryItemsList/hooks/useSearchReducer/searchReducer.js +25 -33
  223. package/dist/components/LibraryItemsList/hooks/useSearchReducer/searchReducer.js.map +1 -1
  224. package/dist/components/RecordEdition/EditRecord/EditRecord.d.ts +1 -0
  225. package/dist/components/RecordEdition/EditRecord/EditRecord.js +10 -18
  226. package/dist/components/RecordEdition/EditRecord/EditRecord.js.map +1 -1
  227. package/dist/components/RecordEdition/EditRecordContent/EditRecordContent.js +16 -3
  228. package/dist/components/RecordEdition/EditRecordContent/EditRecordContent.js.map +1 -1
  229. package/dist/components/RecordEdition/EditRecordContent/_types.d.ts +10 -21
  230. package/dist/components/RecordEdition/EditRecordContent/_types.js.map +1 -1
  231. package/dist/components/RecordEdition/EditRecordContent/antdUtils.d.ts +5 -1
  232. package/dist/components/RecordEdition/EditRecordContent/antdUtils.js +44 -34
  233. package/dist/components/RecordEdition/EditRecordContent/antdUtils.js.map +1 -1
  234. package/dist/components/RecordEdition/EditRecordContent/helpers/extractFormElements/extractFormElements.d.ts +3 -1
  235. package/dist/components/RecordEdition/EditRecordContent/helpers/extractFormElements/extractFormElements.js +8 -2
  236. package/dist/components/RecordEdition/EditRecordContent/helpers/extractFormElements/extractFormElements.js.map +1 -1
  237. package/dist/components/RecordEdition/EditRecordContent/uiElements/Container/Container.d.ts +3 -1
  238. package/dist/components/RecordEdition/EditRecordContent/uiElements/Container/Container.js +2 -2
  239. package/dist/components/RecordEdition/EditRecordContent/uiElements/Container/Container.js.map +1 -1
  240. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/LinkField.js +2 -2
  241. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/LinkField.js.map +1 -1
  242. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/MonoValueSelect/MonoValueSelect.d.ts +0 -1
  243. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/MonoValueSelect/MonoValueSelect.js +2 -7
  244. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/MonoValueSelect/MonoValueSelect.js.map +1 -1
  245. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/MultiValueSelect/MultiValueSelect.d.ts +0 -1
  246. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/MultiValueSelect/MultiValueSelect.js +2 -9
  247. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/MultiValueSelect/MultiValueSelect.js.map +1 -1
  248. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/ComputeIndicator.d.ts +6 -0
  249. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/ComputeIndicator.js +18 -0
  250. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/ComputeIndicator.js.map +1 -0
  251. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/DeleteAllValuesButton.d.ts +4 -0
  252. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/DeleteAllValuesButton.js +25 -0
  253. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/DeleteAllValuesButton.js.map +1 -0
  254. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardField.d.ts +5 -2
  255. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardField.js +178 -186
  256. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardField.js.map +1 -1
  257. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSBooleanWrapper.d.ts +2 -8
  258. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSBooleanWrapper.js +11 -30
  259. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSBooleanWrapper.js.map +1 -1
  260. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSColorPickerWrapper.d.ts +2 -13
  261. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSColorPickerWrapper.js +73 -45
  262. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSColorPickerWrapper.js.map +1 -1
  263. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSDatePickerWrapper.d.ts +3 -14
  264. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSDatePickerWrapper.js +35 -46
  265. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSDatePickerWrapper.js.map +1 -1
  266. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputEncryptedWrapper.d.ts +3 -14
  267. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputEncryptedWrapper.js +11 -76
  268. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputEncryptedWrapper.js.map +1 -1
  269. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputNumberWrapper.d.ts +3 -14
  270. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputNumberWrapper.js +32 -49
  271. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputNumberWrapper.js.map +1 -1
  272. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputWrapper.d.ts +3 -14
  273. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputWrapper.js +38 -54
  274. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputWrapper.js.map +1 -1
  275. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSRangePickerWrapper.d.ts +3 -14
  276. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSRangePickerWrapper.js +51 -63
  277. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSRangePickerWrapper.js.map +1 -1
  278. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSRichTextWrapper.d.ts +3 -14
  279. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSRichTextWrapper.js +33 -53
  280. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSRichTextWrapper.js.map +1 -1
  281. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValue.d.ts +17 -9
  282. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValue.js +67 -401
  283. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValue.js.map +1 -1
  284. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/ValuesList/DSListSelect.d.ts +4 -0
  285. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/ValuesList/{MonoValueSelect.js → DSListSelect.js} +48 -52
  286. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/ValuesList/DSListSelect.js.map +1 -0
  287. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/ValuesList/_types.d.ts +2 -9
  288. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/_types.d.ts +16 -0
  289. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/_types.js +2 -0
  290. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/_types.js.map +1 -0
  291. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/calculatedInheritedFlags.d.ts +42 -0
  292. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/calculatedInheritedFlags.js +55 -0
  293. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/calculatedInheritedFlags.js.map +1 -0
  294. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/useGetPresentationValues.d.ts +12 -0
  295. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/useGetPresentationValues.js +32 -0
  296. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/useGetPresentationValues.js.map +1 -0
  297. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/ValuesAdd/ValuesAdd.js +2 -2
  298. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/ValuesAdd/ValuesAdd.js.map +1 -1
  299. package/dist/components/RecordEdition/EditRecordModal/EditRecordModal.js +10 -4
  300. package/dist/components/RecordEdition/EditRecordModal/EditRecordModal.js.map +1 -1
  301. package/dist/components/RecordEdition/EditRecordPage/EditRecordPage.d.ts +2 -0
  302. package/dist/components/RecordEdition/EditRecordPage/EditRecordPage.js +2 -2
  303. package/dist/components/RecordEdition/EditRecordPage/EditRecordPage.js.map +1 -1
  304. package/dist/components/RecordEdition/EditRecordSidebar/EditRecordSidebar.d.ts +4 -1
  305. package/dist/components/RecordEdition/EditRecordSidebar/EditRecordSidebar.js +36 -3
  306. package/dist/components/RecordEdition/EditRecordSidebar/EditRecordSidebar.js.map +1 -1
  307. package/dist/components/RecordEdition/EditRecordSidebar/PropertiesList/PropertiesList.d.ts +4 -7
  308. package/dist/components/RecordEdition/EditRecordSidebar/PropertiesList/PropertiesList.js +6 -8
  309. package/dist/components/RecordEdition/EditRecordSidebar/PropertiesList/PropertiesList.js.map +1 -1
  310. package/dist/components/RecordEdition/EditRecordSidebar/RecordSummary/RecordInformations/RecordInformations.d.ts +9 -0
  311. package/dist/components/RecordEdition/EditRecordSidebar/RecordSummary/RecordInformations/RecordInformations.js +42 -0
  312. package/dist/components/RecordEdition/EditRecordSidebar/RecordSummary/RecordInformations/RecordInformations.js.map +1 -0
  313. package/dist/components/RecordEdition/EditRecordSidebar/RecordSummary/RecordInformations/useRecordInformations.d.ts +6 -0
  314. package/dist/components/RecordEdition/EditRecordSidebar/RecordSummary/RecordInformations/useRecordInformations.js +35 -0
  315. package/dist/components/RecordEdition/EditRecordSidebar/RecordSummary/RecordInformations/useRecordInformations.js.map +1 -0
  316. package/dist/components/RecordEdition/EditRecordSidebar/RecordSummary/RecordSummary.d.ts +2 -281
  317. package/dist/components/RecordEdition/EditRecordSidebar/RecordSummary/RecordSummary.js +25 -56
  318. package/dist/components/RecordEdition/EditRecordSidebar/RecordSummary/RecordSummary.js.map +1 -1
  319. package/dist/components/RecordEdition/EditRecordSidebar/ValueDetails/ValueDetails.js +1 -13
  320. package/dist/components/RecordEdition/EditRecordSidebar/ValueDetails/ValueDetails.js.map +1 -1
  321. package/dist/components/SelectTreeNode/SelectTreeNode.d.ts +4 -7
  322. package/dist/components/SelectTreeNode/SelectTreeNode.js +17 -135
  323. package/dist/components/SelectTreeNode/SelectTreeNode.js.map +1 -1
  324. package/dist/components/SelectTreeNode/SelectTreeNodeContent.d.ts +16 -0
  325. package/dist/components/SelectTreeNode/SelectTreeNodeContent.js +131 -0
  326. package/dist/components/SelectTreeNode/SelectTreeNodeContent.js.map +1 -0
  327. package/dist/components/SelectTreeNode/index.d.ts +1 -1
  328. package/dist/components/SelectTreeNode/index.js +1 -1
  329. package/dist/components/SelectTreeNode/index.js.map +1 -1
  330. package/dist/components/SelectTreeNodeModal/SelectTreeNodeModal.d.ts +4 -7
  331. package/dist/components/SelectTreeNodeModal/SelectTreeNodeModal.js +10 -10
  332. package/dist/components/SelectTreeNodeModal/SelectTreeNodeModal.js.map +1 -1
  333. package/dist/components/SelectTreeNodeModal/index.d.ts +1 -2
  334. package/dist/components/SelectTreeNodeModal/index.js +1 -2
  335. package/dist/components/SelectTreeNodeModal/index.js.map +1 -1
  336. package/dist/components/UploadFiles/UploadFiles.js +1 -1
  337. package/dist/components/UploadFiles/UploadFiles.js.map +1 -1
  338. package/dist/components/ValuesVersionConfigurator/VersionTree/VersionTree.js +2 -2
  339. package/dist/components/ValuesVersionConfigurator/VersionTree/VersionTree.js.map +1 -1
  340. package/dist/constants.d.ts +3 -0
  341. package/dist/constants.js +3 -0
  342. package/dist/constants.js.map +1 -1
  343. package/dist/hooks/useDebouncedValue/index.d.ts +1 -0
  344. package/dist/{components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValueDisplayHandler → hooks/useDebouncedValue}/index.js +1 -1
  345. package/dist/hooks/useDebouncedValue/index.js.map +1 -0
  346. package/dist/hooks/useExecuteSaveViewMutation/index.d.ts +1 -0
  347. package/dist/{components/RecordEdition/EditRecordContent/reducers/standardFieldReducer → hooks/useExecuteSaveViewMutation}/index.js +1 -2
  348. package/dist/hooks/useExecuteSaveViewMutation/index.js.map +1 -0
  349. package/dist/hooks/useExecuteSaveViewMutation/useExecuteSaveViewMutation.d.ts +6 -0
  350. package/dist/hooks/{useExecuteAddViewMutation/useExecuteAddViewMutation.js → useExecuteSaveViewMutation/useExecuteSaveViewMutation.js} +6 -6
  351. package/dist/hooks/useExecuteSaveViewMutation/useExecuteSaveViewMutation.js.map +1 -0
  352. package/dist/hooks/useGetRecordForm/useGetRecordForm.d.ts +1 -0
  353. package/dist/hooks/useGetRecordForm/useGetRecordForm.js.map +1 -1
  354. package/dist/locales/en/shared.json +71 -10
  355. package/dist/locales/fr/shared.json +71 -10
  356. package/dist/types/views.d.ts +4 -4
  357. package/package.json +7 -2
  358. package/dist/components/Explorer/edit-settings/DisplayMode.d.ts +0 -2
  359. package/dist/components/Explorer/edit-settings/DisplayMode.js +0 -10
  360. package/dist/components/Explorer/edit-settings/DisplayMode.js.map +0 -1
  361. package/dist/components/Explorer/edit-settings/EditSettingsContext.js.map +0 -1
  362. package/dist/components/Explorer/edit-settings/EditSettingsContextProvider.d.ts +0 -2
  363. package/dist/components/Explorer/edit-settings/EditSettingsContextProvider.js.map +0 -1
  364. package/dist/components/Explorer/edit-settings/SettingItem.js.map +0 -1
  365. package/dist/components/Explorer/edit-settings/SettingsPanel.d.ts +0 -3
  366. package/dist/components/Explorer/edit-settings/SettingsPanel.js +0 -53
  367. package/dist/components/Explorer/edit-settings/SettingsPanel.js.map +0 -1
  368. package/dist/components/Explorer/edit-settings/SidePanel.js.map +0 -1
  369. package/dist/components/Explorer/edit-settings/useEditSettings.js.map +0 -1
  370. package/dist/components/Explorer/edit-settings/useOpenSettings.d.ts +0 -1
  371. package/dist/components/Explorer/edit-settings/useOpenSettings.js +0 -19
  372. package/dist/components/Explorer/edit-settings/useOpenSettings.js.map +0 -1
  373. package/dist/components/Explorer/useCreateMainAction.js +0 -36
  374. package/dist/components/Explorer/useCreateMainAction.js.map +0 -1
  375. package/dist/components/Explorer/useDeactivateAction.d.ts +0 -12
  376. package/dist/components/Explorer/useDeactivateAction.js +0 -51
  377. package/dist/components/Explorer/useDeactivateAction.js.map +0 -1
  378. package/dist/components/RecordEdition/EditRecordContent/reducers/standardFieldReducer/index.d.ts +0 -2
  379. package/dist/components/RecordEdition/EditRecordContent/reducers/standardFieldReducer/index.js.map +0 -1
  380. package/dist/components/RecordEdition/EditRecordContent/reducers/standardFieldReducer/standardFieldReducer.d.ts +0 -138
  381. package/dist/components/RecordEdition/EditRecordContent/reducers/standardFieldReducer/standardFieldReducer.js +0 -361
  382. package/dist/components/RecordEdition/EditRecordContent/reducers/standardFieldReducer/standardFieldReducer.js.map +0 -1
  383. package/dist/components/RecordEdition/EditRecordContent/reducers/standardFieldReducer/standardFieldReducerContext.d.ts +0 -7
  384. package/dist/components/RecordEdition/EditRecordContent/reducers/standardFieldReducer/standardFieldReducerContext.js.map +0 -1
  385. package/dist/components/RecordEdition/EditRecordContent/reducers/standardFieldReducer/useStandardFieldReducer.d.ts +0 -1
  386. package/dist/components/RecordEdition/EditRecordContent/reducers/standardFieldReducer/useStandardFieldReducer.js.map +0 -1
  387. package/dist/components/RecordEdition/EditRecordContent/shared/ValueDetailsBtn/useValueDetailsButton.d.ts +0 -8
  388. package/dist/components/RecordEdition/EditRecordContent/shared/ValueDetailsBtn/useValueDetailsButton.js +0 -23
  389. package/dist/components/RecordEdition/EditRecordContent/shared/ValueDetailsBtn/useValueDetailsButton.js.map +0 -1
  390. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/Inputs/CheckboxInput.d.ts +0 -3
  391. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/Inputs/CheckboxInput.js +0 -14
  392. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/Inputs/CheckboxInput.js.map +0 -1
  393. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/Inputs/ColorInput.d.ts +0 -3
  394. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/Inputs/ColorInput.js +0 -22
  395. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/Inputs/ColorInput.js.map +0 -1
  396. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/Inputs/DateInput.d.ts +0 -3
  397. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/Inputs/DateInput.js +0 -22
  398. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/Inputs/DateInput.js.map +0 -1
  399. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/Inputs/EncryptedInput.d.ts +0 -3
  400. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/Inputs/EncryptedInput.js +0 -19
  401. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/Inputs/EncryptedInput.js.map +0 -1
  402. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/Inputs/NumberInput.d.ts +0 -3
  403. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/Inputs/NumberInput.js +0 -32
  404. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/Inputs/NumberInput.js.map +0 -1
  405. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/Inputs/RichTextEditorInput.d.ts +0 -3
  406. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/Inputs/RichTextEditorInput.js +0 -51
  407. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/Inputs/RichTextEditorInput.js.map +0 -1
  408. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/Inputs/TextInput.d.ts +0 -3
  409. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/Inputs/TextInput.js +0 -26
  410. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/Inputs/TextInput.js.map +0 -1
  411. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValueDisplayHandler/StandardFieldValueDisplayHandler.d.ts +0 -13
  412. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValueDisplayHandler/StandardFieldValueDisplayHandler.js +0 -90
  413. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValueDisplayHandler/StandardFieldValueDisplayHandler.js.map +0 -1
  414. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValueDisplayHandler/StandardFieldValueRead/ColorPickerBlock.d.ts +0 -7
  415. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValueDisplayHandler/StandardFieldValueRead/ColorPickerBlock.js +0 -45
  416. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValueDisplayHandler/StandardFieldValueRead/ColorPickerBlock.js.map +0 -1
  417. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValueDisplayHandler/StandardFieldValueRead/StandardFieldValueRead.d.ts +0 -9
  418. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValueDisplayHandler/StandardFieldValueRead/StandardFieldValueRead.js +0 -141
  419. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValueDisplayHandler/StandardFieldValueRead/StandardFieldValueRead.js.map +0 -1
  420. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValueDisplayHandler/index.d.ts +0 -1
  421. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValueDisplayHandler/index.js.map +0 -1
  422. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/ValuesList/MonoValueSelect.d.ts +0 -3
  423. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/ValuesList/MonoValueSelect.js.map +0 -1
  424. package/dist/hooks/useExecuteAddViewMutation/useExecuteAddViewMutation.d.ts +0 -6
  425. package/dist/hooks/useExecuteAddViewMutation/useExecuteAddViewMutation.js.map +0 -1
  426. /package/dist/components/Explorer/{edit-settings → manage-view-settings/open-view-settings}/SidePanel.d.ts +0 -0
  427. /package/dist/components/Explorer/{edit-settings → manage-view-settings/open-view-settings}/useEditSettings.d.ts +0 -0
  428. /package/dist/components/Explorer/{edit-settings → manage-view-settings/open-view-settings}/useEditSettings.js +0 -0
  429. /package/dist/components/Explorer/{edit-settings → manage-view-settings/router-menu}/SettingItem.js +0 -0
@@ -327,587 +327,621 @@ export var ViewTypes;
327
327
  })(ViewTypes || (ViewTypes = {}));
328
328
  export const RecordIdentityFragmentDoc = gql `
329
329
  fragment RecordIdentity on Record {
330
- id
331
- whoAmI {
332
- id
333
- label
334
- subLabel
335
- color
336
- library {
337
- id
338
- label
339
- }
340
- preview
341
- }
342
- }
343
- `;
330
+ id
331
+ whoAmI {
332
+ id
333
+ label
334
+ subLabel
335
+ color
336
+ library {
337
+ id
338
+ label
339
+ }
340
+ preview
341
+ }
342
+ }
343
+ `;
344
344
  export const DetailsApplicationFragmentDoc = gql `
345
345
  fragment DetailsApplication on Application {
346
- id
347
- label
348
- type
349
- description
350
- endpoint
351
- url
352
- color
353
- icon {
354
- ...RecordIdentity
355
- }
356
- module
357
- permissions {
358
- access_application
359
- admin_application
360
- }
361
- settings
362
- }
363
- ${RecordIdentityFragmentDoc}
364
- `;
346
+ id
347
+ label
348
+ type
349
+ description
350
+ endpoint
351
+ url
352
+ color
353
+ icon {
354
+ ...RecordIdentity
355
+ }
356
+ module
357
+ permissions {
358
+ access_application
359
+ admin_application
360
+ }
361
+ settings
362
+ }
363
+ ${RecordIdentityFragmentDoc}`;
365
364
  export const AttributeDetailsFragmentDoc = gql `
366
365
  fragment AttributeDetails on Attribute {
366
+ id
367
+ type
368
+ format
369
+ system
370
+ readonly
371
+ label
372
+ description
373
+ multiple_values
374
+ metadata_fields {
375
+ id
376
+ label
377
+ type
378
+ format
379
+ }
380
+ versions_conf {
381
+ versionable
382
+ mode
383
+ profile {
384
+ id
385
+ label
386
+ trees {
367
387
  id
368
- type
369
- format
370
- system
371
- readonly
372
388
  label
373
- description
374
- multiple_values
375
- metadata_fields {
376
- id
377
- label
378
- type
379
- format
380
- }
381
- versions_conf {
382
- versionable
383
- mode
384
- profile {
385
- id
386
- label
387
- trees {
388
- id
389
- label
390
- }
391
- }
392
- }
393
- libraries {
394
- id
395
- label
396
- }
397
- ... on StandardAttribute {
398
- unique
399
- maxLength
400
- }
401
- ... on LinkAttribute {
402
- linked_library {
403
- id
404
- label
405
- }
406
- reverse_link
407
- }
408
- ... on TreeAttribute {
409
- linked_tree {
410
- id
411
- label
412
- }
413
- }
414
- }
415
- `;
389
+ }
390
+ }
391
+ }
392
+ libraries {
393
+ id
394
+ label
395
+ }
396
+ ... on StandardAttribute {
397
+ unique
398
+ maxLength
399
+ }
400
+ ... on LinkAttribute {
401
+ linked_library {
402
+ id
403
+ label
404
+ }
405
+ reverse_link
406
+ }
407
+ ... on TreeAttribute {
408
+ linked_tree {
409
+ id
410
+ label
411
+ }
412
+ }
413
+ }
414
+ `;
416
415
  export const AttributesByLibAttributeFragmentDoc = gql `
417
416
  fragment AttributesByLibAttribute on Attribute {
418
- id
419
- type
420
- format
421
- label
422
- multiple_values
423
- system
424
- readonly
425
- ... on LinkAttribute {
426
- linked_library {
427
- id
428
- }
429
- }
430
- ... on TreeAttribute {
431
- linked_tree {
432
- id
433
- label
434
- libraries {
435
- library {
436
- id
437
- label
438
- }
439
- }
440
- }
441
- }
442
- ... on StandardAttribute {
443
- embedded_fields {
444
- id
445
- format
446
- label
447
- }
448
- }
449
- }
450
- `;
417
+ id
418
+ type
419
+ format
420
+ label
421
+ multiple_values
422
+ system
423
+ readonly
424
+ ... on LinkAttribute {
425
+ linked_library {
426
+ id
427
+ }
428
+ }
429
+ ... on TreeAttribute {
430
+ linked_tree {
431
+ id
432
+ label
433
+ libraries {
434
+ library {
435
+ id
436
+ label
437
+ }
438
+ }
439
+ }
440
+ }
441
+ ... on StandardAttribute {
442
+ embedded_fields {
443
+ id
444
+ format
445
+ label
446
+ }
447
+ }
448
+ }
449
+ `;
451
450
  export const LibraryLightFragmentDoc = gql `
452
451
  fragment LibraryLight on Library {
452
+ id
453
+ label
454
+ icon {
455
+ id
456
+ whoAmI {
457
+ id
458
+ library {
453
459
  id
454
- label
455
- icon {
456
- id
457
- whoAmI {
458
- id
459
- library {
460
- id
461
- }
462
- preview
463
- }
464
- }
460
+ }
461
+ preview
465
462
  }
466
- `;
463
+ }
464
+ }
465
+ `;
467
466
  export const LibraryLinkAttributeDetailsFragmentDoc = gql `
468
467
  fragment LibraryLinkAttributeDetails on LinkAttribute {
469
- linked_library {
470
- id
471
- behavior
472
- }
473
- }
474
- `;
468
+ linked_library {
469
+ id
470
+ behavior
471
+ }
472
+ }
473
+ `;
475
474
  export const LibraryAttributesFragmentDoc = gql `
476
475
  fragment LibraryAttributes on Attribute {
477
- id
478
- label
479
- system
480
- type
481
- format
482
- ...LibraryLinkAttributeDetails
483
- }
484
- ${LibraryLinkAttributeDetailsFragmentDoc}
485
- `;
476
+ id
477
+ label
478
+ system
479
+ type
480
+ format
481
+ ...LibraryLinkAttributeDetails
482
+ }
483
+ ${LibraryLinkAttributeDetailsFragmentDoc}`;
486
484
  export const LibraryPreviewsSettingsFragmentDoc = gql `
487
485
  fragment LibraryPreviewsSettings on LibraryPreviewsSettings {
488
- label
489
- description
490
- system
491
- versions {
492
- background
493
- density
494
- sizes {
495
- name
496
- size
497
- }
498
- }
499
- }
500
- `;
486
+ label
487
+ description
488
+ system
489
+ versions {
490
+ background
491
+ density
492
+ sizes {
493
+ name
494
+ size
495
+ }
496
+ }
497
+ }
498
+ `;
501
499
  export const LibraryDetailsFragmentDoc = gql `
502
500
  fragment LibraryDetails on Library {
503
- id
504
- label
505
- behavior
506
- system
507
- label
508
- fullTextAttributes {
509
- id
510
- label
511
- }
512
- attributes {
513
- ...LibraryAttributes
514
- }
515
- permissions_conf {
516
- permissionTreeAttributes {
517
- id
518
- ... on TreeAttribute {
519
- linked_tree {
520
- id
521
- }
522
- }
523
- label
524
- }
525
- relation
526
- }
527
- recordIdentityConf {
528
- label
529
- subLabel
530
- color
531
- preview
532
- treeColorPreview
533
- }
534
- permissions {
535
- admin_library
536
- access_library
537
- access_record
538
- create_record
539
- edit_record
540
- delete_record
541
- }
542
- icon {
543
- ...RecordIdentity
544
- }
545
- previewsSettings {
546
- ...LibraryPreviewsSettings
547
- }
548
- }
501
+ id
502
+ label
503
+ behavior
504
+ system
505
+ label
506
+ fullTextAttributes {
507
+ id
508
+ label
509
+ }
510
+ attributes {
511
+ ...LibraryAttributes
512
+ }
513
+ permissions_conf {
514
+ permissionTreeAttributes {
515
+ id
516
+ ... on TreeAttribute {
517
+ linked_tree {
518
+ id
519
+ }
520
+ }
521
+ label
522
+ }
523
+ relation
524
+ }
525
+ recordIdentityConf {
526
+ label
527
+ subLabel
528
+ color
529
+ preview
530
+ treeColorPreview
531
+ }
532
+ permissions {
533
+ admin_library
534
+ access_library
535
+ access_record
536
+ create_record
537
+ edit_record
538
+ delete_record
539
+ }
540
+ icon {
541
+ ...RecordIdentity
542
+ }
543
+ previewsSettings {
544
+ ...LibraryPreviewsSettings
545
+ }
546
+ }
549
547
  ${LibraryAttributesFragmentDoc}
550
- ${RecordIdentityFragmentDoc}
551
- ${LibraryPreviewsSettingsFragmentDoc}
552
- `;
548
+ ${RecordIdentityFragmentDoc}
549
+ ${LibraryPreviewsSettingsFragmentDoc}`;
553
550
  export const ValuesVersionDetailsFragmentDoc = gql `
554
551
  fragment ValuesVersionDetails on ValueVersion {
555
- treeId
556
- treeNode {
557
- id
558
- record {
559
- id
560
- whoAmI {
561
- id
562
- label
563
- library {
564
- id
565
- }
566
- }
567
- }
552
+ treeId
553
+ treeNode {
554
+ id
555
+ record {
556
+ id
557
+ whoAmI {
558
+ id
559
+ label
560
+ library {
561
+ id
568
562
  }
563
+ }
569
564
  }
570
- `;
565
+ }
566
+ }
567
+ `;
571
568
  export const ValueDetailsFragmentDoc = gql `
572
569
  fragment ValueDetails on GenericValue {
573
- id_value
574
- isInherited
575
- isCalculated
576
- modified_at
577
- modified_by {
578
- ...RecordIdentity
579
- }
580
- created_at
581
- created_by {
582
- ...RecordIdentity
583
- }
584
- version {
585
- ...ValuesVersionDetails
586
- }
587
- attribute {
588
- id
589
- format
590
- type
591
- system
592
- }
593
- metadata {
594
- name
595
- value {
596
- id_value
597
- modified_at
598
- modified_by {
599
- ...RecordIdentity
600
- }
601
- created_at
602
- created_by {
603
- ...RecordIdentity
604
- }
605
- version {
606
- ...ValuesVersionDetails
607
- }
608
- payload
609
- raw_payload
610
- }
611
- }
612
- ... on Value {
613
- payload
614
- raw_payload
615
- value
616
- raw_value
617
- }
618
- ... on LinkValue {
619
- linkValue: payload {
620
- ...RecordIdentity
621
- }
622
- }
623
- ... on TreeValue {
624
- treeValue: payload {
625
- id
626
- record {
627
- ...RecordIdentity
628
- }
629
- ancestors {
630
- record {
631
- ...RecordIdentity
632
- }
633
- }
634
- }
570
+ id_value
571
+ isInherited
572
+ isCalculated
573
+ modified_at
574
+ modified_by {
575
+ ...RecordIdentity
576
+ }
577
+ created_at
578
+ created_by {
579
+ ...RecordIdentity
580
+ }
581
+ version {
582
+ ...ValuesVersionDetails
583
+ }
584
+ attribute {
585
+ id
586
+ format
587
+ type
588
+ system
589
+ }
590
+ metadata {
591
+ name
592
+ value {
593
+ id_value
594
+ modified_at
595
+ modified_by {
596
+ ...RecordIdentity
597
+ }
598
+ created_at
599
+ created_by {
600
+ ...RecordIdentity
601
+ }
602
+ version {
603
+ ...ValuesVersionDetails
604
+ }
605
+ payload
606
+ raw_payload
607
+ }
608
+ }
609
+ ... on Value {
610
+ payload
611
+ raw_payload
612
+ value
613
+ raw_value
614
+ }
615
+ ... on LinkValue {
616
+ linkValue: payload {
617
+ ...RecordIdentity
618
+ }
619
+ }
620
+ ... on TreeValue {
621
+ treeValue: payload {
622
+ id
623
+ record {
624
+ ...RecordIdentity
625
+ }
626
+ ancestors {
627
+ record {
628
+ ...RecordIdentity
635
629
  }
630
+ }
636
631
  }
632
+ }
633
+ }
637
634
  ${RecordIdentityFragmentDoc}
638
- ${ValuesVersionDetailsFragmentDoc}
639
- `;
635
+ ${ValuesVersionDetailsFragmentDoc}`;
640
636
  export const StandardValuesListFragmentFragmentDoc = gql `
641
637
  fragment StandardValuesListFragment on StandardValuesListConf {
642
- ... on StandardStringValuesListConf {
643
- enable
644
- allowFreeEntry
645
- allowListUpdate
646
- values
647
- }
648
- ... on StandardDateRangeValuesListConf {
649
- enable
650
- allowFreeEntry
651
- allowListUpdate
652
- dateRangeValues: values {
653
- from
654
- to
655
- }
656
- }
657
- }
658
- `;
638
+ ... on StandardStringValuesListConf {
639
+ enable
640
+ allowFreeEntry
641
+ allowListUpdate
642
+ values
643
+ }
644
+ ... on StandardDateRangeValuesListConf {
645
+ enable
646
+ allowFreeEntry
647
+ allowListUpdate
648
+ dateRangeValues: values {
649
+ from
650
+ to
651
+ }
652
+ }
653
+ }
654
+ `;
659
655
  export const RecordFormAttributeFragmentDoc = gql `
660
656
  fragment RecordFormAttribute on Attribute {
657
+ id
658
+ label
659
+ description
660
+ type
661
+ format
662
+ system
663
+ readonly
664
+ required
665
+ multiple_values
666
+ compute
667
+ permissions(record: {id: $recordId, library: $libraryId}) {
668
+ access_attribute
669
+ edit_value
670
+ }
671
+ versions_conf {
672
+ versionable
673
+ profile {
674
+ id
675
+ trees {
661
676
  id
662
677
  label
663
- description
664
- type
665
- format
666
- system
667
- readonly
668
- multiple_values
669
- permissions(record: {id: $recordId, library: $libraryId}) {
670
- access_attribute
671
- edit_value
672
- }
673
- versions_conf {
674
- versionable
675
- profile {
676
- id
677
- trees {
678
- id
679
- label
680
- }
681
- }
682
- }
683
- metadata_fields {
684
- id
685
- label
686
- description
687
- type
688
- format
689
- system
690
- readonly
691
- multiple_values
692
- permissions(record: {id: $recordId, library: $libraryId}) {
693
- access_attribute
694
- edit_value
695
- }
696
- values_list {
697
- ...StandardValuesListFragment
698
- }
699
- metadata_fields {
700
- id
701
- }
702
- }
703
- ... on StandardAttribute {
704
- values_list {
705
- ...StandardValuesListFragment
706
- }
707
- }
708
- ... on LinkAttribute {
709
- linked_library {
710
- id
711
- label
712
- behavior
713
- permissions {
714
- create_record
715
- }
716
- }
717
- linkValuesList: values_list {
718
- enable
719
- allowFreeEntry
720
- allowListUpdate
721
- values {
722
- ...RecordIdentity
723
- }
724
- }
678
+ }
679
+ }
680
+ }
681
+ metadata_fields {
682
+ id
683
+ label
684
+ description
685
+ type
686
+ format
687
+ system
688
+ readonly
689
+ multiple_values
690
+ permissions(record: {id: $recordId, library: $libraryId}) {
691
+ access_attribute
692
+ edit_value
693
+ }
694
+ values_list {
695
+ ...StandardValuesListFragment
696
+ }
697
+ metadata_fields {
698
+ id
699
+ }
700
+ }
701
+ ... on StandardAttribute {
702
+ values_list {
703
+ ...StandardValuesListFragment
704
+ }
705
+ }
706
+ ... on LinkAttribute {
707
+ linked_library {
708
+ id
709
+ label
710
+ behavior
711
+ permissions {
712
+ create_record
713
+ }
714
+ }
715
+ linkValuesList: values_list {
716
+ enable
717
+ allowFreeEntry
718
+ allowListUpdate
719
+ values {
720
+ ...RecordIdentity
721
+ }
722
+ }
723
+ }
724
+ ... on TreeAttribute {
725
+ linked_tree {
726
+ id
727
+ label
728
+ }
729
+ treeValuesList: values_list {
730
+ enable
731
+ allowFreeEntry
732
+ allowListUpdate
733
+ values {
734
+ id
735
+ record {
736
+ ...RecordIdentity
725
737
  }
726
- ... on TreeAttribute {
727
- linked_tree {
728
- id
729
- label
730
- }
731
- treeValuesList: values_list {
732
- enable
733
- allowFreeEntry
734
- allowListUpdate
735
- values {
736
- id
737
- record {
738
- ...RecordIdentity
739
- }
740
- ancestors {
741
- record {
742
- ...RecordIdentity
743
- }
744
- }
745
- }
746
- }
738
+ ancestors {
739
+ record {
740
+ ...RecordIdentity
741
+ }
747
742
  }
743
+ }
748
744
  }
745
+ }
746
+ }
749
747
  ${StandardValuesListFragmentFragmentDoc}
750
- ${RecordIdentityFragmentDoc}
751
- `;
748
+ ${RecordIdentityFragmentDoc}`;
752
749
  export const RecordFormElementFragmentDoc = gql `
753
750
  fragment RecordFormElement on FormElementWithValues {
754
- id
755
- containerId
756
- uiElementType
757
- type
758
- valueError
759
- values {
760
- ...ValueDetails
761
- }
762
- attribute {
763
- ...RecordFormAttribute
764
- }
765
- settings {
766
- key
767
- value
768
- }
769
- }
751
+ id
752
+ containerId
753
+ uiElementType
754
+ type
755
+ valueError
756
+ values {
757
+ ...ValueDetails
758
+ }
759
+ attribute {
760
+ ...RecordFormAttribute
761
+ }
762
+ settings {
763
+ key
764
+ value
765
+ }
766
+ }
770
767
  ${ValueDetailsFragmentDoc}
771
- ${RecordFormAttributeFragmentDoc}
772
- `;
768
+ ${RecordFormAttributeFragmentDoc}`;
773
769
  export const TreeLightFragmentDoc = gql `
774
770
  fragment TreeLight on Tree {
775
- id
776
- label
777
- }
778
- `;
771
+ id
772
+ label
773
+ }
774
+ `;
779
775
  export const TreeDetailsFragmentDoc = gql `
780
776
  fragment TreeDetails on Tree {
781
- id
782
- label
783
- behavior
784
- system
785
- libraries {
786
- library {
787
- id
788
- label
789
- }
790
- settings {
791
- allowMultiplePositions
792
- allowedAtRoot
793
- allowedChildren
794
- }
795
- }
796
- }
797
- `;
777
+ id
778
+ label
779
+ behavior
780
+ system
781
+ libraries {
782
+ library {
783
+ id
784
+ label
785
+ }
786
+ settings {
787
+ allowMultiplePositions
788
+ allowedAtRoot
789
+ allowedChildren
790
+ }
791
+ }
792
+ }
793
+ `;
798
794
  export const TreeNodeChildFragmentDoc = gql `
799
795
  fragment TreeNodeChild on TreeNodeLight {
796
+ id
797
+ order
798
+ childrenCount
799
+ record {
800
+ ...RecordIdentity
801
+ active: property(attribute: "active") {
802
+ ... on Value {
803
+ value
804
+ }
805
+ }
806
+ }
807
+ ancestors {
808
+ id
809
+ record {
810
+ id
811
+ library {
800
812
  id
801
- order
802
- childrenCount
803
- record {
804
- ...RecordIdentity
805
- active: property(attribute: "active") {
806
- ... on Value {
807
- value
808
- }
809
- }
810
- }
811
- ancestors {
812
- id
813
- record {
814
- id
815
- library {
816
- id
817
- label
818
- }
819
- ...RecordIdentity
820
- }
821
- }
822
- permissions {
823
- access_tree
824
- detach
825
- edit_children
826
- }
827
- }
828
- ${RecordIdentityFragmentDoc}
829
- `;
813
+ label
814
+ }
815
+ ...RecordIdentity
816
+ }
817
+ }
818
+ permissions {
819
+ access_tree
820
+ detach
821
+ edit_children
822
+ }
823
+ }
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
+ `;
830
837
  export const ViewDetailsFragmentDoc = gql `
831
838
  fragment ViewDetails on View {
839
+ id
840
+ display {
841
+ size
842
+ type
843
+ }
844
+ shared
845
+ created_by {
846
+ id
847
+ whoAmI {
848
+ id
849
+ label
850
+ library {
832
851
  id
833
- display {
834
- size
835
- type
836
- }
837
- shared
838
- created_by {
839
- id
840
- whoAmI {
841
- id
842
- label
843
- library {
844
- id
845
- }
846
- }
847
- }
848
- label
849
- description
850
- color
851
- filters {
852
- field
853
- value
854
- tree {
855
- id
856
- label
857
- }
858
- condition
859
- operator
860
- }
861
- sort {
862
- field
863
- order
864
- }
865
- valuesVersions {
866
- treeId
867
- treeNode {
868
- id
869
- record {
870
- ...RecordIdentity
871
- }
872
- }
873
- }
874
- settings {
875
- name
876
- value
877
- }
878
- }
879
- ${RecordIdentityFragmentDoc}
880
- `;
852
+ }
853
+ }
854
+ }
855
+ label
856
+ description
857
+ color
858
+ filters {
859
+ ...ViewDetailsFilter
860
+ }
861
+ sort {
862
+ field
863
+ order
864
+ }
865
+ valuesVersions {
866
+ treeId
867
+ treeNode {
868
+ id
869
+ record {
870
+ ...RecordIdentity
871
+ }
872
+ }
873
+ }
874
+ attributes {
875
+ id
876
+ }
877
+ }
878
+ ${ViewDetailsFilterFragmentDoc}
879
+ ${RecordIdentityFragmentDoc}`;
880
+ export const LinkAttributeDetailsFragmentDoc = gql `
881
+ fragment LinkAttributeDetails on LinkAttribute {
882
+ label
883
+ linked_library {
884
+ id
885
+ }
886
+ }
887
+ `;
888
+ export const AttributePropertiesFragmentDoc = gql `
889
+ fragment AttributeProperties on Attribute {
890
+ id
891
+ label
892
+ type
893
+ format
894
+ multiple_values
895
+ }
896
+ `;
881
897
  export const PropertyValueFragmentDoc = gql `
882
898
  fragment PropertyValue on GenericValue {
883
- attribute {
884
- type
885
- }
886
- ... on Value {
887
- valuePayload: payload
899
+ ... on Value {
900
+ valuePayload: payload
901
+ valueRawPayload: raw_payload
902
+ }
903
+ ... on LinkValue {
904
+ linkPayload: payload {
905
+ ...RecordIdentity
906
+ }
907
+ }
908
+ ... on TreeValue {
909
+ treePayload: payload {
910
+ record {
911
+ ...RecordIdentity
912
+ }
913
+ }
914
+ }
915
+ }
916
+ ${RecordIdentityFragmentDoc}`;
917
+ export const LinkPropertyFragmentDoc = gql `
918
+ fragment LinkProperty on GenericValue {
919
+ id_value
920
+ ... on LinkValue {
921
+ payload {
922
+ ...RecordIdentity
923
+ properties(attributeIds: $attributeIds) {
924
+ attributeId
925
+ attributeProperties {
926
+ ...AttributeProperties
888
927
  }
889
- ... on LinkValue {
890
- linkPayload: payload {
891
- ...RecordIdentity
892
- }
893
- }
894
- ... on TreeValue {
895
- treePayload: payload {
896
- record {
897
- ...RecordIdentity
898
- }
899
- }
928
+ values {
929
+ ...PropertyValue
900
930
  }
931
+ }
901
932
  }
933
+ }
934
+ }
902
935
  ${RecordIdentityFragmentDoc}
903
- `;
936
+ ${AttributePropertiesFragmentDoc}
937
+ ${PropertyValueFragmentDoc}`;
904
938
  export const CheckApplicationExistenceDocument = gql `
905
939
  query CHECK_APPLICATION_EXISTENCE($id: ID, $endpoint: String) {
906
- applications(filters: {id: $id, endpoint: $endpoint}) {
907
- totalCount
908
- }
909
- }
910
- `;
940
+ applications(filters: {id: $id, endpoint: $endpoint}) {
941
+ totalCount
942
+ }
943
+ }
944
+ `;
911
945
  /**
912
946
  * __useCheckApplicationExistenceQuery__
913
947
  *
@@ -935,14 +969,13 @@ export function useCheckApplicationExistenceLazyQuery(baseOptions) {
935
969
  }
936
970
  export const GetApplicationByIdDocument = gql `
937
971
  query GET_APPLICATION_BY_ID($id: ID!) {
938
- applications(filters: {id: $id}) {
939
- list {
940
- ...DetailsApplication
941
- }
942
- }
972
+ applications(filters: {id: $id}) {
973
+ list {
974
+ ...DetailsApplication
943
975
  }
944
- ${DetailsApplicationFragmentDoc}
945
- `;
976
+ }
977
+ }
978
+ ${DetailsApplicationFragmentDoc}`;
946
979
  /**
947
980
  * __useGetApplicationByIdQuery__
948
981
  *
@@ -969,13 +1002,13 @@ export function useGetApplicationByIdLazyQuery(baseOptions) {
969
1002
  }
970
1003
  export const GetApplicationModulesDocument = gql `
971
1004
  query GET_APPLICATION_MODULES {
972
- applicationsModules {
973
- id
974
- description
975
- version
976
- }
977
- }
978
- `;
1005
+ applicationsModules {
1006
+ id
1007
+ description
1008
+ version
1009
+ }
1010
+ }
1011
+ `;
979
1012
  /**
980
1013
  * __useGetApplicationModulesQuery__
981
1014
  *
@@ -1001,12 +1034,11 @@ export function useGetApplicationModulesLazyQuery(baseOptions) {
1001
1034
  }
1002
1035
  export const SaveApplicationDocument = gql `
1003
1036
  mutation SAVE_APPLICATION($application: ApplicationInput!) {
1004
- saveApplication(application: $application) {
1005
- ...DetailsApplication
1006
- }
1007
- }
1008
- ${DetailsApplicationFragmentDoc}
1009
- `;
1037
+ saveApplication(application: $application) {
1038
+ ...DetailsApplication
1039
+ }
1040
+ }
1041
+ ${DetailsApplicationFragmentDoc}`;
1010
1042
  /**
1011
1043
  * __useSaveApplicationMutation__
1012
1044
  *
@@ -1030,11 +1062,11 @@ export function useSaveApplicationMutation(baseOptions) {
1030
1062
  }
1031
1063
  export const CheckAttributeExistenceDocument = gql `
1032
1064
  query CHECK_ATTRIBUTE_EXISTENCE($id: ID!) {
1033
- attributes(filters: {id: $id}) {
1034
- totalCount
1035
- }
1036
- }
1037
- `;
1065
+ attributes(filters: {id: $id}) {
1066
+ totalCount
1067
+ }
1068
+ }
1069
+ `;
1038
1070
  /**
1039
1071
  * __useCheckAttributeExistenceQuery__
1040
1072
  *
@@ -1061,11 +1093,11 @@ export function useCheckAttributeExistenceLazyQuery(baseOptions) {
1061
1093
  }
1062
1094
  export const DeleteAttributeDocument = gql `
1063
1095
  mutation DELETE_ATTRIBUTE($id: ID) {
1064
- deleteAttribute(id: $id) {
1065
- id
1066
- }
1067
- }
1068
- `;
1096
+ deleteAttribute(id: $id) {
1097
+ id
1098
+ }
1099
+ }
1100
+ `;
1069
1101
  /**
1070
1102
  * __useDeleteAttributeMutation__
1071
1103
  *
@@ -1089,14 +1121,13 @@ export function useDeleteAttributeMutation(baseOptions) {
1089
1121
  }
1090
1122
  export const GetAttributeByIdDocument = gql `
1091
1123
  query GET_ATTRIBUTE_BY_ID($id: ID) {
1092
- attributes(filters: {id: $id}) {
1093
- list {
1094
- ...AttributeDetails
1095
- }
1096
- }
1124
+ attributes(filters: {id: $id}) {
1125
+ list {
1126
+ ...AttributeDetails
1097
1127
  }
1098
- ${AttributeDetailsFragmentDoc}
1099
- `;
1128
+ }
1129
+ }
1130
+ ${AttributeDetailsFragmentDoc}`;
1100
1131
  /**
1101
1132
  * __useGetAttributeByIdQuery__
1102
1133
  *
@@ -1123,14 +1154,13 @@ export function useGetAttributeByIdLazyQuery(baseOptions) {
1123
1154
  }
1124
1155
  export const GetAttributesByLibDocument = gql `
1125
1156
  query GET_ATTRIBUTES_BY_LIB($library: String!) {
1126
- attributes(filters: {libraries: [$library]}) {
1127
- list {
1128
- ...AttributesByLibAttribute
1129
- }
1130
- }
1157
+ attributes(filters: {libraries: [$library]}) {
1158
+ list {
1159
+ ...AttributesByLibAttribute
1131
1160
  }
1132
- ${AttributesByLibAttributeFragmentDoc}
1133
- `;
1161
+ }
1162
+ }
1163
+ ${AttributesByLibAttributeFragmentDoc}`;
1134
1164
  /**
1135
1165
  * __useGetAttributesByLibQuery__
1136
1166
  *
@@ -1157,18 +1187,18 @@ export function useGetAttributesByLibLazyQuery(baseOptions) {
1157
1187
  }
1158
1188
  export const GetAttributesDocument = gql `
1159
1189
  query GET_ATTRIBUTES($pagination: Pagination, $sort: SortAttributes, $filters: AttributesFiltersInput) {
1160
- attributes(pagination: $pagination, sort: $sort, filters: $filters) {
1161
- totalCount
1162
- list {
1163
- id
1164
- label
1165
- type
1166
- format
1167
- system
1168
- }
1169
- }
1170
- }
1171
- `;
1190
+ attributes(pagination: $pagination, sort: $sort, filters: $filters) {
1191
+ totalCount
1192
+ list {
1193
+ id
1194
+ label
1195
+ type
1196
+ format
1197
+ system
1198
+ }
1199
+ }
1200
+ }
1201
+ `;
1172
1202
  /**
1173
1203
  * __useGetAttributesQuery__
1174
1204
  *
@@ -1197,14 +1227,14 @@ export function useGetAttributesLazyQuery(baseOptions) {
1197
1227
  }
1198
1228
  export const GetVersionProfilesDocument = gql `
1199
1229
  query GET_VERSION_PROFILES($filters: VersionProfilesFiltersInput, $sort: SortVersionProfilesInput) {
1200
- versionProfiles(filters: $filters, sort: $sort) {
1201
- list {
1202
- id
1203
- label
1204
- }
1205
- }
1230
+ versionProfiles(filters: $filters, sort: $sort) {
1231
+ list {
1232
+ id
1233
+ label
1206
1234
  }
1207
- `;
1235
+ }
1236
+ }
1237
+ `;
1208
1238
  /**
1209
1239
  * __useGetVersionProfilesQuery__
1210
1240
  *
@@ -1232,23 +1262,23 @@ export function useGetVersionProfilesLazyQuery(baseOptions) {
1232
1262
  }
1233
1263
  export const GetVersionableAttributesByLibraryDocument = gql `
1234
1264
  query GET_VERSIONABLE_ATTRIBUTES_BY_LIBRARY($libraryId: String!) {
1235
- attributes(filters: {libraries: [$libraryId], versionable: true}) {
1236
- list {
1237
- id
1238
- versions_conf {
1239
- versionable
1240
- profile {
1241
- id
1242
- trees {
1243
- id
1244
- label
1245
- }
1246
- }
1247
- }
1248
- }
1265
+ attributes(filters: {libraries: [$libraryId], versionable: true}) {
1266
+ list {
1267
+ id
1268
+ versions_conf {
1269
+ versionable
1270
+ profile {
1271
+ id
1272
+ trees {
1273
+ id
1274
+ label
1275
+ }
1249
1276
  }
1277
+ }
1250
1278
  }
1251
- `;
1279
+ }
1280
+ }
1281
+ `;
1252
1282
  /**
1253
1283
  * __useGetVersionableAttributesByLibraryQuery__
1254
1284
  *
@@ -1275,12 +1305,11 @@ export function useGetVersionableAttributesByLibraryLazyQuery(baseOptions) {
1275
1305
  }
1276
1306
  export const SaveAttributeDocument = gql `
1277
1307
  mutation SAVE_ATTRIBUTE($attribute: AttributeInput!) {
1278
- saveAttribute(attribute: $attribute) {
1279
- ...AttributeDetails
1280
- }
1281
- }
1282
- ${AttributeDetailsFragmentDoc}
1283
- `;
1308
+ saveAttribute(attribute: $attribute) {
1309
+ ...AttributeDetails
1310
+ }
1311
+ }
1312
+ ${AttributeDetailsFragmentDoc}`;
1284
1313
  /**
1285
1314
  * __useSaveAttributeMutation__
1286
1315
  *
@@ -1304,9 +1333,9 @@ export function useSaveAttributeMutation(baseOptions) {
1304
1333
  }
1305
1334
  export const ExportDocument = gql `
1306
1335
  query EXPORT($library: ID!, $attributes: [ID!], $filters: [RecordFilterInput!]) {
1307
- export(library: $library, attributes: $attributes, filters: $filters)
1308
- }
1309
- `;
1336
+ export(library: $library, attributes: $attributes, filters: $filters)
1337
+ }
1338
+ `;
1310
1339
  /**
1311
1340
  * __useExportQuery__
1312
1341
  *
@@ -1335,12 +1364,11 @@ export function useExportLazyQuery(baseOptions) {
1335
1364
  }
1336
1365
  export const CreateDirectoryDocument = gql `
1337
1366
  mutation CREATE_DIRECTORY($library: String!, $nodeId: String!, $name: String!) {
1338
- createDirectory(library: $library, nodeId: $nodeId, name: $name) {
1339
- ...RecordIdentity
1340
- }
1341
- }
1342
- ${RecordIdentityFragmentDoc}
1343
- `;
1367
+ createDirectory(library: $library, nodeId: $nodeId, name: $name) {
1368
+ ...RecordIdentity
1369
+ }
1370
+ }
1371
+ ${RecordIdentityFragmentDoc}`;
1344
1372
  /**
1345
1373
  * __useCreateDirectoryMutation__
1346
1374
  *
@@ -1365,22 +1393,16 @@ export function useCreateDirectoryMutation(baseOptions) {
1365
1393
  return Apollo.useMutation(CreateDirectoryDocument, options);
1366
1394
  }
1367
1395
  export const ForcePreviewsGenerationDocument = gql `
1368
- mutation FORCE_PREVIEWS_GENERATION(
1369
- $libraryId: ID!
1370
- $filters: [RecordFilterInput!]
1371
- $recordIds: [ID!]
1372
- $failedOnly: Boolean
1373
- $previewVersionSizeNames: [String!]
1374
- ) {
1375
- forcePreviewsGeneration(
1376
- libraryId: $libraryId
1377
- filters: $filters
1378
- recordIds: $recordIds
1379
- failedOnly: $failedOnly
1380
- previewVersionSizeNames: $previewVersionSizeNames
1381
- )
1382
- }
1383
- `;
1396
+ mutation FORCE_PREVIEWS_GENERATION($libraryId: ID!, $filters: [RecordFilterInput!], $recordIds: [ID!], $failedOnly: Boolean, $previewVersionSizeNames: [String!]) {
1397
+ forcePreviewsGeneration(
1398
+ libraryId: $libraryId
1399
+ filters: $filters
1400
+ recordIds: $recordIds
1401
+ failedOnly: $failedOnly
1402
+ previewVersionSizeNames: $previewVersionSizeNames
1403
+ )
1404
+ }
1405
+ `;
1384
1406
  /**
1385
1407
  * __useForcePreviewsGenerationMutation__
1386
1408
  *
@@ -1408,51 +1430,53 @@ export function useForcePreviewsGenerationMutation(baseOptions) {
1408
1430
  }
1409
1431
  export const GetDirectoryDataDocument = gql `
1410
1432
  query GET_DIRECTORY_DATA($library: ID!, $directoryId: String!) {
1411
- records(library: $library, filters: [{field: "id", value: $directoryId, condition: EQUAL}]) {
1412
- list {
1413
- ...RecordIdentity
1414
- created_at: property(attribute: "created_at") {
1415
- ... on Value {
1416
- value
1417
- }
1418
- }
1419
- created_by: property(attribute: "created_by") {
1420
- ... on LinkValue {
1421
- value {
1422
- ...RecordIdentity
1423
- }
1424
- }
1425
- }
1426
- modified_at: property(attribute: "modified_at") {
1427
- ... on Value {
1428
- value
1429
- }
1430
- }
1431
- modified_by: property(attribute: "modified_by") {
1432
- ... on LinkValue {
1433
- value {
1434
- ...RecordIdentity
1435
- }
1436
- }
1437
- }
1438
- file_name: property(attribute: "file_name") {
1439
- ... on Value {
1440
- value
1441
- }
1442
- }
1443
- file_path: property(attribute: "file_path") {
1444
- ... on Value {
1445
- value
1446
- }
1447
- }
1448
- library {
1449
- behavior
1450
- }
1451
- }
1433
+ records(
1434
+ library: $library
1435
+ filters: [{field: "id", value: $directoryId, condition: EQUAL}]
1436
+ ) {
1437
+ list {
1438
+ ...RecordIdentity
1439
+ created_at: property(attribute: "created_at") {
1440
+ ... on Value {
1441
+ value
1442
+ }
1443
+ }
1444
+ created_by: property(attribute: "created_by") {
1445
+ ... on LinkValue {
1446
+ value {
1447
+ ...RecordIdentity
1448
+ }
1449
+ }
1450
+ }
1451
+ modified_at: property(attribute: "modified_at") {
1452
+ ... on Value {
1453
+ value
1454
+ }
1455
+ }
1456
+ modified_by: property(attribute: "modified_by") {
1457
+ ... on LinkValue {
1458
+ value {
1459
+ ...RecordIdentity
1460
+ }
1452
1461
  }
1462
+ }
1463
+ file_name: property(attribute: "file_name") {
1464
+ ... on Value {
1465
+ value
1466
+ }
1467
+ }
1468
+ file_path: property(attribute: "file_path") {
1469
+ ... on Value {
1470
+ value
1471
+ }
1472
+ }
1473
+ library {
1474
+ behavior
1475
+ }
1453
1476
  }
1454
- ${RecordIdentityFragmentDoc}
1455
- `;
1477
+ }
1478
+ }
1479
+ ${RecordIdentityFragmentDoc}`;
1456
1480
  /**
1457
1481
  * __useGetDirectoryDataQuery__
1458
1482
  *
@@ -1480,22 +1504,22 @@ export function useGetDirectoryDataLazyQuery(baseOptions) {
1480
1504
  }
1481
1505
  export const UploadUpdateDocument = gql `
1482
1506
  subscription UPLOAD_UPDATE($filters: UploadFiltersInput) {
1483
- upload(filters: $filters) {
1484
- userId
1485
- progress {
1486
- length
1487
- transferred
1488
- speed
1489
- runtime
1490
- remaining
1491
- percentage
1492
- eta
1493
- delta
1494
- }
1495
- uid
1496
- }
1497
- }
1498
- `;
1507
+ upload(filters: $filters) {
1508
+ userId
1509
+ progress {
1510
+ length
1511
+ transferred
1512
+ speed
1513
+ runtime
1514
+ remaining
1515
+ percentage
1516
+ eta
1517
+ delta
1518
+ }
1519
+ uid
1520
+ }
1521
+ }
1522
+ `;
1499
1523
  /**
1500
1524
  * __useUploadUpdateSubscription__
1501
1525
  *
@@ -1518,15 +1542,14 @@ export function useUploadUpdateSubscription(baseOptions) {
1518
1542
  }
1519
1543
  export const UploadDocument = gql `
1520
1544
  mutation UPLOAD($library: String!, $nodeId: String!, $files: [FileInput!]!) {
1521
- upload(library: $library, nodeId: $nodeId, files: $files) {
1522
- uid
1523
- record {
1524
- ...RecordIdentity
1525
- }
1526
- }
1545
+ upload(library: $library, nodeId: $nodeId, files: $files) {
1546
+ uid
1547
+ record {
1548
+ ...RecordIdentity
1527
1549
  }
1528
- ${RecordIdentityFragmentDoc}
1529
- `;
1550
+ }
1551
+ }
1552
+ ${RecordIdentityFragmentDoc}`;
1530
1553
  /**
1531
1554
  * __useUploadMutation__
1532
1555
  *
@@ -1552,9 +1575,9 @@ export function useUploadMutation(baseOptions) {
1552
1575
  }
1553
1576
  export const ImportExcelDocument = gql `
1554
1577
  mutation IMPORT_EXCEL($file: Upload!, $sheets: [SheetInput], $startAt: Int) {
1555
- importExcel(file: $file, sheets: $sheets, startAt: $startAt)
1556
- }
1557
- `;
1578
+ importExcel(file: $file, sheets: $sheets, startAt: $startAt)
1579
+ }
1580
+ `;
1558
1581
  /**
1559
1582
  * __useImportExcelMutation__
1560
1583
  *
@@ -1580,11 +1603,11 @@ export function useImportExcelMutation(baseOptions) {
1580
1603
  }
1581
1604
  export const CheckLibraryExistenceDocument = gql `
1582
1605
  query CHECK_LIBRARY_EXISTENCE($id: [ID!]) {
1583
- libraries(filters: {id: $id}) {
1584
- totalCount
1585
- }
1586
- }
1587
- `;
1606
+ libraries(filters: {id: $id}) {
1607
+ totalCount
1608
+ }
1609
+ }
1610
+ `;
1588
1611
  /**
1589
1612
  * __useCheckLibraryExistenceQuery__
1590
1613
  *
@@ -1611,11 +1634,11 @@ export function useCheckLibraryExistenceLazyQuery(baseOptions) {
1611
1634
  }
1612
1635
  export const DeleteLibraryDocument = gql `
1613
1636
  mutation DELETE_LIBRARY($id: ID) {
1614
- deleteLibrary(id: $id) {
1615
- id
1616
- }
1617
- }
1618
- `;
1637
+ deleteLibrary(id: $id) {
1638
+ id
1639
+ }
1640
+ }
1641
+ `;
1619
1642
  /**
1620
1643
  * __useDeleteLibraryMutation__
1621
1644
  *
@@ -1639,14 +1662,13 @@ export function useDeleteLibraryMutation(baseOptions) {
1639
1662
  }
1640
1663
  export const GetLibrariesDocument = gql `
1641
1664
  query GET_LIBRARIES {
1642
- libraries {
1643
- list {
1644
- ...LibraryLight
1645
- }
1646
- }
1665
+ libraries {
1666
+ list {
1667
+ ...LibraryLight
1647
1668
  }
1648
- ${LibraryLightFragmentDoc}
1649
- `;
1669
+ }
1670
+ }
1671
+ ${LibraryLightFragmentDoc}`;
1650
1672
  /**
1651
1673
  * __useGetLibrariesQuery__
1652
1674
  *
@@ -1672,14 +1694,13 @@ export function useGetLibrariesLazyQuery(baseOptions) {
1672
1694
  }
1673
1695
  export const GetLibraryByIdDocument = gql `
1674
1696
  query GET_LIBRARY_BY_ID($id: [ID!]) {
1675
- libraries(filters: {id: $id}) {
1676
- list {
1677
- ...LibraryDetails
1678
- }
1679
- }
1697
+ libraries(filters: {id: $id}) {
1698
+ list {
1699
+ ...LibraryDetails
1680
1700
  }
1681
- ${LibraryDetailsFragmentDoc}
1682
- `;
1701
+ }
1702
+ }
1703
+ ${LibraryDetailsFragmentDoc}`;
1683
1704
  /**
1684
1705
  * __useGetLibraryByIdQuery__
1685
1706
  *
@@ -1706,19 +1727,19 @@ export function useGetLibraryByIdLazyQuery(baseOptions) {
1706
1727
  }
1707
1728
  export const GetLibraryPermissionsDocument = gql `
1708
1729
  query GET_LIBRARY_PERMISSIONS($libraryId: [ID!]) {
1709
- libraries(filters: {id: $libraryId}) {
1710
- list {
1711
- permissions {
1712
- access_library
1713
- access_record
1714
- create_record
1715
- edit_record
1716
- delete_record
1717
- }
1718
- }
1719
- }
1720
- }
1721
- `;
1730
+ libraries(filters: {id: $libraryId}) {
1731
+ list {
1732
+ permissions {
1733
+ access_library
1734
+ access_record
1735
+ create_record
1736
+ edit_record
1737
+ delete_record
1738
+ }
1739
+ }
1740
+ }
1741
+ }
1742
+ `;
1722
1743
  /**
1723
1744
  * __useGetLibraryPermissionsQuery__
1724
1745
  *
@@ -1745,28 +1766,28 @@ export function useGetLibraryPermissionsLazyQuery(baseOptions) {
1745
1766
  }
1746
1767
  export const GetLibraryPreviewsSettingsDocument = gql `
1747
1768
  query GET_LIBRARY_PREVIEWS_SETTINGS($id: ID!) {
1748
- libraries(filters: {id: [$id]}) {
1749
- list {
1750
- id
1751
- label
1752
- behavior
1753
- previewsSettings {
1754
- description
1755
- label
1756
- system
1757
- versions {
1758
- background
1759
- density
1760
- sizes {
1761
- name
1762
- size
1763
- }
1764
- }
1765
- }
1766
- }
1769
+ libraries(filters: {id: [$id]}) {
1770
+ list {
1771
+ id
1772
+ label
1773
+ behavior
1774
+ previewsSettings {
1775
+ description
1776
+ label
1777
+ system
1778
+ versions {
1779
+ background
1780
+ density
1781
+ sizes {
1782
+ name
1783
+ size
1784
+ }
1767
1785
  }
1786
+ }
1768
1787
  }
1769
- `;
1788
+ }
1789
+ }
1790
+ `;
1770
1791
  /**
1771
1792
  * __useGetLibraryPreviewsSettingsQuery__
1772
1793
  *
@@ -1793,12 +1814,11 @@ export function useGetLibraryPreviewsSettingsLazyQuery(baseOptions) {
1793
1814
  }
1794
1815
  export const SaveLibraryDocument = gql `
1795
1816
  mutation saveLibrary($library: LibraryInput!) {
1796
- saveLibrary(library: $library) {
1797
- ...LibraryDetails
1798
- }
1799
- }
1800
- ${LibraryDetailsFragmentDoc}
1801
- `;
1817
+ saveLibrary(library: $library) {
1818
+ ...LibraryDetails
1819
+ }
1820
+ }
1821
+ ${LibraryDetailsFragmentDoc}`;
1802
1822
  /**
1803
1823
  * __useSaveLibraryMutation__
1804
1824
  *
@@ -1821,18 +1841,13 @@ export function useSaveLibraryMutation(baseOptions) {
1821
1841
  return Apollo.useMutation(SaveLibraryDocument, options);
1822
1842
  }
1823
1843
  export const IsAllowedDocument = gql `
1824
- query IS_ALLOWED(
1825
- $type: PermissionTypes!
1826
- $actions: [PermissionsActions!]!
1827
- $applyTo: ID
1828
- $target: PermissionTarget
1829
- ) {
1830
- isAllowed(type: $type, actions: $actions, applyTo: $applyTo, target: $target) {
1831
- name
1832
- allowed
1833
- }
1834
- }
1835
- `;
1844
+ query IS_ALLOWED($type: PermissionTypes!, $actions: [PermissionsActions!]!, $applyTo: ID, $target: PermissionTarget) {
1845
+ isAllowed(type: $type, actions: $actions, applyTo: $applyTo, target: $target) {
1846
+ name
1847
+ allowed
1848
+ }
1849
+ }
1850
+ `;
1836
1851
  /**
1837
1852
  * __useIsAllowedQuery__
1838
1853
  *
@@ -1862,21 +1877,20 @@ export function useIsAllowedLazyQuery(baseOptions) {
1862
1877
  }
1863
1878
  export const CreateRecordDocument = gql `
1864
1879
  mutation CREATE_RECORD($library: ID!, $data: CreateRecordDataInput) {
1865
- createRecord(library: $library, data: $data) {
1866
- record {
1867
- ...RecordIdentity
1868
- }
1869
- valuesErrors {
1870
- attributeId
1871
- id_value
1872
- input
1873
- message
1874
- type
1875
- }
1876
- }
1880
+ createRecord(library: $library, data: $data) {
1881
+ record {
1882
+ ...RecordIdentity
1877
1883
  }
1878
- ${RecordIdentityFragmentDoc}
1879
- `;
1884
+ valuesErrors {
1885
+ attributeId
1886
+ id_value
1887
+ input
1888
+ message
1889
+ type
1890
+ }
1891
+ }
1892
+ }
1893
+ ${RecordIdentityFragmentDoc}`;
1880
1894
  /**
1881
1895
  * __useCreateRecordMutation__
1882
1896
  *
@@ -1901,13 +1915,16 @@ export function useCreateRecordMutation(baseOptions) {
1901
1915
  }
1902
1916
  export const DeactivateRecordsDocument = gql `
1903
1917
  mutation DEACTIVATE_RECORDS($libraryId: String!, $recordsIds: [String!], $filters: [RecordFilterInput!]) {
1904
- deactivateRecords(recordsIds: $recordsIds, filters: $filters, libraryId: $libraryId) {
1905
- id
1906
- ...RecordIdentity
1907
- }
1908
- }
1909
- ${RecordIdentityFragmentDoc}
1910
- `;
1918
+ deactivateRecords(
1919
+ recordsIds: $recordsIds
1920
+ filters: $filters
1921
+ libraryId: $libraryId
1922
+ ) {
1923
+ id
1924
+ ...RecordIdentity
1925
+ }
1926
+ }
1927
+ ${RecordIdentityFragmentDoc}`;
1911
1928
  /**
1912
1929
  * __useDeactivateRecordsMutation__
1913
1930
  *
@@ -1933,9 +1950,13 @@ export function useDeactivateRecordsMutation(baseOptions) {
1933
1950
  }
1934
1951
  export const DoesFileExistAsChildDocument = gql `
1935
1952
  query DOES_FILE_EXIST_AS_CHILD($parentNode: ID, $treeId: ID!, $filename: String!) {
1936
- doesFileExistAsChild(parentNode: $parentNode, treeId: $treeId, filename: $filename)
1937
- }
1938
- `;
1953
+ doesFileExistAsChild(
1954
+ parentNode: $parentNode
1955
+ treeId: $treeId
1956
+ filename: $filename
1957
+ )
1958
+ }
1959
+ `;
1939
1960
  /**
1940
1961
  * __useDoesFileExistAsChildQuery__
1941
1962
  *
@@ -1964,56 +1985,58 @@ export function useDoesFileExistAsChildLazyQuery(baseOptions) {
1964
1985
  }
1965
1986
  export const GetFileDataDocument = gql `
1966
1987
  query GET_FILE_DATA($library: ID!, $fileId: String!, $previewsStatusAttribute: ID!) {
1967
- records(library: $library, filters: [{field: "id", value: $fileId, condition: EQUAL}]) {
1968
- list {
1969
- ...RecordIdentity
1970
- created_at: property(attribute: "created_at") {
1971
- ... on Value {
1972
- value
1973
- }
1974
- }
1975
- created_by: property(attribute: "created_by") {
1976
- ... on LinkValue {
1977
- value {
1978
- ...RecordIdentity
1979
- }
1980
- }
1981
- }
1982
- modified_at: property(attribute: "modified_at") {
1983
- ... on Value {
1984
- value
1985
- }
1986
- }
1987
- modified_by: property(attribute: "modified_by") {
1988
- ... on LinkValue {
1989
- value {
1990
- ...RecordIdentity
1991
- }
1992
- }
1993
- }
1994
- file_name: property(attribute: "file_name") {
1995
- ... on Value {
1996
- value
1997
- }
1998
- }
1999
- file_path: property(attribute: "file_path") {
2000
- ... on Value {
2001
- value
2002
- }
2003
- }
2004
- previews_status: property(attribute: $previewsStatusAttribute) {
2005
- ... on Value {
2006
- value
2007
- }
2008
- }
2009
- library {
2010
- behavior
2011
- }
2012
- }
1988
+ records(
1989
+ library: $library
1990
+ filters: [{field: "id", value: $fileId, condition: EQUAL}]
1991
+ ) {
1992
+ list {
1993
+ ...RecordIdentity
1994
+ created_at: property(attribute: "created_at") {
1995
+ ... on Value {
1996
+ value
1997
+ }
1998
+ }
1999
+ created_by: property(attribute: "created_by") {
2000
+ ... on LinkValue {
2001
+ value {
2002
+ ...RecordIdentity
2003
+ }
2004
+ }
2005
+ }
2006
+ modified_at: property(attribute: "modified_at") {
2007
+ ... on Value {
2008
+ value
2009
+ }
2010
+ }
2011
+ modified_by: property(attribute: "modified_by") {
2012
+ ... on LinkValue {
2013
+ value {
2014
+ ...RecordIdentity
2015
+ }
2016
+ }
2017
+ }
2018
+ file_name: property(attribute: "file_name") {
2019
+ ... on Value {
2020
+ value
2021
+ }
2022
+ }
2023
+ file_path: property(attribute: "file_path") {
2024
+ ... on Value {
2025
+ value
2013
2026
  }
2027
+ }
2028
+ previews_status: property(attribute: $previewsStatusAttribute) {
2029
+ ... on Value {
2030
+ value
2031
+ }
2032
+ }
2033
+ library {
2034
+ behavior
2035
+ }
2014
2036
  }
2015
- ${RecordIdentityFragmentDoc}
2016
- `;
2037
+ }
2038
+ }
2039
+ ${RecordIdentityFragmentDoc}`;
2017
2040
  /**
2018
2041
  * __useGetFileDataQuery__
2019
2042
  *
@@ -2042,22 +2065,26 @@ export function useGetFileDataLazyQuery(baseOptions) {
2042
2065
  }
2043
2066
  export const RecordFormDocument = gql `
2044
2067
  query RECORD_FORM($libraryId: String!, $formId: String!, $recordId: String, $version: [ValueVersionInput!]) {
2045
- recordForm(recordId: $recordId, libraryId: $libraryId, formId: $formId, version: $version) {
2046
- id
2047
- recordId
2048
- library {
2049
- id
2050
- }
2051
- dependencyAttributes {
2052
- id
2053
- }
2054
- elements {
2055
- ...RecordFormElement
2056
- }
2057
- }
2058
- }
2059
- ${RecordFormElementFragmentDoc}
2060
- `;
2068
+ recordForm(
2069
+ recordId: $recordId
2070
+ libraryId: $libraryId
2071
+ formId: $formId
2072
+ version: $version
2073
+ ) {
2074
+ id
2075
+ recordId
2076
+ library {
2077
+ id
2078
+ }
2079
+ dependencyAttributes {
2080
+ id
2081
+ }
2082
+ elements {
2083
+ ...RecordFormElement
2084
+ }
2085
+ }
2086
+ }
2087
+ ${RecordFormElementFragmentDoc}`;
2061
2088
  /**
2062
2089
  * __useRecordFormQuery__
2063
2090
  *
@@ -2087,28 +2114,27 @@ export function useRecordFormLazyQuery(baseOptions) {
2087
2114
  }
2088
2115
  export const RecordUpdateDocument = gql `
2089
2116
  subscription RECORD_UPDATE($filters: RecordUpdateFilterInput) {
2090
- recordUpdate(filters: $filters) {
2091
- record {
2092
- ...RecordIdentity
2093
- modified_by: property(attribute: "modified_by") {
2094
- ... on LinkValue {
2095
- value {
2096
- ...RecordIdentity
2097
- }
2098
- }
2099
- }
2100
- }
2101
- updatedValues {
2102
- attribute
2103
- value {
2104
- ...ValueDetails
2105
- }
2106
- }
2117
+ recordUpdate(filters: $filters) {
2118
+ record {
2119
+ ...RecordIdentity
2120
+ modified_by: property(attribute: "modified_by") {
2121
+ ... on LinkValue {
2122
+ value {
2123
+ ...RecordIdentity
2124
+ }
2107
2125
  }
2126
+ }
2127
+ }
2128
+ updatedValues {
2129
+ attribute
2130
+ value {
2131
+ ...ValueDetails
2132
+ }
2108
2133
  }
2134
+ }
2135
+ }
2109
2136
  ${RecordIdentityFragmentDoc}
2110
- ${ValueDetailsFragmentDoc}
2111
- `;
2137
+ ${ValueDetailsFragmentDoc}`;
2112
2138
  /**
2113
2139
  * __useRecordUpdateSubscription__
2114
2140
  *
@@ -2131,9 +2157,9 @@ export function useRecordUpdateSubscription(baseOptions) {
2131
2157
  }
2132
2158
  export const IndexRecordsDocument = gql `
2133
2159
  mutation INDEX_RECORDS($libraryId: String!, $records: [String!]) {
2134
- indexRecords(libraryId: $libraryId, records: $records)
2135
- }
2136
- `;
2160
+ indexRecords(libraryId: $libraryId, records: $records)
2161
+ }
2162
+ `;
2137
2163
  /**
2138
2164
  * __useIndexRecordsMutation__
2139
2165
  *
@@ -2158,9 +2184,9 @@ export function useIndexRecordsMutation(baseOptions) {
2158
2184
  }
2159
2185
  export const CancelTaskDocument = gql `
2160
2186
  mutation CANCEL_TASK($taskId: ID!) {
2161
- cancelTask(taskId: $taskId)
2162
- }
2163
- `;
2187
+ cancelTask(taskId: $taskId)
2188
+ }
2189
+ `;
2164
2190
  /**
2165
2191
  * __useCancelTaskMutation__
2166
2192
  *
@@ -2184,11 +2210,11 @@ export function useCancelTaskMutation(baseOptions) {
2184
2210
  }
2185
2211
  export const CheckTreeExistenceDocument = gql `
2186
2212
  query CHECK_TREE_EXISTENCE($id: [ID!]) {
2187
- trees(filters: {id: $id}) {
2188
- totalCount
2189
- }
2190
- }
2191
- `;
2213
+ trees(filters: {id: $id}) {
2214
+ totalCount
2215
+ }
2216
+ }
2217
+ `;
2192
2218
  /**
2193
2219
  * __useCheckTreeExistenceQuery__
2194
2220
  *
@@ -2215,11 +2241,11 @@ export function useCheckTreeExistenceLazyQuery(baseOptions) {
2215
2241
  }
2216
2242
  export const DeleteTreeDocument = gql `
2217
2243
  mutation DELETE_TREE($id: ID!) {
2218
- deleteTree(id: $id) {
2219
- id
2220
- }
2221
- }
2222
- `;
2244
+ deleteTree(id: $id) {
2245
+ id
2246
+ }
2247
+ }
2248
+ `;
2223
2249
  /**
2224
2250
  * __useDeleteTreeMutation__
2225
2251
  *
@@ -2243,14 +2269,13 @@ export function useDeleteTreeMutation(baseOptions) {
2243
2269
  }
2244
2270
  export const GetTreeByIdDocument = gql `
2245
2271
  query GET_TREE_BY_ID($id: [ID!]) {
2246
- trees(filters: {id: $id}) {
2247
- list {
2248
- ...TreeDetails
2249
- }
2250
- }
2272
+ trees(filters: {id: $id}) {
2273
+ list {
2274
+ ...TreeDetails
2251
2275
  }
2252
- ${TreeDetailsFragmentDoc}
2253
- `;
2276
+ }
2277
+ }
2278
+ ${TreeDetailsFragmentDoc}`;
2254
2279
  /**
2255
2280
  * __useGetTreeByIdQuery__
2256
2281
  *
@@ -2277,29 +2302,29 @@ export function useGetTreeByIdLazyQuery(baseOptions) {
2277
2302
  }
2278
2303
  export const GetTreeLibrariesDocument = gql `
2279
2304
  query GET_TREE_LIBRARIES($treeId: [ID!], $library: String) {
2280
- trees(filters: {id: $treeId, library: $library}) {
2281
- totalCount
2282
- list {
2283
- id
2284
- behavior
2285
- system
2286
- libraries {
2287
- library {
2288
- id
2289
- label
2290
- behavior
2291
- system
2292
- }
2293
- settings {
2294
- allowMultiplePositions
2295
- allowedChildren
2296
- allowedAtRoot
2297
- }
2298
- }
2299
- }
2305
+ trees(filters: {id: $treeId, library: $library}) {
2306
+ totalCount
2307
+ list {
2308
+ id
2309
+ behavior
2310
+ system
2311
+ libraries {
2312
+ library {
2313
+ id
2314
+ label
2315
+ behavior
2316
+ system
2317
+ }
2318
+ settings {
2319
+ allowMultiplePositions
2320
+ allowedChildren
2321
+ allowedAtRoot
2300
2322
  }
2323
+ }
2301
2324
  }
2302
- `;
2325
+ }
2326
+ }
2327
+ `;
2303
2328
  /**
2304
2329
  * __useGetTreeLibrariesQuery__
2305
2330
  *
@@ -2327,14 +2352,13 @@ export function useGetTreeLibrariesLazyQuery(baseOptions) {
2327
2352
  }
2328
2353
  export const GetTreesDocument = gql `
2329
2354
  query GET_TREES {
2330
- trees {
2331
- list {
2332
- ...TreeLight
2333
- }
2334
- }
2355
+ trees {
2356
+ list {
2357
+ ...TreeLight
2335
2358
  }
2336
- ${TreeLightFragmentDoc}
2337
- `;
2359
+ }
2360
+ }
2361
+ ${TreeLightFragmentDoc}`;
2338
2362
  /**
2339
2363
  * __useGetTreesQuery__
2340
2364
  *
@@ -2360,12 +2384,11 @@ export function useGetTreesLazyQuery(baseOptions) {
2360
2384
  }
2361
2385
  export const SaveTreeDocument = gql `
2362
2386
  mutation SAVE_TREE($tree: TreeInput!) {
2363
- saveTree(tree: $tree) {
2364
- ...TreeDetails
2365
- }
2366
- }
2367
- ${TreeDetailsFragmentDoc}
2368
- `;
2387
+ saveTree(tree: $tree) {
2388
+ ...TreeDetails
2389
+ }
2390
+ }
2391
+ ${TreeDetailsFragmentDoc}`;
2369
2392
  /**
2370
2393
  * __useSaveTreeMutation__
2371
2394
  *
@@ -2389,15 +2412,14 @@ export function useSaveTreeMutation(baseOptions) {
2389
2412
  }
2390
2413
  export const TreeNodeChildrenDocument = gql `
2391
2414
  query TREE_NODE_CHILDREN($treeId: ID!, $node: ID, $pagination: Pagination) {
2392
- treeNodeChildren(treeId: $treeId, node: $node, pagination: $pagination) {
2393
- totalCount
2394
- list {
2395
- ...TreeNodeChild
2396
- }
2397
- }
2415
+ treeNodeChildren(treeId: $treeId, node: $node, pagination: $pagination) {
2416
+ totalCount
2417
+ list {
2418
+ ...TreeNodeChild
2398
2419
  }
2399
- ${TreeNodeChildFragmentDoc}
2400
- `;
2420
+ }
2421
+ }
2422
+ ${TreeNodeChildFragmentDoc}`;
2401
2423
  /**
2402
2424
  * __useTreeNodeChildrenQuery__
2403
2425
  *
@@ -2426,12 +2448,12 @@ export function useTreeNodeChildrenLazyQuery(baseOptions) {
2426
2448
  }
2427
2449
  export const GetUserDataDocument = gql `
2428
2450
  query GET_USER_DATA($keys: [String!]!, $global: Boolean) {
2429
- userData(keys: $keys, global: $global) {
2430
- global
2431
- data
2432
- }
2433
- }
2434
- `;
2451
+ userData(keys: $keys, global: $global) {
2452
+ global
2453
+ data
2454
+ }
2455
+ }
2456
+ `;
2435
2457
  /**
2436
2458
  * __useGetUserDataQuery__
2437
2459
  *
@@ -2459,12 +2481,12 @@ export function useGetUserDataLazyQuery(baseOptions) {
2459
2481
  }
2460
2482
  export const SaveUserDataDocument = gql `
2461
2483
  mutation SAVE_USER_DATA($key: String!, $value: Any, $global: Boolean!) {
2462
- saveUserData(key: $key, value: $value, global: $global) {
2463
- global
2464
- data
2465
- }
2466
- }
2467
- `;
2484
+ saveUserData(key: $key, value: $value, global: $global) {
2485
+ global
2486
+ data
2487
+ }
2488
+ }
2489
+ `;
2468
2490
  /**
2469
2491
  * __useSaveUserDataMutation__
2470
2492
  *
@@ -2490,12 +2512,16 @@ export function useSaveUserDataMutation(baseOptions) {
2490
2512
  }
2491
2513
  export const DeleteValueDocument = gql `
2492
2514
  mutation DELETE_VALUE($library: ID!, $recordId: ID!, $attribute: ID!, $value: ValueInput) {
2493
- deleteValue(library: $library, recordId: $recordId, attribute: $attribute, value: $value) {
2494
- ...ValueDetails
2495
- }
2496
- }
2497
- ${ValueDetailsFragmentDoc}
2498
- `;
2515
+ deleteValue(
2516
+ library: $library
2517
+ recordId: $recordId
2518
+ attribute: $attribute
2519
+ value: $value
2520
+ ) {
2521
+ ...ValueDetails
2522
+ }
2523
+ }
2524
+ ${ValueDetailsFragmentDoc}`;
2499
2525
  /**
2500
2526
  * __useDeleteValueMutation__
2501
2527
  *
@@ -2522,12 +2548,15 @@ export function useDeleteValueMutation(baseOptions) {
2522
2548
  }
2523
2549
  export const RunActionsListAndFormatOnValueDocument = gql `
2524
2550
  query RUN_ACTIONS_LIST_AND_FORMAT_ON_VALUE($library: ID!, $value: ValueBatchInput, $version: [ValueVersionInput]) {
2525
- runActionsListAndFormatOnValue(library: $library, value: $value, version: $version) {
2526
- ...ValueDetails
2527
- }
2528
- }
2529
- ${ValueDetailsFragmentDoc}
2530
- `;
2551
+ runActionsListAndFormatOnValue(
2552
+ library: $library
2553
+ value: $value
2554
+ version: $version
2555
+ ) {
2556
+ ...ValueDetails
2557
+ }
2558
+ }
2559
+ ${ValueDetailsFragmentDoc}`;
2531
2560
  /**
2532
2561
  * __useRunActionsListAndFormatOnValueQuery__
2533
2562
  *
@@ -2555,33 +2584,26 @@ export function useRunActionsListAndFormatOnValueLazyQuery(baseOptions) {
2555
2584
  return Apollo.useLazyQuery(RunActionsListAndFormatOnValueDocument, options);
2556
2585
  }
2557
2586
  export const SaveValueBatchDocument = gql `
2558
- mutation SAVE_VALUE_BATCH(
2559
- $library: ID!
2560
- $recordId: ID!
2561
- $version: [ValueVersionInput!]
2562
- $values: [ValueBatchInput!]!
2563
- $deleteEmpty: Boolean
2564
- ) {
2565
- saveValueBatch(
2566
- library: $library
2567
- recordId: $recordId
2568
- version: $version
2569
- values: $values
2570
- deleteEmpty: $deleteEmpty
2571
- ) {
2572
- values {
2573
- ...ValueDetails
2574
- }
2575
- errors {
2576
- type
2577
- attribute
2578
- input
2579
- message
2580
- }
2581
- }
2582
- }
2583
- ${ValueDetailsFragmentDoc}
2584
- `;
2587
+ mutation SAVE_VALUE_BATCH($library: ID!, $recordId: ID!, $version: [ValueVersionInput!], $values: [ValueBatchInput!]!, $deleteEmpty: Boolean) {
2588
+ saveValueBatch(
2589
+ library: $library
2590
+ recordId: $recordId
2591
+ version: $version
2592
+ values: $values
2593
+ deleteEmpty: $deleteEmpty
2594
+ ) {
2595
+ values {
2596
+ ...ValueDetails
2597
+ }
2598
+ errors {
2599
+ type
2600
+ attribute
2601
+ input
2602
+ message
2603
+ }
2604
+ }
2605
+ }
2606
+ ${ValueDetailsFragmentDoc}`;
2585
2607
  /**
2586
2608
  * __useSaveValueBatchMutation__
2587
2609
  *
@@ -2609,12 +2631,12 @@ export function useSaveValueBatchMutation(baseOptions) {
2609
2631
  }
2610
2632
  export const DeleteViewDocument = gql `
2611
2633
  mutation DELETE_VIEW($viewId: String!) {
2612
- deleteView(viewId: $viewId) {
2613
- id
2614
- library
2615
- }
2616
- }
2617
- `;
2634
+ deleteView(viewId: $viewId) {
2635
+ id
2636
+ library
2637
+ }
2638
+ }
2639
+ `;
2618
2640
  /**
2619
2641
  * __useDeleteViewMutation__
2620
2642
  *
@@ -2638,12 +2660,11 @@ export function useDeleteViewMutation(baseOptions) {
2638
2660
  }
2639
2661
  export const GetViewDocument = gql `
2640
2662
  query GET_VIEW($viewId: String!) {
2641
- view(viewId: $viewId) {
2642
- ...ViewDetails
2643
- }
2644
- }
2645
- ${ViewDetailsFragmentDoc}
2646
- `;
2663
+ view(viewId: $viewId) {
2664
+ ...ViewDetails
2665
+ }
2666
+ }
2667
+ ${ViewDetailsFragmentDoc}`;
2647
2668
  /**
2648
2669
  * __useGetViewQuery__
2649
2670
  *
@@ -2670,15 +2691,14 @@ export function useGetViewLazyQuery(baseOptions) {
2670
2691
  }
2671
2692
  export const GetViewsListDocument = gql `
2672
2693
  query GET_VIEWS_LIST($libraryId: String!) {
2673
- views(library: $libraryId) {
2674
- totalCount
2675
- list {
2676
- ...ViewDetails
2677
- }
2678
- }
2694
+ views(library: $libraryId) {
2695
+ totalCount
2696
+ list {
2697
+ ...ViewDetails
2679
2698
  }
2680
- ${ViewDetailsFragmentDoc}
2681
- `;
2699
+ }
2700
+ }
2701
+ ${ViewDetailsFragmentDoc}`;
2682
2702
  /**
2683
2703
  * __useGetViewsListQuery__
2684
2704
  *
@@ -2703,76 +2723,275 @@ export function useGetViewsListLazyQuery(baseOptions) {
2703
2723
  const options = { ...defaultOptions, ...baseOptions };
2704
2724
  return Apollo.useLazyQuery(GetViewsListDocument, options);
2705
2725
  }
2706
- export const AddViewDocument = gql `
2707
- mutation ADD_VIEW($view: ViewInput!) {
2708
- saveView(view: $view) {
2709
- ...ViewDetails
2710
- }
2711
- }
2712
- ${ViewDetailsFragmentDoc}
2713
- `;
2726
+ export const SaveViewDocument = gql `
2727
+ mutation SAVE_VIEW($view: ViewInput!) {
2728
+ saveView(view: $view) {
2729
+ ...ViewDetails
2730
+ }
2731
+ }
2732
+ ${ViewDetailsFragmentDoc}`;
2714
2733
  /**
2715
- * __useAddViewMutation__
2734
+ * __useSaveViewMutation__
2716
2735
  *
2717
- * To run a mutation, you first call `useAddViewMutation` within a React component and pass it any options that fit your needs.
2718
- * When your component renders, `useAddViewMutation` returns a tuple that includes:
2736
+ * To run a mutation, you first call `useSaveViewMutation` within a React component and pass it any options that fit your needs.
2737
+ * When your component renders, `useSaveViewMutation` returns a tuple that includes:
2719
2738
  * - A mutate function that you can call at any time to execute the mutation
2720
2739
  * - An object with fields that represent the current status of the mutation's execution
2721
2740
  *
2722
2741
  * @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;
2723
2742
  *
2724
2743
  * @example
2725
- * const [addViewMutation, { data, loading, error }] = useAddViewMutation({
2744
+ * const [saveViewMutation, { data, loading, error }] = useSaveViewMutation({
2726
2745
  * variables: {
2727
2746
  * view: // value for 'view'
2728
2747
  * },
2729
2748
  * });
2730
2749
  */
2731
- export function useAddViewMutation(baseOptions) {
2732
- const options = { ...defaultOptions, ...baseOptions };
2733
- return Apollo.useMutation(AddViewDocument, options);
2734
- }
2735
- export const ExplorerDocument = gql `
2736
- query Explorer($libraryId: ID!, $attributeIds: [ID!]!, $filters: [RecordFilterInput]) {
2737
- records(library: $libraryId, filters: $filters) {
2738
- list {
2739
- ...RecordIdentity
2740
- properties(attributeIds: $attributeIds) {
2741
- attributeId
2742
- values {
2743
- ...PropertyValue
2744
- }
2745
- }
2746
- }
2750
+ export function useSaveViewMutation(baseOptions) {
2751
+ const options = { ...defaultOptions, ...baseOptions };
2752
+ return Apollo.useMutation(SaveViewDocument, options);
2753
+ }
2754
+ export const ExplorerAttributesDocument = gql `
2755
+ query ExplorerAttributes($ids: [ID!]) {
2756
+ attributes(filters: {ids: $ids}) {
2757
+ list {
2758
+ id
2759
+ type
2760
+ format
2761
+ label
2762
+ }
2763
+ }
2764
+ }
2765
+ `;
2766
+ /**
2767
+ * __useExplorerAttributesQuery__
2768
+ *
2769
+ * To run a query within a React component, call `useExplorerAttributesQuery` and pass it any options that fit your needs.
2770
+ * When your component renders, `useExplorerAttributesQuery` returns an object from Apollo Client that contains loading, error, and data properties
2771
+ * you can use to render your UI.
2772
+ *
2773
+ * @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;
2774
+ *
2775
+ * @example
2776
+ * const { data, loading, error } = useExplorerAttributesQuery({
2777
+ * variables: {
2778
+ * ids: // value for 'ids'
2779
+ * },
2780
+ * });
2781
+ */
2782
+ export function useExplorerAttributesQuery(baseOptions) {
2783
+ const options = { ...defaultOptions, ...baseOptions };
2784
+ return Apollo.useQuery(ExplorerAttributesDocument, options);
2785
+ }
2786
+ export function useExplorerAttributesLazyQuery(baseOptions) {
2787
+ const options = { ...defaultOptions, ...baseOptions };
2788
+ return Apollo.useLazyQuery(ExplorerAttributesDocument, options);
2789
+ }
2790
+ export const ExplorerLinkAttributeDocument = gql `
2791
+ query ExplorerLinkAttribute($id: ID!) {
2792
+ attributes(filters: {ids: [$id]}) {
2793
+ list {
2794
+ id
2795
+ multiple_values
2796
+ ...LinkAttributeDetails
2797
+ }
2798
+ }
2799
+ }
2800
+ ${LinkAttributeDetailsFragmentDoc}`;
2801
+ /**
2802
+ * __useExplorerLinkAttributeQuery__
2803
+ *
2804
+ * To run a query within a React component, call `useExplorerLinkAttributeQuery` and pass it any options that fit your needs.
2805
+ * When your component renders, `useExplorerLinkAttributeQuery` returns an object from Apollo Client that contains loading, error, and data properties
2806
+ * you can use to render your UI.
2807
+ *
2808
+ * @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;
2809
+ *
2810
+ * @example
2811
+ * const { data, loading, error } = useExplorerLinkAttributeQuery({
2812
+ * variables: {
2813
+ * id: // value for 'id'
2814
+ * },
2815
+ * });
2816
+ */
2817
+ export function useExplorerLinkAttributeQuery(baseOptions) {
2818
+ const options = { ...defaultOptions, ...baseOptions };
2819
+ return Apollo.useQuery(ExplorerLinkAttributeDocument, options);
2820
+ }
2821
+ export function useExplorerLinkAttributeLazyQuery(baseOptions) {
2822
+ const options = { ...defaultOptions, ...baseOptions };
2823
+ return Apollo.useLazyQuery(ExplorerLinkAttributeDocument, options);
2824
+ }
2825
+ export const ExplorerLibraryDataDocument = gql `
2826
+ query ExplorerLibraryData($libraryId: ID!, $attributeIds: [ID!]!, $pagination: RecordsPagination, $filters: [RecordFilterInput], $multipleSort: [RecordSortInput!], $searchQuery: String) {
2827
+ records(
2828
+ library: $libraryId
2829
+ filters: $filters
2830
+ pagination: $pagination
2831
+ multipleSort: $multipleSort
2832
+ searchQuery: $searchQuery
2833
+ ) {
2834
+ totalCount
2835
+ list {
2836
+ ...RecordIdentity
2837
+ properties(attributeIds: $attributeIds) {
2838
+ attributeId
2839
+ attributeProperties {
2840
+ ...AttributeProperties
2747
2841
  }
2842
+ values {
2843
+ ...PropertyValue
2844
+ }
2845
+ }
2748
2846
  }
2847
+ }
2848
+ }
2749
2849
  ${RecordIdentityFragmentDoc}
2750
- ${PropertyValueFragmentDoc}
2751
- `;
2850
+ ${AttributePropertiesFragmentDoc}
2851
+ ${PropertyValueFragmentDoc}`;
2752
2852
  /**
2753
- * __useExplorerQuery__
2853
+ * __useExplorerLibraryDataQuery__
2754
2854
  *
2755
- * To run a query within a React component, call `useExplorerQuery` and pass it any options that fit your needs.
2756
- * When your component renders, `useExplorerQuery` returns an object from Apollo Client that contains loading, error, and data properties
2855
+ * To run a query within a React component, call `useExplorerLibraryDataQuery` and pass it any options that fit your needs.
2856
+ * When your component renders, `useExplorerLibraryDataQuery` returns an object from Apollo Client that contains loading, error, and data properties
2757
2857
  * you can use to render your UI.
2758
2858
  *
2759
2859
  * @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;
2760
2860
  *
2761
2861
  * @example
2762
- * const { data, loading, error } = useExplorerQuery({
2862
+ * const { data, loading, error } = useExplorerLibraryDataQuery({
2763
2863
  * variables: {
2764
2864
  * libraryId: // value for 'libraryId'
2765
2865
  * attributeIds: // value for 'attributeIds'
2866
+ * pagination: // value for 'pagination'
2766
2867
  * filters: // value for 'filters'
2868
+ * multipleSort: // value for 'multipleSort'
2869
+ * searchQuery: // value for 'searchQuery'
2870
+ * },
2871
+ * });
2872
+ */
2873
+ export function useExplorerLibraryDataQuery(baseOptions) {
2874
+ const options = { ...defaultOptions, ...baseOptions };
2875
+ return Apollo.useQuery(ExplorerLibraryDataDocument, options);
2876
+ }
2877
+ export function useExplorerLibraryDataLazyQuery(baseOptions) {
2878
+ const options = { ...defaultOptions, ...baseOptions };
2879
+ return Apollo.useLazyQuery(ExplorerLibraryDataDocument, options);
2880
+ }
2881
+ export const ExplorerLinkDataDocument = gql `
2882
+ query ExplorerLinkData($attributeIds: [ID!]!, $parentLibraryId: ID!, $parentRecordId: String, $linkAttributeId: ID!) {
2883
+ records(
2884
+ library: $parentLibraryId
2885
+ filters: [{field: "id", condition: EQUAL, value: $parentRecordId}]
2886
+ ) {
2887
+ list {
2888
+ id
2889
+ whoAmI {
2890
+ id
2891
+ library {
2892
+ id
2893
+ }
2894
+ }
2895
+ property(attribute: $linkAttributeId) {
2896
+ ...LinkProperty
2897
+ }
2898
+ }
2899
+ }
2900
+ }
2901
+ ${LinkPropertyFragmentDoc}`;
2902
+ /**
2903
+ * __useExplorerLinkDataQuery__
2904
+ *
2905
+ * To run a query within a React component, call `useExplorerLinkDataQuery` and pass it any options that fit your needs.
2906
+ * When your component renders, `useExplorerLinkDataQuery` returns an object from Apollo Client that contains loading, error, and data properties
2907
+ * you can use to render your UI.
2908
+ *
2909
+ * @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;
2910
+ *
2911
+ * @example
2912
+ * const { data, loading, error } = useExplorerLinkDataQuery({
2913
+ * variables: {
2914
+ * attributeIds: // value for 'attributeIds'
2915
+ * parentLibraryId: // value for 'parentLibraryId'
2916
+ * parentRecordId: // value for 'parentRecordId'
2917
+ * linkAttributeId: // value for 'linkAttributeId'
2918
+ * },
2919
+ * });
2920
+ */
2921
+ export function useExplorerLinkDataQuery(baseOptions) {
2922
+ const options = { ...defaultOptions, ...baseOptions };
2923
+ return Apollo.useQuery(ExplorerLinkDataDocument, options);
2924
+ }
2925
+ export function useExplorerLinkDataLazyQuery(baseOptions) {
2926
+ const options = { ...defaultOptions, ...baseOptions };
2927
+ return Apollo.useLazyQuery(ExplorerLinkDataDocument, options);
2928
+ }
2929
+ export const ExplorerLibraryDetailsDocument = gql `
2930
+ query ExplorerLibraryDetails($libraryId: ID!) {
2931
+ libraries(filters: {id: [$libraryId]}) {
2932
+ list {
2933
+ id
2934
+ label
2935
+ }
2936
+ }
2937
+ }
2938
+ `;
2939
+ /**
2940
+ * __useExplorerLibraryDetailsQuery__
2941
+ *
2942
+ * To run a query within a React component, call `useExplorerLibraryDetailsQuery` and pass it any options that fit your needs.
2943
+ * When your component renders, `useExplorerLibraryDetailsQuery` returns an object from Apollo Client that contains loading, error, and data properties
2944
+ * you can use to render your UI.
2945
+ *
2946
+ * @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;
2947
+ *
2948
+ * @example
2949
+ * const { data, loading, error } = useExplorerLibraryDetailsQuery({
2950
+ * variables: {
2951
+ * libraryId: // value for 'libraryId'
2952
+ * },
2953
+ * });
2954
+ */
2955
+ export function useExplorerLibraryDetailsQuery(baseOptions) {
2956
+ const options = { ...defaultOptions, ...baseOptions };
2957
+ return Apollo.useQuery(ExplorerLibraryDetailsDocument, options);
2958
+ }
2959
+ export function useExplorerLibraryDetailsLazyQuery(baseOptions) {
2960
+ const options = { ...defaultOptions, ...baseOptions };
2961
+ return Apollo.useLazyQuery(ExplorerLibraryDetailsDocument, options);
2962
+ }
2963
+ export const TreeDataQueryDocument = gql `
2964
+ query TreeDataQuery($treeId: ID!) {
2965
+ trees(filters: {id: [$treeId]}) {
2966
+ list {
2967
+ id
2968
+ label
2969
+ }
2970
+ }
2971
+ }
2972
+ `;
2973
+ /**
2974
+ * __useTreeDataQueryQuery__
2975
+ *
2976
+ * To run a query within a React component, call `useTreeDataQueryQuery` and pass it any options that fit your needs.
2977
+ * When your component renders, `useTreeDataQueryQuery` returns an object from Apollo Client that contains loading, error, and data properties
2978
+ * you can use to render your UI.
2979
+ *
2980
+ * @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;
2981
+ *
2982
+ * @example
2983
+ * const { data, loading, error } = useTreeDataQueryQuery({
2984
+ * variables: {
2985
+ * treeId: // value for 'treeId'
2767
2986
  * },
2768
2987
  * });
2769
2988
  */
2770
- export function useExplorerQuery(baseOptions) {
2989
+ export function useTreeDataQueryQuery(baseOptions) {
2771
2990
  const options = { ...defaultOptions, ...baseOptions };
2772
- return Apollo.useQuery(ExplorerDocument, options);
2991
+ return Apollo.useQuery(TreeDataQueryDocument, options);
2773
2992
  }
2774
- export function useExplorerLazyQuery(baseOptions) {
2993
+ export function useTreeDataQueryLazyQuery(baseOptions) {
2775
2994
  const options = { ...defaultOptions, ...baseOptions };
2776
- return Apollo.useLazyQuery(ExplorerDocument, options);
2995
+ return Apollo.useLazyQuery(TreeDataQueryDocument, options);
2777
2996
  }
2778
2997
  //# sourceMappingURL=index.js.map