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