@leav/ui 0.3.6-c939f2f → 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/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/_gqlTypes/index.d.ts +102 -18
- package/dist/_gqlTypes/index.js +1102 -1039
- package/dist/_gqlTypes/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 +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 -12
- 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 +20 -4
- package/dist/components/Explorer/_queries/useExplorerData.js +60 -17
- package/dist/components/Explorer/_queries/useExplorerData.js.map +1 -1
- package/dist/components/Explorer/_types.d.ts +30 -3
- 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 +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/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/{edit-settings → manage-view-settings/open-view-settings}/EditSettingsContext.d.ts +1 -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 +3 -0
- package/dist/components/Explorer/{edit-settings/useOpenSettings.js → manage-view-settings/open-view-settings/useOpenViewSettings.js} +8 -6
- 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 +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/{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 +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.js +3 -2
- package/dist/components/Explorer/useDeactivateAction.js.map +1 -1
- package/dist/components/Explorer/useEditAction.js +6 -4
- 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 +1 -1
- 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/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/{MonoValueSelect.js → DSListSelect.js} +34 -53
- 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 +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/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 +53 -8
- package/dist/locales/fr/shared.json +53 -8
- 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.map +0 -1
- package/dist/components/Explorer/useCreateMainAction.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 -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/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
|
@@ -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
|
|
@@ -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;A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AAU;KACjB;IACD,QAAQ,EAAE,QAAQ;IAClB,oBAAoB,EAAE,EAAE;IACxB,QAAQ,EAAE,CAAC,EAAC,GAAG,oBAAoB,EAAE,QAAQ,EAAE,CAAC,EAAC,GAAG,EAAE,aAAa,EAAE,KAAK,EAAE,OAAO,EAAC,CAAC,EAAC,CAAC;CAC1F,CAAC"}
|
|
@@ -1,4 +1,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"}
|
|
@@ -2523,6 +2523,13 @@ export type ViewDetailsFragment = {
|
|
|
2523
2523
|
value?: any | null;
|
|
2524
2524
|
}> | null;
|
|
2525
2525
|
};
|
|
2526
|
+
export type AttributePropertiesFragment = {
|
|
2527
|
+
id: string;
|
|
2528
|
+
label?: any | null;
|
|
2529
|
+
type: AttributeType;
|
|
2530
|
+
format?: AttributeFormat | null;
|
|
2531
|
+
multiple_values: boolean;
|
|
2532
|
+
};
|
|
2526
2533
|
export type PropertyValueLinkValueFragment = {
|
|
2527
2534
|
linkPayload?: {
|
|
2528
2535
|
id: string;
|
|
@@ -2538,9 +2545,6 @@ export type PropertyValueLinkValueFragment = {
|
|
|
2538
2545
|
};
|
|
2539
2546
|
};
|
|
2540
2547
|
} | null;
|
|
2541
|
-
attribute: {
|
|
2542
|
-
type: AttributeType;
|
|
2543
|
-
};
|
|
2544
2548
|
};
|
|
2545
2549
|
export type PropertyValueTreeValueFragment = {
|
|
2546
2550
|
treePayload?: {
|
|
@@ -2559,15 +2563,9 @@ export type PropertyValueTreeValueFragment = {
|
|
|
2559
2563
|
};
|
|
2560
2564
|
};
|
|
2561
2565
|
} | null;
|
|
2562
|
-
attribute: {
|
|
2563
|
-
type: AttributeType;
|
|
2564
|
-
};
|
|
2565
2566
|
};
|
|
2566
2567
|
export type PropertyValueValueFragment = {
|
|
2567
2568
|
valuePayload?: any | null;
|
|
2568
|
-
attribute: {
|
|
2569
|
-
type: AttributeType;
|
|
2570
|
-
};
|
|
2571
2569
|
};
|
|
2572
2570
|
export type PropertyValueFragment = PropertyValueLinkValueFragment | PropertyValueTreeValueFragment | PropertyValueValueFragment;
|
|
2573
2571
|
export type CheckApplicationExistenceQueryVariables = Exact<{
|
|
@@ -5941,10 +5939,14 @@ export type AddViewMutation = {
|
|
|
5941
5939
|
export type ExplorerQueryVariables = Exact<{
|
|
5942
5940
|
libraryId: Scalars['ID'];
|
|
5943
5941
|
attributeIds: Array<Scalars['ID']> | Scalars['ID'];
|
|
5942
|
+
pagination?: InputMaybe<RecordsPagination>;
|
|
5944
5943
|
filters?: InputMaybe<Array<InputMaybe<RecordFilterInput>> | InputMaybe<RecordFilterInput>>;
|
|
5944
|
+
multipleSort?: InputMaybe<Array<RecordSortInput> | RecordSortInput>;
|
|
5945
|
+
searchQuery?: InputMaybe<Scalars['String']>;
|
|
5945
5946
|
}>;
|
|
5946
5947
|
export type ExplorerQuery = {
|
|
5947
5948
|
records: {
|
|
5949
|
+
totalCount?: number | null;
|
|
5948
5950
|
list: Array<{
|
|
5949
5951
|
id: string;
|
|
5950
5952
|
whoAmI: {
|
|
@@ -5960,6 +5962,13 @@ export type ExplorerQuery = {
|
|
|
5960
5962
|
};
|
|
5961
5963
|
properties: Array<{
|
|
5962
5964
|
attributeId: string;
|
|
5965
|
+
attributeProperties: {
|
|
5966
|
+
id: string;
|
|
5967
|
+
label?: any | null;
|
|
5968
|
+
type: AttributeType;
|
|
5969
|
+
format?: AttributeFormat | null;
|
|
5970
|
+
multiple_values: boolean;
|
|
5971
|
+
};
|
|
5963
5972
|
values: Array<{
|
|
5964
5973
|
linkPayload?: {
|
|
5965
5974
|
id: string;
|
|
@@ -5975,9 +5984,6 @@ export type ExplorerQuery = {
|
|
|
5975
5984
|
};
|
|
5976
5985
|
};
|
|
5977
5986
|
} | null;
|
|
5978
|
-
attribute: {
|
|
5979
|
-
type: AttributeType;
|
|
5980
|
-
};
|
|
5981
5987
|
} | {
|
|
5982
5988
|
treePayload?: {
|
|
5983
5989
|
record: {
|
|
@@ -5995,19 +6001,35 @@ export type ExplorerQuery = {
|
|
|
5995
6001
|
};
|
|
5996
6002
|
};
|
|
5997
6003
|
} | null;
|
|
5998
|
-
attribute: {
|
|
5999
|
-
type: AttributeType;
|
|
6000
|
-
};
|
|
6001
6004
|
} | {
|
|
6002
6005
|
valuePayload?: any | null;
|
|
6003
|
-
attribute: {
|
|
6004
|
-
type: AttributeType;
|
|
6005
|
-
};
|
|
6006
6006
|
}>;
|
|
6007
6007
|
}>;
|
|
6008
6008
|
}>;
|
|
6009
6009
|
};
|
|
6010
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
|
+
};
|
|
6011
6033
|
export declare const RecordIdentityFragmentDoc: Apollo.DocumentNode;
|
|
6012
6034
|
export declare const DetailsApplicationFragmentDoc: Apollo.DocumentNode;
|
|
6013
6035
|
export declare const AttributeDetailsFragmentDoc: Apollo.DocumentNode;
|
|
@@ -6027,6 +6049,7 @@ export declare const TreeDetailsFragmentDoc: Apollo.DocumentNode;
|
|
|
6027
6049
|
export declare const TreeNodeChildFragmentDoc: Apollo.DocumentNode;
|
|
6028
6050
|
export declare const ViewDetailsFragmentDoc: Apollo.DocumentNode;
|
|
6029
6051
|
export declare const PropertyValueFragmentDoc: Apollo.DocumentNode;
|
|
6052
|
+
export declare const AttributePropertiesFragmentDoc: Apollo.DocumentNode;
|
|
6030
6053
|
export declare const CheckApplicationExistenceDocument: Apollo.DocumentNode;
|
|
6031
6054
|
/**
|
|
6032
6055
|
* __useCheckApplicationExistenceQuery__
|
|
@@ -7452,20 +7475,81 @@ export declare const ExplorerDocument: Apollo.DocumentNode;
|
|
|
7452
7475
|
* variables: {
|
|
7453
7476
|
* libraryId: // value for 'libraryId'
|
|
7454
7477
|
* attributeIds: // value for 'attributeIds'
|
|
7478
|
+
* pagination: // value for 'pagination'
|
|
7455
7479
|
* filters: // value for 'filters'
|
|
7480
|
+
* multipleSort: // value for 'multipleSort'
|
|
7481
|
+
* searchQuery: // value for 'searchQuery'
|
|
7456
7482
|
* },
|
|
7457
7483
|
* });
|
|
7458
7484
|
*/
|
|
7459
7485
|
export declare function useExplorerQuery(baseOptions: Apollo.QueryHookOptions<ExplorerQuery, ExplorerQueryVariables>): Apollo.QueryResult<ExplorerQuery, Exact<{
|
|
7460
7486
|
libraryId: Scalars["ID"];
|
|
7461
7487
|
attributeIds: Array<Scalars["ID"]> | Scalars["ID"];
|
|
7488
|
+
pagination?: InputMaybe<RecordsPagination>;
|
|
7462
7489
|
filters?: InputMaybe<Array<InputMaybe<RecordFilterInput>> | InputMaybe<RecordFilterInput>>;
|
|
7490
|
+
multipleSort?: InputMaybe<Array<RecordSortInput> | RecordSortInput>;
|
|
7491
|
+
searchQuery?: InputMaybe<Scalars["String"]>;
|
|
7463
7492
|
}>>;
|
|
7464
7493
|
export declare function useExplorerLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<ExplorerQuery, ExplorerQueryVariables>): Apollo.LazyQueryResultTuple<ExplorerQuery, Exact<{
|
|
7465
7494
|
libraryId: Scalars["ID"];
|
|
7466
7495
|
attributeIds: Array<Scalars["ID"]> | Scalars["ID"];
|
|
7496
|
+
pagination?: InputMaybe<RecordsPagination>;
|
|
7467
7497
|
filters?: InputMaybe<Array<InputMaybe<RecordFilterInput>> | InputMaybe<RecordFilterInput>>;
|
|
7498
|
+
multipleSort?: InputMaybe<Array<RecordSortInput> | RecordSortInput>;
|
|
7499
|
+
searchQuery?: InputMaybe<Scalars["String"]>;
|
|
7468
7500
|
}>>;
|
|
7469
7501
|
export type ExplorerQueryHookResult = ReturnType<typeof useExplorerQuery>;
|
|
7470
7502
|
export type ExplorerLazyQueryHookResult = ReturnType<typeof useExplorerLazyQuery>;
|
|
7471
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>;
|