@leav/ui 0.3.6-df40eff → 0.3.6-e218b23

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 (335) hide show
  1. package/dist/__mocks__/common/attribute.d.ts +1 -0
  2. package/dist/__mocks__/common/attribute.js +8 -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 +2 -1
  10. package/dist/__mocks__/common/value.js.map +1 -1
  11. package/dist/_gqlTypes/index.d.ts +118 -40
  12. package/dist/_gqlTypes/index.js +96 -8
  13. package/dist/_gqlTypes/index.js.map +1 -1
  14. package/dist/_queries/records/getRecordColumnsValues.d.ts +4 -2
  15. package/dist/_queries/records/getRecordColumnsValues.js +4 -1
  16. package/dist/_queries/records/getRecordColumnsValues.js.map +1 -1
  17. package/dist/_queries/records/recordFormAttributeFragment.js +1 -0
  18. package/dist/_queries/records/recordFormAttributeFragment.js.map +1 -1
  19. package/dist/_utils/interleaveElement.d.ts +1 -0
  20. package/dist/{components/RecordEdition/EditRecordContent/reducers/standardFieldReducer/standardFieldReducerContext.js → _utils/interleaveElement.js} +2 -6
  21. package/dist/_utils/interleaveElement.js.map +1 -0
  22. package/dist/components/CreateDirectory/CreateDirectory.js +1 -1
  23. package/dist/components/CreateDirectory/CreateDirectory.js.map +1 -1
  24. package/dist/components/EditApplication/EditApplication.js +2 -2
  25. package/dist/components/EditApplication/EditApplication.js.map +1 -1
  26. package/dist/components/EditApplication/_types.d.ts +2 -2
  27. package/dist/components/Explorer/DataView.d.ts +9 -1
  28. package/dist/components/Explorer/DataView.js +35 -16
  29. package/dist/components/Explorer/DataView.js.map +1 -1
  30. package/dist/components/Explorer/Explorer.d.ts +3 -1
  31. package/dist/components/Explorer/Explorer.js +45 -26
  32. package/dist/components/Explorer/Explorer.js.map +1 -1
  33. package/dist/components/Explorer/IdCard.d.ts +7 -0
  34. package/dist/components/Explorer/IdCard.js +15 -0
  35. package/dist/components/Explorer/IdCard.js.map +1 -0
  36. package/dist/components/Explorer/TableCell.d.ts +2 -1
  37. package/dist/components/Explorer/TableCell.js +123 -20
  38. package/dist/components/Explorer/TableCell.js.map +1 -1
  39. package/dist/components/Explorer/TableTagGroup.d.ts +7 -0
  40. package/dist/components/Explorer/TableTagGroup.js +30 -0
  41. package/dist/components/Explorer/TableTagGroup.js.map +1 -0
  42. package/dist/components/Explorer/_queries/useExplorerData.d.ts +22 -4
  43. package/dist/components/Explorer/_queries/useExplorerData.js +93 -11
  44. package/dist/components/Explorer/_queries/useExplorerData.js.map +1 -1
  45. package/dist/components/Explorer/_types.d.ts +28 -4
  46. package/dist/components/Explorer/display-view-filters/ExplorerFilterBar.d.ts +2 -0
  47. package/dist/components/Explorer/display-view-filters/ExplorerFilterBar.js +37 -0
  48. package/dist/components/Explorer/display-view-filters/ExplorerFilterBar.js.map +1 -0
  49. package/dist/components/Explorer/index.d.ts +1 -3
  50. package/dist/components/Explorer/index.js +1 -3
  51. package/dist/components/Explorer/index.js.map +1 -1
  52. package/dist/components/Explorer/{edit-settings → manage-view-settings/_shared}/ColumnItem.d.ts +1 -1
  53. package/dist/components/Explorer/{edit-settings → manage-view-settings/_shared}/ColumnItem.js +12 -5
  54. package/dist/components/Explorer/manage-view-settings/_shared/ColumnItem.js.map +1 -0
  55. package/dist/components/Explorer/manage-view-settings/_shared/CommonFilterItem.d.ts +5 -0
  56. package/dist/components/Explorer/manage-view-settings/_shared/CommonFilterItem.js +12 -0
  57. package/dist/components/Explorer/manage-view-settings/_shared/CommonFilterItem.js.map +1 -0
  58. package/dist/components/Explorer/manage-view-settings/_shared/useAttributeDetailsData.d.ts +11 -0
  59. package/dist/components/Explorer/manage-view-settings/_shared/useAttributeDetailsData.js +61 -0
  60. package/dist/components/Explorer/manage-view-settings/_shared/useAttributeDetailsData.js.map +1 -0
  61. package/dist/components/Explorer/manage-view-settings/configure-display/ConfigureDisplay.d.ts +6 -0
  62. package/dist/components/Explorer/manage-view-settings/configure-display/ConfigureDisplay.js +28 -0
  63. package/dist/components/Explorer/manage-view-settings/configure-display/ConfigureDisplay.js.map +1 -0
  64. package/dist/components/Explorer/manage-view-settings/configure-display/attributes/SelectVisibleAttributes.d.ts +6 -0
  65. package/dist/components/Explorer/manage-view-settings/configure-display/attributes/SelectVisibleAttributes.js +56 -0
  66. package/dist/components/Explorer/manage-view-settings/configure-display/attributes/SelectVisibleAttributes.js.map +1 -0
  67. package/dist/components/Explorer/manage-view-settings/configure-display/view-type/SelectViewType.d.ts +8 -0
  68. package/dist/components/Explorer/manage-view-settings/configure-display/view-type/SelectViewType.js +12 -0
  69. package/dist/components/Explorer/manage-view-settings/configure-display/view-type/SelectViewType.js.map +1 -0
  70. package/dist/components/Explorer/manage-view-settings/filter-items/FilterItems.d.ts +4 -0
  71. package/dist/components/Explorer/manage-view-settings/filter-items/FilterItems.js +77 -0
  72. package/dist/components/Explorer/manage-view-settings/filter-items/FilterItems.js.map +1 -0
  73. package/dist/components/Explorer/manage-view-settings/filter-items/FilterListItem.d.ts +9 -0
  74. package/dist/components/Explorer/manage-view-settings/filter-items/FilterListItem.js +33 -0
  75. package/dist/components/Explorer/manage-view-settings/filter-items/FilterListItem.js.map +1 -0
  76. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/BooleanAttributeDropdown.d.ts +3 -0
  77. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/BooleanAttributeDropdown.js +37 -0
  78. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/BooleanAttributeDropdown.js.map +1 -0
  79. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/DateAttributeDropDown.d.ts +3 -0
  80. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/DateAttributeDropDown.js +90 -0
  81. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/DateAttributeDropDown.js.map +1 -0
  82. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/FilterDropDown.d.ts +3 -0
  83. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/FilterDropDown.js +23 -0
  84. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/FilterDropDown.js.map +1 -0
  85. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/FilterValueList.d.ts +10 -0
  86. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/FilterValueList.js +75 -0
  87. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/FilterValueList.js.map +1 -0
  88. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/NumericAttributeDropDown.d.ts +3 -0
  89. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/NumericAttributeDropDown.js +44 -0
  90. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/NumericAttributeDropDown.js.map +1 -0
  91. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/SimpleFilterDropDown.d.ts +3 -0
  92. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/SimpleFilterDropDown.js +72 -0
  93. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/SimpleFilterDropDown.js.map +1 -0
  94. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/TextAttributeDropDown.d.ts +3 -0
  95. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/TextAttributeDropDown.js +53 -0
  96. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/TextAttributeDropDown.js.map +1 -0
  97. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/useConditionOptionsByType.d.ts +10 -0
  98. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/useConditionOptionsByType.js +110 -0
  99. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/useConditionOptionsByType.js.map +1 -0
  100. package/dist/components/Explorer/manage-view-settings/index.d.ts +8 -0
  101. package/dist/components/Explorer/manage-view-settings/index.js +11 -0
  102. package/dist/components/Explorer/manage-view-settings/index.js.map +1 -0
  103. package/dist/components/Explorer/manage-view-settings/open-view-settings/EditSettingsContext.js.map +1 -0
  104. package/dist/components/Explorer/manage-view-settings/open-view-settings/EditSettingsContextProvider.js.map +1 -0
  105. package/dist/components/Explorer/{edit-settings → manage-view-settings/open-view-settings}/SidePanel.js +2 -2
  106. package/dist/components/Explorer/manage-view-settings/open-view-settings/SidePanel.js.map +1 -0
  107. package/dist/components/Explorer/manage-view-settings/open-view-settings/useEditSettings.js.map +1 -0
  108. package/dist/components/Explorer/manage-view-settings/open-view-settings/useOpenViewSettings.d.ts +3 -0
  109. package/dist/components/Explorer/{edit-settings/useOpenSettings.js → manage-view-settings/open-view-settings/useOpenViewSettings.js} +7 -5
  110. package/dist/components/Explorer/manage-view-settings/open-view-settings/useOpenViewSettings.js.map +1 -0
  111. package/dist/components/Explorer/manage-view-settings/router-menu/SettingItem.js.map +1 -0
  112. package/dist/components/Explorer/{edit-settings → manage-view-settings/router-menu}/SettingsPanel.d.ts +1 -1
  113. package/dist/components/Explorer/{edit-settings → manage-view-settings/router-menu}/SettingsPanel.js +10 -10
  114. package/dist/components/Explorer/manage-view-settings/router-menu/SettingsPanel.js.map +1 -0
  115. package/dist/components/Explorer/manage-view-settings/sort-items/SortItems.d.ts +4 -0
  116. package/dist/components/Explorer/manage-view-settings/sort-items/SortItems.js +109 -0
  117. package/dist/components/Explorer/manage-view-settings/sort-items/SortItems.js.map +1 -0
  118. package/dist/components/Explorer/manage-view-settings/sort-items/SortListItem.d.ts +10 -0
  119. package/dist/components/Explorer/manage-view-settings/sort-items/SortListItem.js +32 -0
  120. package/dist/components/Explorer/manage-view-settings/sort-items/SortListItem.js.map +1 -0
  121. package/dist/components/Explorer/{edit-settings/ViewSetingsContext.d.ts → manage-view-settings/store-view-settings/ViewSettingsContext.d.ts} +1 -2
  122. package/dist/components/Explorer/{edit-settings/ViewSetingsContext.js → manage-view-settings/store-view-settings/ViewSettingsContext.js} +1 -5
  123. package/dist/components/Explorer/manage-view-settings/store-view-settings/ViewSettingsContext.js.map +1 -0
  124. package/dist/components/Explorer/{edit-settings → manage-view-settings/store-view-settings}/useViewSettingsContext.js +1 -1
  125. package/dist/components/Explorer/manage-view-settings/store-view-settings/useViewSettingsContext.js.map +1 -0
  126. package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsInitialState.d.ts +4 -0
  127. package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsInitialState.js +13 -0
  128. package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsInitialState.js.map +1 -0
  129. package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsReducer.d.ts +138 -0
  130. package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsReducer.js +194 -0
  131. package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsReducer.js.map +1 -0
  132. package/dist/components/Explorer/nullValuesConditions.d.ts +1 -0
  133. package/dist/components/Explorer/nullValuesConditions.js +14 -0
  134. package/dist/components/Explorer/nullValuesConditions.js.map +1 -0
  135. package/dist/components/Explorer/useDeactivateAction.js +3 -2
  136. package/dist/components/Explorer/useDeactivateAction.js.map +1 -1
  137. package/dist/components/Explorer/useEditAction.js +5 -3
  138. package/dist/components/Explorer/useEditAction.js.map +1 -1
  139. package/dist/components/Explorer/usePagination.d.ts +7 -0
  140. package/dist/components/Explorer/usePagination.js +25 -0
  141. package/dist/components/Explorer/usePagination.js.map +1 -0
  142. package/dist/components/Explorer/usePrimaryActions.d.ts +1 -9
  143. package/dist/components/Explorer/usePrimaryActions.js +4 -12
  144. package/dist/components/Explorer/usePrimaryActions.js.map +1 -1
  145. package/dist/components/Explorer/useSearchInput.d.ts +10 -0
  146. package/dist/components/Explorer/useSearchInput.js +31 -0
  147. package/dist/components/Explorer/useSearchInput.js.map +1 -0
  148. package/dist/components/Explorer/useTableScrollableHeight.d.ts +5 -0
  149. package/dist/components/Explorer/useTableScrollableHeight.js +15 -0
  150. package/dist/components/Explorer/useTableScrollableHeight.js.map +1 -0
  151. package/dist/components/Explorer/useViewSettingsReducer.d.ts +7 -0
  152. package/dist/components/Explorer/useViewSettingsReducer.js +60 -0
  153. package/dist/components/Explorer/useViewSettingsReducer.js.map +1 -0
  154. package/dist/components/ExportModal/ExportModal.js +2 -2
  155. package/dist/components/ExportModal/ExportModal.js.map +1 -1
  156. package/dist/components/ImportModal/ImportModalConfigStep/ImportModalConfigStep.js +5 -5
  157. package/dist/components/ImportModal/ImportModalConfigStep/ImportModalConfigStep.js.map +1 -1
  158. package/dist/components/LibraryItemsList/FiltersPanel/Filter/Filter.js +2 -2
  159. package/dist/components/LibraryItemsList/FiltersPanel/Filter/Filter.js.map +1 -1
  160. package/dist/components/RecordEdition/EditRecord/EditRecord.js +1 -1
  161. package/dist/components/RecordEdition/EditRecord/EditRecord.js.map +1 -1
  162. package/dist/components/RecordEdition/EditRecordContent/EditRecordContent.js +15 -2
  163. package/dist/components/RecordEdition/EditRecordContent/EditRecordContent.js.map +1 -1
  164. package/dist/components/RecordEdition/EditRecordContent/_types.d.ts +9 -20
  165. package/dist/components/RecordEdition/EditRecordContent/_types.js.map +1 -1
  166. package/dist/components/RecordEdition/EditRecordContent/antdUtils.d.ts +5 -1
  167. package/dist/components/RecordEdition/EditRecordContent/antdUtils.js +44 -34
  168. package/dist/components/RecordEdition/EditRecordContent/antdUtils.js.map +1 -1
  169. package/dist/components/RecordEdition/EditRecordContent/uiElements/Container/Container.d.ts +3 -1
  170. package/dist/components/RecordEdition/EditRecordContent/uiElements/Container/Container.js +2 -2
  171. package/dist/components/RecordEdition/EditRecordContent/uiElements/Container/Container.js.map +1 -1
  172. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/LinkField.js +1 -1
  173. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/LinkField.js.map +1 -1
  174. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/MonoValueSelect/MonoValueSelect.d.ts +0 -1
  175. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/MonoValueSelect/MonoValueSelect.js +2 -7
  176. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/MonoValueSelect/MonoValueSelect.js.map +1 -1
  177. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/MultiValueSelect/MultiValueSelect.d.ts +0 -1
  178. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/MultiValueSelect/MultiValueSelect.js +2 -9
  179. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/MultiValueSelect/MultiValueSelect.js.map +1 -1
  180. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/ComputeIndicator.d.ts +6 -0
  181. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/ComputeIndicator.js +18 -0
  182. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/ComputeIndicator.js.map +1 -0
  183. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/DeleteAllValuesButton.d.ts +4 -0
  184. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/DeleteAllValuesButton.js +25 -0
  185. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/DeleteAllValuesButton.js.map +1 -0
  186. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardField.d.ts +5 -2
  187. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardField.js +147 -191
  188. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardField.js.map +1 -1
  189. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSBooleanWrapper.d.ts +2 -8
  190. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSBooleanWrapper.js +10 -30
  191. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSBooleanWrapper.js.map +1 -1
  192. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSColorPickerWrapper.d.ts +2 -13
  193. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSColorPickerWrapper.js +38 -45
  194. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSColorPickerWrapper.js.map +1 -1
  195. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSDatePickerWrapper.d.ts +3 -14
  196. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSDatePickerWrapper.js +31 -46
  197. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSDatePickerWrapper.js.map +1 -1
  198. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputEncryptedWrapper.d.ts +3 -14
  199. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputEncryptedWrapper.js +9 -77
  200. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputEncryptedWrapper.js.map +1 -1
  201. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputNumberWrapper.d.ts +3 -14
  202. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputNumberWrapper.js +29 -49
  203. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputNumberWrapper.js.map +1 -1
  204. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputWrapper.d.ts +3 -14
  205. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputWrapper.js +34 -54
  206. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputWrapper.js.map +1 -1
  207. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSRangePickerWrapper.d.ts +3 -14
  208. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSRangePickerWrapper.js +48 -64
  209. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSRangePickerWrapper.js.map +1 -1
  210. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSRichTextWrapper.d.ts +3 -14
  211. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSRichTextWrapper.js +30 -53
  212. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSRichTextWrapper.js.map +1 -1
  213. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValue.d.ts +16 -9
  214. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValue.js +66 -401
  215. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValue.js.map +1 -1
  216. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/ValuesList/DSListSelect.d.ts +4 -0
  217. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/ValuesList/{MonoValueSelect.js → DSListSelect.js} +45 -52
  218. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/ValuesList/DSListSelect.js.map +1 -0
  219. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/ValuesList/_types.d.ts +2 -9
  220. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/_types.d.ts +15 -0
  221. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/_types.js +2 -0
  222. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/_types.js.map +1 -0
  223. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/calculatedInheritedFlags.d.ts +42 -0
  224. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/calculatedInheritedFlags.js +55 -0
  225. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/calculatedInheritedFlags.js.map +1 -0
  226. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/useGetPresentationValues.d.ts +12 -0
  227. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/useGetPresentationValues.js +37 -0
  228. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/useGetPresentationValues.js.map +1 -0
  229. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/ValuesAdd/ValuesAdd.js +2 -2
  230. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/ValuesAdd/ValuesAdd.js.map +1 -1
  231. package/dist/components/SelectTreeNode/SelectTreeNode.d.ts +4 -7
  232. package/dist/components/SelectTreeNode/SelectTreeNode.js +17 -135
  233. package/dist/components/SelectTreeNode/SelectTreeNode.js.map +1 -1
  234. package/dist/components/SelectTreeNode/SelectTreeNodeContent.d.ts +16 -0
  235. package/dist/components/SelectTreeNode/SelectTreeNodeContent.js +131 -0
  236. package/dist/components/SelectTreeNode/SelectTreeNodeContent.js.map +1 -0
  237. package/dist/components/SelectTreeNode/index.d.ts +1 -1
  238. package/dist/components/SelectTreeNode/index.js +1 -1
  239. package/dist/components/SelectTreeNode/index.js.map +1 -1
  240. package/dist/components/SelectTreeNodeModal/SelectTreeNodeModal.d.ts +4 -7
  241. package/dist/components/SelectTreeNodeModal/SelectTreeNodeModal.js +10 -10
  242. package/dist/components/SelectTreeNodeModal/SelectTreeNodeModal.js.map +1 -1
  243. package/dist/components/SelectTreeNodeModal/index.d.ts +1 -2
  244. package/dist/components/SelectTreeNodeModal/index.js +1 -2
  245. package/dist/components/SelectTreeNodeModal/index.js.map +1 -1
  246. package/dist/components/UploadFiles/UploadFiles.js +1 -1
  247. package/dist/components/UploadFiles/UploadFiles.js.map +1 -1
  248. package/dist/components/ValuesVersionConfigurator/VersionTree/VersionTree.js +2 -2
  249. package/dist/components/ValuesVersionConfigurator/VersionTree/VersionTree.js.map +1 -1
  250. package/dist/hooks/useDebouncedValue/index.d.ts +1 -0
  251. package/dist/{components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValueDisplayHandler → hooks/useDebouncedValue}/index.js +1 -1
  252. package/dist/hooks/useDebouncedValue/index.js.map +1 -0
  253. package/dist/hooks/useGetRecordForm/useGetRecordForm.d.ts +1 -0
  254. package/dist/hooks/useGetRecordForm/useGetRecordForm.js.map +1 -1
  255. package/dist/locales/en/shared.json +51 -13
  256. package/dist/locales/fr/shared.json +51 -13
  257. package/package.json +5 -2
  258. package/dist/components/Explorer/edit-settings/ColumnItem.js.map +0 -1
  259. package/dist/components/Explorer/edit-settings/DisplayMode.d.ts +0 -6
  260. package/dist/components/Explorer/edit-settings/DisplayMode.js +0 -34
  261. package/dist/components/Explorer/edit-settings/DisplayMode.js.map +0 -1
  262. package/dist/components/Explorer/edit-settings/DisplayModeTable.d.ts +0 -6
  263. package/dist/components/Explorer/edit-settings/DisplayModeTable.js +0 -89
  264. package/dist/components/Explorer/edit-settings/DisplayModeTable.js.map +0 -1
  265. package/dist/components/Explorer/edit-settings/EditSettingsContext.js.map +0 -1
  266. package/dist/components/Explorer/edit-settings/EditSettingsContextProvider.js.map +0 -1
  267. package/dist/components/Explorer/edit-settings/SettingItem.js.map +0 -1
  268. package/dist/components/Explorer/edit-settings/SettingsPanel.js.map +0 -1
  269. package/dist/components/Explorer/edit-settings/SidePanel.js.map +0 -1
  270. package/dist/components/Explorer/edit-settings/ViewSetingsContext.js.map +0 -1
  271. package/dist/components/Explorer/edit-settings/useEditSettings.js.map +0 -1
  272. package/dist/components/Explorer/edit-settings/useGetLibraryColumns.d.ts +0 -10
  273. package/dist/components/Explorer/edit-settings/useGetLibraryColumns.js +0 -24
  274. package/dist/components/Explorer/edit-settings/useGetLibraryColumns.js.map +0 -1
  275. package/dist/components/Explorer/edit-settings/useOpenSettings.d.ts +0 -1
  276. package/dist/components/Explorer/edit-settings/useOpenSettings.js.map +0 -1
  277. package/dist/components/Explorer/edit-settings/useViewSettingsContext.js.map +0 -1
  278. package/dist/components/Explorer/edit-settings/viewSettingsReducer.d.ts +0 -43
  279. package/dist/components/Explorer/edit-settings/viewSettingsReducer.js +0 -58
  280. package/dist/components/Explorer/edit-settings/viewSettingsReducer.js.map +0 -1
  281. package/dist/components/RecordEdition/EditRecordContent/reducers/standardFieldReducer/index.d.ts +0 -2
  282. package/dist/components/RecordEdition/EditRecordContent/reducers/standardFieldReducer/index.js +0 -6
  283. package/dist/components/RecordEdition/EditRecordContent/reducers/standardFieldReducer/index.js.map +0 -1
  284. package/dist/components/RecordEdition/EditRecordContent/reducers/standardFieldReducer/standardFieldReducer.d.ts +0 -138
  285. package/dist/components/RecordEdition/EditRecordContent/reducers/standardFieldReducer/standardFieldReducer.js +0 -361
  286. package/dist/components/RecordEdition/EditRecordContent/reducers/standardFieldReducer/standardFieldReducer.js.map +0 -1
  287. package/dist/components/RecordEdition/EditRecordContent/reducers/standardFieldReducer/standardFieldReducerContext.d.ts +0 -7
  288. package/dist/components/RecordEdition/EditRecordContent/reducers/standardFieldReducer/standardFieldReducerContext.js.map +0 -1
  289. package/dist/components/RecordEdition/EditRecordContent/reducers/standardFieldReducer/useStandardFieldReducer.d.ts +0 -1
  290. package/dist/components/RecordEdition/EditRecordContent/reducers/standardFieldReducer/useStandardFieldReducer.js +0 -7
  291. package/dist/components/RecordEdition/EditRecordContent/reducers/standardFieldReducer/useStandardFieldReducer.js.map +0 -1
  292. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/Inputs/CheckboxInput.d.ts +0 -3
  293. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/Inputs/CheckboxInput.js +0 -14
  294. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/Inputs/CheckboxInput.js.map +0 -1
  295. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/Inputs/ColorInput.d.ts +0 -3
  296. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/Inputs/ColorInput.js +0 -22
  297. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/Inputs/ColorInput.js.map +0 -1
  298. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/Inputs/DateInput.d.ts +0 -3
  299. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/Inputs/DateInput.js +0 -22
  300. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/Inputs/DateInput.js.map +0 -1
  301. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/Inputs/EncryptedInput.d.ts +0 -3
  302. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/Inputs/EncryptedInput.js +0 -19
  303. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/Inputs/EncryptedInput.js.map +0 -1
  304. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/Inputs/NumberInput.d.ts +0 -3
  305. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/Inputs/NumberInput.js +0 -32
  306. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/Inputs/NumberInput.js.map +0 -1
  307. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/Inputs/RichTextEditorInput.d.ts +0 -3
  308. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/Inputs/RichTextEditorInput.js +0 -51
  309. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/Inputs/RichTextEditorInput.js.map +0 -1
  310. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/Inputs/TextInput.d.ts +0 -3
  311. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/Inputs/TextInput.js +0 -26
  312. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/Inputs/TextInput.js.map +0 -1
  313. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValueDisplayHandler/StandardFieldValueDisplayHandler.d.ts +0 -13
  314. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValueDisplayHandler/StandardFieldValueDisplayHandler.js +0 -90
  315. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValueDisplayHandler/StandardFieldValueDisplayHandler.js.map +0 -1
  316. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValueDisplayHandler/StandardFieldValueRead/ColorPickerBlock.d.ts +0 -7
  317. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValueDisplayHandler/StandardFieldValueRead/ColorPickerBlock.js +0 -45
  318. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValueDisplayHandler/StandardFieldValueRead/ColorPickerBlock.js.map +0 -1
  319. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValueDisplayHandler/StandardFieldValueRead/StandardFieldValueRead.d.ts +0 -9
  320. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValueDisplayHandler/StandardFieldValueRead/StandardFieldValueRead.js +0 -141
  321. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValueDisplayHandler/StandardFieldValueRead/StandardFieldValueRead.js.map +0 -1
  322. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValueDisplayHandler/index.d.ts +0 -1
  323. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValueDisplayHandler/index.js.map +0 -1
  324. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/ValuesList/MonoValueSelect.d.ts +0 -3
  325. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/ValuesList/MonoValueSelect.js.map +0 -1
  326. /package/dist/components/Explorer/{edit-settings → manage-view-settings/open-view-settings}/EditSettingsContext.d.ts +0 -0
  327. /package/dist/components/Explorer/{edit-settings → manage-view-settings/open-view-settings}/EditSettingsContext.js +0 -0
  328. /package/dist/components/Explorer/{edit-settings → manage-view-settings/open-view-settings}/EditSettingsContextProvider.d.ts +0 -0
  329. /package/dist/components/Explorer/{edit-settings → manage-view-settings/open-view-settings}/EditSettingsContextProvider.js +0 -0
  330. /package/dist/components/Explorer/{edit-settings → manage-view-settings/open-view-settings}/SidePanel.d.ts +0 -0
  331. /package/dist/components/Explorer/{edit-settings → manage-view-settings/open-view-settings}/useEditSettings.d.ts +0 -0
  332. /package/dist/components/Explorer/{edit-settings → manage-view-settings/open-view-settings}/useEditSettings.js +0 -0
  333. /package/dist/components/Explorer/{edit-settings → manage-view-settings/router-menu}/SettingItem.d.ts +0 -0
  334. /package/dist/components/Explorer/{edit-settings → manage-view-settings/router-menu}/SettingItem.js +0 -0
  335. /package/dist/components/Explorer/{edit-settings → manage-view-settings/store-view-settings}/useViewSettingsContext.d.ts +0 -0
