@leav/ui 0.3.6-3d13092 → 0.3.6-412fb2f

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 (422) hide show
  1. package/dist/__mocks__/common/attribute.d.ts +1 -0
  2. package/dist/__mocks__/common/attribute.js +9 -1
  3. package/dist/__mocks__/common/attribute.js.map +1 -1
  4. package/dist/__mocks__/common/form.d.ts +11 -5
  5. package/dist/__mocks__/common/form.js +18 -2
  6. package/dist/__mocks__/common/form.js.map +1 -1
  7. package/dist/__mocks__/common/record.d.ts +13 -2
  8. package/dist/__mocks__/common/record.js.map +1 -1
  9. package/dist/__mocks__/common/value.js +3 -1
  10. package/dist/__mocks__/common/value.js.map +1 -1
  11. package/dist/__mocks__/common/view.js +7 -5
  12. package/dist/__mocks__/common/view.js.map +1 -1
  13. package/dist/__mocks__/mockQuery/mockGetLibraryDetailExtendedQuery.js +1 -1
  14. package/dist/__mocks__/mockQuery/mockGetLibraryDetailExtendedQuery.js.map +1 -1
  15. package/dist/__mocks__/mockQuery/mockGetViewListQuery.js +2 -1
  16. package/dist/__mocks__/mockQuery/mockGetViewListQuery.js.map +1 -1
  17. package/dist/_gqlTypes/index.d.ts +430 -88
  18. package/dist/_gqlTypes/index.js +252 -44
  19. package/dist/_gqlTypes/index.js.map +1 -1
  20. package/dist/_queries/libraries/getLibraryDetailExtendQuery.d.ts +3 -4
  21. package/dist/_queries/libraries/getLibraryDetailExtendQuery.js +2 -3
  22. package/dist/_queries/libraries/getLibraryDetailExtendQuery.js.map +1 -1
  23. package/dist/_queries/records/getRecordColumnsValues.d.ts +5 -3
  24. package/dist/_queries/records/getRecordColumnsValues.js +4 -1
  25. package/dist/_queries/records/getRecordColumnsValues.js.map +1 -1
  26. package/dist/_queries/records/recordFormAttributeFragment.js +2 -0
  27. package/dist/_queries/records/recordFormAttributeFragment.js.map +1 -1
  28. package/dist/_queries/views/saveViewMutation.js +1 -1
  29. package/dist/_queries/views/viewDetailsFragment.js +14 -11
  30. package/dist/_queries/views/viewDetailsFragment.js.map +1 -1
  31. package/dist/_utils/index.js +5 -2
  32. package/dist/_utils/index.js.map +1 -1
  33. package/dist/_utils/interleaveElement.d.ts +1 -0
  34. package/dist/{components/RecordEdition/EditRecordContent/reducers/standardFieldReducer/standardFieldReducerContext.js → _utils/interleaveElement.js} +2 -6
  35. package/dist/_utils/interleaveElement.js.map +1 -0
  36. package/dist/antdTheme/index.d.ts +0 -3
  37. package/dist/antdTheme/index.js +3 -42
  38. package/dist/antdTheme/index.js.map +1 -1
  39. package/dist/components/CreateDirectory/CreateDirectory.js +1 -1
  40. package/dist/components/CreateDirectory/CreateDirectory.js.map +1 -1
  41. package/dist/components/EditApplication/EditApplication.js +2 -2
  42. package/dist/components/EditApplication/EditApplication.js.map +1 -1
  43. package/dist/components/EditApplication/_types.d.ts +2 -2
  44. package/dist/components/Explorer/DataView.d.ts +10 -1
  45. package/dist/components/Explorer/DataView.js +36 -35
  46. package/dist/components/Explorer/DataView.js.map +1 -1
  47. package/dist/components/Explorer/Explorer.d.ts +7 -4
  48. package/dist/components/Explorer/Explorer.js +53 -14
  49. package/dist/components/Explorer/Explorer.js.map +1 -1
  50. package/dist/components/Explorer/ExplorerTitle.d.ts +2 -0
  51. package/dist/components/Explorer/ExplorerTitle.js +30 -11
  52. package/dist/components/Explorer/ExplorerTitle.js.map +1 -1
  53. package/dist/components/Explorer/IdCard.d.ts +7 -0
  54. package/dist/components/Explorer/IdCard.js +15 -0
  55. package/dist/components/Explorer/IdCard.js.map +1 -0
  56. package/dist/components/Explorer/TableCell.d.ts +8 -0
  57. package/dist/components/Explorer/TableCell.js +143 -0
  58. package/dist/components/Explorer/TableCell.js.map +1 -0
  59. package/dist/components/Explorer/TableTagGroup.d.ts +7 -0
  60. package/dist/components/Explorer/TableTagGroup.js +30 -0
  61. package/dist/components/Explorer/TableTagGroup.js.map +1 -0
  62. package/dist/components/Explorer/_constants.d.ts +4 -0
  63. package/dist/components/Explorer/_constants.js +17 -0
  64. package/dist/components/Explorer/_constants.js.map +1 -0
  65. package/dist/components/Explorer/_queries/useExplorerData.d.ts +31 -7
  66. package/dist/components/Explorer/_queries/useExplorerData.js +199 -19
  67. package/dist/components/Explorer/_queries/useExplorerData.js.map +1 -1
  68. package/dist/components/Explorer/_types.d.ts +62 -3
  69. package/dist/components/Explorer/conditionsHelper.d.ts +2 -0
  70. package/dist/components/Explorer/conditionsHelper.js +16 -0
  71. package/dist/components/Explorer/conditionsHelper.js.map +1 -0
  72. package/dist/components/Explorer/display-view-filters/ExplorerToolBar.d.ts +4 -0
  73. package/dist/components/Explorer/display-view-filters/ExplorerToolBar.js +47 -0
  74. package/dist/components/Explorer/display-view-filters/ExplorerToolBar.js.map +1 -0
  75. package/dist/components/Explorer/index.d.ts +1 -3
  76. package/dist/components/Explorer/index.js +1 -3
  77. package/dist/components/Explorer/index.js.map +1 -1
  78. package/dist/components/Explorer/{edit-settings → manage-view-settings/_shared}/ColumnItem.d.ts +2 -1
  79. package/dist/components/Explorer/manage-view-settings/_shared/ColumnItem.js +85 -0
  80. package/dist/components/Explorer/manage-view-settings/_shared/ColumnItem.js.map +1 -0
  81. package/dist/components/Explorer/manage-view-settings/_shared/CommonFilterItem.d.ts +5 -0
  82. package/dist/components/Explorer/manage-view-settings/_shared/CommonFilterItem.js +12 -0
  83. package/dist/components/Explorer/manage-view-settings/_shared/CommonFilterItem.js.map +1 -0
  84. package/dist/components/Explorer/manage-view-settings/_shared/useAttributeDetailsData.d.ts +11 -0
  85. package/dist/components/Explorer/manage-view-settings/_shared/useAttributeDetailsData.js +61 -0
  86. package/dist/components/Explorer/manage-view-settings/_shared/useAttributeDetailsData.js.map +1 -0
  87. package/dist/components/Explorer/manage-view-settings/configure-display/ConfigureDisplay.d.ts +6 -0
  88. package/dist/components/Explorer/manage-view-settings/configure-display/ConfigureDisplay.js +28 -0
  89. package/dist/components/Explorer/manage-view-settings/configure-display/ConfigureDisplay.js.map +1 -0
  90. package/dist/components/Explorer/manage-view-settings/configure-display/attributes/SelectVisibleAttributes.d.ts +6 -0
  91. package/dist/components/Explorer/manage-view-settings/configure-display/attributes/SelectVisibleAttributes.js +56 -0
  92. package/dist/components/Explorer/manage-view-settings/configure-display/attributes/SelectVisibleAttributes.js.map +1 -0
  93. package/dist/components/Explorer/manage-view-settings/configure-display/view-type/SelectViewType.d.ts +8 -0
  94. package/dist/components/Explorer/manage-view-settings/configure-display/view-type/SelectViewType.js +12 -0
  95. package/dist/components/Explorer/manage-view-settings/configure-display/view-type/SelectViewType.js.map +1 -0
  96. package/dist/components/Explorer/manage-view-settings/filter-items/FilterItems.d.ts +4 -0
  97. package/dist/components/Explorer/manage-view-settings/filter-items/FilterItems.js +78 -0
  98. package/dist/components/Explorer/manage-view-settings/filter-items/FilterItems.js.map +1 -0
  99. package/dist/components/Explorer/manage-view-settings/filter-items/FilterListItem.d.ts +9 -0
  100. package/dist/components/Explorer/manage-view-settings/filter-items/FilterListItem.js +33 -0
  101. package/dist/components/Explorer/manage-view-settings/filter-items/FilterListItem.js.map +1 -0
  102. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/BooleanAttributeDropdown.d.ts +3 -0
  103. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/BooleanAttributeDropdown.js +22 -0
  104. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/BooleanAttributeDropdown.js.map +1 -0
  105. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/ColorAttributeDropDown.d.ts +3 -0
  106. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/ColorAttributeDropDown.js +11 -0
  107. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/ColorAttributeDropDown.js.map +1 -0
  108. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/DateAttributeDropDown.d.ts +3 -0
  109. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/DateAttributeDropDown.js +66 -0
  110. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/DateAttributeDropDown.js.map +1 -0
  111. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/DateRangeAttributeDropDown.d.ts +3 -0
  112. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/DateRangeAttributeDropDown.js +11 -0
  113. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/DateRangeAttributeDropDown.js.map +1 -0
  114. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/EncryptedAttributeDropDown.d.ts +3 -0
  115. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/EncryptedAttributeDropDown.js +11 -0
  116. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/EncryptedAttributeDropDown.js.map +1 -0
  117. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/ExtendedAttributeDropDown.d.ts +3 -0
  118. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/ExtendedAttributeDropDown.js +11 -0
  119. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/ExtendedAttributeDropDown.js.map +1 -0
  120. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/FilterDropDown.d.ts +3 -0
  121. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/FilterDropDown.js +71 -0
  122. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/FilterDropDown.js.map +1 -0
  123. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/FilterValueList.d.ts +10 -0
  124. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/FilterValueList.js +75 -0
  125. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/FilterValueList.js.map +1 -0
  126. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/NumericAttributeDropDown.d.ts +3 -0
  127. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/NumericAttributeDropDown.js +19 -0
  128. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/NumericAttributeDropDown.js.map +1 -0
  129. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/TextAttributeDropDown.d.ts +3 -0
  130. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/TextAttributeDropDown.js +28 -0
  131. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/TextAttributeDropDown.js.map +1 -0
  132. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/useConditionOptionsByType.d.ts +11 -0
  133. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/useConditionOptionsByType.js +100 -0
  134. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/useConditionOptionsByType.js.map +1 -0
  135. package/dist/components/Explorer/manage-view-settings/index.d.ts +8 -0
  136. package/dist/components/Explorer/manage-view-settings/index.js +11 -0
  137. package/dist/components/Explorer/manage-view-settings/index.js.map +1 -0
  138. package/dist/components/Explorer/{edit-settings → manage-view-settings/open-view-settings}/EditSettingsContext.d.ts +2 -0
  139. package/dist/components/Explorer/{edit-settings → manage-view-settings/open-view-settings}/EditSettingsContext.js +1 -0
  140. package/dist/components/Explorer/manage-view-settings/open-view-settings/EditSettingsContext.js.map +1 -0
  141. package/dist/components/Explorer/manage-view-settings/open-view-settings/EditSettingsContextProvider.d.ts +7 -0
  142. package/dist/components/Explorer/{edit-settings → manage-view-settings/open-view-settings}/EditSettingsContextProvider.js +2 -1
  143. package/dist/components/Explorer/manage-view-settings/open-view-settings/EditSettingsContextProvider.js.map +1 -0
  144. package/dist/components/Explorer/{edit-settings → manage-view-settings/open-view-settings}/SidePanel.js +2 -2
  145. package/dist/components/Explorer/manage-view-settings/open-view-settings/SidePanel.js.map +1 -0
  146. package/dist/components/Explorer/manage-view-settings/open-view-settings/useEditSettings.js.map +1 -0
  147. package/dist/components/Explorer/manage-view-settings/open-view-settings/useOpenViewSettings.d.ts +5 -0
  148. package/dist/components/Explorer/manage-view-settings/open-view-settings/useOpenViewSettings.js +39 -0
  149. package/dist/components/Explorer/manage-view-settings/open-view-settings/useOpenViewSettings.js.map +1 -0
  150. package/dist/components/Explorer/manage-view-settings/router-menu/SettingItem.js.map +1 -0
  151. package/dist/components/Explorer/{edit-settings → manage-view-settings/router-menu}/SettingsPanel.d.ts +2 -1
  152. package/dist/components/Explorer/manage-view-settings/router-menu/SettingsPanel.js +70 -0
  153. package/dist/components/Explorer/manage-view-settings/router-menu/SettingsPanel.js.map +1 -0
  154. package/dist/components/Explorer/manage-view-settings/sort-items/SortItems.d.ts +4 -0
  155. package/dist/components/Explorer/manage-view-settings/sort-items/SortItems.js +109 -0
  156. package/dist/components/Explorer/manage-view-settings/sort-items/SortItems.js.map +1 -0
  157. package/dist/components/Explorer/manage-view-settings/sort-items/SortListItem.d.ts +10 -0
  158. package/dist/components/Explorer/manage-view-settings/sort-items/SortListItem.js +32 -0
  159. package/dist/components/Explorer/manage-view-settings/sort-items/SortListItem.js.map +1 -0
  160. package/dist/components/Explorer/manage-view-settings/store-view-settings/ViewSettingsContext.d.ts +6 -0
  161. package/dist/components/Explorer/manage-view-settings/store-view-settings/ViewSettingsContext.js +11 -0
  162. package/dist/components/Explorer/manage-view-settings/store-view-settings/ViewSettingsContext.js.map +1 -0
  163. package/dist/components/Explorer/manage-view-settings/store-view-settings/useViewSettingsContext.d.ts +4 -0
  164. package/dist/components/{RecordEdition/EditRecordContent/reducers/standardFieldReducer/useStandardFieldReducer.js → Explorer/manage-view-settings/store-view-settings/useViewSettingsContext.js} +3 -3
  165. package/dist/components/Explorer/manage-view-settings/store-view-settings/useViewSettingsContext.js.map +1 -0
  166. package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsInitialState.d.ts +4 -0
  167. package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsInitialState.js +24 -0
  168. package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsInitialState.js.map +1 -0
  169. package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsReducer.d.ts +145 -0
  170. package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsReducer.js +199 -0
  171. package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsReducer.js.map +1 -0
  172. package/dist/components/Explorer/{useCreateMainAction.d.ts → useCreateAction.d.ts} +3 -3
  173. package/dist/components/Explorer/{useCreateMainAction.js → useCreateAction.js} +11 -7
  174. package/dist/components/Explorer/useCreateAction.js.map +1 -0
  175. package/dist/components/Explorer/useDeactivateAction.js +3 -2
  176. package/dist/components/Explorer/useDeactivateAction.js.map +1 -1
  177. package/dist/components/Explorer/useEditAction.js +8 -6
  178. package/dist/components/Explorer/useEditAction.js.map +1 -1
  179. package/dist/components/Explorer/usePagination.d.ts +7 -0
  180. package/dist/components/Explorer/usePagination.js +25 -0
  181. package/dist/components/Explorer/usePagination.js.map +1 -0
  182. package/dist/components/Explorer/usePrimaryActions.d.ts +12 -0
  183. package/dist/components/Explorer/usePrimaryActions.js +21 -0
  184. package/dist/components/Explorer/usePrimaryActions.js.map +1 -0
  185. package/dist/components/Explorer/useSearchInput.d.ts +10 -0
  186. package/dist/components/Explorer/useSearchInput.js +31 -0
  187. package/dist/components/Explorer/useSearchInput.js.map +1 -0
  188. package/dist/components/Explorer/useTableScrollableHeight.d.ts +5 -0
  189. package/dist/components/Explorer/useTableScrollableHeight.js +15 -0
  190. package/dist/components/Explorer/useTableScrollableHeight.js.map +1 -0
  191. package/dist/components/Explorer/useViewSettingsReducer.d.ts +8 -0
  192. package/dist/components/Explorer/useViewSettingsReducer.js +125 -0
  193. package/dist/components/Explorer/useViewSettingsReducer.js.map +1 -0
  194. package/dist/components/ExportModal/ExportModal.js +2 -2
  195. package/dist/components/ExportModal/ExportModal.js.map +1 -1
  196. package/dist/components/ImportModal/ImportModalConfigStep/ImportModalConfigStep.js +5 -5
  197. package/dist/components/ImportModal/ImportModalConfigStep/ImportModalConfigStep.js.map +1 -1
  198. package/dist/components/LibraryItemsList/FiltersPanel/Filter/Filter.js +2 -2
  199. package/dist/components/LibraryItemsList/FiltersPanel/Filter/Filter.js.map +1 -1
  200. package/dist/components/LibraryItemsList/LibraryItemsListContent/LibraryItemsListContent.js +7 -11
  201. package/dist/components/LibraryItemsList/LibraryItemsListContent/LibraryItemsListContent.js.map +1 -1
  202. package/dist/components/LibraryItemsList/LibraryItemsListTable/Header/Header.js +7 -5
  203. package/dist/components/LibraryItemsList/LibraryItemsListTable/Header/Header.js.map +1 -1
  204. package/dist/components/LibraryItemsList/MenuView/MenuView.js +4 -9
  205. package/dist/components/LibraryItemsList/MenuView/MenuView.js.map +1 -1
  206. package/dist/components/LibraryItemsList/ViewPanel/EditView/EditView.js +2 -3
  207. package/dist/components/LibraryItemsList/ViewPanel/EditView/EditView.js.map +1 -1
  208. package/dist/components/LibraryItemsList/ViewPanel/View/View.js +3 -3
  209. package/dist/components/LibraryItemsList/ViewPanel/View/View.js.map +1 -1
  210. package/dist/components/LibraryItemsList/helpers/getFieldsFromView.js +4 -9
  211. package/dist/components/LibraryItemsList/helpers/getFieldsFromView.js.map +1 -1
  212. package/dist/components/LibraryItemsList/hooks/useLibraryView/useLibraryView.js +7 -5
  213. package/dist/components/LibraryItemsList/hooks/useLibraryView/useLibraryView.js.map +1 -1
  214. package/dist/components/LibraryItemsList/hooks/useSearchReducer/_types.d.ts +1 -1
  215. package/dist/components/LibraryItemsList/hooks/useSearchReducer/searchReducer.d.ts +1 -1
  216. package/dist/components/LibraryItemsList/hooks/useSearchReducer/searchReducer.js +25 -33
  217. package/dist/components/LibraryItemsList/hooks/useSearchReducer/searchReducer.js.map +1 -1
  218. package/dist/components/RecordEdition/EditRecord/EditRecord.d.ts +1 -0
  219. package/dist/components/RecordEdition/EditRecord/EditRecord.js +10 -18
  220. package/dist/components/RecordEdition/EditRecord/EditRecord.js.map +1 -1
  221. package/dist/components/RecordEdition/EditRecordContent/EditRecordContent.js +16 -3
  222. package/dist/components/RecordEdition/EditRecordContent/EditRecordContent.js.map +1 -1
  223. package/dist/components/RecordEdition/EditRecordContent/_types.d.ts +9 -20
  224. package/dist/components/RecordEdition/EditRecordContent/_types.js.map +1 -1
  225. package/dist/components/RecordEdition/EditRecordContent/antdUtils.d.ts +5 -1
  226. package/dist/components/RecordEdition/EditRecordContent/antdUtils.js +44 -34
  227. package/dist/components/RecordEdition/EditRecordContent/antdUtils.js.map +1 -1
  228. package/dist/components/RecordEdition/EditRecordContent/helpers/extractFormElements/extractFormElements.d.ts +3 -1
  229. package/dist/components/RecordEdition/EditRecordContent/helpers/extractFormElements/extractFormElements.js +8 -2
  230. package/dist/components/RecordEdition/EditRecordContent/helpers/extractFormElements/extractFormElements.js.map +1 -1
  231. package/dist/components/RecordEdition/EditRecordContent/uiElements/Container/Container.d.ts +3 -1
  232. package/dist/components/RecordEdition/EditRecordContent/uiElements/Container/Container.js +2 -2
  233. package/dist/components/RecordEdition/EditRecordContent/uiElements/Container/Container.js.map +1 -1
  234. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/LinkField.js +2 -2
  235. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/LinkField.js.map +1 -1
  236. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/MonoValueSelect/MonoValueSelect.d.ts +0 -1
  237. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/MonoValueSelect/MonoValueSelect.js +2 -7
  238. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/MonoValueSelect/MonoValueSelect.js.map +1 -1
  239. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/MultiValueSelect/MultiValueSelect.d.ts +0 -1
  240. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/MultiValueSelect/MultiValueSelect.js +2 -9
  241. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/MultiValueSelect/MultiValueSelect.js.map +1 -1
  242. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/ComputeIndicator.d.ts +6 -0
  243. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/ComputeIndicator.js +18 -0
  244. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/ComputeIndicator.js.map +1 -0
  245. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/DeleteAllValuesButton.d.ts +4 -0
  246. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/DeleteAllValuesButton.js +25 -0
  247. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/DeleteAllValuesButton.js.map +1 -0
  248. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardField.d.ts +5 -2
  249. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardField.js +145 -191
  250. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardField.js.map +1 -1
  251. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSBooleanWrapper.d.ts +2 -8
  252. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSBooleanWrapper.js +10 -30
  253. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSBooleanWrapper.js.map +1 -1
  254. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSColorPickerWrapper.d.ts +2 -13
  255. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSColorPickerWrapper.js +38 -45
  256. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSColorPickerWrapper.js.map +1 -1
  257. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSDatePickerWrapper.d.ts +3 -14
  258. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSDatePickerWrapper.js +31 -46
  259. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSDatePickerWrapper.js.map +1 -1
  260. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputEncryptedWrapper.d.ts +3 -14
  261. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputEncryptedWrapper.js +9 -77
  262. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputEncryptedWrapper.js.map +1 -1
  263. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputNumberWrapper.d.ts +3 -14
  264. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputNumberWrapper.js +29 -49
  265. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputNumberWrapper.js.map +1 -1
  266. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputWrapper.d.ts +3 -14
  267. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputWrapper.js +34 -54
  268. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputWrapper.js.map +1 -1
  269. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSRangePickerWrapper.d.ts +3 -14
  270. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSRangePickerWrapper.js +48 -64
  271. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSRangePickerWrapper.js.map +1 -1
  272. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSRichTextWrapper.d.ts +3 -14
  273. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSRichTextWrapper.js +30 -53
  274. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSRichTextWrapper.js.map +1 -1
  275. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValue.d.ts +16 -9
  276. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValue.js +66 -401
  277. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValue.js.map +1 -1
  278. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/ValuesList/DSListSelect.d.ts +4 -0
  279. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/ValuesList/{MonoValueSelect.js → DSListSelect.js} +45 -52
  280. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/ValuesList/DSListSelect.js.map +1 -0
  281. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/ValuesList/_types.d.ts +2 -9
  282. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/_types.d.ts +15 -0
  283. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/_types.js +2 -0
  284. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/_types.js.map +1 -0
  285. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/calculatedInheritedFlags.d.ts +42 -0
  286. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/calculatedInheritedFlags.js +55 -0
  287. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/calculatedInheritedFlags.js.map +1 -0
  288. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/useGetPresentationValues.d.ts +12 -0
  289. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/useGetPresentationValues.js +37 -0
  290. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/useGetPresentationValues.js.map +1 -0
  291. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/ValuesAdd/ValuesAdd.js +2 -2
  292. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/ValuesAdd/ValuesAdd.js.map +1 -1
  293. package/dist/components/RecordEdition/EditRecordModal/EditRecordModal.js +10 -4
  294. package/dist/components/RecordEdition/EditRecordModal/EditRecordModal.js.map +1 -1
  295. package/dist/components/RecordEdition/EditRecordPage/EditRecordPage.d.ts +2 -0
  296. package/dist/components/RecordEdition/EditRecordPage/EditRecordPage.js +2 -2
  297. package/dist/components/RecordEdition/EditRecordPage/EditRecordPage.js.map +1 -1
  298. package/dist/components/RecordEdition/EditRecordSidebar/EditRecordSidebar.d.ts +4 -1
  299. package/dist/components/RecordEdition/EditRecordSidebar/EditRecordSidebar.js +35 -3
  300. package/dist/components/RecordEdition/EditRecordSidebar/EditRecordSidebar.js.map +1 -1
  301. package/dist/components/RecordEdition/EditRecordSidebar/PropertiesList/PropertiesList.d.ts +4 -7
  302. package/dist/components/RecordEdition/EditRecordSidebar/PropertiesList/PropertiesList.js +6 -8
  303. package/dist/components/RecordEdition/EditRecordSidebar/PropertiesList/PropertiesList.js.map +1 -1
  304. package/dist/components/RecordEdition/EditRecordSidebar/RecordSummary/RecordInformations/RecordInformations.d.ts +9 -0
  305. package/dist/components/RecordEdition/EditRecordSidebar/RecordSummary/RecordInformations/RecordInformations.js +42 -0
  306. package/dist/components/RecordEdition/EditRecordSidebar/RecordSummary/RecordInformations/RecordInformations.js.map +1 -0
  307. package/dist/components/RecordEdition/EditRecordSidebar/RecordSummary/RecordInformations/useRecordInformations.d.ts +6 -0
  308. package/dist/components/RecordEdition/EditRecordSidebar/RecordSummary/RecordInformations/useRecordInformations.js +35 -0
  309. package/dist/components/RecordEdition/EditRecordSidebar/RecordSummary/RecordInformations/useRecordInformations.js.map +1 -0
  310. package/dist/components/RecordEdition/EditRecordSidebar/RecordSummary/RecordSummary.d.ts +2 -281
  311. package/dist/components/RecordEdition/EditRecordSidebar/RecordSummary/RecordSummary.js +25 -56
  312. package/dist/components/RecordEdition/EditRecordSidebar/RecordSummary/RecordSummary.js.map +1 -1
  313. package/dist/components/SelectTreeNode/SelectTreeNode.d.ts +4 -7
  314. package/dist/components/SelectTreeNode/SelectTreeNode.js +17 -135
  315. package/dist/components/SelectTreeNode/SelectTreeNode.js.map +1 -1
  316. package/dist/components/SelectTreeNode/SelectTreeNodeContent.d.ts +16 -0
  317. package/dist/components/SelectTreeNode/SelectTreeNodeContent.js +131 -0
  318. package/dist/components/SelectTreeNode/SelectTreeNodeContent.js.map +1 -0
  319. package/dist/components/SelectTreeNode/index.d.ts +1 -1
  320. package/dist/components/SelectTreeNode/index.js +1 -1
  321. package/dist/components/SelectTreeNode/index.js.map +1 -1
  322. package/dist/components/SelectTreeNodeModal/SelectTreeNodeModal.d.ts +4 -7
  323. package/dist/components/SelectTreeNodeModal/SelectTreeNodeModal.js +10 -10
  324. package/dist/components/SelectTreeNodeModal/SelectTreeNodeModal.js.map +1 -1
  325. package/dist/components/SelectTreeNodeModal/index.d.ts +1 -2
  326. package/dist/components/SelectTreeNodeModal/index.js +1 -2
  327. package/dist/components/SelectTreeNodeModal/index.js.map +1 -1
  328. package/dist/components/UploadFiles/UploadFiles.js +1 -1
  329. package/dist/components/UploadFiles/UploadFiles.js.map +1 -1
  330. package/dist/components/ValuesVersionConfigurator/VersionTree/VersionTree.js +2 -2
  331. package/dist/components/ValuesVersionConfigurator/VersionTree/VersionTree.js.map +1 -1
  332. package/dist/constants.d.ts +1 -0
  333. package/dist/constants.js +1 -0
  334. package/dist/constants.js.map +1 -1
  335. package/dist/hooks/useDebouncedValue/index.d.ts +1 -0
  336. package/dist/{components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValueDisplayHandler → hooks/useDebouncedValue}/index.js +1 -1
  337. package/dist/hooks/useDebouncedValue/index.js.map +1 -0
  338. package/dist/hooks/useExecuteSaveViewMutation/index.d.ts +1 -0
  339. package/dist/{components/RecordEdition/EditRecordContent/reducers/standardFieldReducer → hooks/useExecuteSaveViewMutation}/index.js +1 -2
  340. package/dist/hooks/useExecuteSaveViewMutation/index.js.map +1 -0
  341. package/dist/hooks/useExecuteSaveViewMutation/useExecuteSaveViewMutation.d.ts +6 -0
  342. package/dist/hooks/{useExecuteAddViewMutation/useExecuteAddViewMutation.js → useExecuteSaveViewMutation/useExecuteSaveViewMutation.js} +6 -6
  343. package/dist/hooks/useExecuteSaveViewMutation/useExecuteSaveViewMutation.js.map +1 -0
  344. package/dist/hooks/useGetRecordForm/useGetRecordForm.d.ts +1 -0
  345. package/dist/hooks/useGetRecordForm/useGetRecordForm.js.map +1 -1
  346. package/dist/locales/en/shared.json +68 -14
  347. package/dist/locales/fr/shared.json +68 -14
  348. package/dist/types/views.d.ts +4 -4
  349. package/package.json +7 -2
  350. package/dist/components/Explorer/edit-settings/ColumnItem.js +0 -62
  351. package/dist/components/Explorer/edit-settings/ColumnItem.js.map +0 -1
  352. package/dist/components/Explorer/edit-settings/DisplayMode.d.ts +0 -6
  353. package/dist/components/Explorer/edit-settings/DisplayMode.js +0 -28
  354. package/dist/components/Explorer/edit-settings/DisplayMode.js.map +0 -1
  355. package/dist/components/Explorer/edit-settings/DisplayModeTable.d.ts +0 -6
  356. package/dist/components/Explorer/edit-settings/DisplayModeTable.js +0 -77
  357. package/dist/components/Explorer/edit-settings/DisplayModeTable.js.map +0 -1
  358. package/dist/components/Explorer/edit-settings/EditSettingsContext.js.map +0 -1
  359. package/dist/components/Explorer/edit-settings/EditSettingsContextProvider.d.ts +0 -2
  360. package/dist/components/Explorer/edit-settings/EditSettingsContextProvider.js.map +0 -1
  361. package/dist/components/Explorer/edit-settings/SettingItem.js.map +0 -1
  362. package/dist/components/Explorer/edit-settings/SettingsPanel.js +0 -53
  363. package/dist/components/Explorer/edit-settings/SettingsPanel.js.map +0 -1
  364. package/dist/components/Explorer/edit-settings/SidePanel.js.map +0 -1
  365. package/dist/components/Explorer/edit-settings/useEditSettings.js.map +0 -1
  366. package/dist/components/Explorer/edit-settings/useGetLibraryColumns.d.ts +0 -10
  367. package/dist/components/Explorer/edit-settings/useGetLibraryColumns.js +0 -24
  368. package/dist/components/Explorer/edit-settings/useGetLibraryColumns.js.map +0 -1
  369. package/dist/components/Explorer/edit-settings/useOpenSettings.d.ts +0 -1
  370. package/dist/components/Explorer/edit-settings/useOpenSettings.js +0 -19
  371. package/dist/components/Explorer/edit-settings/useOpenSettings.js.map +0 -1
  372. package/dist/components/Explorer/useCreateMainAction.js.map +0 -1
  373. package/dist/components/RecordEdition/EditRecordContent/reducers/standardFieldReducer/index.d.ts +0 -2
  374. package/dist/components/RecordEdition/EditRecordContent/reducers/standardFieldReducer/index.js.map +0 -1
  375. package/dist/components/RecordEdition/EditRecordContent/reducers/standardFieldReducer/standardFieldReducer.d.ts +0 -138
  376. package/dist/components/RecordEdition/EditRecordContent/reducers/standardFieldReducer/standardFieldReducer.js +0 -361
  377. package/dist/components/RecordEdition/EditRecordContent/reducers/standardFieldReducer/standardFieldReducer.js.map +0 -1
  378. package/dist/components/RecordEdition/EditRecordContent/reducers/standardFieldReducer/standardFieldReducerContext.d.ts +0 -7
  379. package/dist/components/RecordEdition/EditRecordContent/reducers/standardFieldReducer/standardFieldReducerContext.js.map +0 -1
  380. package/dist/components/RecordEdition/EditRecordContent/reducers/standardFieldReducer/useStandardFieldReducer.d.ts +0 -1
  381. package/dist/components/RecordEdition/EditRecordContent/reducers/standardFieldReducer/useStandardFieldReducer.js.map +0 -1
  382. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/Inputs/CheckboxInput.d.ts +0 -3
  383. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/Inputs/CheckboxInput.js +0 -14
  384. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/Inputs/CheckboxInput.js.map +0 -1
  385. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/Inputs/ColorInput.d.ts +0 -3
  386. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/Inputs/ColorInput.js +0 -22
  387. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/Inputs/ColorInput.js.map +0 -1
  388. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/Inputs/DateInput.d.ts +0 -3
  389. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/Inputs/DateInput.js +0 -22
  390. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/Inputs/DateInput.js.map +0 -1
  391. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/Inputs/EncryptedInput.d.ts +0 -3
  392. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/Inputs/EncryptedInput.js +0 -19
  393. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/Inputs/EncryptedInput.js.map +0 -1
  394. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/Inputs/NumberInput.d.ts +0 -3
  395. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/Inputs/NumberInput.js +0 -32
  396. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/Inputs/NumberInput.js.map +0 -1
  397. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/Inputs/RichTextEditorInput.d.ts +0 -3
  398. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/Inputs/RichTextEditorInput.js +0 -51
  399. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/Inputs/RichTextEditorInput.js.map +0 -1
  400. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/Inputs/TextInput.d.ts +0 -3
  401. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/Inputs/TextInput.js +0 -26
  402. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/Inputs/TextInput.js.map +0 -1
  403. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValueDisplayHandler/StandardFieldValueDisplayHandler.d.ts +0 -13
  404. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValueDisplayHandler/StandardFieldValueDisplayHandler.js +0 -90
  405. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValueDisplayHandler/StandardFieldValueDisplayHandler.js.map +0 -1
  406. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValueDisplayHandler/StandardFieldValueRead/ColorPickerBlock.d.ts +0 -7
  407. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValueDisplayHandler/StandardFieldValueRead/ColorPickerBlock.js +0 -45
  408. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValueDisplayHandler/StandardFieldValueRead/ColorPickerBlock.js.map +0 -1
  409. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValueDisplayHandler/StandardFieldValueRead/StandardFieldValueRead.d.ts +0 -9
  410. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValueDisplayHandler/StandardFieldValueRead/StandardFieldValueRead.js +0 -141
  411. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValueDisplayHandler/StandardFieldValueRead/StandardFieldValueRead.js.map +0 -1
  412. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValueDisplayHandler/index.d.ts +0 -1
  413. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValueDisplayHandler/index.js.map +0 -1
  414. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/ValuesList/MonoValueSelect.d.ts +0 -3
  415. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/ValuesList/MonoValueSelect.js.map +0 -1
  416. package/dist/hooks/useExecuteAddViewMutation/useExecuteAddViewMutation.d.ts +0 -6
  417. package/dist/hooks/useExecuteAddViewMutation/useExecuteAddViewMutation.js.map +0 -1
  418. /package/dist/components/Explorer/{edit-settings → manage-view-settings/open-view-settings}/SidePanel.d.ts +0 -0
  419. /package/dist/components/Explorer/{edit-settings → manage-view-settings/open-view-settings}/useEditSettings.d.ts +0 -0
  420. /package/dist/components/Explorer/{edit-settings → manage-view-settings/open-view-settings}/useEditSettings.js +0 -0
  421. /package/dist/components/Explorer/{edit-settings → manage-view-settings/router-menu}/SettingItem.d.ts +0 -0
  422. /package/dist/components/Explorer/{edit-settings → manage-view-settings/router-menu}/SettingItem.js +0 -0
