@leav/ui 0.3.6-c780e07 → 0.3.6-c9a34f2
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.js +2 -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 +20 -4
- 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/_gqlTypes/index.d.ts +135 -18
- package/dist/_gqlTypes/index.js +97 -5
- package/dist/_gqlTypes/index.js.map +1 -1
- package/dist/_queries/records/getRecordFormQuery.js +2 -0
- package/dist/_queries/records/getRecordFormQuery.js.map +1 -1
- package/dist/_queries/records/recordFormAttributeFragment.js +2 -0
- package/dist/_queries/records/recordFormAttributeFragment.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 +36 -36
- package/dist/components/Explorer/DataView.js.map +1 -1
- package/dist/components/Explorer/Explorer.d.ts +9 -4
- package/dist/components/Explorer/Explorer.js +56 -10
- package/dist/components/Explorer/Explorer.js.map +1 -1
- package/dist/components/Explorer/ExplorerTitle.d.ts +7 -0
- package/dist/components/Explorer/ExplorerTitle.js +30 -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 +143 -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/_queries/useExplorerData.d.ts +27 -0
- package/dist/components/Explorer/_queries/useExplorerData.js +66 -0
- package/dist/components/Explorer/_queries/useExplorerData.js.map +1 -0
- package/dist/components/Explorer/_types.d.ts +48 -0
- package/dist/components/Explorer/_types.js +2 -0
- package/dist/components/Explorer/_types.js.map +1 -0
- package/dist/components/Explorer/display-view-filters/ExplorerFilterBar.d.ts +2 -0
- package/dist/components/Explorer/display-view-filters/ExplorerFilterBar.js +37 -0
- package/dist/components/Explorer/display-view-filters/ExplorerFilterBar.js.map +1 -0
- package/dist/components/Explorer/index.d.ts +9 -1
- package/dist/components/Explorer/index.js +6 -1
- 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/FilterDropDown.d.ts +3 -0
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/FilterDropDown.js +17 -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 +39 -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/SimpleFilterDropDown.d.ts +3 -0
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/SimpleFilterDropDown.js +69 -0
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/SimpleFilterDropDown.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 +47 -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 +14 -0
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/useConditionOptionsByType.js +82 -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/manage-view-settings/open-view-settings/EditSettingsContext.d.ts +14 -0
- package/dist/components/Explorer/manage-view-settings/open-view-settings/EditSettingsContext.js +15 -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/manage-view-settings/open-view-settings/EditSettingsContextProvider.js +17 -0
- package/dist/components/Explorer/manage-view-settings/open-view-settings/EditSettingsContextProvider.js.map +1 -0
- package/dist/components/Explorer/manage-view-settings/open-view-settings/SidePanel.d.ts +2 -0
- package/dist/components/Explorer/manage-view-settings/open-view-settings/SidePanel.js +19 -0
- 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.d.ts +1 -0
- package/dist/components/{RecordEdition/EditRecordContent/reducers/standardFieldReducer/useStandardFieldReducer.js → Explorer/manage-view-settings/open-view-settings/useEditSettings.js} +3 -3
- 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 +3 -0
- package/dist/components/Explorer/manage-view-settings/open-view-settings/useOpenViewSettings.js +21 -0
- package/dist/components/Explorer/manage-view-settings/open-view-settings/useOpenViewSettings.js.map +1 -0
- package/dist/components/Explorer/manage-view-settings/router-menu/SettingItem.d.ts +9 -0
- package/dist/components/Explorer/manage-view-settings/router-menu/SettingItem.js +55 -0
- 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 +7 -0
- package/dist/components/Explorer/manage-view-settings/router-menu/SettingsPanel.js +53 -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/Explorer/manage-view-settings/store-view-settings/useViewSettingsContext.js +7 -0
- 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 +13 -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 +130 -0
- package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsReducer.js +164 -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} +3 -3
- package/dist/components/Explorer/{useCreateMainAction.js → useCreateAction.js} +11 -7
- package/dist/components/Explorer/useCreateAction.js.map +1 -0
- package/dist/components/Explorer/useDeactivateAction.d.ts +1 -1
- package/dist/components/Explorer/useDeactivateAction.js +4 -3
- package/dist/components/Explorer/useDeactivateAction.js.map +1 -1
- package/dist/components/Explorer/useEditAction.d.ts +1 -1
- package/dist/components/Explorer/useEditAction.js +7 -5
- 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 +21 -0
- package/dist/components/Explorer/usePrimaryActions.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/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/RecordEdition/EditRecord/EditRecord.js +2 -2
- package/dist/components/RecordEdition/EditRecord/EditRecord.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/EditRecordContent.js +2 -2
- package/dist/components/RecordEdition/EditRecordContent/EditRecordContent.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/_types.d.ts +7 -20
- package/dist/components/RecordEdition/EditRecordContent/_types.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/antdUtils.d.ts +2 -1
- package/dist/components/RecordEdition/EditRecordContent/antdUtils.js +40 -33
- package/dist/components/RecordEdition/EditRecordContent/antdUtils.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/hooks/useRunActionsListAndFormatOnValue.js +3 -0
- package/dist/components/RecordEdition/EditRecordContent/hooks/useRunActionsListAndFormatOnValue.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/Container/Container.d.ts +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/Container/Container.js +2 -2
- package/dist/components/RecordEdition/EditRecordContent/uiElements/Container/Container.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/LinkField.js +1 -1
- 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 +3 -2
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardField.js +141 -193
- 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 +10 -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 +32 -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 +19 -48
- 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 +9 -77
- 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 +23 -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 +28 -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 +39 -64
- 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 +24 -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 +14 -9
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValue.js +64 -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/DSListSelect.js +126 -0
- 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 -6
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/_types.d.ts +13 -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 +37 -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/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/components/index.d.ts +1 -0
- package/dist/components/index.js +1 -0
- package/dist/components/index.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/useGetRecordForm/useGetRecordForm.d.ts +1 -0
- package/dist/hooks/useGetRecordForm/useGetRecordForm.js.map +1 -1
- package/dist/locales/en/shared.json +60 -7
- package/dist/locales/fr/shared.json +60 -7
- package/package.json +7 -2
- package/dist/components/Explorer/types.d.ts +0 -21
- package/dist/components/Explorer/types.js +0 -2
- package/dist/components/Explorer/types.js.map +0 -1
- package/dist/components/Explorer/useCreateMainAction.js.map +0 -1
- package/dist/components/Explorer/useExplorerData.d.ts +0 -11
- package/dist/components/Explorer/useExplorerData.js +0 -23
- package/dist/components/Explorer/useExplorerData.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 +0 -6
- 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 +0 -9
- 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/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 -89
- 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 +0 -105
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/ValuesList/MonoValueSelect.js.map +0 -1
|
@@ -99,6 +99,7 @@ export const mockFormAttribute = {
|
|
|
99
99
|
values_list: {
|
|
100
100
|
enable: false,
|
|
101
101
|
allowFreeEntry: false,
|
|
102
|
+
allowListUpdate: false,
|
|
102
103
|
values: []
|
|
103
104
|
},
|
|
104
105
|
permissions: {
|
|
@@ -120,7 +121,7 @@ export const mockFormAttributeTree = {
|
|
|
120
121
|
...mockFormAttribute,
|
|
121
122
|
...mockAttributeTree,
|
|
122
123
|
metadata_fields: null,
|
|
123
|
-
treeValuesList: { enable: false, allowFreeEntry: false, values: [] }
|
|
124
|
+
treeValuesList: { enable: false, allowFreeEntry: false, allowListUpdate: false, values: [] }
|
|
124
125
|
};
|
|
125
126
|
export const mockSelectedAttributeA = {
|
|
126
127
|
id: 'A',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"attribute.js","sourceRoot":"","sources":["../../../src/__mocks__/common/attribute.ts"],"names":[],"mappings":"AAIA,OAAO,EAEH,eAAe,EACf,aAAa,EAKhB,MAAM,eAAe,CAAC;AAEvB,MAAM,CAAC,MAAM,oBAAoB,GAA8B;IAC3D,EAAE,EAAE,cAAc;IAClB,IAAI,EAAE,aAAa,CAAC,MAAM;IAC1B,MAAM,EAAE,eAAe,CAAC,IAAI;IAC5B,KAAK,EAAE;QACH,EAAE,EAAE,cAAc;QAClB,EAAE,EAAE,cAAc;KACrB;IACD,MAAM,EAAE,KAAK;CAChB,CAAC;AAEF,MAAM,CAAC,MAAM,mBAAmB,GAAgD;IAC5E,EAAE,EAAE,cAAc;IAClB,KAAK,EAAE;QACH,EAAE,EAAE,cAAc;QAClB,EAAE,EAAE,cAAc;KACrB;IACD,IAAI,EAAE,aAAa,CAAC,MAAM;IAC1B,MAAM,EAAE,eAAe,CAAC,IAAI;IAC5B,MAAM,EAAE,KAAK;CAChB,CAAC;AAEF,MAAM,CAAC,MAAM,wBAAwB,GAA6B;IAC9D,EAAE,EAAE,cAAc;IAClB,KAAK,EAAE;QACH,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IAAI,EAAE,aAAa,CAAC,MAAM;IAC1B,MAAM,EAAE,eAAe,CAAC,QAAQ;IAChC,KAAK,EAAE;QACH,EAAE,EAAE,MAAM;QACV,EAAE,EAAE,MAAM;KACb;IACD,WAAW,EAAE;QACT,EAAE,EAAE,cAAc;QAClB,EAAE,EAAE,cAAc;KACrB;IACD,MAAM,EAAE,KAAK;IACb,QAAQ,EAAE,KAAK;IACf,eAAe,EAAE,KAAK;IACtB,WAAW,EAAE;QACT,MAAM,EAAE,KAAK;QACb,cAAc,EAAE,KAAK;QACrB,MAAM,EAAE,EAAE;KACb;IACD,WAAW,EAAE;QACT,gBAAgB,EAAE,IAAI;QACtB,UAAU,EAAE,IAAI;KACnB;IACD,eAAe,EAAE;QACb;YACI,GAAG,wBAAwB;YAC3B,WAAW,EAAE;gBACT,gBAAgB,EAAE,IAAI;gBACtB,UAAU,EAAE,IAAI;aACnB;SACJ;KACJ;IACD,aAAa,EAAE,IAAI;CACtB,CAAC;AAEF,MAAM,CAAC,MAAM,qBAAqB,GAA6C;IAC3E,GAAG,iBAAiB;IACpB,GAAG,iBAAiB;IACpB,eAAe,EAAE,IAAI;IACrB,cAAc,EAAE,EAAC,MAAM,EAAE,KAAK,EAAE,cAAc,EAAE,KAAK,EAAE,MAAM,EAAE,EAAE,EAAC;
|
|
1
|
+
{"version":3,"file":"attribute.js","sourceRoot":"","sources":["../../../src/__mocks__/common/attribute.ts"],"names":[],"mappings":"AAIA,OAAO,EAEH,eAAe,EACf,aAAa,EAKhB,MAAM,eAAe,CAAC;AAEvB,MAAM,CAAC,MAAM,oBAAoB,GAA8B;IAC3D,EAAE,EAAE,cAAc;IAClB,IAAI,EAAE,aAAa,CAAC,MAAM;IAC1B,MAAM,EAAE,eAAe,CAAC,IAAI;IAC5B,KAAK,EAAE;QACH,EAAE,EAAE,cAAc;QAClB,EAAE,EAAE,cAAc;KACrB;IACD,MAAM,EAAE,KAAK;CAChB,CAAC;AAEF,MAAM,CAAC,MAAM,mBAAm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AAG;IACP,IAAI,EAAE,aAAa,CAAC,MAAM;IAC1B,IAAI,EAAE,GAAG;IACT,OAAO,EAAE,UAAU;IACnB,KAAK,EAAE,EAAC,EAAE,EAAE,cAAc,EAAC;IAC3B,eAAe,EAAE,KAAK;CACzB,CAAC;AAEF,MAAM,CAAC,MAAM,sBAAsB,GAAuB;IACtD,GAAG,sBAAsB;IACzB,EAAE,EAAE,GAAG;IACP,IAAI,EAAE,GAAG;CACZ,CAAC;AAEF,MAAM,CAAC,MAAM,sBAAsB,GAAuB;IACtD,GAAG,sBAAsB;IACzB,EAAE,EAAE,GAAG;IACP,IAAI,EAAE,GAAG;CACZ,CAAC"}
|
|
@@ -4,6 +4,7 @@ import { FormElement, IFormElementProps } from '../../components/RecordEdition/E
|
|
|
4
4
|
import { IRecordPropertyTree } from '../../_queries/records/getRecordPropertiesQuery';
|
|
5
5
|
export declare const mockFormElementContainer: FormElement<{}>;
|
|
6
6
|
export declare const mockFormElementInput: FormElement<{}>;
|
|
7
|
+
export declare const mockFormElementMultipleInput: FormElement<{}>;
|
|
7
8
|
export declare const mockFormElementDate: FormElement<{}>;
|
|
8
9
|
export declare const mockFormElementInputVersionable: FormElement<{}>;
|
|
9
10
|
export declare const mockLinkValue: {
|
|
@@ -11,11 +12,16 @@ export declare const mockLinkValue: {
|
|
|
11
12
|
id: string;
|
|
12
13
|
whoAmI: {
|
|
13
14
|
id: string;
|
|
14
|
-
label
|
|
15
|
-
subLabel
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
15
|
+
label: string;
|
|
16
|
+
subLabel: string;
|
|
17
|
+
library: {
|
|
18
|
+
id: string;
|
|
19
|
+
label: {
|
|
20
|
+
fr: string;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
preview: import("@leav/utils").IPreviewScalar;
|
|
24
|
+
color: string;
|
|
19
25
|
};
|
|
20
26
|
};
|
|
21
27
|
created_at: number;
|
|
@@ -3,7 +3,7 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
|
3
3
|
// This file is released under LGPL V3
|
|
4
4
|
// License text available at https://www.gnu.org/licenses/lgpl-3.0.txt
|
|
5
5
|
import { FormFieldTypes, FormUIElementTypes, TabsDirection } from '@leav/utils';
|
|
6
|
-
import { AttributeType, FormElementTypes, LibraryBehavior } from '../../_gqlTypes';
|
|
6
|
+
import { AttributeFormat, AttributeType, FormElementTypes, LibraryBehavior } from '../../_gqlTypes';
|
|
7
7
|
import { mockRecord } from '../../__mocks__/common/record';
|
|
8
8
|
import { mockAttributeSimple, mockFormAttribute } from './attribute';
|
|
9
9
|
import { mockModifier } from './value';
|
|
@@ -43,7 +43,23 @@ export const mockFormElementInput = {
|
|
|
43
43
|
id: 'input_element',
|
|
44
44
|
containerId: '__root',
|
|
45
45
|
settings: { attribute: 'test_attribute' },
|
|
46
|
-
attribute: { ...mockFormAttribute, versions_conf: { versionable: false, profile: null } },
|
|
46
|
+
attribute: { ...mockFormAttribute, format: AttributeFormat.text, versions_conf: { versionable: false, profile: null } },
|
|
47
|
+
uiElement: () => _jsx("div", { children: FormFieldTypes.TEXT_INPUT }),
|
|
48
|
+
type: FormElementTypes.field,
|
|
49
|
+
uiElementType: FormFieldTypes.TEXT_INPUT
|
|
50
|
+
};
|
|
51
|
+
export const mockFormElementMultipleInput = {
|
|
52
|
+
...formElementBase,
|
|
53
|
+
id: 'input_element',
|
|
54
|
+
containerId: '__root',
|
|
55
|
+
settings: { attribute: 'test_attribute' },
|
|
56
|
+
attribute: {
|
|
57
|
+
...mockFormAttribute,
|
|
58
|
+
type: AttributeType.advanced,
|
|
59
|
+
multiple_values: true,
|
|
60
|
+
format: AttributeFormat.text,
|
|
61
|
+
versions_conf: { versionable: false, profile: null }
|
|
62
|
+
},
|
|
47
63
|
uiElement: () => _jsx("div", { children: FormFieldTypes.TEXT_INPUT }),
|
|
48
64
|
type: FormElementTypes.field,
|
|
49
65
|
uiElementType: FormFieldTypes.TEXT_INPUT
|
|
@@ -94,7 +110,7 @@ const mockFormAttributeLink = {
|
|
|
94
110
|
}
|
|
95
111
|
},
|
|
96
112
|
system: false,
|
|
97
|
-
linkValuesList: { enable: false, allowFreeEntry: false, values: [] }
|
|
113
|
+
linkValuesList: { enable: false, allowFreeEntry: false, allowListUpdate: false, values: [] }
|
|
98
114
|
};
|
|
99
115
|
export const mockFormElementLink = {
|
|
100
116
|
...formElementBase,
|
|
@@ -210,7 +226,7 @@ export const mockFormElementTree = {
|
|
|
210
226
|
en: 'My tree'
|
|
211
227
|
}
|
|
212
228
|
},
|
|
213
|
-
treeValuesList: { enable: false, allowFreeEntry: false, values: [] }
|
|
229
|
+
treeValuesList: { enable: false, allowFreeEntry: false, allowListUpdate: false, values: [] }
|
|
214
230
|
},
|
|
215
231
|
values: [
|
|
216
232
|
{ ...mockTreeValueA },
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"form.js","sourceRoot":"","sources":["../../../src/__mocks__/common/form.tsx"],"names":[],"mappings":";AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EACH,cAAc,EACd,kBAAkB,EAIlB,aAAa,EAChB,MAAM,aAAa,CAAC;AAErB,OAAO,EAAC,aAAa,EAAE,gBAAgB,EAAE,eAAe,EAAC,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"form.js","sourceRoot":"","sources":["../../../src/__mocks__/common/form.tsx"],"names":[],"mappings":";AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EACH,cAAc,EACd,kBAAkB,EAIlB,aAAa,EAChB,MAAM,aAAa,CAAC;AAErB,OAAO,EAAC,eAAe,EAAE,aAAa,EAAE,gBAAgB,EAAE,eAAe,EAAC,MAAM,eAAe,CAAC;AAChG,OAAO,EAAC,UAAU,EAAC,MAAM,6BAA6B,CAAC;AAGvD,OAAO,EAAC,mBAAmB,EAAE,iBAAiB,EAAC,MAAM,aAAa,CAAC;AACnE,OAAO,EAAC,YAAY,EAAC,MAAM,S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15 @@
|
|
|
1
1
|
import { IPreviewScalar } from '@leav/utils';
|
|
2
|
-
import { IRecordIdentityWhoAmI } from '../../types/records';
|
|
3
2
|
export declare const mockPreviews: IPreviewScalar;
|
|
4
|
-
export declare const mockRecord:
|
|
3
|
+
export declare const mockRecord: {
|
|
4
|
+
id: string;
|
|
5
|
+
label: string;
|
|
6
|
+
subLabel: string;
|
|
7
|
+
library: {
|
|
8
|
+
id: string;
|
|
9
|
+
label: {
|
|
10
|
+
fr: string;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
preview: IPreviewScalar;
|
|
14
|
+
color: string;
|
|
15
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"record.js","sourceRoot":"","sources":["../../../src/__mocks__/common/record.ts"],"names":[],"mappings":"AAMA,MAAM,CAAC,MAAM,YAAY,GAAmB;IACxC,IAAI,EAAE,oBAAoB;IAC1B,KAAK,EAAE,qBAAqB;IAC5B,MAAM,EAAE,sBAAsB;IAC9B,GAAG,EAAE,mBAAmB;IACxB,IAAI,EAAE,oBAAoB;IAC1B,QAAQ,EAAE,wBAAwB;IAClC,IAAI,EAAE,IAAI;CACb,CAAC;AAEF,MAAM,CAAC,MAAM,UAAU,
|
|
1
|
+
{"version":3,"file":"record.js","sourceRoot":"","sources":["../../../src/__mocks__/common/record.ts"],"names":[],"mappings":"AAMA,MAAM,CAAC,MAAM,YAAY,GAAmB;IACxC,IAAI,EAAE,oBAAoB;IAC1B,KAAK,EAAE,qBAAqB;IAC5B,MAAM,EAAE,sBAAsB;IAC9B,GAAG,EAAE,mBAAmB;IACxB,IAAI,EAAE,oBAAoB;IAC1B,QAAQ,EAAE,wBAAwB;IAClC,IAAI,EAAE,IAAI;CACb,CAAC;AAEF,MAAM,CAAC,MAAM,UAAU,GAAG;IACtB,EAAE,EAAE,QAAQ;IACZ,KAAK,EAAE,cAAc;IACrB,QAAQ,EAAE,iBAAiB;IAC3B,OAAO,EAAE;QACL,EAAE,EAAE,YAAY;QAChB,KAAK,EAAE,EAAC,EAAE,EAAE,UAAU,EAAC;KAC1B;IACD,OAAO,EAAE,YAAY;IACrB,KAAK,EAAE,MAAM;CACgB,CAAC"}
|
|
@@ -701,6 +701,7 @@ export declare enum ValueVersionMode {
|
|
|
701
701
|
}
|
|
702
702
|
export type ValuesListConfInput = {
|
|
703
703
|
allowFreeEntry?: InputMaybe<Scalars['Boolean']>;
|
|
704
|
+
allowListUpdate?: InputMaybe<Scalars['Boolean']>;
|
|
704
705
|
enable: Scalars['Boolean'];
|
|
705
706
|
values?: InputMaybe<Array<Scalars['String']>>;
|
|
706
707
|
};
|
|
@@ -1497,6 +1498,7 @@ export type RecordFormElementFragment = {
|
|
|
1497
1498
|
linkValuesList?: {
|
|
1498
1499
|
enable: boolean;
|
|
1499
1500
|
allowFreeEntry?: boolean | null;
|
|
1501
|
+
allowListUpdate?: boolean | null;
|
|
1500
1502
|
values?: Array<{
|
|
1501
1503
|
id: string;
|
|
1502
1504
|
whoAmI: {
|
|
@@ -1542,6 +1544,7 @@ export type RecordFormElementFragment = {
|
|
|
1542
1544
|
values_list?: {
|
|
1543
1545
|
enable: boolean;
|
|
1544
1546
|
allowFreeEntry?: boolean | null;
|
|
1547
|
+
allowListUpdate?: boolean | null;
|
|
1545
1548
|
dateRangeValues?: Array<{
|
|
1546
1549
|
from?: string | null;
|
|
1547
1550
|
to?: string | null;
|
|
@@ -1549,6 +1552,7 @@ export type RecordFormElementFragment = {
|
|
|
1549
1552
|
} | {
|
|
1550
1553
|
enable: boolean;
|
|
1551
1554
|
allowFreeEntry?: boolean | null;
|
|
1555
|
+
allowListUpdate?: boolean | null;
|
|
1552
1556
|
values?: Array<string> | null;
|
|
1553
1557
|
} | null;
|
|
1554
1558
|
metadata_fields?: Array<{
|
|
@@ -1567,6 +1571,7 @@ export type RecordFormElementFragment = {
|
|
|
1567
1571
|
values_list?: {
|
|
1568
1572
|
enable: boolean;
|
|
1569
1573
|
allowFreeEntry?: boolean | null;
|
|
1574
|
+
allowListUpdate?: boolean | null;
|
|
1570
1575
|
dateRangeValues?: Array<{
|
|
1571
1576
|
from?: string | null;
|
|
1572
1577
|
to?: string | null;
|
|
@@ -1574,6 +1579,7 @@ export type RecordFormElementFragment = {
|
|
|
1574
1579
|
} | {
|
|
1575
1580
|
enable: boolean;
|
|
1576
1581
|
allowFreeEntry?: boolean | null;
|
|
1582
|
+
allowListUpdate?: boolean | null;
|
|
1577
1583
|
values?: Array<string> | null;
|
|
1578
1584
|
} | null;
|
|
1579
1585
|
permissions: {
|
|
@@ -1606,6 +1612,7 @@ export type RecordFormElementFragment = {
|
|
|
1606
1612
|
values_list?: {
|
|
1607
1613
|
enable: boolean;
|
|
1608
1614
|
allowFreeEntry?: boolean | null;
|
|
1615
|
+
allowListUpdate?: boolean | null;
|
|
1609
1616
|
dateRangeValues?: Array<{
|
|
1610
1617
|
from?: string | null;
|
|
1611
1618
|
to?: string | null;
|
|
@@ -1613,6 +1620,7 @@ export type RecordFormElementFragment = {
|
|
|
1613
1620
|
} | {
|
|
1614
1621
|
enable: boolean;
|
|
1615
1622
|
allowFreeEntry?: boolean | null;
|
|
1623
|
+
allowListUpdate?: boolean | null;
|
|
1616
1624
|
values?: Array<string> | null;
|
|
1617
1625
|
} | null;
|
|
1618
1626
|
metadata_fields?: Array<{
|
|
@@ -1635,6 +1643,7 @@ export type RecordFormElementFragment = {
|
|
|
1635
1643
|
treeValuesList?: {
|
|
1636
1644
|
enable: boolean;
|
|
1637
1645
|
allowFreeEntry?: boolean | null;
|
|
1646
|
+
allowListUpdate?: boolean | null;
|
|
1638
1647
|
values?: Array<{
|
|
1639
1648
|
id: string;
|
|
1640
1649
|
record: {
|
|
@@ -1699,6 +1708,7 @@ export type RecordFormElementFragment = {
|
|
|
1699
1708
|
values_list?: {
|
|
1700
1709
|
enable: boolean;
|
|
1701
1710
|
allowFreeEntry?: boolean | null;
|
|
1711
|
+
allowListUpdate?: boolean | null;
|
|
1702
1712
|
dateRangeValues?: Array<{
|
|
1703
1713
|
from?: string | null;
|
|
1704
1714
|
to?: string | null;
|
|
@@ -1706,6 +1716,7 @@ export type RecordFormElementFragment = {
|
|
|
1706
1716
|
} | {
|
|
1707
1717
|
enable: boolean;
|
|
1708
1718
|
allowFreeEntry?: boolean | null;
|
|
1719
|
+
allowListUpdate?: boolean | null;
|
|
1709
1720
|
values?: Array<string> | null;
|
|
1710
1721
|
} | null;
|
|
1711
1722
|
metadata_fields?: Array<{
|
|
@@ -2139,6 +2150,7 @@ export type RecordFormAttributeLinkAttributeFragment = {
|
|
|
2139
2150
|
linkValuesList?: {
|
|
2140
2151
|
enable: boolean;
|
|
2141
2152
|
allowFreeEntry?: boolean | null;
|
|
2153
|
+
allowListUpdate?: boolean | null;
|
|
2142
2154
|
values?: Array<{
|
|
2143
2155
|
id: string;
|
|
2144
2156
|
whoAmI: {
|
|
@@ -2184,6 +2196,7 @@ export type RecordFormAttributeLinkAttributeFragment = {
|
|
|
2184
2196
|
values_list?: {
|
|
2185
2197
|
enable: boolean;
|
|
2186
2198
|
allowFreeEntry?: boolean | null;
|
|
2199
|
+
allowListUpdate?: boolean | null;
|
|
2187
2200
|
dateRangeValues?: Array<{
|
|
2188
2201
|
from?: string | null;
|
|
2189
2202
|
to?: string | null;
|
|
@@ -2191,6 +2204,7 @@ export type RecordFormAttributeLinkAttributeFragment = {
|
|
|
2191
2204
|
} | {
|
|
2192
2205
|
enable: boolean;
|
|
2193
2206
|
allowFreeEntry?: boolean | null;
|
|
2207
|
+
allowListUpdate?: boolean | null;
|
|
2194
2208
|
values?: Array<string> | null;
|
|
2195
2209
|
} | null;
|
|
2196
2210
|
metadata_fields?: Array<{
|
|
@@ -2210,6 +2224,7 @@ export type RecordFormAttributeStandardAttributeFragment = {
|
|
|
2210
2224
|
values_list?: {
|
|
2211
2225
|
enable: boolean;
|
|
2212
2226
|
allowFreeEntry?: boolean | null;
|
|
2227
|
+
allowListUpdate?: boolean | null;
|
|
2213
2228
|
dateRangeValues?: Array<{
|
|
2214
2229
|
from?: string | null;
|
|
2215
2230
|
to?: string | null;
|
|
@@ -2217,6 +2232,7 @@ export type RecordFormAttributeStandardAttributeFragment = {
|
|
|
2217
2232
|
} | {
|
|
2218
2233
|
enable: boolean;
|
|
2219
2234
|
allowFreeEntry?: boolean | null;
|
|
2235
|
+
allowListUpdate?: boolean | null;
|
|
2220
2236
|
values?: Array<string> | null;
|
|
2221
2237
|
} | null;
|
|
2222
2238
|
permissions: {
|
|
@@ -2249,6 +2265,7 @@ export type RecordFormAttributeStandardAttributeFragment = {
|
|
|
2249
2265
|
values_list?: {
|
|
2250
2266
|
enable: boolean;
|
|
2251
2267
|
allowFreeEntry?: boolean | null;
|
|
2268
|
+
allowListUpdate?: boolean | null;
|
|
2252
2269
|
dateRangeValues?: Array<{
|
|
2253
2270
|
from?: string | null;
|
|
2254
2271
|
to?: string | null;
|
|
@@ -2256,6 +2273,7 @@ export type RecordFormAttributeStandardAttributeFragment = {
|
|
|
2256
2273
|
} | {
|
|
2257
2274
|
enable: boolean;
|
|
2258
2275
|
allowFreeEntry?: boolean | null;
|
|
2276
|
+
allowListUpdate?: boolean | null;
|
|
2259
2277
|
values?: Array<string> | null;
|
|
2260
2278
|
} | null;
|
|
2261
2279
|
metadata_fields?: Array<{
|
|
@@ -2279,6 +2297,7 @@ export type RecordFormAttributeTreeAttributeFragment = {
|
|
|
2279
2297
|
treeValuesList?: {
|
|
2280
2298
|
enable: boolean;
|
|
2281
2299
|
allowFreeEntry?: boolean | null;
|
|
2300
|
+
allowListUpdate?: boolean | null;
|
|
2282
2301
|
values?: Array<{
|
|
2283
2302
|
id: string;
|
|
2284
2303
|
record: {
|
|
@@ -2343,6 +2362,7 @@ export type RecordFormAttributeTreeAttributeFragment = {
|
|
|
2343
2362
|
values_list?: {
|
|
2344
2363
|
enable: boolean;
|
|
2345
2364
|
allowFreeEntry?: boolean | null;
|
|
2365
|
+
allowListUpdate?: boolean | null;
|
|
2346
2366
|
dateRangeValues?: Array<{
|
|
2347
2367
|
from?: string | null;
|
|
2348
2368
|
to?: string | null;
|
|
@@ -2350,6 +2370,7 @@ export type RecordFormAttributeTreeAttributeFragment = {
|
|
|
2350
2370
|
} | {
|
|
2351
2371
|
enable: boolean;
|
|
2352
2372
|
allowFreeEntry?: boolean | null;
|
|
2373
|
+
allowListUpdate?: boolean | null;
|
|
2353
2374
|
values?: Array<string> | null;
|
|
2354
2375
|
} | null;
|
|
2355
2376
|
metadata_fields?: Array<{
|
|
@@ -2361,6 +2382,7 @@ export type RecordFormAttributeFragment = RecordFormAttributeLinkAttributeFragme
|
|
|
2361
2382
|
export type StandardValuesListFragmentStandardDateRangeValuesListConfFragment = {
|
|
2362
2383
|
enable: boolean;
|
|
2363
2384
|
allowFreeEntry?: boolean | null;
|
|
2385
|
+
allowListUpdate?: boolean | null;
|
|
2364
2386
|
dateRangeValues?: Array<{
|
|
2365
2387
|
from?: string | null;
|
|
2366
2388
|
to?: string | null;
|
|
@@ -2369,6 +2391,7 @@ export type StandardValuesListFragmentStandardDateRangeValuesListConfFragment =
|
|
|
2369
2391
|
export type StandardValuesListFragmentStandardStringValuesListConfFragment = {
|
|
2370
2392
|
enable: boolean;
|
|
2371
2393
|
allowFreeEntry?: boolean | null;
|
|
2394
|
+
allowListUpdate?: boolean | null;
|
|
2372
2395
|
values?: Array<string> | null;
|
|
2373
2396
|
};
|
|
2374
2397
|
export type StandardValuesListFragmentFragment = StandardValuesListFragmentStandardDateRangeValuesListConfFragment | StandardValuesListFragmentStandardStringValuesListConfFragment;
|
|
@@ -2500,6 +2523,13 @@ export type ViewDetailsFragment = {
|
|
|
2500
2523
|
value?: any | null;
|
|
2501
2524
|
}> | null;
|
|
2502
2525
|
};
|
|
2526
|
+
export type AttributePropertiesFragment = {
|
|
2527
|
+
id: string;
|
|
2528
|
+
label?: any | null;
|
|
2529
|
+
type: AttributeType;
|
|
2530
|
+
format?: AttributeFormat | null;
|
|
2531
|
+
multiple_values: boolean;
|
|
2532
|
+
};
|
|
2503
2533
|
export type PropertyValueLinkValueFragment = {
|
|
2504
2534
|
linkPayload?: {
|
|
2505
2535
|
id: string;
|
|
@@ -2515,9 +2545,6 @@ export type PropertyValueLinkValueFragment = {
|
|
|
2515
2545
|
};
|
|
2516
2546
|
};
|
|
2517
2547
|
} | null;
|
|
2518
|
-
attribute: {
|
|
2519
|
-
type: AttributeType;
|
|
2520
|
-
};
|
|
2521
2548
|
};
|
|
2522
2549
|
export type PropertyValueTreeValueFragment = {
|
|
2523
2550
|
treePayload?: {
|
|
@@ -2536,15 +2563,9 @@ export type PropertyValueTreeValueFragment = {
|
|
|
2536
2563
|
};
|
|
2537
2564
|
};
|
|
2538
2565
|
} | null;
|
|
2539
|
-
attribute: {
|
|
2540
|
-
type: AttributeType;
|
|
2541
|
-
};
|
|
2542
2566
|
};
|
|
2543
2567
|
export type PropertyValueValueFragment = {
|
|
2544
2568
|
valuePayload?: any | null;
|
|
2545
|
-
attribute: {
|
|
2546
|
-
type: AttributeType;
|
|
2547
|
-
};
|
|
2548
2569
|
};
|
|
2549
2570
|
export type PropertyValueFragment = PropertyValueLinkValueFragment | PropertyValueTreeValueFragment | PropertyValueValueFragment;
|
|
2550
2571
|
export type CheckApplicationExistenceQueryVariables = Exact<{
|
|
@@ -3953,6 +3974,7 @@ export type RecordFormQuery = {
|
|
|
3953
3974
|
linkValuesList?: {
|
|
3954
3975
|
enable: boolean;
|
|
3955
3976
|
allowFreeEntry?: boolean | null;
|
|
3977
|
+
allowListUpdate?: boolean | null;
|
|
3956
3978
|
values?: Array<{
|
|
3957
3979
|
id: string;
|
|
3958
3980
|
whoAmI: {
|
|
@@ -3998,6 +4020,7 @@ export type RecordFormQuery = {
|
|
|
3998
4020
|
values_list?: {
|
|
3999
4021
|
enable: boolean;
|
|
4000
4022
|
allowFreeEntry?: boolean | null;
|
|
4023
|
+
allowListUpdate?: boolean | null;
|
|
4001
4024
|
dateRangeValues?: Array<{
|
|
4002
4025
|
from?: string | null;
|
|
4003
4026
|
to?: string | null;
|
|
@@ -4005,6 +4028,7 @@ export type RecordFormQuery = {
|
|
|
4005
4028
|
} | {
|
|
4006
4029
|
enable: boolean;
|
|
4007
4030
|
allowFreeEntry?: boolean | null;
|
|
4031
|
+
allowListUpdate?: boolean | null;
|
|
4008
4032
|
values?: Array<string> | null;
|
|
4009
4033
|
} | null;
|
|
4010
4034
|
metadata_fields?: Array<{
|
|
@@ -4023,6 +4047,7 @@ export type RecordFormQuery = {
|
|
|
4023
4047
|
values_list?: {
|
|
4024
4048
|
enable: boolean;
|
|
4025
4049
|
allowFreeEntry?: boolean | null;
|
|
4050
|
+
allowListUpdate?: boolean | null;
|
|
4026
4051
|
dateRangeValues?: Array<{
|
|
4027
4052
|
from?: string | null;
|
|
4028
4053
|
to?: string | null;
|
|
@@ -4030,6 +4055,7 @@ export type RecordFormQuery = {
|
|
|
4030
4055
|
} | {
|
|
4031
4056
|
enable: boolean;
|
|
4032
4057
|
allowFreeEntry?: boolean | null;
|
|
4058
|
+
allowListUpdate?: boolean | null;
|
|
4033
4059
|
values?: Array<string> | null;
|
|
4034
4060
|
} | null;
|
|
4035
4061
|
permissions: {
|
|
@@ -4062,6 +4088,7 @@ export type RecordFormQuery = {
|
|
|
4062
4088
|
values_list?: {
|
|
4063
4089
|
enable: boolean;
|
|
4064
4090
|
allowFreeEntry?: boolean | null;
|
|
4091
|
+
allowListUpdate?: boolean | null;
|
|
4065
4092
|
dateRangeValues?: Array<{
|
|
4066
4093
|
from?: string | null;
|
|
4067
4094
|
to?: string | null;
|
|
@@ -4069,6 +4096,7 @@ export type RecordFormQuery = {
|
|
|
4069
4096
|
} | {
|
|
4070
4097
|
enable: boolean;
|
|
4071
4098
|
allowFreeEntry?: boolean | null;
|
|
4099
|
+
allowListUpdate?: boolean | null;
|
|
4072
4100
|
values?: Array<string> | null;
|
|
4073
4101
|
} | null;
|
|
4074
4102
|
metadata_fields?: Array<{
|
|
@@ -4091,6 +4119,7 @@ export type RecordFormQuery = {
|
|
|
4091
4119
|
treeValuesList?: {
|
|
4092
4120
|
enable: boolean;
|
|
4093
4121
|
allowFreeEntry?: boolean | null;
|
|
4122
|
+
allowListUpdate?: boolean | null;
|
|
4094
4123
|
values?: Array<{
|
|
4095
4124
|
id: string;
|
|
4096
4125
|
record: {
|
|
@@ -4155,6 +4184,7 @@ export type RecordFormQuery = {
|
|
|
4155
4184
|
values_list?: {
|
|
4156
4185
|
enable: boolean;
|
|
4157
4186
|
allowFreeEntry?: boolean | null;
|
|
4187
|
+
allowListUpdate?: boolean | null;
|
|
4158
4188
|
dateRangeValues?: Array<{
|
|
4159
4189
|
from?: string | null;
|
|
4160
4190
|
to?: string | null;
|
|
@@ -4162,6 +4192,7 @@ export type RecordFormQuery = {
|
|
|
4162
4192
|
} | {
|
|
4163
4193
|
enable: boolean;
|
|
4164
4194
|
allowFreeEntry?: boolean | null;
|
|
4195
|
+
allowListUpdate?: boolean | null;
|
|
4165
4196
|
values?: Array<string> | null;
|
|
4166
4197
|
} | null;
|
|
4167
4198
|
metadata_fields?: Array<{
|
|
@@ -5908,10 +5939,14 @@ export type AddViewMutation = {
|
|
|
5908
5939
|
export type ExplorerQueryVariables = Exact<{
|
|
5909
5940
|
libraryId: Scalars['ID'];
|
|
5910
5941
|
attributeIds: Array<Scalars['ID']> | Scalars['ID'];
|
|
5942
|
+
pagination?: InputMaybe<RecordsPagination>;
|
|
5911
5943
|
filters?: InputMaybe<Array<InputMaybe<RecordFilterInput>> | InputMaybe<RecordFilterInput>>;
|
|
5944
|
+
multipleSort?: InputMaybe<Array<RecordSortInput> | RecordSortInput>;
|
|
5945
|
+
searchQuery?: InputMaybe<Scalars['String']>;
|
|
5912
5946
|
}>;
|
|
5913
5947
|
export type ExplorerQuery = {
|
|
5914
5948
|
records: {
|
|
5949
|
+
totalCount?: number | null;
|
|
5915
5950
|
list: Array<{
|
|
5916
5951
|
id: string;
|
|
5917
5952
|
whoAmI: {
|
|
@@ -5927,6 +5962,13 @@ export type ExplorerQuery = {
|
|
|
5927
5962
|
};
|
|
5928
5963
|
properties: Array<{
|
|
5929
5964
|
attributeId: string;
|
|
5965
|
+
attributeProperties: {
|
|
5966
|
+
id: string;
|
|
5967
|
+
label?: any | null;
|
|
5968
|
+
type: AttributeType;
|
|
5969
|
+
format?: AttributeFormat | null;
|
|
5970
|
+
multiple_values: boolean;
|
|
5971
|
+
};
|
|
5930
5972
|
values: Array<{
|
|
5931
5973
|
linkPayload?: {
|
|
5932
5974
|
id: string;
|
|
@@ -5942,9 +5984,6 @@ export type ExplorerQuery = {
|
|
|
5942
5984
|
};
|
|
5943
5985
|
};
|
|
5944
5986
|
} | null;
|
|
5945
|
-
attribute: {
|
|
5946
|
-
type: AttributeType;
|
|
5947
|
-
};
|
|
5948
5987
|
} | {
|
|
5949
5988
|
treePayload?: {
|
|
5950
5989
|
record: {
|
|
@@ -5962,19 +6001,35 @@ export type ExplorerQuery = {
|
|
|
5962
6001
|
};
|
|
5963
6002
|
};
|
|
5964
6003
|
} | null;
|
|
5965
|
-
attribute: {
|
|
5966
|
-
type: AttributeType;
|
|
5967
|
-
};
|
|
5968
6004
|
} | {
|
|
5969
6005
|
valuePayload?: any | null;
|
|
5970
|
-
attribute: {
|
|
5971
|
-
type: AttributeType;
|
|
5972
|
-
};
|
|
5973
6006
|
}>;
|
|
5974
6007
|
}>;
|
|
5975
6008
|
}>;
|
|
5976
6009
|
};
|
|
5977
6010
|
};
|
|
6011
|
+
export type ExplorerLibraryDataQueryVariables = Exact<{
|
|
6012
|
+
libraryId: Scalars['ID'];
|
|
6013
|
+
}>;
|
|
6014
|
+
export type ExplorerLibraryDataQuery = {
|
|
6015
|
+
libraries?: {
|
|
6016
|
+
list: Array<{
|
|
6017
|
+
id: string;
|
|
6018
|
+
label?: any | null;
|
|
6019
|
+
}>;
|
|
6020
|
+
} | null;
|
|
6021
|
+
};
|
|
6022
|
+
export type TreeDataQueryQueryVariables = Exact<{
|
|
6023
|
+
treeId: Scalars['ID'];
|
|
6024
|
+
}>;
|
|
6025
|
+
export type TreeDataQueryQuery = {
|
|
6026
|
+
trees?: {
|
|
6027
|
+
list: Array<{
|
|
6028
|
+
id: string;
|
|
6029
|
+
label?: any | null;
|
|
6030
|
+
}>;
|
|
6031
|
+
} | null;
|
|
6032
|
+
};
|
|
5978
6033
|
export declare const RecordIdentityFragmentDoc: Apollo.DocumentNode;
|
|
5979
6034
|
export declare const DetailsApplicationFragmentDoc: Apollo.DocumentNode;
|
|
5980
6035
|
export declare const AttributeDetailsFragmentDoc: Apollo.DocumentNode;
|
|
@@ -5994,6 +6049,7 @@ export declare const TreeDetailsFragmentDoc: Apollo.DocumentNode;
|
|
|
5994
6049
|
export declare const TreeNodeChildFragmentDoc: Apollo.DocumentNode;
|
|
5995
6050
|
export declare const ViewDetailsFragmentDoc: Apollo.DocumentNode;
|
|
5996
6051
|
export declare const PropertyValueFragmentDoc: Apollo.DocumentNode;
|
|
6052
|
+
export declare const AttributePropertiesFragmentDoc: Apollo.DocumentNode;
|
|
5997
6053
|
export declare const CheckApplicationExistenceDocument: Apollo.DocumentNode;
|
|
5998
6054
|
/**
|
|
5999
6055
|
* __useCheckApplicationExistenceQuery__
|
|
@@ -7419,20 +7475,81 @@ export declare const ExplorerDocument: Apollo.DocumentNode;
|
|
|
7419
7475
|
* variables: {
|
|
7420
7476
|
* libraryId: // value for 'libraryId'
|
|
7421
7477
|
* attributeIds: // value for 'attributeIds'
|
|
7478
|
+
* pagination: // value for 'pagination'
|
|
7422
7479
|
* filters: // value for 'filters'
|
|
7480
|
+
* multipleSort: // value for 'multipleSort'
|
|
7481
|
+
* searchQuery: // value for 'searchQuery'
|
|
7423
7482
|
* },
|
|
7424
7483
|
* });
|
|
7425
7484
|
*/
|
|
7426
7485
|
export declare function useExplorerQuery(baseOptions: Apollo.QueryHookOptions<ExplorerQuery, ExplorerQueryVariables>): Apollo.QueryResult<ExplorerQuery, Exact<{
|
|
7427
7486
|
libraryId: Scalars["ID"];
|
|
7428
7487
|
attributeIds: Array<Scalars["ID"]> | Scalars["ID"];
|
|
7488
|
+
pagination?: InputMaybe<RecordsPagination>;
|
|
7429
7489
|
filters?: InputMaybe<Array<InputMaybe<RecordFilterInput>> | InputMaybe<RecordFilterInput>>;
|
|
7490
|
+
multipleSort?: InputMaybe<Array<RecordSortInput> | RecordSortInput>;
|
|
7491
|
+
searchQuery?: InputMaybe<Scalars["String"]>;
|
|
7430
7492
|
}>>;
|
|
7431
7493
|
export declare function useExplorerLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<ExplorerQuery, ExplorerQueryVariables>): Apollo.LazyQueryResultTuple<ExplorerQuery, Exact<{
|
|
7432
7494
|
libraryId: Scalars["ID"];
|
|
7433
7495
|
attributeIds: Array<Scalars["ID"]> | Scalars["ID"];
|
|
7496
|
+
pagination?: InputMaybe<RecordsPagination>;
|
|
7434
7497
|
filters?: InputMaybe<Array<InputMaybe<RecordFilterInput>> | InputMaybe<RecordFilterInput>>;
|
|
7498
|
+
multipleSort?: InputMaybe<Array<RecordSortInput> | RecordSortInput>;
|
|
7499
|
+
searchQuery?: InputMaybe<Scalars["String"]>;
|
|
7435
7500
|
}>>;
|
|
7436
7501
|
export type ExplorerQueryHookResult = ReturnType<typeof useExplorerQuery>;
|
|
7437
7502
|
export type ExplorerLazyQueryHookResult = ReturnType<typeof useExplorerLazyQuery>;
|
|
7438
7503
|
export type ExplorerQueryResult = Apollo.QueryResult<ExplorerQuery, ExplorerQueryVariables>;
|
|
7504
|
+
export declare const ExplorerLibraryDataDocument: Apollo.DocumentNode;
|
|
7505
|
+
/**
|
|
7506
|
+
* __useExplorerLibraryDataQuery__
|
|
7507
|
+
*
|
|
7508
|
+
* To run a query within a React component, call `useExplorerLibraryDataQuery` and pass it any options that fit your needs.
|
|
7509
|
+
* When your component renders, `useExplorerLibraryDataQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
7510
|
+
* you can use to render your UI.
|
|
7511
|
+
*
|
|
7512
|
+
* @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;
|
|
7513
|
+
*
|
|
7514
|
+
* @example
|
|
7515
|
+
* const { data, loading, error } = useExplorerLibraryDataQuery({
|
|
7516
|
+
* variables: {
|
|
7517
|
+
* libraryId: // value for 'libraryId'
|
|
7518
|
+
* },
|
|
7519
|
+
* });
|
|
7520
|
+
*/
|
|
7521
|
+
export declare function useExplorerLibraryDataQuery(baseOptions: Apollo.QueryHookOptions<ExplorerLibraryDataQuery, ExplorerLibraryDataQueryVariables>): Apollo.QueryResult<ExplorerLibraryDataQuery, Exact<{
|
|
7522
|
+
libraryId: Scalars["ID"];
|
|
7523
|
+
}>>;
|
|
7524
|
+
export declare function useExplorerLibraryDataLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<ExplorerLibraryDataQuery, ExplorerLibraryDataQueryVariables>): Apollo.LazyQueryResultTuple<ExplorerLibraryDataQuery, Exact<{
|
|
7525
|
+
libraryId: Scalars["ID"];
|
|
7526
|
+
}>>;
|
|
7527
|
+
export type ExplorerLibraryDataQueryHookResult = ReturnType<typeof useExplorerLibraryDataQuery>;
|
|
7528
|
+
export type ExplorerLibraryDataLazyQueryHookResult = ReturnType<typeof useExplorerLibraryDataLazyQuery>;
|
|
7529
|
+
export type ExplorerLibraryDataQueryResult = Apollo.QueryResult<ExplorerLibraryDataQuery, ExplorerLibraryDataQueryVariables>;
|
|
7530
|
+
export declare const TreeDataQueryDocument: Apollo.DocumentNode;
|
|
7531
|
+
/**
|
|
7532
|
+
* __useTreeDataQueryQuery__
|
|
7533
|
+
*
|
|
7534
|
+
* To run a query within a React component, call `useTreeDataQueryQuery` and pass it any options that fit your needs.
|
|
7535
|
+
* When your component renders, `useTreeDataQueryQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
7536
|
+
* you can use to render your UI.
|
|
7537
|
+
*
|
|
7538
|
+
* @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;
|
|
7539
|
+
*
|
|
7540
|
+
* @example
|
|
7541
|
+
* const { data, loading, error } = useTreeDataQueryQuery({
|
|
7542
|
+
* variables: {
|
|
7543
|
+
* treeId: // value for 'treeId'
|
|
7544
|
+
* },
|
|
7545
|
+
* });
|
|
7546
|
+
*/
|
|
7547
|
+
export declare function useTreeDataQueryQuery(baseOptions: Apollo.QueryHookOptions<TreeDataQueryQuery, TreeDataQueryQueryVariables>): Apollo.QueryResult<TreeDataQueryQuery, Exact<{
|
|
7548
|
+
treeId: Scalars["ID"];
|
|
7549
|
+
}>>;
|
|
7550
|
+
export declare function useTreeDataQueryLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<TreeDataQueryQuery, TreeDataQueryQueryVariables>): Apollo.LazyQueryResultTuple<TreeDataQueryQuery, Exact<{
|
|
7551
|
+
treeId: Scalars["ID"];
|
|
7552
|
+
}>>;
|
|
7553
|
+
export type TreeDataQueryQueryHookResult = ReturnType<typeof useTreeDataQueryQuery>;
|
|
7554
|
+
export type TreeDataQueryLazyQueryHookResult = ReturnType<typeof useTreeDataQueryLazyQuery>;
|
|
7555
|
+
export type TreeDataQueryQueryResult = Apollo.QueryResult<TreeDataQueryQuery, TreeDataQueryQueryVariables>;
|