@leav/ui 0.4.0-fd9dcf3f → 1.0.0-4c37a197
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.
- package/dist/_gqlTypes/index.d.ts +488 -211
- package/dist/_gqlTypes/index.js +259 -81
- package/dist/_gqlTypes/index.js.map +1 -1
- package/dist/_queries/attributes/attributeDetailsFragment.js +1 -0
- package/dist/_queries/attributes/attributeDetailsFragment.js.map +1 -1
- package/dist/_utils/attributeType.d.ts +2 -1
- package/dist/_utils/attributeType.js +2 -1
- package/dist/_utils/attributeType.js.map +1 -1
- package/dist/components/Explorer/DataView.js +3 -3
- package/dist/components/Explorer/DataView.js.map +1 -1
- package/dist/components/Explorer/Explorer.d.ts +1 -1
- package/dist/components/Explorer/Explorer.js +13 -4
- package/dist/components/Explorer/Explorer.js.map +1 -1
- package/dist/components/Explorer/ExplorerToolbar.js +11 -2
- package/dist/components/Explorer/ExplorerToolbar.js.map +1 -1
- package/dist/components/Explorer/TableCell.js +25 -9
- package/dist/components/Explorer/TableCell.js.map +1 -1
- package/dist/components/Explorer/_queries/prepareFiltersForRequest.d.ts +1 -1
- package/dist/components/Explorer/_queries/prepareFiltersForRequest.js +99 -31
- package/dist/components/Explorer/_queries/prepareFiltersForRequest.js.map +1 -1
- package/dist/components/Explorer/_queries/useExplorerData.js +32 -27
- package/dist/components/Explorer/_queries/useExplorerData.js.map +1 -1
- package/dist/components/Explorer/_types.d.ts +74 -8
- package/dist/components/Explorer/_types.js +5 -0
- package/dist/components/Explorer/_types.js.map +1 -1
- package/dist/components/Explorer/actions-item/useReplaceItemAction.d.ts +2 -1
- package/dist/components/Explorer/actions-item/useReplaceItemAction.js +2 -2
- package/dist/components/Explorer/actions-item/useReplaceItemAction.js.map +1 -1
- package/dist/components/Explorer/actions-primary/useCreatePrimaryAction.d.ts +3 -1
- package/dist/components/Explorer/actions-primary/useCreatePrimaryAction.js +9 -19
- package/dist/components/Explorer/actions-primary/useCreatePrimaryAction.js.map +1 -1
- package/dist/components/Explorer/actions-primary/useLinkPrimaryAction.d.ts +6 -3
- package/dist/components/Explorer/actions-primary/useLinkPrimaryAction.js +5 -19
- package/dist/components/Explorer/actions-primary/useLinkPrimaryAction.js.map +1 -1
- package/dist/components/Explorer/link-item/LinkModal.d.ts +3 -0
- package/dist/components/Explorer/link-item/LinkModal.js +44 -4
- package/dist/components/Explorer/link-item/LinkModal.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/_shared/CommonFilterItem.js +4 -4
- package/dist/components/Explorer/manage-view-settings/_shared/CommonFilterItem.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/_shared/useTransformFilters.d.ts +9 -3
- package/dist/components/Explorer/manage-view-settings/_shared/useTransformFilters.js +78 -13
- package/dist/components/Explorer/manage-view-settings/_shared/useTransformFilters.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/filter-items/FilterItems.js +21 -8
- package/dist/components/Explorer/manage-view-settings/filter-items/FilterItems.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/FilterDropDown.js +2 -2
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/FilterDropDown.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/FilterDropdownContent.js +9 -1
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/FilterDropdownContent.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/FilterValueListDropDown.d.ts +9 -0
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/FilterValueListDropDown.js +131 -0
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/FilterValueListDropDown.js.map +1 -0
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/TreeAttributeDropDown.d.ts +3 -0
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/TreeAttributeDropDown.js +69 -0
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/TreeAttributeDropDown.js.map +1 -0
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/_types.d.ts +6 -1
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/useConditionOptionsByType.d.ts +3 -0
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/useConditionOptionsByType.js +43 -4
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/useConditionOptionsByType.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/save-view/prepareViewForRequest.js +29 -8
- package/dist/components/Explorer/manage-view-settings/save-view/prepareViewForRequest.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsInitialState.js +2 -1
- package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsInitialState.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsReducer.d.ts +3 -2
- package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsReducer.js +57 -14
- package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsReducer.js.map +1 -1
- package/dist/components/Explorer/useLoadView.d.ts +1 -1
- package/dist/components/Explorer/useLoadView.js +32 -38
- package/dist/components/Explorer/useLoadView.js.map +1 -1
- package/dist/components/Explorer/useSearchInput.js +2 -0
- package/dist/components/Explorer/useSearchInput.js.map +1 -1
- package/dist/components/Explorer/useViewSettingsReducer.js.map +1 -1
- package/dist/components/LibraryItemsList/FiltersDropdown/FiltersDropdown.js +1 -12
- package/dist/components/LibraryItemsList/FiltersDropdown/FiltersDropdown.js.map +1 -1
- package/dist/components/RecordEdition/EditRecord/EditRecord.d.ts +2 -1
- package/dist/components/RecordEdition/EditRecord/EditRecord.js +33 -214
- package/dist/components/RecordEdition/EditRecord/EditRecord.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/EditRecordContent.d.ts +3 -3
- package/dist/components/RecordEdition/EditRecordContent/EditRecordContent.js +15 -22
- package/dist/components/RecordEdition/EditRecordContent/EditRecordContent.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/_types.d.ts +6 -16
- package/dist/components/RecordEdition/EditRecordContent/_types.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/hooks/useCreateEmptyRecordMutation.d.ts +5 -0
- package/dist/components/RecordEdition/EditRecordContent/hooks/useCreateEmptyRecordMutation.js +28 -0
- package/dist/components/RecordEdition/EditRecordContent/hooks/useCreateEmptyRecordMutation.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordContent/hooks/useTabManagement.d.ts +11 -0
- package/dist/components/RecordEdition/EditRecordContent/hooks/useTabManagement.js +35 -0
- package/dist/components/RecordEdition/EditRecordContent/hooks/useTabManagement.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/Container/Container.d.ts +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/Container/Container.js +2 -2
- package/dist/components/RecordEdition/EditRecordContent/uiElements/Container/Container.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/FormDivider/FormDivider.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/FormTabs/FormTabs.d.ts +2 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/FormTabs/FormTabs.js +6 -9
- package/dist/components/RecordEdition/EditRecordContent/uiElements/FormTabs/FormTabs.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/Frame/Frame.js +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/Frame/Frame.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/LinkField.js +6 -33
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/LinkField.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record/ActionButton.d.ts +3 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record/ActionButton.js +9 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record/ActionButton.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/{link-record-in-edition/useLinkRecords.d.ts → link-record/useExplorerLinkRecords.d.ts} +2 -2
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/{link-record-in-edition/useLinkRecords.js → link-record/useExplorerLinkRecords.js} +3 -3
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record/useExplorerLinkRecords.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/{link-record-in-edition/useLinkRecordsInEdition.d.ts → link-record/useLinkRecords.d.ts} +5 -9
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record/useLinkRecords.js +76 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record/useLinkRecords.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardField.js +26 -21
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardField.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TextBlock/TextBlock.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/TreeField.d.ts +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/TreeField.js +10 -23
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/TreeField.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/display-tree-node/{useDisplayTreeNode.d.ts → TreeNodeList.d.ts} +3 -4
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/display-tree-node/TreeNodeList.js +5 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/display-tree-node/TreeNodeList.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/manage-tree-node-selection/SelectTreeNodeModal.d.ts +1 -9
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/manage-tree-node-selection/SelectTreeNodeModal.js +12 -16
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/manage-tree-node-selection/SelectTreeNodeModal.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/manage-tree-node-selection/useManageTreeNodeSelection.d.ts +2 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/manage-tree-node-selection/useManageTreeNodeSelection.js +51 -63
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/manage-tree-node-selection/useManageTreeNodeSelection.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/useOutsideInteractionDetector.d.ts +1 -3
- package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/useOutsideInteractionDetector.js +6 -10
- package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/useOutsideInteractionDetector.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordModal/EditRecordModal.js +45 -7
- package/dist/components/RecordEdition/EditRecordModal/EditRecordModal.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordPage/EditRecordPage.js +46 -8
- package/dist/components/RecordEdition/EditRecordPage/EditRecordPage.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordSidebar/EditRecordSidebar.js +1 -1
- package/dist/components/RecordEdition/EditRecordSidebar/EditRecordSidebar.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordSidebar/RecordSummary/RecordSummary.js +2 -1
- package/dist/components/RecordEdition/EditRecordSidebar/RecordSummary/RecordSummary.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordSidebar/ValuesSummary/ValuesSummary.d.ts +3 -0
- package/dist/components/RecordEdition/EditRecordSidebar/ValuesSummary/ValuesSummary.js +7 -1
- package/dist/components/RecordEdition/EditRecordSidebar/ValuesSummary/ValuesSummary.js.map +1 -1
- package/dist/components/RecordEdition/editRecordReducer/editRecordReducer.d.ts +2 -5
- package/dist/components/RecordEdition/editRecordReducer/editRecordReducer.js +1 -1
- package/dist/components/RecordEdition/editRecordReducer/editRecordReducer.js.map +1 -1
- package/dist/components/RecordEdition/index.d.ts +1 -1
- package/dist/components/RecordEdition/index.js +1 -1
- package/dist/components/RecordEdition/index.js.map +1 -1
- package/dist/components/RecordHistory/RecordHistory.d.ts +8 -0
- package/dist/components/RecordHistory/RecordHistory.js +41 -0
- package/dist/components/RecordHistory/RecordHistory.js.map +1 -0
- package/dist/components/RecordHistory/RecordHistoryLogEntry.d.ts +8 -0
- package/dist/components/RecordHistory/RecordHistoryLogEntry.js +53 -0
- package/dist/components/RecordHistory/RecordHistoryLogEntry.js.map +1 -0
- package/dist/components/RecordHistory/_types.d.ts +8 -0
- package/dist/components/RecordHistory/_types.js +2 -0
- package/dist/components/RecordHistory/_types.js.map +1 -0
- package/dist/components/RecordHistory/hooks/useFetchRecordHistory.d.ts +19 -0
- package/dist/components/RecordHistory/hooks/useFetchRecordHistory.js +61 -0
- package/dist/components/RecordHistory/hooks/useFetchRecordHistory.js.map +1 -0
- package/dist/components/RecordHistory/index.d.ts +1 -0
- package/dist/components/{LinkSelect → RecordHistory}/index.js +1 -2
- package/dist/components/RecordHistory/index.js.map +1 -0
- package/dist/components/SelectRecordForLinkModal/SelectRecordForLinkModal.d.ts +2 -0
- package/dist/components/SelectRecordForLinkModal/SelectRecordForLinkModal.js +6 -4
- package/dist/components/SelectRecordForLinkModal/SelectRecordForLinkModal.js.map +1 -1
- package/dist/components/SelectTreeNode/SelectTreeNode.d.ts +5 -3
- package/dist/components/SelectTreeNode/SelectTreeNode.js +2 -3
- package/dist/components/SelectTreeNode/SelectTreeNode.js.map +1 -1
- package/dist/components/SelectTreeNode/SelectTreeNodeContent.d.ts +3 -1
- package/dist/components/SelectTreeNode/SelectTreeNodeContent.js +68 -55
- package/dist/components/SelectTreeNode/SelectTreeNodeContent.js.map +1 -1
- package/dist/components/SelectTreeNode/_types.d.ts +18 -0
- package/dist/components/SelectTreeNode/_types.js +2 -0
- package/dist/components/SelectTreeNode/_types.js.map +1 -0
- package/dist/components/ShowMore/ShowMore.d.ts +11 -0
- package/dist/components/ShowMore/ShowMore.js +18 -0
- package/dist/components/ShowMore/ShowMore.js.map +1 -0
- package/dist/components/ShowMore/index.d.ts +1 -0
- package/dist/components/{RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/ValuesList → ShowMore}/index.js +1 -2
- package/dist/components/ShowMore/index.js.map +1 -0
- package/dist/components/index.d.ts +2 -0
- package/dist/components/index.js +2 -0
- package/dist/components/index.js.map +1 -1
- package/dist/hooks/useGetRecordForm/useGetRecordForm.d.ts +1 -1
- package/dist/hooks/useGetRecordForm/useGetRecordForm.js +2 -2
- package/dist/hooks/useGetRecordForm/useGetRecordForm.js.map +1 -1
- package/dist/hooks/useIFrameMessenger/schema.d.ts +2 -0
- package/dist/hooks/useIFrameMessenger/schema.js +4 -1
- package/dist/hooks/useIFrameMessenger/schema.js.map +1 -1
- package/dist/hooks/useIFrameMessenger/types.d.ts +2 -0
- package/dist/hooks/useIFrameMessenger/useIFrameMessenger.d.ts +3 -3
- package/dist/hooks/useIFrameMessenger/useIFrameMessenger.js +5 -1
- package/dist/hooks/useIFrameMessenger/useIFrameMessenger.js.map +1 -1
- package/dist/hooks/useIFrameMessengerClient/IFrameMessengerClient.d.ts +6 -3
- package/dist/hooks/useIFrameMessengerClient/IFrameMessengerClient.js +1 -3
- package/dist/hooks/useIFrameMessengerClient/IFrameMessengerClient.js.map +1 -1
- package/dist/locales/en/shared.json +16 -1
- package/dist/locales/fr/shared.json +15 -0
- package/package.json +17 -4
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/FilterValueList.d.ts +0 -10
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/FilterValueList.js +0 -75
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/FilterValueList.js.map +0 -1
- package/dist/components/LinkSelect/LinkSelect.d.ts +0 -15
- package/dist/components/LinkSelect/LinkSelect.js +0 -88
- package/dist/components/LinkSelect/LinkSelect.js.map +0 -1
- package/dist/components/LinkSelect/index.d.ts +0 -2
- package/dist/components/LinkSelect/index.js.map +0 -1
- package/dist/components/RecordEdition/EditRecord/creationErrorContext.d.ts +0 -6
- package/dist/components/RecordEdition/EditRecord/creationErrorContext.js +0 -7
- package/dist/components/RecordEdition/EditRecord/creationErrorContext.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/hooks/useCreateRecordMutation.d.ts +0 -5
- package/dist/components/RecordEdition/EditRecordContent/hooks/useCreateRecordMutation.js +0 -28
- package/dist/components/RecordEdition/EditRecordContent/hooks/useCreateRecordMutation.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/hooks/useRunActionsListAndFormatOnValue.d.ts +0 -121
- package/dist/components/RecordEdition/EditRecordContent/hooks/useRunActionsListAndFormatOnValue.js +0 -31
- package/dist/components/RecordEdition/EditRecordContent/hooks/useRunActionsListAndFormatOnValue.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/action-item/useEditRecord.d.ts +0 -5
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/action-item/useEditRecord.js +0 -39
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/action-item/useEditRecord.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/action-item/useUnselectRecord.d.ts +0 -8
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/action-item/useUnselectRecord.js +0 -23
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/action-item/useUnselectRecord.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/action-mass/useUnselectAllRecords.d.ts +0 -9
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/action-mass/useUnselectAllRecords.js +0 -23
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/action-mass/useUnselectAllRecords.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/action-primary/useCreateRecord.d.ts +0 -8
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/action-primary/useCreateRecord.js +0 -26
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/action-primary/useCreateRecord.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/action-primary/useRecordSelector.d.ts +0 -12
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/action-primary/useRecordSelector.js +0 -24
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/action-primary/useRecordSelector.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record-in-creation/useLinkRecords.d.ts +0 -19
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record-in-creation/useLinkRecords.js +0 -103
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record-in-creation/useLinkRecords.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record-in-creation/useLinkRecordsInCreation.d.ts +0 -22
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record-in-creation/useLinkRecordsInCreation.js +0 -104
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record-in-creation/useLinkRecordsInCreation.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record-in-edition/useLinkRecords.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record-in-edition/useLinkRecordsInEdition.js +0 -311
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record-in-edition/useLinkRecordsInEdition.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/shared/LinkActionsButtons.d.ts +0 -9
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/shared/LinkActionsButtons.js +0 -15
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/shared/LinkActionsButtons.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/shared/utils.d.ts +0 -4
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/shared/utils.js +0 -22
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/shared/utils.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/ValuesList/ValuesList.d.ts +0 -16
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/ValuesList/ValuesList.js +0 -35
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/ValuesList/ValuesList.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/ValuesList/index.d.ts +0 -2
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/ValuesList/index.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/display-tree-node/useDisplayTreeNode.js +0 -8
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/display-tree-node/useDisplayTreeNode.js.map +0 -1
package/dist/_gqlTypes/index.js
CHANGED
|
@@ -161,12 +161,12 @@ export var LogSortableField;
|
|
|
161
161
|
LogSortableField["trigger"] = "trigger";
|
|
162
162
|
LogSortableField["userId"] = "userId";
|
|
163
163
|
})(LogSortableField || (LogSortableField = {}));
|
|
164
|
-
export var
|
|
165
|
-
(function (
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
})(
|
|
164
|
+
export var MultiDisplayOption;
|
|
165
|
+
(function (MultiDisplayOption) {
|
|
166
|
+
MultiDisplayOption["avatar"] = "avatar";
|
|
167
|
+
MultiDisplayOption["badge_qty"] = "badge_qty";
|
|
168
|
+
MultiDisplayOption["tag"] = "tag";
|
|
169
|
+
})(MultiDisplayOption || (MultiDisplayOption = {}));
|
|
170
170
|
export var PermissionTypes;
|
|
171
171
|
(function (PermissionTypes) {
|
|
172
172
|
PermissionTypes["admin"] = "admin";
|
|
@@ -190,6 +190,7 @@ export var PermissionsActions;
|
|
|
190
190
|
PermissionsActions["admin_access_applications"] = "admin_access_applications";
|
|
191
191
|
PermissionsActions["admin_access_attributes"] = "admin_access_attributes";
|
|
192
192
|
PermissionsActions["admin_access_libraries"] = "admin_access_libraries";
|
|
193
|
+
PermissionsActions["admin_access_logs"] = "admin_access_logs";
|
|
193
194
|
PermissionsActions["admin_access_permissions"] = "admin_access_permissions";
|
|
194
195
|
PermissionsActions["admin_access_tasks"] = "admin_access_tasks";
|
|
195
196
|
PermissionsActions["admin_access_trees"] = "admin_access_trees";
|
|
@@ -217,6 +218,7 @@ export var PermissionsActions;
|
|
|
217
218
|
PermissionsActions["admin_edit_permission"] = "admin_edit_permission";
|
|
218
219
|
PermissionsActions["admin_edit_tree"] = "admin_edit_tree";
|
|
219
220
|
PermissionsActions["admin_edit_version_profile"] = "admin_edit_version_profile";
|
|
221
|
+
PermissionsActions["admin_import_config_clear_database"] = "admin_import_config_clear_database";
|
|
220
222
|
PermissionsActions["admin_library"] = "admin_library";
|
|
221
223
|
PermissionsActions["admin_manage_global_preferences"] = "admin_manage_global_preferences";
|
|
222
224
|
PermissionsActions["create_record"] = "create_record";
|
|
@@ -386,6 +388,7 @@ export const AttributeDetailsFragmentDoc = gql `
|
|
|
386
388
|
description
|
|
387
389
|
multiple_values
|
|
388
390
|
multi_link_display_option
|
|
391
|
+
multi_tree_display_option
|
|
389
392
|
metadata_fields {
|
|
390
393
|
id
|
|
391
394
|
label
|
|
@@ -908,11 +911,19 @@ export const ViewDetailsFragmentDoc = gql `
|
|
|
908
911
|
${RecordIdentityFragmentDoc}`;
|
|
909
912
|
export const AttributesByLibLinkAttributeWithPermissionsFragmentDoc = gql `
|
|
910
913
|
fragment AttributesByLibLinkAttributeWithPermissions on LinkAttribute {
|
|
914
|
+
valuesList: values_list {
|
|
915
|
+
enable
|
|
916
|
+
allowFreeEntry
|
|
917
|
+
allowListUpdate
|
|
918
|
+
linkedValues: values {
|
|
919
|
+
...RecordIdentity
|
|
920
|
+
}
|
|
921
|
+
}
|
|
911
922
|
linked_library {
|
|
912
923
|
id
|
|
913
924
|
}
|
|
914
925
|
}
|
|
915
|
-
`;
|
|
926
|
+
${RecordIdentityFragmentDoc}`;
|
|
916
927
|
export const AttributesByLibAttributeWithPermissionsFragmentDoc = gql `
|
|
917
928
|
fragment AttributesByLibAttributeWithPermissions on Attribute {
|
|
918
929
|
id
|
|
@@ -944,16 +955,77 @@ export const AttributesByLibAttributeWithPermissionsFragmentDoc = gql `
|
|
|
944
955
|
format
|
|
945
956
|
label
|
|
946
957
|
}
|
|
958
|
+
valuesList: values_list {
|
|
959
|
+
... on StandardStringValuesListConf {
|
|
960
|
+
enable
|
|
961
|
+
allowFreeEntry
|
|
962
|
+
allowListUpdate
|
|
963
|
+
values
|
|
964
|
+
}
|
|
965
|
+
... on StandardDateRangeValuesListConf {
|
|
966
|
+
enable
|
|
967
|
+
allowFreeEntry
|
|
968
|
+
allowListUpdate
|
|
969
|
+
dateRangeValues: values {
|
|
970
|
+
from
|
|
971
|
+
to
|
|
972
|
+
}
|
|
973
|
+
}
|
|
974
|
+
}
|
|
947
975
|
}
|
|
948
976
|
}
|
|
949
977
|
${AttributesByLibLinkAttributeWithPermissionsFragmentDoc}`;
|
|
950
978
|
export const LinkAttributeDetailsFragmentDoc = gql `
|
|
951
979
|
fragment LinkAttributeDetails on LinkAttribute {
|
|
952
980
|
label
|
|
981
|
+
type
|
|
953
982
|
linked_library {
|
|
954
983
|
id
|
|
955
984
|
label
|
|
956
985
|
}
|
|
986
|
+
valuesList: values_list {
|
|
987
|
+
allowFreeEntry
|
|
988
|
+
enable
|
|
989
|
+
linkedValues: values {
|
|
990
|
+
id
|
|
991
|
+
whoAmI {
|
|
992
|
+
id
|
|
993
|
+
label
|
|
994
|
+
library {
|
|
995
|
+
id
|
|
996
|
+
}
|
|
997
|
+
}
|
|
998
|
+
}
|
|
999
|
+
}
|
|
1000
|
+
}
|
|
1001
|
+
`;
|
|
1002
|
+
export const TreeAttributeDetailsFragmentDoc = gql `
|
|
1003
|
+
fragment TreeAttributeDetails on TreeAttribute {
|
|
1004
|
+
id
|
|
1005
|
+
label
|
|
1006
|
+
linked_tree {
|
|
1007
|
+
id
|
|
1008
|
+
label
|
|
1009
|
+
}
|
|
1010
|
+
}
|
|
1011
|
+
`;
|
|
1012
|
+
export const StandardAttributeDetailsFragmentDoc = gql `
|
|
1013
|
+
fragment StandardAttributeDetails on StandardAttribute {
|
|
1014
|
+
id
|
|
1015
|
+
type
|
|
1016
|
+
embedded_fields {
|
|
1017
|
+
id
|
|
1018
|
+
format
|
|
1019
|
+
label
|
|
1020
|
+
}
|
|
1021
|
+
valuesList: values_list {
|
|
1022
|
+
... on StandardStringValuesListConf {
|
|
1023
|
+
enable
|
|
1024
|
+
allowFreeEntry
|
|
1025
|
+
allowListUpdate
|
|
1026
|
+
values
|
|
1027
|
+
}
|
|
1028
|
+
}
|
|
957
1029
|
}
|
|
958
1030
|
`;
|
|
959
1031
|
export const AttributePropertiesFragmentDoc = gql `
|
|
@@ -964,6 +1036,7 @@ export const AttributePropertiesFragmentDoc = gql `
|
|
|
964
1036
|
format
|
|
965
1037
|
multiple_values
|
|
966
1038
|
multi_link_display_option
|
|
1039
|
+
multi_tree_display_option
|
|
967
1040
|
}
|
|
968
1041
|
`;
|
|
969
1042
|
export const PropertyValueFragmentDoc = gql `
|
|
@@ -1035,6 +1108,49 @@ export const LibraryAttributeFragmentDoc = gql `
|
|
|
1035
1108
|
...LibraryAttributeLink
|
|
1036
1109
|
}
|
|
1037
1110
|
${LibraryAttributeLinkFragmentDoc}`;
|
|
1111
|
+
export const RecordHistoryLogAttributeFragmentDoc = gql `
|
|
1112
|
+
fragment RecordHistoryLogAttribute on Attribute {
|
|
1113
|
+
id
|
|
1114
|
+
label
|
|
1115
|
+
type
|
|
1116
|
+
format
|
|
1117
|
+
multiple_values
|
|
1118
|
+
}
|
|
1119
|
+
`;
|
|
1120
|
+
export const RecordHistoryLogEntryFragmentDoc = gql `
|
|
1121
|
+
fragment RecordHistoryLogEntry on Log {
|
|
1122
|
+
action
|
|
1123
|
+
time
|
|
1124
|
+
topic {
|
|
1125
|
+
attribute {
|
|
1126
|
+
...RecordHistoryLogAttribute
|
|
1127
|
+
}
|
|
1128
|
+
}
|
|
1129
|
+
user {
|
|
1130
|
+
id
|
|
1131
|
+
whoAmI {
|
|
1132
|
+
id
|
|
1133
|
+
library {
|
|
1134
|
+
id
|
|
1135
|
+
}
|
|
1136
|
+
}
|
|
1137
|
+
properties(attributeIds: ["email"]) {
|
|
1138
|
+
attributeId
|
|
1139
|
+
values {
|
|
1140
|
+
... on Value {
|
|
1141
|
+
payload
|
|
1142
|
+
}
|
|
1143
|
+
}
|
|
1144
|
+
}
|
|
1145
|
+
}
|
|
1146
|
+
before {
|
|
1147
|
+
asString
|
|
1148
|
+
}
|
|
1149
|
+
after {
|
|
1150
|
+
asString
|
|
1151
|
+
}
|
|
1152
|
+
}
|
|
1153
|
+
${RecordHistoryLogAttributeFragmentDoc}`;
|
|
1038
1154
|
export const CheckApplicationExistenceDocument = gql `
|
|
1039
1155
|
query CHECK_APPLICATION_EXISTENCE($id: ID, $endpoint: String) {
|
|
1040
1156
|
applications(filters: {id: $id, endpoint: $endpoint}) {
|
|
@@ -2043,6 +2159,44 @@ export function useIsAllowedSuspenseQuery(baseOptions) {
|
|
|
2043
2159
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2044
2160
|
return Apollo.useSuspenseQuery(IsAllowedDocument, options);
|
|
2045
2161
|
}
|
|
2162
|
+
export const ActivateNewRecordDocument = gql `
|
|
2163
|
+
mutation activateNewRecord($libraryId: ID!, $recordId: ID!, $formId: String) {
|
|
2164
|
+
activateNewRecord(library: $libraryId, recordId: $recordId, formId: $formId) {
|
|
2165
|
+
record {
|
|
2166
|
+
...RecordIdentity
|
|
2167
|
+
}
|
|
2168
|
+
valuesErrors {
|
|
2169
|
+
type
|
|
2170
|
+
attribute
|
|
2171
|
+
input
|
|
2172
|
+
message
|
|
2173
|
+
}
|
|
2174
|
+
}
|
|
2175
|
+
}
|
|
2176
|
+
${RecordIdentityFragmentDoc}`;
|
|
2177
|
+
/**
|
|
2178
|
+
* __useActivateNewRecordMutation__
|
|
2179
|
+
*
|
|
2180
|
+
* To run a mutation, you first call `useActivateNewRecordMutation` within a React component and pass it any options that fit your needs.
|
|
2181
|
+
* When your component renders, `useActivateNewRecordMutation` returns a tuple that includes:
|
|
2182
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
2183
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
2184
|
+
*
|
|
2185
|
+
* @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;
|
|
2186
|
+
*
|
|
2187
|
+
* @example
|
|
2188
|
+
* const [activateNewRecordMutation, { data, loading, error }] = useActivateNewRecordMutation({
|
|
2189
|
+
* variables: {
|
|
2190
|
+
* libraryId: // value for 'libraryId'
|
|
2191
|
+
* recordId: // value for 'recordId'
|
|
2192
|
+
* formId: // value for 'formId'
|
|
2193
|
+
* },
|
|
2194
|
+
* });
|
|
2195
|
+
*/
|
|
2196
|
+
export function useActivateNewRecordMutation(baseOptions) {
|
|
2197
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2198
|
+
return Apollo.useMutation(ActivateNewRecordDocument, options);
|
|
2199
|
+
}
|
|
2046
2200
|
export const ActivateRecordsDocument = gql `
|
|
2047
2201
|
mutation ACTIVATE_RECORDS($libraryId: String!, $recordsIds: [String!], $filters: [RecordFilterInput!]) {
|
|
2048
2202
|
activateRecords(
|
|
@@ -2078,6 +2232,42 @@ export function useActivateRecordsMutation(baseOptions) {
|
|
|
2078
2232
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2079
2233
|
return Apollo.useMutation(ActivateRecordsDocument, options);
|
|
2080
2234
|
}
|
|
2235
|
+
export const CreateEmptyRecordDocument = gql `
|
|
2236
|
+
mutation createEmptyRecord($library: ID!) {
|
|
2237
|
+
createEmptyRecord(library: $library) {
|
|
2238
|
+
record {
|
|
2239
|
+
...RecordIdentity
|
|
2240
|
+
}
|
|
2241
|
+
valuesErrors {
|
|
2242
|
+
type
|
|
2243
|
+
attribute
|
|
2244
|
+
input
|
|
2245
|
+
message
|
|
2246
|
+
}
|
|
2247
|
+
}
|
|
2248
|
+
}
|
|
2249
|
+
${RecordIdentityFragmentDoc}`;
|
|
2250
|
+
/**
|
|
2251
|
+
* __useCreateEmptyRecordMutation__
|
|
2252
|
+
*
|
|
2253
|
+
* To run a mutation, you first call `useCreateEmptyRecordMutation` within a React component and pass it any options that fit your needs.
|
|
2254
|
+
* When your component renders, `useCreateEmptyRecordMutation` returns a tuple that includes:
|
|
2255
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
2256
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
2257
|
+
*
|
|
2258
|
+
* @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;
|
|
2259
|
+
*
|
|
2260
|
+
* @example
|
|
2261
|
+
* const [createEmptyRecordMutation, { data, loading, error }] = useCreateEmptyRecordMutation({
|
|
2262
|
+
* variables: {
|
|
2263
|
+
* library: // value for 'library'
|
|
2264
|
+
* },
|
|
2265
|
+
* });
|
|
2266
|
+
*/
|
|
2267
|
+
export function useCreateEmptyRecordMutation(baseOptions) {
|
|
2268
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2269
|
+
return Apollo.useMutation(CreateEmptyRecordDocument, options);
|
|
2270
|
+
}
|
|
2081
2271
|
export const CreateRecordDocument = gql `
|
|
2082
2272
|
mutation CREATE_RECORD($library: ID!, $data: CreateRecordDataInput) {
|
|
2083
2273
|
createRecord(library: $library, data: $data) {
|
|
@@ -2440,6 +2630,35 @@ export function useIndexRecordsMutation(baseOptions) {
|
|
|
2440
2630
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2441
2631
|
return Apollo.useMutation(IndexRecordsDocument, options);
|
|
2442
2632
|
}
|
|
2633
|
+
export const PurgeRecordDocument = gql `
|
|
2634
|
+
mutation purgeRecord($libraryId: ID!, $recordId: ID!) {
|
|
2635
|
+
purgeRecord(libraryId: $libraryId, recordId: $recordId) {
|
|
2636
|
+
...RecordIdentity
|
|
2637
|
+
}
|
|
2638
|
+
}
|
|
2639
|
+
${RecordIdentityFragmentDoc}`;
|
|
2640
|
+
/**
|
|
2641
|
+
* __usePurgeRecordMutation__
|
|
2642
|
+
*
|
|
2643
|
+
* To run a mutation, you first call `usePurgeRecordMutation` within a React component and pass it any options that fit your needs.
|
|
2644
|
+
* When your component renders, `usePurgeRecordMutation` returns a tuple that includes:
|
|
2645
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
2646
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
2647
|
+
*
|
|
2648
|
+
* @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;
|
|
2649
|
+
*
|
|
2650
|
+
* @example
|
|
2651
|
+
* const [purgeRecordMutation, { data, loading, error }] = usePurgeRecordMutation({
|
|
2652
|
+
* variables: {
|
|
2653
|
+
* libraryId: // value for 'libraryId'
|
|
2654
|
+
* recordId: // value for 'recordId'
|
|
2655
|
+
* },
|
|
2656
|
+
* });
|
|
2657
|
+
*/
|
|
2658
|
+
export function usePurgeRecordMutation(baseOptions) {
|
|
2659
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2660
|
+
return Apollo.useMutation(PurgeRecordDocument, options);
|
|
2661
|
+
}
|
|
2443
2662
|
export const CancelTaskDocument = gql `
|
|
2444
2663
|
mutation CANCEL_TASK($taskId: ID!) {
|
|
2445
2664
|
cancelTask(taskId: $taskId)
|
|
@@ -2834,47 +3053,6 @@ export function useDeleteValueMutation(baseOptions) {
|
|
|
2834
3053
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2835
3054
|
return Apollo.useMutation(DeleteValueDocument, options);
|
|
2836
3055
|
}
|
|
2837
|
-
export const RunActionsListAndFormatOnValueDocument = gql `
|
|
2838
|
-
query RUN_ACTIONS_LIST_AND_FORMAT_ON_VALUE($library: ID!, $value: ValueBatchInput, $version: [ValueVersionInput]) {
|
|
2839
|
-
runActionsListAndFormatOnValue(
|
|
2840
|
-
library: $library
|
|
2841
|
-
value: $value
|
|
2842
|
-
version: $version
|
|
2843
|
-
) {
|
|
2844
|
-
...ValueDetails
|
|
2845
|
-
}
|
|
2846
|
-
}
|
|
2847
|
-
${ValueDetailsFragmentDoc}`;
|
|
2848
|
-
/**
|
|
2849
|
-
* __useRunActionsListAndFormatOnValueQuery__
|
|
2850
|
-
*
|
|
2851
|
-
* To run a query within a React component, call `useRunActionsListAndFormatOnValueQuery` and pass it any options that fit your needs.
|
|
2852
|
-
* When your component renders, `useRunActionsListAndFormatOnValueQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
2853
|
-
* you can use to render your UI.
|
|
2854
|
-
*
|
|
2855
|
-
* @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;
|
|
2856
|
-
*
|
|
2857
|
-
* @example
|
|
2858
|
-
* const { data, loading, error } = useRunActionsListAndFormatOnValueQuery({
|
|
2859
|
-
* variables: {
|
|
2860
|
-
* library: // value for 'library'
|
|
2861
|
-
* value: // value for 'value'
|
|
2862
|
-
* version: // value for 'version'
|
|
2863
|
-
* },
|
|
2864
|
-
* });
|
|
2865
|
-
*/
|
|
2866
|
-
export function useRunActionsListAndFormatOnValueQuery(baseOptions) {
|
|
2867
|
-
const options = { ...defaultOptions, ...baseOptions };
|
|
2868
|
-
return Apollo.useQuery(RunActionsListAndFormatOnValueDocument, options);
|
|
2869
|
-
}
|
|
2870
|
-
export function useRunActionsListAndFormatOnValueLazyQuery(baseOptions) {
|
|
2871
|
-
const options = { ...defaultOptions, ...baseOptions };
|
|
2872
|
-
return Apollo.useLazyQuery(RunActionsListAndFormatOnValueDocument, options);
|
|
2873
|
-
}
|
|
2874
|
-
export function useRunActionsListAndFormatOnValueSuspenseQuery(baseOptions) {
|
|
2875
|
-
const options = { ...defaultOptions, ...baseOptions };
|
|
2876
|
-
return Apollo.useSuspenseQuery(RunActionsListAndFormatOnValueDocument, options);
|
|
2877
|
-
}
|
|
2878
3056
|
export const SaveValueBatchDocument = gql `
|
|
2879
3057
|
mutation SAVE_VALUE_BATCH($library: ID!, $recordId: ID!, $version: [ValueVersionInput!], $values: [ValueBatchInput!]!, $deleteEmpty: Boolean) {
|
|
2880
3058
|
saveValueBatch(
|
|
@@ -3099,11 +3277,15 @@ export const ExplorerAttributesDocument = gql `
|
|
|
3099
3277
|
permissions {
|
|
3100
3278
|
access_attribute
|
|
3101
3279
|
}
|
|
3280
|
+
...StandardAttributeDetails
|
|
3102
3281
|
...LinkAttributeDetails
|
|
3282
|
+
...TreeAttributeDetails
|
|
3103
3283
|
}
|
|
3104
3284
|
}
|
|
3105
3285
|
}
|
|
3106
|
-
${
|
|
3286
|
+
${StandardAttributeDetailsFragmentDoc}
|
|
3287
|
+
${LinkAttributeDetailsFragmentDoc}
|
|
3288
|
+
${TreeAttributeDetailsFragmentDoc}`;
|
|
3107
3289
|
/**
|
|
3108
3290
|
* __useExplorerAttributesQuery__
|
|
3109
3291
|
*
|
|
@@ -3143,10 +3325,12 @@ export const ExplorerLinkAttributeDocument = gql `
|
|
|
3143
3325
|
edit_value
|
|
3144
3326
|
}
|
|
3145
3327
|
...LinkAttributeDetails
|
|
3328
|
+
...TreeAttributeDetails
|
|
3146
3329
|
}
|
|
3147
3330
|
}
|
|
3148
3331
|
}
|
|
3149
|
-
${LinkAttributeDetailsFragmentDoc}
|
|
3332
|
+
${LinkAttributeDetailsFragmentDoc}
|
|
3333
|
+
${TreeAttributeDetailsFragmentDoc}`;
|
|
3150
3334
|
/**
|
|
3151
3335
|
* __useExplorerLinkAttributeQuery__
|
|
3152
3336
|
*
|
|
@@ -3245,6 +3429,7 @@ export const ExplorerLinkDataDocument = gql `
|
|
|
3245
3429
|
records(
|
|
3246
3430
|
library: $parentLibraryId
|
|
3247
3431
|
filters: [{field: "id", condition: EQUAL, value: $parentRecordId}]
|
|
3432
|
+
retrieveInactive: true
|
|
3248
3433
|
) {
|
|
3249
3434
|
list {
|
|
3250
3435
|
id
|
|
@@ -3477,56 +3662,49 @@ export function useUpdateViewMutation(baseOptions) {
|
|
|
3477
3662
|
const options = { ...defaultOptions, ...baseOptions };
|
|
3478
3663
|
return Apollo.useMutation(UpdateViewDocument, options);
|
|
3479
3664
|
}
|
|
3480
|
-
export const
|
|
3481
|
-
query
|
|
3482
|
-
|
|
3483
|
-
|
|
3484
|
-
|
|
3485
|
-
|
|
3486
|
-
|
|
3487
|
-
|
|
3488
|
-
|
|
3489
|
-
}
|
|
3490
|
-
}
|
|
3491
|
-
... on TreeValue {
|
|
3492
|
-
payload {
|
|
3493
|
-
id
|
|
3494
|
-
}
|
|
3495
|
-
}
|
|
3496
|
-
}
|
|
3665
|
+
export const GetRecordHistoryDocument = gql `
|
|
3666
|
+
query getRecordHistory($record: LogTopicRecordFilterInput!, $attributeId: String, $actions: [LogAction!], $pagination: Pagination) {
|
|
3667
|
+
logs(
|
|
3668
|
+
filters: {topic: {record: $record, attribute: $attributeId}, actions: $actions}
|
|
3669
|
+
pagination: $pagination
|
|
3670
|
+
) {
|
|
3671
|
+
total
|
|
3672
|
+
logs {
|
|
3673
|
+
...RecordHistoryLogEntry
|
|
3497
3674
|
}
|
|
3498
3675
|
}
|
|
3499
3676
|
}
|
|
3500
|
-
`;
|
|
3677
|
+
${RecordHistoryLogEntryFragmentDoc}`;
|
|
3501
3678
|
/**
|
|
3502
|
-
*
|
|
3679
|
+
* __useGetRecordHistoryQuery__
|
|
3503
3680
|
*
|
|
3504
|
-
* To run a query within a React component, call `
|
|
3505
|
-
* When your component renders, `
|
|
3681
|
+
* To run a query within a React component, call `useGetRecordHistoryQuery` and pass it any options that fit your needs.
|
|
3682
|
+
* When your component renders, `useGetRecordHistoryQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
3506
3683
|
* you can use to render your UI.
|
|
3507
3684
|
*
|
|
3508
3685
|
* @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;
|
|
3509
3686
|
*
|
|
3510
3687
|
* @example
|
|
3511
|
-
* const { data, loading, error } =
|
|
3688
|
+
* const { data, loading, error } = useGetRecordHistoryQuery({
|
|
3512
3689
|
* variables: {
|
|
3513
|
-
*
|
|
3514
|
-
*
|
|
3515
|
-
*
|
|
3690
|
+
* record: // value for 'record'
|
|
3691
|
+
* attributeId: // value for 'attributeId'
|
|
3692
|
+
* actions: // value for 'actions'
|
|
3693
|
+
* pagination: // value for 'pagination'
|
|
3516
3694
|
* },
|
|
3517
3695
|
* });
|
|
3518
3696
|
*/
|
|
3519
|
-
export function
|
|
3697
|
+
export function useGetRecordHistoryQuery(baseOptions) {
|
|
3520
3698
|
const options = { ...defaultOptions, ...baseOptions };
|
|
3521
|
-
return Apollo.useQuery(
|
|
3699
|
+
return Apollo.useQuery(GetRecordHistoryDocument, options);
|
|
3522
3700
|
}
|
|
3523
|
-
export function
|
|
3701
|
+
export function useGetRecordHistoryLazyQuery(baseOptions) {
|
|
3524
3702
|
const options = { ...defaultOptions, ...baseOptions };
|
|
3525
|
-
return Apollo.useLazyQuery(
|
|
3703
|
+
return Apollo.useLazyQuery(GetRecordHistoryDocument, options);
|
|
3526
3704
|
}
|
|
3527
|
-
export function
|
|
3705
|
+
export function useGetRecordHistorySuspenseQuery(baseOptions) {
|
|
3528
3706
|
const options = { ...defaultOptions, ...baseOptions };
|
|
3529
|
-
return Apollo.useSuspenseQuery(
|
|
3707
|
+
return Apollo.useSuspenseQuery(GetRecordHistoryDocument, options);
|
|
3530
3708
|
}
|
|
3531
3709
|
export const TreeDataQueryDocument = gql `
|
|
3532
3710
|
query TreeDataQuery($treeId: ID!) {
|