@@ -7,6 +7,7 @@ export declare const mockAttributeLink: AttributeDetailsFragment;
7
7
  export declare const mockAttributeTree: AttributeDetailsFragment;
8
8
  export declare const mockAttributeVersionable: AttributeDetailsFragment;
9
9
  export declare const mockFormAttribute: RecordFormAttributeFragment;
10
+ export declare const mockFormAttributeCompute: RecordFormAttributeFragment;
10
11
  export declare const mockFormAttributeTree: RecordFormAttributeTreeAttributeFragment;
11
12
  export declare const mockSelectedAttributeA: ISelectedAttribute;
12
13
  export declare const mockSelectedAttributeB: ISelectedAttribute;
@@ -115,7 +115,14 @@ export const mockFormAttribute = {
115
115
  }
116
116
  }
117
117
  ],
118
- versions_conf: null
118
+ versions_conf: null,
119
+ compute: false
120
+ };
121
+ export const mockFormAttributeCompute = {
122
+ ...mockFormAttribute,
123
+ id: 'test_compute_attribute',
124
+ format: AttributeFormat.text,
125
+ compute: true
119
126
  };
120
127
  export const mockFormAttributeTree = {
121
128
  ...mockFormAttribute,
@@ -1 +1 @@
1
- {"version":3,"file":"attribute.js","sourceRoot":"","sources":["../../../src/__mocks__/common/attribute.ts"],"names":[],"mappings":"AAIA,OAAO,EAEH,eAAe,EACf,aAAa,EAKhB,MAAM,eAAe,CAAC;AAEvB,MAAM,CAAC,MAAM,oBAAoB,GAA8B;IAC3D,EAAE,EAAE,cAAc;IAClB,IAAI,EAAE,aAAa,CAAC,MAAM;IAC1B,MAAM,EAAE,eAAe,CAAC,IAAI;IAC5B,KAAK,EAAE;QACH,EAAE,EAAE,cAAc;QAClB,EAAE,EAAE,cAAc;KACrB;IACD,MAAM,EAAE,KAAK;CAChB,CAAC;AAEF,MAAM,CAAC,MAAM,mBAAmB,GAAgD;IAC5E,EAAE,EAAE,cAAc;IAClB,KAAK,EAAE;QACH,EAAE,EAAE,cAAc;QAClB,EAAE,EAAE,cAAc;KACrB;IACD,IAAI,EAAE,aAAa,CAAC,MAAM;IAC1B,MAAM,EAAE,eAAe,CAAC,IAAI;IAC5B,MAAM,EAAE,KAAK;CAChB,CAAC;AAEF,MAAM,CAAC,MAAM,wBAAwB,GAA6B;IAC9D,EAAE,EAAE,cAAc;IAClB,KAAK,EAAE;QACH,EAAE,EAAE,cAAc;QAClB,EAAE,EAAE,cAAc;KACrB;IACD,MAAM,EAAE,eAAe,CAAC,IAAI;IAC5B,IAAI,EAAE,aAAa,CAAC,MAAM;IAC1B,MAAM,EAAE,KAAK;IACb,WAAW,EAAE;QACT,EAAE,EAAE,gBAAgB;QACpB,EAAE,EAAE,gBAAgB;KACvB;IACD,SAAS,EAAE,IAAI;IACf,MAAM,EAAE,KAAK;IACb,QAAQ,EAAE,KAAK;IACf,eAAe,EAAE,KAAK;CACzB,CAAC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EAAE,wBAAwB;IAC5B,MAAM,EAAE,eAAe,CAAC,IAAI;IAC5B,OAAO,EAAE,IAAI;CAChB,CAAC;AAEF,MAAM,CAAC,MAAM,qBAAqB,GAA6C;IAC3E,GAAG,iBAAiB;IACpB,GAAG,iBAAiB;IACpB,eAAe,EAAE,IAAI;IACrB,cAAc,EAAE,EAAC,MAAM,EAAE,KAAK,EAAE,cAAc,EAAE,KAAK,EAAE,eAAe,EAAE,KAAK,EAAE,MAAM,EAAE,EAAE,EAAC;CAC7F,CAAC;AAEF,MAAM,CAAC,MAAM,sBAAsB,GAAuB;IACtD,EAAE,EAAE,GAAG;IACP,IAAI,EAAE,aAAa,CAAC,MAAM;IAC1B,IAAI,EAAE,GAAG;IACT,OAAO,EAAE,UAAU;IACnB,KAAK,EAAE,EAAC,EAAE,EAAE,cAAc,EAAC;IAC3B,eAAe,EAAE,KAAK;CACzB,CAAC;AAEF,MAAM,CAAC,MAAM,sBAAsB,GAAuB;IACtD,GAAG,sBAAsB;IACzB,EAAE,EAAE,GAAG;IACP,IAAI,EAAE,GAAG;CACZ,CAAC;AAEF,MAAM,CAAC,MAAM,sBAAsB,GAAuB;IACtD,GAAG,sBAAsB;IACzB,EAAE,EAAE,GAAG;IACP,IAAI,EAAE,GAAG;CACZ,CAAC"}
@@ -4,6 +4,7 @@ import { FormElement, IFormElementProps } from '../../components/RecordEdition/E
4
4
  import { IRecordPropertyTree } from '../../_queries/records/getRecordPropertiesQuery';
5
5
  export declare const mockFormElementContainer: FormElement<{}>;
6
6
  export declare const mockFormElementInput: FormElement<{}>;
7
+ export declare const mockFormElementMultipleInput: FormElement<{}>;
7
8
  export declare const mockFormElementDate: FormElement<{}>;
8
9
  export declare const mockFormElementInputVersionable: FormElement<{}>;
9
10
  export declare const mockLinkValue: {
@@ -11,11 +12,16 @@ export declare const mockLinkValue: {
11
12
  id: string;
12
13
  whoAmI: {
13
14
  id: string;
14
- label?: string | null;
15
- subLabel?: string | null;
16
- color?: string | null;
17
- library: import("../..").IRecordIdentityLibrary;
18
- preview?: import("@leav/utils").IPreviewScalar | null;
15
+ label: string;
16
+ subLabel: string;
17
+ library: {
18
+ id: string;
19
+ label: {
20
+ fr: string;
21
+ };
22
+ };
23
+ preview: import("@leav/utils").IPreviewScalar;
24
+ color: string;
19
25
  };
20
26
  };
21
27
  created_at: number;
@@ -3,7 +3,7 @@ import { jsx as _jsx } from "react/jsx-runtime";
3
3
  // This file is released under LGPL V3
4
4
  // License text available at https://www.gnu.org/licenses/lgpl-3.0.txt
5
5
  import { FormFieldTypes, FormUIElementTypes, TabsDirection } from '@leav/utils';
6
- import { AttributeType, FormElementTypes, LibraryBehavior } from '../../_gqlTypes';
6
+ import { AttributeFormat, AttributeType, FormElementTypes, LibraryBehavior } from '../../_gqlTypes';
7
7
  import { mockRecord } from '../../__mocks__/common/record';
8
8
  import { mockAttributeSimple, mockFormAttribute } from './attribute';
9
9
  import { mockModifier } from './value';
@@ -43,7 +43,23 @@ export const mockFormElementInput = {
43
43
  id: 'input_element',
44
44
  containerId: '__root',
45
45
  settings: { attribute: 'test_attribute' },
46
- attribute: { ...mockFormAttribute, versions_conf: { versionable: false, profile: null } },
46
+ attribute: { ...mockFormAttribute, format: AttributeFormat.text, versions_conf: { versionable: false, profile: null } },
47
+ uiElement: () => _jsx("div", { children: FormFieldTypes.TEXT_INPUT }),
48
+ type: FormElementTypes.field,
49
+ uiElementType: FormFieldTypes.TEXT_INPUT
50
+ };
51
+ export const mockFormElementMultipleInput = {
52
+ ...formElementBase,
53
+ id: 'input_element',
54
+ containerId: '__root',
55
+ settings: { attribute: 'test_attribute' },
56
+ attribute: {
57
+ ...mockFormAttribute,
58
+ type: AttributeType.advanced,
59
+ multiple_values: true,
60
+ format: AttributeFormat.text,
61
+ versions_conf: { versionable: false, profile: null }
62
+ },
47
63
  uiElement: () => _jsx("div", { children: FormFieldTypes.TEXT_INPUT }),
48
64
  type: FormElementTypes.field,
49
65
  uiElementType: FormFieldTypes.TEXT_INPUT
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,cAAc;IAClB,OAAO,EAAE;QACL,EAAE,EAAE,UAAU;KACjB;IACD,QAAQ,EAAE,QAAQ;IAClB,oBAAoB,EAAE,EAAE;IACxB,QAAQ,EAAE,CAAC,EAAC,GAAG,oBAAoB,EAAE,QAAQ,EAAE,CAAC,EAAC,GAAG,EAAE,aAAa,EAAE,KAAK,EAAE,OAAO,EAAC,CAAC,EAAC,CAAC;CAC1F,CAAC"}
@@ -1,4 +1,15 @@
1
1
  import { IPreviewScalar } from '@leav/utils';
2
- import { IRecordIdentityWhoAmI } from '../../types/records';
3
2
  export declare const mockPreviews: IPreviewScalar;
4
- export declare const mockRecord: IRecordIdentityWhoAmI;
3
+ export declare const mockRecord: {
4
+ id: string;
5
+ label: string;
6
+ subLabel: string;
7
+ library: {
8
+ id: string;
9
+ label: {
10
+ fr: string;
11
+ };
12
+ };
13
+ preview: IPreviewScalar;
14
+ color: string;
15
+ };
@@ -1 +1 @@
1
- {"version":3,"file":"record.js","sourceRoot":"","sources":["../../../src/__mocks__/common/record.ts"],"names":[],"mappings":"AAMA,MAAM,CAAC,MAAM,YAAY,GAAmB;IACxC,IAAI,EAAE,oBAAoB;IAC1B,KAAK,EAAE,qBAAqB;IAC5B,MAAM,EAAE,sBAAsB;IAC9B,GAAG,EAAE,mBAAmB;IACxB,IAAI,EAAE,oBAAoB;IAC1B,QAAQ,EAAE,wBAAwB;IAClC,IAAI,EAAE,IAAI;CACb,CAAC;AAEF,MAAM,CAAC,MAAM,UAAU,GAA0B;IAC7C,EAAE,EAAE,QAAQ;IACZ,KAAK,EAAE,cAAc;IACrB,QAAQ,EAAE,iBAAiB;IAC3B,OAAO,EAAE;QACL,EAAE,EAAE,YAAY;QAChB,KAAK,EAAE,EAAC,EAAE,EAAE,UAAU,EAAC;KAC1B;IACD,OAAO,EAAE,YAAY;IACrB,KAAK,EAAE,MAAM;CAChB,CAAC"}
1
+ {"version":3,"file":"record.js","sourceRoot":"","sources":["../../../src/__mocks__/common/record.ts"],"names":[],"mappings":"AAMA,MAAM,CAAC,MAAM,YAAY,GAAmB;IACxC,IAAI,EAAE,oBAAoB;IAC1B,KAAK,EAAE,qBAAqB;IAC5B,MAAM,EAAE,sBAAsB;IAC9B,GAAG,EAAE,mBAAmB;IACxB,IAAI,EAAE,oBAAoB;IAC1B,QAAQ,EAAE,wBAAwB;IAClC,IAAI,EAAE,IAAI;CACb,CAAC;AAEF,MAAM,CAAC,MAAM,UAAU,GAAG;IACtB,EAAE,EAAE,QAAQ;IACZ,KAAK,EAAE,cAAc;IACrB,QAAQ,EAAE,iBAAiB;IAC3B,OAAO,EAAE;QACL,EAAE,EAAE,YAAY;QAChB,KAAK,EAAE,EAAC,EAAE,EAAE,UAAU,EAAC;KAC1B;IACD,OAAO,EAAE,YAAY;IACrB,KAAK,EAAE,MAAM;CACgB,CAAC"}
@@ -35,7 +35,8 @@ export const mockRecordPropertyWithAttribute = {
35
35
  },
36
36
  multiple_values: false,
37
37
  readonly: false,
38
- permissions: { access_attribute: true, edit_value: true }
38
+ permissions: { access_attribute: true, edit_value: true },
39
+ compute: false
39
40
  }
40
41
  };
41
42
  //# sourceMappingURL=value.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"value.js","sourceRoot":"","sources":["../../../src/__mocks__/common/value.ts"],"names":[],"mappings":"AAKA,OAAO,EAAC,mBAAmB,EAAC,MAAM,aAAa,CAAC;AAChD,OAAO,EAAC,YAAY,EAAC,MAAM,UAAU,CAAC;AAEtC,MAAM,CAAC,MAAM,YAAY,GAA4B;IACjD,EAAE,EAAE,GAAG;IACP,MAAM,EAAE;QACJ,EAAE,EAAE,QAAQ;QACZ,KAAK,EAAE,OAAO;QACd,QAAQ,EAAE,OAAO;QACjB,OAAO,EAAE;YACL,EAAE,EAAE,OAAO;YACX,KAAK,EAAE,EAAC,EAAE,EAAE,cAAc,EAAC;SAC9B;QACD,OAAO,EAAE,YAAY;QACrB,KAAK,EAAE,SAAS;KACnB;CACJ,CAAC;AAEF,MAAM,CAAC,MAAM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AAE,YAAY;IACrB,WAAW,EAAE,YAAY;IACzB,SAAS,EAAE,IAAI;IACf,SAAS,EAAE,IAAI;CAClB,CAAC;AAEF,MAAM,CAAC,MAAM,+BAA+B,GAAiC;IACzE,KAAK,EAAE,kBAAkB;IACzB,SAAS,EAAE;QACP,GAAG,mBAAmB;QACtB,WAAW,EAAE;YACT,EAAE,EAAE,gBAAgB;YACpB,EAAE,EAAE,gBAAgB;SACvB;QACD,eAAe,EAAE,KAAK;QACtB,QAAQ,EAAE,KAAK;QACf,WAAW,EAAE,EAAC,gBAAgB,EAAE,IAAI,EAAE,UAAU,EAAE,IAAI,EAAC;QACvD,OAAO,EAAE,KAAK;KACjB;CACJ,CAAC"}
@@ -158,14 +158,15 @@ export declare enum AttributeType {
158
158
  tree = "tree"
159
159
  }
160
160
  export type AttributesFiltersInput = {
161
- format?: InputMaybe<Array<InputMaybe<AttributeFormat>>>;
161
+ format?: InputMaybe<Array<AttributeFormat>>;
162
162
  id?: InputMaybe<Scalars['ID']>;
163
+ ids?: InputMaybe<Array<Scalars['ID']>>;
163
164
  label?: InputMaybe<Scalars['String']>;
164
- libraries?: InputMaybe<Array<InputMaybe<Scalars['String']>>>;
165
- librariesExcluded?: InputMaybe<Array<InputMaybe<Scalars['String']>>>;
165
+ libraries?: InputMaybe<Array<Scalars['String']>>;
166
+ librariesExcluded?: InputMaybe<Array<Scalars['String']>>;
166
167
  multiple_values?: InputMaybe<Scalars['Boolean']>;
167
168
  system?: InputMaybe<Scalars['Boolean']>;
168
- type?: InputMaybe<Array<InputMaybe<AttributeType>>>;
169
+ type?: InputMaybe<Array<AttributeType>>;
169
170
  versionable?: InputMaybe<Scalars['Boolean']>;
170
171
  };
171
172
  export declare enum AttributesSortableFields {
@@ -1487,6 +1488,7 @@ export type RecordFormElementFragment = {
1487
1488
  system: boolean;
1488
1489
  readonly: boolean;
1489
1490
  multiple_values: boolean;
1491
+ compute: boolean;
1490
1492
  linked_library?: {
1491
1493
  id: string;
1492
1494
  label?: any | null;
@@ -1568,6 +1570,7 @@ export type RecordFormElementFragment = {
1568
1570
  system: boolean;
1569
1571
  readonly: boolean;
1570
1572
  multiple_values: boolean;
1573
+ compute: boolean;
1571
1574
  values_list?: {
1572
1575
  enable: boolean;
1573
1576
  allowFreeEntry?: boolean | null;
@@ -1636,6 +1639,7 @@ export type RecordFormElementFragment = {
1636
1639
  system: boolean;
1637
1640
  readonly: boolean;
1638
1641
  multiple_values: boolean;
1642
+ compute: boolean;
1639
1643
  linked_tree?: {
1640
1644
  id: string;
1641
1645
  label?: any | null;
@@ -2139,6 +2143,7 @@ export type RecordFormAttributeLinkAttributeFragment = {
2139
2143
  system: boolean;
2140
2144
  readonly: boolean;
2141
2145
  multiple_values: boolean;
2146
+ compute: boolean;
2142
2147
  linked_library?: {
2143
2148
  id: string;
2144
2149
  label?: any | null;
@@ -2221,6 +2226,7 @@ export type RecordFormAttributeStandardAttributeFragment = {
2221
2226
  system: boolean;
2222
2227
  readonly: boolean;
2223
2228
  multiple_values: boolean;
2229
+ compute: boolean;
2224
2230
  values_list?: {
2225
2231
  enable: boolean;
2226
2232
  allowFreeEntry?: boolean | null;
@@ -2290,6 +2296,7 @@ export type RecordFormAttributeTreeAttributeFragment = {
2290
2296
  system: boolean;
2291
2297
  readonly: boolean;
2292
2298
  multiple_values: boolean;
2299
+ compute: boolean;
2293
2300
  linked_tree?: {
2294
2301
  id: string;
2295
2302
  label?: any | null;
@@ -2523,6 +2530,13 @@ export type ViewDetailsFragment = {
2523
2530
  value?: any | null;
2524
2531
  }> | null;
2525
2532
  };
2533
+ export type AttributePropertiesFragment = {
2534
+ id: string;
2535
+ label?: any | null;
2536
+ type: AttributeType;
2537
+ format?: AttributeFormat | null;
2538
+ multiple_values: boolean;
2539
+ };
2526
2540
  export type PropertyValueLinkValueFragment = {
2527
2541
  linkPayload?: {
2528
2542
  id: string;
@@ -2538,12 +2552,6 @@ export type PropertyValueLinkValueFragment = {
2538
2552
  };
2539
2553
  };
2540
2554
  } | null;
2541
- attribute: {
2542
- id: string;
2543
- type: AttributeType;
2544
- label?: any | null;
2545
- format?: AttributeFormat | null;
2546
- };
2547
2555
  };
2548
2556
  export type PropertyValueTreeValueFragment = {
2549
2557
  treePayload?: {
@@ -2562,21 +2570,9 @@ export type PropertyValueTreeValueFragment = {
2562
2570
  };
2563
2571
  };
2564
2572
  } | null;
2565
- attribute: {
2566
- id: string;
2567
- type: AttributeType;
2568
- label?: any | null;
2569
- format?: AttributeFormat | null;
2570
- };
2571
2573
  };
2572
2574
  export type PropertyValueValueFragment = {
2573
2575
  valuePayload?: any | null;
2574
- attribute: {
2575
- id: string;
2576
- type: AttributeType;
2577
- label?: any | null;
2578
- format?: AttributeFormat | null;
2579
- };
2580
2576
  };
2581
2577
  export type PropertyValueFragment = PropertyValueLinkValueFragment | PropertyValueTreeValueFragment | PropertyValueValueFragment;
2582
2578
  export type CheckApplicationExistenceQueryVariables = Exact<{
@@ -3974,6 +3970,7 @@ export type RecordFormQuery = {
3974
3970
  system: boolean;
3975
3971
  readonly: boolean;
3976
3972
  multiple_values: boolean;
3973
+ compute: boolean;
3977
3974
  linked_library?: {
3978
3975
  id: string;
3979
3976
  label?: any | null;
@@ -4055,6 +4052,7 @@ export type RecordFormQuery = {
4055
4052
  system: boolean;
4056
4053
  readonly: boolean;
4057
4054
  multiple_values: boolean;
4055
+ compute: boolean;
4058
4056
  values_list?: {
4059
4057
  enable: boolean;
4060
4058
  allowFreeEntry?: boolean | null;
@@ -4123,6 +4121,7 @@ export type RecordFormQuery = {
4123
4121
  system: boolean;
4124
4122
  readonly: boolean;
4125
4123
  multiple_values: boolean;
4124
+ compute: boolean;
4126
4125
  linked_tree?: {
4127
4126
  id: string;
4128
4127
  label?: any | null;
@@ -5947,13 +5946,30 @@ export type AddViewMutation = {
5947
5946
  }> | null;
5948
5947
  };
5949
5948
  };
5949
+ export type ExplorerAttributesQueryVariables = Exact<{
5950
+ ids?: InputMaybe<Array<Scalars['ID']> | Scalars['ID']>;
5951
+ }>;
5952
+ export type ExplorerAttributesQuery = {
5953
+ attributes?: {
5954
+ list: Array<{
5955
+ id: string;
5956
+ type: AttributeType;
5957
+ format?: AttributeFormat | null;
5958
+ label?: any | null;
5959
+ }>;
5960
+ } | null;
5961
+ };
5950
5962
  export type ExplorerQueryVariables = Exact<{
5951
5963
  libraryId: Scalars['ID'];
5952
5964
  attributeIds: Array<Scalars['ID']> | Scalars['ID'];
5965
+ pagination?: InputMaybe<RecordsPagination>;
5953
5966
  filters?: InputMaybe<Array<InputMaybe<RecordFilterInput>> | InputMaybe<RecordFilterInput>>;
5967
+ multipleSort?: InputMaybe<Array<RecordSortInput> | RecordSortInput>;
5968
+ searchQuery?: InputMaybe<Scalars['String']>;
5954
5969
  }>;
5955
5970
  export type ExplorerQuery = {
5956
5971
  records: {
5972
+ totalCount?: number | null;
5957
5973
  list: Array<{
5958
5974
  id: string;
5959
5975
  whoAmI: {
@@ -5969,6 +5985,13 @@ export type ExplorerQuery = {
5969
5985
  };
5970
5986
  properties: Array<{
5971
5987
  attributeId: string;
5988
+ attributeProperties: {
5989
+ id: string;
5990
+ label?: any | null;
5991
+ type: AttributeType;
5992
+ format?: AttributeFormat | null;
5993
+ multiple_values: boolean;
5994
+ };
5972
5995
  values: Array<{
5973
5996
  linkPayload?: {
5974
5997
  id: string;
@@ -5984,12 +6007,6 @@ export type ExplorerQuery = {
5984
6007
  };
5985
6008
  };
5986
6009
  } | null;
5987
- attribute: {
5988
- id: string;
5989
- type: AttributeType;
5990
- label?: any | null;
5991
- format?: AttributeFormat | null;
5992
- };
5993
6010
  } | {
5994
6011
  treePayload?: {
5995
6012
  record: {
@@ -6007,20 +6024,8 @@ export type ExplorerQuery = {
6007
6024
  };
6008
6025
  };
6009
6026
  } | null;
6010
- attribute: {
6011
- id: string;
6012
- type: AttributeType;
6013
- label?: any | null;
6014
- format?: AttributeFormat | null;
6015
- };
6016
6027
  } | {
6017
6028
  valuePayload?: any | null;
6018
- attribute: {
6019
- id: string;
6020
- type: AttributeType;
6021
- label?: any | null;
6022
- format?: AttributeFormat | null;
6023
- };
6024
6029
  }>;
6025
6030
  }>;
6026
6031
  }>;
@@ -6037,6 +6042,17 @@ export type ExplorerLibraryDataQuery = {
6037
6042
  }>;
6038
6043
  } | null;
6039
6044
  };
6045
+ export type TreeDataQueryQueryVariables = Exact<{
6046
+ treeId: Scalars['ID'];
6047
+ }>;
6048
+ export type TreeDataQueryQuery = {
6049
+ trees?: {
6050
+ list: Array<{
6051
+ id: string;
6052
+ label?: any | null;
6053
+ }>;
6054
+ } | null;
6055
+ };
6040
6056
  export declare const RecordIdentityFragmentDoc: Apollo.DocumentNode;
6041
6057
  export declare const DetailsApplicationFragmentDoc: Apollo.DocumentNode;
6042
6058
  export declare const AttributeDetailsFragmentDoc: Apollo.DocumentNode;
@@ -6056,6 +6072,7 @@ export declare const TreeDetailsFragmentDoc: Apollo.DocumentNode;
6056
6072
  export declare const TreeNodeChildFragmentDoc: Apollo.DocumentNode;
6057
6073
  export declare const ViewDetailsFragmentDoc: Apollo.DocumentNode;
6058
6074
  export declare const PropertyValueFragmentDoc: Apollo.DocumentNode;
6075
+ export declare const AttributePropertiesFragmentDoc: Apollo.DocumentNode;
6059
6076
  export declare const CheckApplicationExistenceDocument: Apollo.DocumentNode;
6060
6077
  /**
6061
6078
  * __useCheckApplicationExistenceQuery__
@@ -7466,6 +7483,32 @@ export declare function useAddViewMutation(baseOptions?: Apollo.MutationHookOpti
7466
7483
  export type AddViewMutationHookResult = ReturnType<typeof useAddViewMutation>;
7467
7484
  export type AddViewMutationResult = Apollo.MutationResult<AddViewMutation>;
7468
7485
  export type AddViewMutationOptions = Apollo.BaseMutationOptions<AddViewMutation, AddViewMutationVariables>;
7486
+ export declare const ExplorerAttributesDocument: Apollo.DocumentNode;
7487
+ /**
7488
+ * __useExplorerAttributesQuery__
7489
+ *
7490
+ * To run a query within a React component, call `useExplorerAttributesQuery` and pass it any options that fit your needs.
7491
+ * When your component renders, `useExplorerAttributesQuery` returns an object from Apollo Client that contains loading, error, and data properties
7492
+ * you can use to render your UI.
7493
+ *
7494
+ * @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;
7495
+ *
7496
+ * @example
7497
+ * const { data, loading, error } = useExplorerAttributesQuery({
7498
+ * variables: {
7499
+ * ids: // value for 'ids'
7500
+ * },
7501
+ * });
7502
+ */
7503
+ export declare function useExplorerAttributesQuery(baseOptions?: Apollo.QueryHookOptions<ExplorerAttributesQuery, ExplorerAttributesQueryVariables>): Apollo.QueryResult<ExplorerAttributesQuery, Exact<{
7504
+ ids?: InputMaybe<Array<Scalars["ID"]> | Scalars["ID"]>;
7505
+ }>>;
7506
+ export declare function useExplorerAttributesLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<ExplorerAttributesQuery, ExplorerAttributesQueryVariables>): Apollo.LazyQueryResultTuple<ExplorerAttributesQuery, Exact<{
7507
+ ids?: InputMaybe<Array<Scalars["ID"]> | Scalars["ID"]>;
7508
+ }>>;
7509
+ export type ExplorerAttributesQueryHookResult = ReturnType<typeof useExplorerAttributesQuery>;
7510
+ export type ExplorerAttributesLazyQueryHookResult = ReturnType<typeof useExplorerAttributesLazyQuery>;
7511
+ export type ExplorerAttributesQueryResult = Apollo.QueryResult<ExplorerAttributesQuery, ExplorerAttributesQueryVariables>;
7469
7512
  export declare const ExplorerDocument: Apollo.DocumentNode;
7470
7513
  /**
7471
7514
  * __useExplorerQuery__
@@ -7481,19 +7524,28 @@ export declare const ExplorerDocument: Apollo.DocumentNode;
7481
7524
  * variables: {
7482
7525
  * libraryId: // value for 'libraryId'
7483
7526
  * attributeIds: // value for 'attributeIds'
7527
+ * pagination: // value for 'pagination'
7484
7528
  * filters: // value for 'filters'
7529
+ * multipleSort: // value for 'multipleSort'
7530
+ * searchQuery: // value for 'searchQuery'
7485
7531
  * },
7486
7532
  * });
7487
7533
  */
7488
7534
  export declare function useExplorerQuery(baseOptions: Apollo.QueryHookOptions<ExplorerQuery, ExplorerQueryVariables>): Apollo.QueryResult<ExplorerQuery, Exact<{
7489
7535
  libraryId: Scalars["ID"];
7490
7536
  attributeIds: Array<Scalars["ID"]> | Scalars["ID"];
7537
+ pagination?: InputMaybe<RecordsPagination>;
7491
7538
  filters?: InputMaybe<Array<InputMaybe<RecordFilterInput>> | InputMaybe<RecordFilterInput>>;
7539
+ multipleSort?: InputMaybe<Array<RecordSortInput> | RecordSortInput>;
7540
+ searchQuery?: InputMaybe<Scalars["String"]>;
7492
7541
  }>>;
7493
7542
  export declare function useExplorerLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<ExplorerQuery, ExplorerQueryVariables>): Apollo.LazyQueryResultTuple<ExplorerQuery, Exact<{
7494
7543
  libraryId: Scalars["ID"];
7495
7544
  attributeIds: Array<Scalars["ID"]> | Scalars["ID"];
7545
+ pagination?: InputMaybe<RecordsPagination>;
7496
7546
  filters?: InputMaybe<Array<InputMaybe<RecordFilterInput>> | InputMaybe<RecordFilterInput>>;
7547
+ multipleSort?: InputMaybe<Array<RecordSortInput> | RecordSortInput>;
7548
+ searchQuery?: InputMaybe<Scalars["String"]>;
7497
7549
  }>>;
7498
7550
  export type ExplorerQueryHookResult = ReturnType<typeof useExplorerQuery>;
7499
7551
  export type ExplorerLazyQueryHookResult = ReturnType<typeof useExplorerLazyQuery>;
@@ -7524,3 +7576,29 @@ export declare function useExplorerLibraryDataLazyQuery(baseOptions?: Apollo.Laz
7524
7576
  export type ExplorerLibraryDataQueryHookResult = ReturnType<typeof useExplorerLibraryDataQuery>;
7525
7577
  export type ExplorerLibraryDataLazyQueryHookResult = ReturnType<typeof useExplorerLibraryDataLazyQuery>;
7526
7578
  export type ExplorerLibraryDataQueryResult = Apollo.QueryResult<ExplorerLibraryDataQuery, ExplorerLibraryDataQueryVariables>;
7579
+ export declare const TreeDataQueryDocument: Apollo.DocumentNode;
7580
+ /**
7581
+ * __useTreeDataQueryQuery__
7582
+ *
7583
+ * To run a query within a React component, call `useTreeDataQueryQuery` and pass it any options that fit your needs.
7584
+ * When your component renders, `useTreeDataQueryQuery` returns an object from Apollo Client that contains loading, error, and data properties
7585
+ * you can use to render your UI.
7586
+ *
7587
+ * @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;
7588
+ *
7589
+ * @example
7590
+ * const { data, loading, error } = useTreeDataQueryQuery({
7591
+ * variables: {
7592
+ * treeId: // value for 'treeId'
7593
+ * },
7594
+ * });
7595
+ */
7596
+ export declare function useTreeDataQueryQuery(baseOptions: Apollo.QueryHookOptions<TreeDataQueryQuery, TreeDataQueryQueryVariables>): Apollo.QueryResult<TreeDataQueryQuery, Exact<{
7597
+ treeId: Scalars["ID"];
7598
+ }>>;
7599
+ export declare function useTreeDataQueryLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<TreeDataQueryQuery, TreeDataQueryQueryVariables>): Apollo.LazyQueryResultTuple<TreeDataQueryQuery, Exact<{
7600
+ treeId: Scalars["ID"];
7601
+ }>>;
7602
+ export type TreeDataQueryQueryHookResult = ReturnType<typeof useTreeDataQueryQuery>;
7603
+ export type TreeDataQueryLazyQueryHookResult = ReturnType<typeof useTreeDataQueryLazyQuery>;
7604
+ export type TreeDataQueryQueryResult = Apollo.QueryResult<TreeDataQueryQuery, TreeDataQueryQueryVariables>;
@@ -662,6 +662,7 @@ export const RecordFormAttributeFragmentDoc = gql `
662
662
  system
663
663
  readonly
664
664
  multiple_values
665
+ compute
665
666
  permissions(record: {id: $recordId, library: $libraryId}) {
666
667
  access_attribute
667
668
  edit_value
@@ -872,12 +873,6 @@ export const ViewDetailsFragmentDoc = gql `
872
873
  ${RecordIdentityFragmentDoc}`;
873
874
  export const PropertyValueFragmentDoc = gql `
874
875
  fragment PropertyValue on GenericValue {
875
- attribute {
876
- id
877
- type
878
- label
879
- format
880
- }
881
876
  ... on Value {
882
877
  valuePayload: payload
883
878
  }
@@ -895,6 +890,15 @@ export const PropertyValueFragmentDoc = gql `
895
890
  }
896
891
  }
897
892
  ${RecordIdentityFragmentDoc}`;
893
+ export const AttributePropertiesFragmentDoc = gql `
894
+ fragment AttributeProperties on Attribute {
895
+ id
896
+ label
897
+ type
898
+ format
899
+ multiple_values
900
+ }
901
+ `;
898
902
  export const CheckApplicationExistenceDocument = gql `
899
903
  query CHECK_APPLICATION_EXISTENCE($id: ID, $endpoint: String) {
900
904
  applications(filters: {id: $id, endpoint: $endpoint}) {
@@ -2711,13 +2715,59 @@ export function useAddViewMutation(baseOptions) {
2711
2715
  const options = { ...defaultOptions, ...baseOptions };
2712
2716
  return Apollo.useMutation(AddViewDocument, options);
2713
2717
  }
2718
+ export const ExplorerAttributesDocument = gql `
2719
+ query ExplorerAttributes($ids: [ID!]) {
2720
+ attributes(filters: {ids: $ids}) {
2721
+ list {
2722
+ id
2723
+ type
2724
+ format
2725
+ label
2726
+ }
2727
+ }
2728
+ }
2729
+ `;
2730
+ /**
2731
+ * __useExplorerAttributesQuery__
2732
+ *
2733
+ * To run a query within a React component, call `useExplorerAttributesQuery` and pass it any options that fit your needs.
2734
+ * When your component renders, `useExplorerAttributesQuery` returns an object from Apollo Client that contains loading, error, and data properties
2735
+ * you can use to render your UI.
2736
+ *
2737
+ * @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;
2738
+ *
2739
+ * @example
2740
+ * const { data, loading, error } = useExplorerAttributesQuery({
2741
+ * variables: {
2742
+ * ids: // value for 'ids'
2743
+ * },
2744
+ * });
2745
+ */
2746
+ export function useExplorerAttributesQuery(baseOptions) {
2747
+ const options = { ...defaultOptions, ...baseOptions };
2748
+ return Apollo.useQuery(ExplorerAttributesDocument, options);
2749
+ }
2750
+ export function useExplorerAttributesLazyQuery(baseOptions) {
2751
+ const options = { ...defaultOptions, ...baseOptions };
2752
+ return Apollo.useLazyQuery(ExplorerAttributesDocument, options);
2753
+ }
2714
2754
  export const ExplorerDocument = gql `
2715
- query Explorer($libraryId: ID!, $attributeIds: [ID!]!, $filters: [RecordFilterInput]) {
2716
- records(library: $libraryId, filters: $filters) {
2755
+ query Explorer($libraryId: ID!, $attributeIds: [ID!]!, $pagination: RecordsPagination, $filters: [RecordFilterInput], $multipleSort: [RecordSortInput!], $searchQuery: String) {
2756
+ records(
2757
+ library: $libraryId
2758
+ filters: $filters
2759
+ pagination: $pagination
2760
+ multipleSort: $multipleSort
2761
+ searchQuery: $searchQuery
2762
+ ) {
2763
+ totalCount
2717
2764
  list {
2718
2765
  ...RecordIdentity
2719
2766
  properties(attributeIds: $attributeIds) {
2720
2767
  attributeId
2768
+ attributeProperties {
2769
+ ...AttributeProperties
2770
+ }
2721
2771
  values {
2722
2772
  ...PropertyValue
2723
2773
  }
@@ -2726,6 +2776,7 @@ export const ExplorerDocument = gql `
2726
2776
  }
2727
2777
  }
2728
2778
  ${RecordIdentityFragmentDoc}
2779
+ ${AttributePropertiesFragmentDoc}
2729
2780
  ${PropertyValueFragmentDoc}`;
2730
2781
  /**
2731
2782
  * __useExplorerQuery__
@@ -2741,7 +2792,10 @@ ${PropertyValueFragmentDoc}`;
2741
2792
  * variables: {
2742
2793
  * libraryId: // value for 'libraryId'
2743
2794
  * attributeIds: // value for 'attributeIds'
2795
+ * pagination: // value for 'pagination'
2744
2796
  * filters: // value for 'filters'
2797
+ * multipleSort: // value for 'multipleSort'
2798
+ * searchQuery: // value for 'searchQuery'
2745
2799
  * },
2746
2800
  * });
2747
2801
  */
@@ -2787,4 +2841,38 @@ export function useExplorerLibraryDataLazyQuery(baseOptions) {
2787
2841
  const options = { ...defaultOptions, ...baseOptions };
2788
2842
  return Apollo.useLazyQuery(ExplorerLibraryDataDocument, options);
2789
2843
  }
2844
+ export const TreeDataQueryDocument = gql `
2845
+ query TreeDataQuery($treeId: ID!) {
2846
+ trees(filters: {id: [$treeId]}) {
2847
+ list {
2848
+ id
2849
+ label
2850
+ }
2851
+ }
2852
+ }
2853
+ `;
2854
+ /**
2855
+ * __useTreeDataQueryQuery__
2856
+ *
2857
+ * To run a query within a React component, call `useTreeDataQueryQuery` and pass it any options that fit your needs.
2858
+ * When your component renders, `useTreeDataQueryQuery` returns an object from Apollo Client that contains loading, error, and data properties
2859
+ * you can use to render your UI.
2860
+ *
2861
+ * @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;
2862
+ *
2863
+ * @example
2864
+ * const { data, loading, error } = useTreeDataQueryQuery({
2865
+ * variables: {
2866
+ * treeId: // value for 'treeId'
2867
+ * },
2868
+ * });
2869
+ */
2870
+ export function useTreeDataQueryQuery(baseOptions) {
2871
+ const options = { ...defaultOptions, ...baseOptions };
2872
+ return Apollo.useQuery(TreeDataQueryDocument, options);
2873
+ }
2874
+ export function useTreeDataQueryLazyQuery(baseOptions) {
2875
+ const options = { ...defaultOptions, ...baseOptions };
2876
+ return Apollo.useLazyQuery(TreeDataQueryDocument, options);
2877
+ }
2790
2878
  //# sourceMappingURL=index.js.map