@@ -0,0 +1,6 @@
1
+ import { FetchResult } from '@apollo/client';
2
+ import { SaveViewMutation, SaveViewMutationVariables } from '../../_gqlTypes';
3
+ export interface IUseSaveViewMutationHook {
4
+ saveView: (variables: SaveViewMutationVariables) => Promise<FetchResult<SaveViewMutation>>;
5
+ }
6
+ export default function useExecuteSaveViewMutation(): IUseSaveViewMutationHook;
@@ -1,10 +1,10 @@
1
- import { useAddViewMutation } from '../../_gqlTypes';
1
+ import { useSaveViewMutation } from '../../_gqlTypes';
2
2
  import { getViewsListQuery } from '../../_queries/views/getViewsListQuery';
3
- export default function useExecuteAddViewMutation() {
4
- const [executeAddView] = useAddViewMutation();
3
+ export default function useExecuteSaveViewMutation() {
4
+ const [executeSaveView] = useSaveViewMutation();
5
5
  return {
6
- addView(variables) {
7
- return executeAddView({
6
+ saveView(variables) {
7
+ return executeSaveView({
8
8
  variables,
9
9
  update: (cache, mutationResult, options) => {
10
10
  if (options.variables.view.id) {
@@ -33,4 +33,4 @@ export default function useExecuteAddViewMutation() {
33
33
  }
34
34
  };
35
35
  }
36
- //# sourceMappingURL=useExecuteAddViewMutation.js.map
36
+ //# sourceMappingURL=useExecuteSaveViewMutation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useExecuteSaveViewMutation.js","sourceRoot":"","sources":["../../../src/hooks/useExecuteSaveViewMutation/useExecuteSaveViewMutation.ts"],"names":[],"mappings":"AAIA,OAAO,EAKH,mBAAmB,EACtB,MAAM,eAAe,CAAC;AACvB,OAAO,EAAC,iBAAiB,EAAC,MAAM,sCAAsC,CAAC;AAMvE,MAAM,CAAC,OAAO,UAAU,0BAA0B;IAC9C,MAAM,CAAC,eAAe,CAAC,GAAG,mBAAmB,EAAE,CAAC;IAEhD,OAAO;QACH,QAAQ,CAAC,SAAS;YACd,OAAO,eAAe,CAAC;gBACnB,SAAS;gBACT,MAAM,EAAE,CAAC,KAAK,EAAE,cAAc,EAAE,OAAO,EAAE,EAAE;oBACvC,IAAI,OAAO,CAAC,SAAS,CAAC,IAAI,CAAC,EAAE,EAAE,CAAC;wBAC5B,OAAO,CAAC,iBAAiB;oBAC7B,CAAC;oBAED,MAAM,aAAa,GAAG;wBAClB,KAAK,EAAE,iBAAiB;wBACxB,SAAS,EAAE;4BACP,SAAS,EAAE,OAAO,CAAC,SAAS,CAAC,IAAI,CAAC,OAAO;yBAC5C;qBACJ,CAAC;oBAEF,MAAM,SAAS,GAAG,KAAK,CAAC,SAAS,CAAgD,aAAa,CAAC,CAAC;oBAEhG,IAAI,SAAS,EAAE,CAAC;wBACZ,KAAK,CAAC,UAAU,CAAgD;4BAC5D,GAAG,aAAa;4BAChB,IAAI,EAAE;gCACF,KAAK,EAAE;oCACH,IAAI,EAAE,CAAC,GAAG,SAAS,CAAC,KAAK,CAAC,IAAI,EAAE,cAAc,CAAC,IAAI,CAAC,QAAQ,CAAC;oCAC7D,UAAU,EAAE,SAAS,CAAC,KAAK,CAAC,UAAU,GAAG,CAAC;iCAC7C;6BACJ;yBACJ,CAAC,CAAC;oBACP,CAAC;gBACL,CAAC;aACJ,CAAC,CAAC;QACP,CAAC;KACJ,CAAC;AACN,CAAC"}
@@ -39,6 +39,7 @@ export type RecordFormElement = Override<RecordFormElementFragment, {
39
39
  export type IRecordForm = Override<RecordFormQuery['recordForm'], {
40
40
  elements: RecordFormElement[];
41
41
  }>;
42
+ export type RecordFormElementAttribute = RecordFormElement['attribute'];
42
43
  export interface IUseGetRecordFormHook {
43
44
  loading: boolean;
44
45
  error: ApolloError;
@@ -1 +1 @@
1
- {"version":3,"file":"useGetRecordForm.js","sourceRoot":"","sources":["../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EAAE,CAAC,CAAC,GAAG,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC;4BAC9C,GAAG,QAAQ;4BACX,KAAK,EAAE;gCACH,GAAG,QAAQ,CAAC,KAAK;gCACjB,OAAO,EAAE,yBAAyB,CAAC,QAAQ,CAAC,KAAK,EAAE,OAAO,IAAI,EAAE,CAAC;6BACpE;yBACJ,CAAC,CAAC;qBACN,CAAC,CAAC;iBACN,CAAC,CACL;aACJ,CAAC;YAEF,aAAa,CAAC,mBAAmB,CAAC,CAAC;QACvC,CAAC;KACJ,CAAC,CAAC;IAEH,MAAM,iBAAiB,GAAG,GAAG,EAAE,CAC3B,OAAO,CAAC;QACJ,SAAS;QACT,QAAQ;QACR,MAAM;QACN,OAAO,EAAE,cAAc;KAC1B,CAAC,CAAC;IAEP,kHAAkH;IAClH,2BAA2B;IAC3B,OAAO,EAAC,OAAO,EAAE,OAAO,IAAI,CAAC,CAAC,UAAU,IAAI,CAAC,KAAK,CAAC,EAAE,KAAK,EAAE,UAAU,EAAE,OAAO,EAAE,iBAAiB,EAAC,CAAC;AACxG,CAAC,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
@@ -164,7 +164,8 @@
164
164
  "advanced_settings": "Advanced settings",
165
165
  "delete": "Delete tree",
166
166
  "delete_confirm": "Do you really want to delete this tree?",
167
- "delete_confirm_warning": "Warning: this action is irreversible"
167
+ "delete_confirm_warning": "Warning: this action is irreversible",
168
+ "unknown_tree": "Unknown tree {{treeId}}"
168
169
  },
169
170
  "lang": {
170
171
  "fr": "French",
@@ -402,6 +403,7 @@
402
403
  "link_created_at": "Linked at",
403
404
  "add_value": "Add value",
404
405
  "add_value_link": "Add link",
406
+ "delete_value": "Delete value",
405
407
  "delete_value_confirm": "Do you really want to delete this value?",
406
408
  "whoAmI": "Information",
407
409
  "no_value": "No value",
@@ -423,6 +425,7 @@
423
425
  "metadata_section": "Value properties",
424
426
  "metadata_section_link": "Link properties",
425
427
  "value_length": "{{length}} characters",
428
+ "delete_all": "Delete all",
426
429
  "delete_all_values": "Delete all values",
427
430
  "delete_all_values_confirm": "Do you really want to delete all values?",
428
431
  "value_details_tooltip": "More details",
@@ -453,9 +456,9 @@
453
456
  "cancel_confirm_modal_title": "Confirm cancellation?",
454
457
  "cancel_confirm_modal_content": "You are about to cancel the creation.",
455
458
  "cancel_confirm_modal_question": "Are you sure?",
456
- "record_select": "Select a record",
457
- "inherited_input_helper": "Inherited value: {{- inheritedValue}}",
458
- "calculated_input_helper": "Calculated value: {{- calculatedValue}}",
459
+ "inherited_value": "Inherited value",
460
+ "calculated_value": "Calculated value",
461
+ "overrided_value": "Overrided value",
459
462
  "date_range_from_to": "from {{- from}} to {{- to}}",
460
463
  "link_search_result_count": "Results ({{count}}/{{total}})",
461
464
  "suggestions_count": "Suggestions ({{count}})",
@@ -463,7 +466,19 @@
463
466
  "press_enter_to": "Press enter to ",
464
467
  "select_this_value": "Select this value",
465
468
  "select_option": "Select option ",
466
- "create_and_select_option": "Create and select option "
469
+ "create_and_select_option": "Create and select option ",
470
+ "please_select_value_before_adding": "Please select a value before adding a new one",
471
+ "placeholder": {
472
+ "record_select": "Select a record",
473
+ "enter_a_text": "Enter a text",
474
+ "enter_a_date": "Enter a date (e.g. 12/25/2024)",
475
+ "enter_a_period": "Enter a period",
476
+ "enter_a_number": "Enter a number",
477
+ "enter_a_password": "Enter a password",
478
+ "start_date": "Start date",
479
+ "end_date": "End date",
480
+ "select_an_option": "Select an option"
481
+ }
467
482
  },
468
483
  "record_summary": {
469
484
  "preview_title": "Click here to visualize preview.",
@@ -473,7 +488,16 @@
473
488
  "created_at": "Created on",
474
489
  "created_at_value": "{{date}} by {{user}}",
475
490
  "modified_at": "Modified on",
476
- "modified_at_value": "{{date}} by {{user}}"
491
+ "modified_at_value": "{{date}} by {{user}}",
492
+ "new_record": "New record",
493
+ "id_entity": "Entity identifier",
494
+ "creation": "Creation",
495
+ "last_modification": "Last modification",
496
+ "date_by_user": "{{date}} by {{user}}",
497
+ "open_preview_modal": "Open preview modal",
498
+ "informations": "Informations",
499
+ "chat": "Chat",
500
+ "history": "History"
477
501
  },
478
502
  "view": {
479
503
  "views": "Views",
@@ -606,14 +630,44 @@
606
630
  "edit-item": "Edit item",
607
631
  "settings": "Settings",
608
632
  "back": "Back",
609
- "view-configuration": "View Configuration",
610
- "display-mode": "Display Mode",
611
- "display-mode-list": "List",
612
- "display-mode-table": "Table",
613
- "display-mode-mosaic": "Mosaic",
614
- "display-mode-planning": "Planning",
633
+ "router-menu": "View Configuration",
634
+ "configure-display": "Display Mode",
635
+ "view-type-list": "List",
636
+ "view-type-table": "Table",
637
+ "view-type-mosaic": "Mosaic",
638
+ "view-type-planning": "Planning",
615
639
  "filters": "Filters",
616
- "sort": "Sort",
617
- "coming-soon": "Coming soon"
640
+ "sort-items": "Sort",
641
+ "filter-items": "Filter",
642
+ "sort-ascending": "Ascending",
643
+ "sort-descending": "Descending",
644
+ "sort-list": {
645
+ "active": "Active sorts",
646
+ "inactive": "Inactive sorts"
647
+ },
648
+ "toolbar": {
649
+ "active": "Active filters",
650
+ "inactive": "Inactive filters"
651
+ },
652
+ "reset-filter": "Reset filter",
653
+ "reset-view": "Reset view",
654
+ "empty-data": "No items found.",
655
+ "available-attributes": "Other available attributes",
656
+ "coming-soon": "Coming soon",
657
+ "show": "Show",
658
+ "hide": "Hide",
659
+ "columns": "Columns",
660
+ "visible-columns": "Visible columns",
661
+ "invisible-columns": "Invisible columns",
662
+ "pagination-total-number": "{{from, number}} - {{to, number}} of {{total, number}} items",
663
+ "active-items-number": "{{count, number}} active",
664
+ "active-items-number_zero": "None",
665
+ "invalid-value": "Invalid value",
666
+ "type-a-value": "Type a value",
667
+ "save-view": "Save",
668
+ "reinit-view": "Reset",
669
+ "select-condition": "Select condition",
670
+ "true": "True",
671
+ "false": "False"
618
672
  }
619
673
  }
@@ -164,7 +164,8 @@
164
164
  "advanced_settings": "Paramètres avancés",
165
165
  "delete": "Supprimer l'arbre",
166
166
  "delete_confirm": "Êtes-vous sûr de vouloir supprimer cet arbre ?",
167
- "delete_confirm_warning": "Attention, cette action est irréversible"
167
+ "delete_confirm_warning": "Attention, cette action est irréversible",
168
+ "unknown_tree": "Arbre {{treeId}} inconnu"
168
169
  },
169
170
  "lang": {
170
171
  "fr": "Français",
@@ -402,6 +403,7 @@
402
403
  "link_created_at": "Lié le",
403
404
  "add_value": "Ajouter une valeur",
404
405
  "add_value_link": "Ajouter une liaison",
406
+ "delete_value": "Supprimer cette valeur",
405
407
  "delete_value_confirm": "Êtes-vous sûr de vouloir supprimer cette valeur?",
406
408
  "whoAmI": "Informations",
407
409
  "no_value": "Pas de valeur",
@@ -423,6 +425,7 @@
423
425
  "metadata_section": "Propriétés de la valeur",
424
426
  "metadata_section_link": "Propriétés de la liaison",
425
427
  "value_length": "{{length}} caractère(s)",
428
+ "delete_all": "Tout supprimer",
426
429
  "delete_all_values": "Supprimer toutes les valeurs",
427
430
  "delete_all_values_confirm": "Êtes-vous sûr de vouloir supprimer toutes les valeurs?",
428
431
  "value_details_tooltip": "Plus d'informations",
@@ -453,9 +456,9 @@
453
456
  "cancel_confirm_modal_title": "Confirmer l'abandon?",
454
457
  "cancel_confirm_modal_content": "Vous êtes sur le point d'abandonner la création.",
455
458
  "cancel_confirm_modal_question": "Êtes-vous sûr(e) ?",
456
- "record_select": "Sélectionnez un élément",
457
- "inherited_input_helper": "Valeur héritée : {{- inheritedValue }}",
458
- "calculated_input_helper": "Valeur calculée : {{- calculatedValue}}",
459
+ "inherited_value": "Valeur héritée",
460
+ "calculated_value": "Valeur calculée",
461
+ "overrided_value": "Valeur surchargée",
459
462
  "date_range_from_to": "du {{- from}} au {{- to}}",
460
463
  "link_search_result_count": "Résultats ({{count}}/{{total}})",
461
464
  "suggestions_count": "Suggestions ({{count}})",
@@ -463,7 +466,19 @@
463
466
  "press_enter_to": "Appuyer sur Entrer pour ",
464
467
  "select_this_value": "Sélectionner cette valeur",
465
468
  "select_option": "Sélectionner l’option ",
466
- "create_and_select_option": "Créer et sélectionner l’option "
469
+ "create_and_select_option": "Créer et sélectionner l’option ",
470
+ "please_select_value_before_adding": "Veuillez sélectionner une valeur avant d'en ajouter une nouvelle",
471
+ "placeholder": {
472
+ "record_select": "Sélectionnez un élément",
473
+ "enter_a_text": "Saisir un texte",
474
+ "enter_a_date": "Saisir une date (ex: 25/12/2024)",
475
+ "enter_a_period": "Saisir une période",
476
+ "enter_a_number": "Saisir un nombre",
477
+ "enter_a_password": "Saisir un mot de passe",
478
+ "start_date": "Date de début",
479
+ "end_date": "Date de fin",
480
+ "select_an_option": "Sélectionner une option"
481
+ }
467
482
  },
468
483
  "record_summary": {
469
484
  "preview_title": "Cliquez ici pour voir l’aperçu.",
@@ -473,7 +488,16 @@
473
488
  "created_at": "Créé le",
474
489
  "created_at_value": "{{date}} par {{user}}",
475
490
  "modified_at": "Modifié le",
476
- "modified_at_value": "{{date}} par {{user}}"
491
+ "modified_at_value": "{{date}} par {{user}}",
492
+ "new_record": "Nouvel élément",
493
+ "id_entity": "Identifiant entité",
494
+ "creation": "Création",
495
+ "last_modification": "Dernière modification",
496
+ "date_by_user": "Le {{date}} par {{user}}",
497
+ "open_preview_modal": "Ouvrir la modale d'aperçu",
498
+ "informations": "Informations",
499
+ "chat": "Chat",
500
+ "history": "Historique"
477
501
  },
478
502
  "view": {
479
503
  "views": "Vues",
@@ -606,14 +630,44 @@
606
630
  "edit-item": "Éditer l’élément",
607
631
  "settings": "Paramètres",
608
632
  "back": "Retour",
609
- "view-configuration": "Configuration de la vue",
610
- "display-mode": "Mode d’affichage",
611
- "display-mode-list": "Liste",
612
- "display-mode-table": "Tableau",
613
- "display-mode-mosaic": "Mosaïque",
614
- "display-mode-planning": "Planning",
633
+ "router-menu": "Configuration de la vue",
634
+ "configure-display": "Mode d’affichage",
635
+ "view-type-list": "Liste",
636
+ "view-type-table": "Tableau",
637
+ "view-type-mosaic": "Mosaïque",
638
+ "view-type-planning": "Planning",
615
639
  "filters": "Filtrer",
616
- "sort": "Trier",
617
- "coming-soon": "A venir"
640
+ "sort-items": "Trier",
641
+ "filter-items": "Filtrer",
642
+ "sort-list": {
643
+ "active": "Tris actifs",
644
+ "inactive": "Tris inactifs"
645
+ },
646
+ "toolbar": {
647
+ "active": "Filtres actifs",
648
+ "inactive": "Filtres inactifs"
649
+ },
650
+ "reset-filter": "Réinitialiser le filtre",
651
+ "reset-view": "Réinitialiser la vue",
652
+ "empty-data": "Aucun élément trouvé.",
653
+ "sort-ascending": "Ascendant",
654
+ "sort-descending": "Descendant",
655
+ "available-attributes": "Autres propriétés disponibles",
656
+ "coming-soon": "À venir",
657
+ "show": "Afficher",
658
+ "hide": "Masquer",
659
+ "pagination-total-number": "{{from, number}} - {{to, number}} de {{total, number}} éléments",
660
+ "columns": "Colonnes",
661
+ "visible-columns": "Colonnes visibles",
662
+ "invisible-columns": "Colonnes invisibles",
663
+ "active-items-number": "{{count, number}} actifs",
664
+ "active-items-number_zero": "Aucun",
665
+ "invalid-value": "Valeur invalide",
666
+ "type-a-value": "Saisissez une valeur",
667
+ "save-view": "Enregistrer",
668
+ "reinit-view": "Réinitialiser",
669
+ "select-condition": "Sélectionner une condition",
670
+ "true": "Vrai",
671
+ "false": "Faux"
618
672
  }
619
673
  }
@@ -13,12 +13,12 @@ export interface IView {
13
13
  color?: string;
14
14
  filters?: IFilter[];
15
15
  valuesVersions?: IValueVersion;
16
- settings?: IGetViewListSettings[];
17
- sort?: IGetViewListSort;
16
+ sort?: IGetViewListSort[];
17
+ attributes?: string[];
18
18
  }
19
19
  export interface IViewDisplay {
20
20
  type: ViewTypes;
21
- size: ViewSizes;
21
+ size?: ViewSizes;
22
22
  }
23
23
  export interface IGetViewListSort {
24
24
  field: string;
@@ -29,6 +29,6 @@ export interface IGetViewListSettings {
29
29
  value?: any;
30
30
  }
31
31
  export interface IGetViewListDisplay {
32
- size: ViewSizes;
32
+ size?: ViewSizes;
33
33
  type: ViewTypes;
34
34
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leav/ui",
3
- "version": "0.3.6-3d13092",
3
+ "version": "0.3.6-412fb2f",
4
4
  "description": "Shared React components and hooks",
5
5
  "scripts": {
6
6
  "prepublishOnly": "yarn build",
@@ -34,6 +34,7 @@
34
34
  "@total-typescript/ts-reset": "0.6.1",
35
35
  "@types/dompurify": "3.0.3",
36
36
  "@types/jest": "29.0.2",
37
+ "@types/lodash.isequal": "^4",
37
38
  "@types/object-path": "0.11.1",
38
39
  "@types/react-beautiful-dnd": "13.1.2",
39
40
  "@types/react-table": "7.7.12",
@@ -51,7 +52,7 @@
51
52
  "@ant-design/icons": ">=5.2",
52
53
  "@apollo/client": ">=3.8.1",
53
54
  "antd": "5.15.3",
54
- "aristid-ds": "10.1.0-b8e3d81",
55
+ "aristid-ds": "11.0.0-6ec698b",
55
56
  "dayjs": "^1.11.10",
56
57
  "i18next": "22.5",
57
58
  "react": "18.2.0",
@@ -64,10 +65,14 @@
64
65
  "dependencies": {
65
66
  "@ckeditor/ckeditor5-build-inline": "39.0.1",
66
67
  "@ckeditor/ckeditor5-react": "6.1.0",
68
+ "@dnd-kit/core": "6.1.0",
69
+ "@dnd-kit/sortable": "8.0.0",
67
70
  "@leav/utils": "0.0.3",
71
+ "@uidotdev/usehooks": "2.4.1",
68
72
  "dompurify": "3.1.3",
69
73
  "html-react-parser": "4.2.2",
70
74
  "i18next-resources-to-backend": "1.1.4",
75
+ "lodash.isequal": "4.5.0",
71
76
  "moment": "2.30.1",
72
77
  "object-path": "0.11.8",
73
78
  "react-beautiful-dnd": "13.1.1",
@@ -1,62 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- // Copyright LEAV Solutions 2017 until 2023/11/05, Copyright Aristid from 2023/11/06
3
- // This file is released under LGPL V3
4
- // License text available at https://www.gnu.org/licenses/lgpl-3.0.txt
5
- import { KitTypography } from 'aristid-ds';
6
- import { FaEye, FaEyeSlash } from 'react-icons/fa';
7
- import styled from 'styled-components';
8
- const StyledValue = styled(KitTypography.Text) `
9
- color: var(--general-utilities-disabled);
10
- `;
11
- const StyledConfigurationItem = styled.li `
12
- list-style: none;
13
- color: var(--general-utilities-text-primary);
14
- display: flex;
15
- width: 100%;
16
- height: 40px;
17
- padding: 0 calc(var(--general-spacing-xs) * 1px);
18
- align-items: center;
19
- gap: calc(var(--general-spacing-xs) * 1px);
20
- border-radius: calc(var(--general-spacing-xs) * 1px);
21
- text-align: left;
22
-
23
- &:first-child {
24
- margin-top: calc(var(--general-spacing-xs) * 1px);
25
- }
26
-
27
- &:hover {
28
- background: var(--general-utilities-main-light);
29
-
30
- ${StyledValue} {
31
- color: var(--general-utilities-text-primary);
32
- }
33
- }
34
-
35
- .title {
36
- flex: 1 1 auto;
37
- }
38
-
39
- > svg {
40
- flex: 0 0 calc(var(--general-spacing-s) * 1px);
41
- }
42
-
43
- > button {
44
- border: none;
45
- background: transparent;
46
- padding: 0;
47
- &:not([disabled]) {
48
- cursor: pointer;
49
- }
50
- }
51
- `;
52
- const StyledFaEye = styled(FaEye) `
53
- color: currentColor;
54
- `;
55
- const StyledEyeSlash = styled(FaEyeSlash) `
56
- color: var(--general-utilities-disabled);
57
- `;
58
- const StyledEmptyIcon = styled.div `
59
- width: calc(var(--general-spacing-s) * 1px);
60
- `;
61
- export const ColumnItem = ({ dragHandler, title, disabled, visible, onVisibilityClick }) => (_jsxs(StyledConfigurationItem, { className: disabled ? 'disabled' : '', children: [dragHandler || _jsx(StyledEmptyIcon, {}), _jsx(KitTypography.Text, { size: "fontSize5", ellipsis: true, className: "title", children: title }), _jsx("button", { disabled: disabled, onClick: onVisibilityClick, children: visible ? _jsx(StyledFaEye, {}) : _jsx(StyledEyeSlash, {}) })] }));
62
- //# sourceMappingURL=ColumnItem.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ColumnItem.js","sourceRoot":"","sources":["../../../../src/components/Explorer/edit-settings/ColumnItem.tsx"],"names":[],"mappings":";AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,aAAa,EAAC,MAAM,YAAY,CAAC;AAEzC,OAAO,EAAiB,KAAK,EAAE,UAAU,EAAc,MAAM,gBAAgB,CAAC;AAC9E,OAAO,MAAM,MAAM,mBAAmB,CAAC;AAEvC,MAAM,WAAW,GAAG,MAAM,CAAC,aAAa,CAAC,IAAI,CAAC,CAAA;;CAE7C,CAAC;AAEF,MAAM,uBAAuB,GAAG,MAAM,CAAC,EAAE,CAAA;;;;;;;;;;;;;;;;;;;UAmB/B,WAAW;;;;;;;;;;;;;;;;;;;;;CAqBpB,CAAC;AAEF,MAAM,WAAW,GAAG,MAAM,CAAC,KAAK,CAAC,CAAA;;CAEhC,CAAC;AAEF,MAAM,cAAc,GAAG,MAAM,CAAC,UAAU,CAAC,CAAA;;CAExC,CAAC;AAEF,MAAM,eAAe,GAAG,MAAM,CAAC,GAAG,CAAA;;CAEjC,CAAC;AAWF,MAAM,CAAC,MAAM,UAAU,GAAwC,CAAC,EAC5D,WAAW,EACX,KAAK,EACL,QAAQ,EACR,OAAO,EACP,iBAAiB,EACpB,EAAE,EAAE,CAAC,CACF,MAAC,uBAAuB,IAAC,SAAS,EAAE,QAAQ,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,EAAE,aACzD,WAAW,IAAI,KAAC,eAAe,KAAG,EACnC,KAAC,aAAa,CAAC,IAAI,IAAC,IAAI,EAAC,WAAW,EAAC,QAAQ,QAAC,SAAS,EAAC,OAAO,YAC1D,KAAK,GACW,EACrB,iBAAQ,QAAQ,EAAE,QAAQ,EAAE,OAAO,EAAE,iBAAiB,YACjD,OAAO,CAAC,CAAC,CAAC,KAAC,WAAW,KAAG,CAAC,CAAC,CAAC,KAAC,cAAc,KAAG,GAC1C,IACa,CAC7B,CAAC"}
@@ -1,6 +0,0 @@
1
- import { FunctionComponent } from 'react';
2
- interface IDisplayModeProps {
3
- library: string;
4
- }
5
- export declare const DisplayMode: FunctionComponent<IDisplayModeProps>;
6
- export {};
@@ -1,28 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- // Copyright LEAV Solutions 2017 until 2023/11/05, Copyright Aristid from 2023/11/06
3
- // This file is released under LGPL V3
4
- // License text available at https://www.gnu.org/licenses/lgpl-3.0.txt
5
- import { useSharedTranslation } from '../../../hooks/useSharedTranslation';
6
- import { KitRadio, KitSpace, KitTag } from 'aristid-ds';
7
- import { useState } from 'react';
8
- import styled from 'styled-components';
9
- import { DisplayModeTable } from './DisplayModeTable';
10
- const StyledWrapperDiv = styled.div `
11
- display: flex;
12
- flex-direction: column;
13
- gap: calc(var(--general-spacing-l) * 1px);
14
-
15
- .ant-radio-wrapper {
16
- padding: calc(var(--general-spacing-xs) * 1px);
17
- }
18
- `;
19
- export const DisplayMode = ({ library }) => {
20
- const { t } = useSharedTranslation();
21
- const [currentDisplayMode, setCurrentDisplayMode] = useState('table');
22
- const _handleDisplayModeChange = (event) => {
23
- setCurrentDisplayMode(event.target.value);
24
- };
25
- const comingSoonTag = _jsx(KitTag, { type: "secondary", idCardProps: { description: String(t('explorer.coming-soon')) } });
26
- return (_jsxs(StyledWrapperDiv, { children: [_jsx(KitRadio.Group, { value: currentDisplayMode, onChange: _handleDisplayModeChange, children: _jsxs(KitSpace, { direction: "vertical", size: 0, children: [_jsx(KitRadio, { value: "list", disabled: true, children: _jsxs(KitSpace, { children: [t('explorer.display-mode-list'), " ", comingSoonTag] }) }), _jsx(KitRadio, { value: "table", children: t('explorer.display-mode-table') }), _jsx(KitRadio, { value: "mosaic", disabled: true, children: _jsxs(KitSpace, { children: [t('explorer.display-mode-mosaic'), " ", comingSoonTag] }) }), _jsx(KitRadio, { value: "planning", disabled: true, children: _jsxs(KitSpace, { children: [t('explorer.display-mode-planning'), " ", comingSoonTag] }) })] }) }), currentDisplayMode === 'table' && _jsx(DisplayModeTable, { library: library })] }));
27
- };
28
- //# sourceMappingURL=DisplayMode.js.map
@@ -1 +0,0 @@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BAC3B,MAAC,QAAQ,eACJ,CAAC,CAAC,4BAA4B,CAAC,OAAG,aAAa,IACzC,GACJ,EACX,KAAC,QAAQ,IAAC,KAAK,EAAC,OAAO,YAAE,CAAC,CAAC,6BAA6B,CAAC,GAAY,EACrE,KAAC,QAAQ,IAAC,KAAK,EAAC,QAAQ,EAAC,QAAQ,kBAC7B,MAAC,QAAQ,eACJ,CAAC,CAAC,8BAA8B,CAAC,OAAG,aAAa,IAC3C,GACJ,EACX,KAAC,QAAQ,IAAC,KAAK,EAAC,UAAU,EAAC,QAAQ,kBAC/B,MAAC,QAAQ,eACJ,CAAC,CAAC,gCAAgC,CAAC,OAAG,aAAa,IAC7C,GACJ,IACJ,GACE,EAChB,kBAAkB,KAAK,OAAO,IAAI,KAAC,gBAAgB,IAAC,OAAO,EAAE,OAAO,GAAI,IAC1D,CACtB,CAAC;AACN,CAAC,CAAC"}
@@ -1,6 +0,0 @@
1
- import { FunctionComponent } from 'react';
2
- interface IDisplayModeTableProps {
3
- library: string;
4
- }
5
- export declare const DisplayModeTable: FunctionComponent<IDisplayModeTableProps>;
6
- export {};
@@ -1,77 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- // Copyright LEAV Solutions 2017 until 2023/11/05, Copyright Aristid from 2023/11/06
3
- // This file is released under LGPL V3
4
- // License text available at https://www.gnu.org/licenses/lgpl-3.0.txt
5
- import { useDebouncedValue } from '../../../hooks/useDebouncedValue/useDebouncedValue';
6
- import { useSharedTranslation } from '../../../hooks/useSharedTranslation';
7
- import { KitInput, KitTypography } from 'aristid-ds';
8
- import { useMemo, useState } from 'react';
9
- import styled from 'styled-components';
10
- import { FaGripLines } from 'react-icons/fa';
11
- import { ColumnItem } from './ColumnItem';
12
- import { useGetLibraryColumns } from './useGetLibraryColumns';
13
- const StyledList = styled.ul `
14
- padding: 0;
15
- margin: 0;
16
- list-style: none;
17
- color: var(--general-utilities-text-primary);
18
- `;
19
- const StyledDivider = styled.hr `
20
- display: block;
21
- height: 1px;
22
- border: 0;
23
- border-top: 1px solid var(--general-utilities-main-light);
24
- margin: 0 calc(var(--general-spacing-s) * 1px);
25
- padding: 0;
26
- `;
27
- export const DisplayModeTable = ({ library }) => {
28
- const { t } = useSharedTranslation();
29
- // TODO Where to stock visible columns list
30
- // TODO when are changes saved (and thus, when is the table updated) ?
31
- const [orderedVisibleColumns, setOrderedVisibleColumns] = useState([]);
32
- const [searchInput, setSearchInput] = useState('');
33
- const debouncedSearchInput = useDebouncedValue(searchInput, 300);
34
- const { attributeDetailsById } = useGetLibraryColumns(library);
35
- const searchFilteredColumns = useMemo(() => {
36
- const columnIds = Object.keys(attributeDetailsById);
37
- if (columnIds.length === 0) {
38
- return {};
39
- }
40
- if (searchInput === '') {
41
- return attributeDetailsById;
42
- }
43
- return columnIds.reduce((acc, columnId) => {
44
- if (attributeDetailsById[columnId].label.includes(searchInput) || columnId.includes(searchInput)) {
45
- acc[columnId] = attributeDetailsById[columnId];
46
- }
47
- return acc;
48
- }, {});
49
- }, [debouncedSearchInput, attributeDetailsById]);
50
- const searchFilteredColumnsIds = Object.keys(searchFilteredColumns);
51
- const _onSearchChanged = (event) => {
52
- const shouldIgnoreInputChange = event.target.value.length < 3 && searchInput.length < 3;
53
- if (shouldIgnoreInputChange) {
54
- return;
55
- }
56
- setSearchInput(() => {
57
- if (event.target.value.length > 2) {
58
- return event.target.value;
59
- }
60
- return '';
61
- });
62
- };
63
- const _toggleColumnVisibility = (columnId) => () => {
64
- setOrderedVisibleColumns(() => {
65
- if (orderedVisibleColumns.includes(columnId)) {
66
- return orderedVisibleColumns.filter(id => id !== columnId);
67
- }
68
- return [...orderedVisibleColumns, columnId];
69
- });
70
- };
71
- return (_jsxs("div", { children: [_jsx(KitTypography.Title, { level: "h4", children: t('items_list.columns') }), _jsx(KitInput, { placeholder: String(t('global.search')), onChange: _onSearchChanged, allowClear: true }), _jsxs("div", { children: [_jsxs(StyledList, { children: [_jsx(ColumnItem, { title: t('record_edition.whoAmI'), visible: false, disabled: true }), orderedVisibleColumns
72
- .filter(columnId => searchFilteredColumnsIds.includes(columnId))
73
- .map(columnId => (_jsx(ColumnItem, { title: attributeDetailsById[columnId].label, visible: true, onVisibilityClick: _toggleColumnVisibility(columnId), dragHandler: _jsx(FaGripLines, {}) }, columnId)))] }), _jsx(StyledDivider, {}), _jsx(StyledList, { children: searchFilteredColumnsIds
74
- .filter(columnId => !orderedVisibleColumns.includes(columnId))
75
- .map(columnId => (_jsx(ColumnItem, { visible: false, title: attributeDetailsById[columnId].label, onVisibilityClick: _toggleColumnVisibility(columnId) }, attributeDetailsById[columnId].id))) })] })] }));
76
- };
77
- //# sourceMappingURL=DisplayModeTable.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"DisplayModeTable.js","sourceRoot":"","sources":["../../../../src/components/Explorer/edit-settings/DisplayModeTable.tsx"],"names":[],"mappings":";AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,iBAAiB,EAAC,MAAM,+CAA+C,CAAC;AAChF,OAAO,EAAC,oBAAoB,EAAC,MAAM,gCAAgC,CAAC;AACpE,OAAO,EAAC,QAAQ,EAAE,aAAa,EAAC,MAAM,YAAY,CAAC;AACnD,OAAO,EAAiC,OAAO,EAAE,QAAQ,EAAC,MAAM,OAAO,CAAC;AACxE,OAAO,MAAM,MAAM,mBAAmB,CAAC;AACvC,OAAO,EAAC,WAAW,EAAC,MAAM,gBAAgB,CAAC;AAC3C,OAAO,EAAC,UAAU,EAAC,MAAM,cAAc,CAAC;AACxC,OAAO,EAAC,oBAAoB,EAAC,MAAM,wBAAwB,CAAC;AAE5D,MAAM,UAAU,GAAG,MAAM,CAAC,EAAE,CAAA;;;;;CAK3B,CAAC;AAEF,MAAM,aAAa,GAAG,MAAM,CAAC,EAAE,CAAA;;;;;;;CAO9B,CAAC;AAMF,MAAM,CAAC,MAAM,gBAAgB,GAA8C,CAAC,EAAC,OAAO,EAAC,EAAE,EAAE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C,QAAQ,CAAC,CAAC;iCAC/D,GAAG,CAAC,QAAQ,CAAC,EAAE,CAAC,CACb,KAAC,UAAU,IAEP,KAAK,EAAE,oBAAoB,CAAC,QAAQ,CAAC,CAAC,KAAK,EAC3C,OAAO,QACP,iBAAiB,EAAE,uBAAuB,CAAC,QAAQ,CAAC,EACpD,WAAW,EAAE,KAAC,WAAW,KAAG,IAJvB,QAAQ,CAKf,CACL,CAAC,IACG,EACb,KAAC,aAAa,KAAG,EACjB,KAAC,UAAU,cACN,wBAAwB;6BACpB,MAAM,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC,qBAAqB,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC;6BAC7D,GAAG,CAAC,QAAQ,CAAC,EAAE,CAAC,CACb,KAAC,UAAU,IAEP,OAAO,EAAE,KAAK,EACd,KAAK,EAAE,oBAAoB,CAAC,QAAQ,CAAC,CAAC,KAAK,EAC3C,iBAAiB,EAAE,uBAAuB,CAAC,QAAQ,CAAC,IAH/C,oBAAoB,CAAC,QAAQ,CAAC,CAAC,EAAE,CAIxC,CACL,CAAC,GACG,IACX,IACJ,CACT,CAAC;AACN,CAAC,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"EditSettingsContext.js","sourceRoot":"","sources":["../../../../src/components/Explorer/edit-settings/EditSettingsContext.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,aAAa,EAAY,MAAM,OAAO,CAAC;AAc/C,MAAM,CAAC,MAAM,mBAAmB,GAAG,aAAa,CAAuB;IACnE,iBAAiB,EAAE,GAAG,EAAE;QACpB,MAAM,IAAI,KAAK,CAAC,iBAAiB,CAAC,CAAC;IACvC,CAAC;IACD,cAAc,EAAE,IAAI;IACpB,OAAO,EAAE,GAAG,EAAE;QACV,MAAM,IAAI,KAAK,CAAC,iBAAiB,CAAC,CAAC;IACvC,CAAC;CACJ,CAAC,CAAC"}
@@ -1,2 +0,0 @@
1
- import { FunctionComponent } from 'react';
2
- export declare const EditSettingsContextProvider: FunctionComponent;
@@ -1 +0,0 @@
1
- {"version":3,"file":"EditSettingsContextProvider.js","sourceRoot":"","sources":["../../../../src/components/Explorer/edit-settings/EditSettingsContextProvider.tsx"],"names":[],"mappings":";AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAoB,QAAQ,EAAC,MAAM,OAAO,CAAC;AAClD,OAAO,EAAC,mBAAmB,EAAuB,MAAM,uBAAuB,CAAC;AAEhF,MAAM,CAAC,MAAM,2BAA2B,GAAsB,CAAC,EAAC,QAAQ,EAAC,EAAE,EAAE;IACzE,MAAM,CAAC,cAAc,EAAE,iBAAiB,CAAC,GAAG,QAAQ,CAAyC,IAAI,CAAC,CAAC;IACnG,MAAM,OAAO,GAAG,GAAG,EAAE,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAC;IAE9C,OAAO,CACH,KAAC,mBAAmB,CAAC,QAAQ,IACzB,KAAK,EAAE;YACH,cAAc;YACd,iBAAiB;YACjB,OAAO;SACV,YAEA,QAAQ,GACkB,CAClC,CAAC;AACN,CAAC,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"SettingItem.js","sourceRoot":"","sources":["../../../../src/components/Explorer/edit-settings/SettingItem.tsx"],"names":[],"mappings":";AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,aAAa,EAAC,MAAM,YAAY,CAAC;AAEzC,OAAO,EAAC,cAAc,EAAC,MAAM,gBAAgB,CAAC;AAC9C,OAAO,MAAM,MAAM,mBAAmB,CAAC;AAEvC,MAAM,WAAW,GAAG,MAAM,CAAC,aAAa,CAAC,IAAI,CAAC,CAAA;;CAE7C,CAAC;AAEF,MAAM,uBAAuB,GAAG,MAAM,CAAC,EAAE,CAAA;;;;;;;;;;;;;;;;;;;;;;;;cAwB3B,WAAW;;;;;;;;;;;;;;;;;;CAkBxB,CAAC;AASF,MAAM,CAAC,MAAM,WAAW,GAAyC,CAAC,EAAC,IAAI,EAAE,KAAK,EAAE,KAAK,GAAG,EAAE,EAAE,OAAO,EAAC,EAAE,EAAE,CAAC,CACrG,KAAC,uBAAuB,cACpB,kBAAQ,OAAO,EAAE,OAAO,aACnB,IAAI,EACL,KAAC,aAAa,CAAC,IAAI,IAAC,IAAI,EAAC,WAAW,EAAC,QAAQ,QAAC,SAAS,EAAC,OAAO,YAC1D,KAAK,GACW,EACrB,KAAC,WAAW,IAAC,IAAI,EAAC,WAAW,EAAC,QAAQ,QAAC,SAAS,EAAC,OAAO,YACnD,KAAK,GACI,EACd,KAAC,cAAc,KAAG,IACb,GACa,CAC7B,CAAC"}