@leav/ui 0.3.6-b38d2c9 → 0.3.6-b3a1065

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