@leav/ui 0.3.6-5d358de → 0.3.6-683846a
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/__mocks__/common/attribute.d.ts +1 -0
- package/dist/__mocks__/common/attribute.js +8 -1
- package/dist/__mocks__/common/attribute.js.map +1 -1
- package/dist/__mocks__/common/form.d.ts +1 -0
- package/dist/__mocks__/common/form.js +18 -2
- package/dist/__mocks__/common/form.js.map +1 -1
- package/dist/__mocks__/common/value.js +2 -1
- package/dist/__mocks__/common/value.js.map +1 -1
- package/dist/__mocks__/common/view.js +7 -5
- package/dist/__mocks__/common/view.js.map +1 -1
- package/dist/__mocks__/mockQuery/mockGetLibraryDetailExtendedQuery.js +1 -1
- package/dist/__mocks__/mockQuery/mockGetLibraryDetailExtendedQuery.js.map +1 -1
- package/dist/__mocks__/mockQuery/mockGetViewListQuery.js +2 -1
- package/dist/__mocks__/mockQuery/mockGetViewListQuery.js.map +1 -1
- package/dist/_gqlTypes/index.d.ts +148 -47
- package/dist/_gqlTypes/index.js +108 -22
- package/dist/_gqlTypes/index.js.map +1 -1
- package/dist/_queries/libraries/getLibraryDetailExtendQuery.d.ts +3 -4
- package/dist/_queries/libraries/getLibraryDetailExtendQuery.js +2 -3
- package/dist/_queries/libraries/getLibraryDetailExtendQuery.js.map +1 -1
- package/dist/_queries/records/getRecordColumnsValues.d.ts +4 -2
- package/dist/_queries/records/getRecordColumnsValues.js +4 -1
- package/dist/_queries/records/getRecordColumnsValues.js.map +1 -1
- package/dist/_queries/records/recordFormAttributeFragment.js +1 -0
- package/dist/_queries/records/recordFormAttributeFragment.js.map +1 -1
- package/dist/_queries/views/saveViewMutation.js +1 -1
- package/dist/_queries/views/viewDetailsFragment.js +14 -11
- package/dist/_queries/views/viewDetailsFragment.js.map +1 -1
- package/dist/_utils/index.js +5 -2
- package/dist/_utils/index.js.map +1 -1
- package/dist/_utils/interleaveElement.d.ts +1 -0
- package/dist/{components/RecordEdition/EditRecordContent/reducers/standardFieldReducer/standardFieldReducerContext.js → _utils/interleaveElement.js} +2 -6
- package/dist/_utils/interleaveElement.js.map +1 -0
- package/dist/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 +8 -0
- package/dist/components/Explorer/DataView.js +33 -7
- package/dist/components/Explorer/DataView.js.map +1 -1
- package/dist/components/Explorer/Explorer.d.ts +3 -3
- package/dist/components/Explorer/Explorer.js +42 -19
- package/dist/components/Explorer/Explorer.js.map +1 -1
- package/dist/components/Explorer/TableCell.d.ts +1 -1
- package/dist/components/Explorer/TableCell.js +117 -15
- package/dist/components/Explorer/TableCell.js.map +1 -1
- package/dist/components/Explorer/TableTagGroup.d.ts +7 -0
- package/dist/components/Explorer/TableTagGroup.js +30 -0
- package/dist/components/Explorer/TableTagGroup.js.map +1 -0
- package/dist/components/Explorer/_constants.d.ts +4 -0
- package/dist/components/Explorer/_constants.js +17 -0
- package/dist/components/Explorer/_constants.js.map +1 -0
- package/dist/components/Explorer/_queries/useExplorerData.d.ts +22 -4
- package/dist/components/Explorer/_queries/useExplorerData.js +90 -4
- package/dist/components/Explorer/_queries/useExplorerData.js.map +1 -1
- package/dist/components/Explorer/_types.d.ts +23 -1
- package/dist/components/Explorer/display-view-filters/ExplorerToolBar.d.ts +4 -0
- package/dist/components/Explorer/display-view-filters/ExplorerToolBar.js +47 -0
- package/dist/components/Explorer/display-view-filters/ExplorerToolBar.js.map +1 -0
- package/dist/components/Explorer/manage-view-settings/_shared/ColumnItem.d.ts +1 -1
- package/dist/components/Explorer/manage-view-settings/_shared/ColumnItem.js +11 -4
- package/dist/components/Explorer/manage-view-settings/_shared/ColumnItem.js.map +1 -1
- 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/attributes/SelectVisibleAttributes.js +19 -52
- package/dist/components/Explorer/manage-view-settings/configure-display/attributes/SelectVisibleAttributes.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/filter-items/FilterItems.d.ts +4 -0
- package/dist/components/Explorer/manage-view-settings/filter-items/FilterItems.js +78 -0
- package/dist/components/Explorer/manage-view-settings/filter-items/FilterItems.js.map +1 -0
- package/dist/components/Explorer/manage-view-settings/filter-items/FilterListItem.d.ts +9 -0
- package/dist/components/Explorer/manage-view-settings/filter-items/FilterListItem.js +33 -0
- package/dist/components/Explorer/manage-view-settings/filter-items/FilterListItem.js.map +1 -0
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/BooleanAttributeDropdown.d.ts +3 -0
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/BooleanAttributeDropdown.js +37 -0
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/BooleanAttributeDropdown.js.map +1 -0
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/DateAttributeDropDown.d.ts +3 -0
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/DateAttributeDropDown.js +90 -0
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/DateAttributeDropDown.js.map +1 -0
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/FilterDropDown.d.ts +3 -0
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/FilterDropDown.js +23 -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 +44 -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 +72 -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 +53 -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 +10 -0
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/useConditionOptionsByType.js +110 -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 +4 -4
- package/dist/components/Explorer/manage-view-settings/index.js +3 -3
- package/dist/components/Explorer/manage-view-settings/index.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/open-view-settings/EditSettingsContext.d.ts +1 -0
- package/dist/components/Explorer/manage-view-settings/open-view-settings/EditSettingsContext.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/open-view-settings/SidePanel.js +1 -1
- package/dist/components/Explorer/manage-view-settings/open-view-settings/SidePanel.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/open-view-settings/useOpenViewSettings.d.ts +5 -0
- package/dist/components/Explorer/manage-view-settings/open-view-settings/useOpenViewSettings.js +39 -0
- package/dist/components/Explorer/manage-view-settings/open-view-settings/useOpenViewSettings.js.map +1 -0
- package/dist/components/Explorer/manage-view-settings/router-menu/SettingsPanel.d.ts +2 -1
- package/dist/components/Explorer/manage-view-settings/router-menu/SettingsPanel.js +48 -31
- package/dist/components/Explorer/manage-view-settings/router-menu/SettingsPanel.js.map +1 -1
- 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/viewSettingsInitialState.d.ts +2 -0
- package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsInitialState.js +15 -1
- package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsInitialState.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsReducer.d.ts +116 -16
- package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsReducer.js +156 -24
- package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsReducer.js.map +1 -1
- package/dist/components/Explorer/nullValuesConditions.d.ts +1 -0
- package/dist/components/Explorer/nullValuesConditions.js +14 -0
- package/dist/components/Explorer/nullValuesConditions.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 +5 -3
- 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 +1 -9
- package/dist/components/Explorer/usePrimaryActions.js +4 -12
- package/dist/components/Explorer/usePrimaryActions.js.map +1 -1
- package/dist/components/Explorer/useSearchInput.d.ts +10 -0
- package/dist/components/Explorer/useSearchInput.js +31 -0
- package/dist/components/Explorer/useSearchInput.js.map +1 -0
- package/dist/components/Explorer/useTableScrollableHeight.d.ts +5 -0
- package/dist/components/Explorer/useTableScrollableHeight.js +15 -0
- package/dist/components/Explorer/useTableScrollableHeight.js.map +1 -0
- package/dist/components/Explorer/useViewSettingsReducer.d.ts +8 -0
- package/dist/components/Explorer/useViewSettingsReducer.js +103 -0
- package/dist/components/Explorer/useViewSettingsReducer.js.map +1 -0
- package/dist/components/ExportModal/ExportModal.js +2 -2
- package/dist/components/ExportModal/ExportModal.js.map +1 -1
- package/dist/components/ImportModal/ImportModalConfigStep/ImportModalConfigStep.js +5 -5
- package/dist/components/ImportModal/ImportModalConfigStep/ImportModalConfigStep.js.map +1 -1
- package/dist/components/LibraryItemsList/FiltersPanel/Filter/Filter.js +2 -2
- package/dist/components/LibraryItemsList/FiltersPanel/Filter/Filter.js.map +1 -1
- package/dist/components/LibraryItemsList/LibraryItemsListContent/LibraryItemsListContent.js +7 -11
- package/dist/components/LibraryItemsList/LibraryItemsListContent/LibraryItemsListContent.js.map +1 -1
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Header/Header.js +7 -5
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Header/Header.js.map +1 -1
- package/dist/components/LibraryItemsList/MenuView/MenuView.js +4 -9
- package/dist/components/LibraryItemsList/MenuView/MenuView.js.map +1 -1
- package/dist/components/LibraryItemsList/ViewPanel/EditView/EditView.js +2 -3
- package/dist/components/LibraryItemsList/ViewPanel/EditView/EditView.js.map +1 -1
- package/dist/components/LibraryItemsList/ViewPanel/View/View.js +3 -3
- package/dist/components/LibraryItemsList/ViewPanel/View/View.js.map +1 -1
- package/dist/components/LibraryItemsList/helpers/getFieldsFromView.js +4 -9
- package/dist/components/LibraryItemsList/helpers/getFieldsFromView.js.map +1 -1
- package/dist/components/LibraryItemsList/hooks/useLibraryView/useLibraryView.js +7 -5
- package/dist/components/LibraryItemsList/hooks/useLibraryView/useLibraryView.js.map +1 -1
- package/dist/components/LibraryItemsList/hooks/useSearchReducer/_types.d.ts +1 -1
- package/dist/components/LibraryItemsList/hooks/useSearchReducer/searchReducer.d.ts +1 -1
- package/dist/components/LibraryItemsList/hooks/useSearchReducer/searchReducer.js +25 -33
- package/dist/components/LibraryItemsList/hooks/useSearchReducer/searchReducer.js.map +1 -1
- package/dist/components/RecordEdition/EditRecord/EditRecord.d.ts +1 -0
- package/dist/components/RecordEdition/EditRecord/EditRecord.js +7 -16
- package/dist/components/RecordEdition/EditRecord/EditRecord.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/EditRecordContent.js +15 -2
- package/dist/components/RecordEdition/EditRecordContent/EditRecordContent.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/_types.d.ts +9 -20
- package/dist/components/RecordEdition/EditRecordContent/_types.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/antdUtils.d.ts +5 -1
- package/dist/components/RecordEdition/EditRecordContent/antdUtils.js +44 -34
- package/dist/components/RecordEdition/EditRecordContent/antdUtils.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/Container/Container.d.ts +3 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/Container/Container.js +2 -2
- package/dist/components/RecordEdition/EditRecordContent/uiElements/Container/Container.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/LinkField.js +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 +5 -2
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardField.js +145 -191
- 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 +38 -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 +31 -46
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSDatePickerWrapper.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputEncryptedWrapper.d.ts +3 -14
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputEncryptedWrapper.js +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 +29 -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 +34 -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 +48 -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 +30 -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 +16 -9
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValue.js +66 -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} +45 -52
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/ValuesList/DSListSelect.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/ValuesList/_types.d.ts +2 -9
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/_types.d.ts +15 -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/RecordEdition/EditRecordPage/EditRecordPage.d.ts +2 -0
- package/dist/components/RecordEdition/EditRecordPage/EditRecordPage.js +2 -2
- package/dist/components/RecordEdition/EditRecordPage/EditRecordPage.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordSidebar/EditRecordSidebar.d.ts +3 -1
- package/dist/components/RecordEdition/EditRecordSidebar/EditRecordSidebar.js +19 -3
- package/dist/components/RecordEdition/EditRecordSidebar/EditRecordSidebar.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/useExecuteSaveViewMutation/index.d.ts +1 -0
- package/dist/{components/RecordEdition/EditRecordContent/reducers/standardFieldReducer → hooks/useExecuteSaveViewMutation}/index.js +1 -2
- package/dist/hooks/useExecuteSaveViewMutation/index.js.map +1 -0
- package/dist/hooks/useExecuteSaveViewMutation/useExecuteSaveViewMutation.d.ts +6 -0
- package/dist/hooks/{useExecuteAddViewMutation/useExecuteAddViewMutation.js → useExecuteSaveViewMutation/useExecuteSaveViewMutation.js} +6 -6
- package/dist/hooks/useExecuteSaveViewMutation/useExecuteSaveViewMutation.js.map +1 -0
- package/dist/hooks/useGetRecordForm/useGetRecordForm.d.ts +1 -0
- package/dist/hooks/useGetRecordForm/useGetRecordForm.js.map +1 -1
- package/dist/locales/en/shared.json +47 -7
- package/dist/locales/fr/shared.json +47 -7
- package/dist/types/views.d.ts +4 -4
- package/package.json +5 -2
- package/dist/components/Explorer/manage-view-settings/_shared/useGetLibraryColumns.d.ts +0 -10
- package/dist/components/Explorer/manage-view-settings/_shared/useGetLibraryColumns.js +0 -24
- package/dist/components/Explorer/manage-view-settings/_shared/useGetLibraryColumns.js.map +0 -1
- package/dist/components/Explorer/manage-view-settings/open-view-settings/useOpenSettings.d.ts +0 -1
- package/dist/components/Explorer/manage-view-settings/open-view-settings/useOpenSettings.js +0 -19
- package/dist/components/Explorer/manage-view-settings/open-view-settings/useOpenSettings.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/reducers/standardFieldReducer/index.d.ts +0 -2
- package/dist/components/RecordEdition/EditRecordContent/reducers/standardFieldReducer/index.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/reducers/standardFieldReducer/standardFieldReducer.d.ts +0 -138
- package/dist/components/RecordEdition/EditRecordContent/reducers/standardFieldReducer/standardFieldReducer.js +0 -361
- package/dist/components/RecordEdition/EditRecordContent/reducers/standardFieldReducer/standardFieldReducer.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/reducers/standardFieldReducer/standardFieldReducerContext.d.ts +0 -7
- package/dist/components/RecordEdition/EditRecordContent/reducers/standardFieldReducer/standardFieldReducerContext.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/reducers/standardFieldReducer/useStandardFieldReducer.d.ts +0 -1
- package/dist/components/RecordEdition/EditRecordContent/reducers/standardFieldReducer/useStandardFieldReducer.js +0 -7
- 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/hooks/useExecuteAddViewMutation/useExecuteAddViewMutation.d.ts +0 -6
- package/dist/hooks/useExecuteAddViewMutation/useExecuteAddViewMutation.js.map +0 -1
|
@@ -7,6 +7,7 @@ export declare const mockAttributeLink: AttributeDetailsFragment;
|
|
|
7
7
|
export declare const mockAttributeTree: AttributeDetailsFragment;
|
|
8
8
|
export declare const mockAttributeVersionable: AttributeDetailsFragment;
|
|
9
9
|
export declare const mockFormAttribute: RecordFormAttributeFragment;
|
|
10
|
+
export declare const mockFormAttributeCompute: RecordFormAttributeFragment;
|
|
10
11
|
export declare const mockFormAttributeTree: RecordFormAttributeTreeAttributeFragment;
|
|
11
12
|
export declare const mockSelectedAttributeA: ISelectedAttribute;
|
|
12
13
|
export declare const mockSelectedAttributeB: ISelectedAttribute;
|
|
@@ -115,7 +115,14 @@ export const mockFormAttribute = {
|
|
|
115
115
|
}
|
|
116
116
|
}
|
|
117
117
|
],
|
|
118
|
-
versions_conf: null
|
|
118
|
+
versions_conf: null,
|
|
119
|
+
compute: false
|
|
120
|
+
};
|
|
121
|
+
export const mockFormAttributeCompute = {
|
|
122
|
+
...mockFormAttribute,
|
|
123
|
+
id: 'test_compute_attribute',
|
|
124
|
+
format: AttributeFormat.text,
|
|
125
|
+
compute: true
|
|
119
126
|
};
|
|
120
127
|
export const mockFormAttributeTree = {
|
|
121
128
|
...mockFormAttribute,
|
|
@@ -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,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,CAAC;AAEF,MAAM,CAAC,MAAM,iBAAiB,GAAgC;IAC1D,EAAE,EAAE,gBAAgB;IACpB,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,eAAe,EAAE,KAAK;QACtB,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;
|
|
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;IAC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AAC;CAC7F,CAAC;AAEF,MAAM,CAAC,MAAM,sBAAsB,GAAuB;IACtD,EAAE,EAAE,GAAG;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: {
|
|
@@ -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"],"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I,CAAC,EAAE,EAAE;CACpC,CAAC;AAEF,MAAM,CAAC,MAAM,cAAc,GAAgB;IACvC,EAAE,EAAE,cAAc;IAClB,OAAO,EAAE;QACL,EAAE,EAAE,UAAU;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"}
|
|
@@ -35,7 +35,8 @@ export const mockRecordPropertyWithAttribute = {
|
|
|
35
35
|
},
|
|
36
36
|
multiple_values: false,
|
|
37
37
|
readonly: false,
|
|
38
|
-
permissions: { access_attribute: true, edit_value: true }
|
|
38
|
+
permissions: { access_attribute: true, edit_value: true },
|
|
39
|
+
compute: false
|
|
39
40
|
}
|
|
40
41
|
};
|
|
41
42
|
//# sourceMappingURL=value.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"value.js","sourceRoot":"","sources":["../../../src/__mocks__/common/value.ts"],"names":[],"mappings":"AAKA,OAAO,EAAC,mBAAmB,EAAC,MAAM,aAAa,CAAC;AAChD,OAAO,EAAC,YAAY,EAAC,MAAM,UAAU,CAAC;AAEtC,MAAM,CAAC,MAAM,YAAY,GAA4B;IACjD,EAAE,EAAE,GAAG;IACP,MAAM,EAAE;QACJ,EAAE,EAAE,QAAQ;QACZ,KAAK,EAAE,OAAO;QACd,QAAQ,EAAE,OAAO;QACjB,OAAO,EAAE;YACL,EAAE,EAAE,OAAO;YACX,KAAK,EAAE,EAAC,EAAE,EAAE,cAAc,EAAC;SAC9B;QACD,OAAO,EAAE,YAAY;QACrB,KAAK,EAAE,SAAS;KACnB;CACJ,CAAC;AAEF,MAAM,CAAC,MAAM,kBAAkB,GAAmB;IAC9C,QAAQ,EAAE,QAAQ;IAClB,UAAU,EAAE,UAAU;IACtB,UAAU,E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AEF,MAAM,CAAC,MAAM,+BAA+B,GAAiC;IACzE,KAAK,EAAE,kBAAkB;IACzB,SAAS,EAAE;QACP,GAAG,mBAAmB;QACtB,WAAW,EAAE;YACT,EAAE,EAAE,gBAAgB;YACpB,EAAE,EAAE,gBAAgB;SACvB;QACD,eAAe,EAAE,KAAK;QACtB,QAAQ,EAAE,KAAK;QACf,WAAW,EAAE,EAAC,gBAAgB,EAAE,IAAI,EAAE,UAAU,EAAE,IAAI,EAAC;QACvD,OAAO,EAAE,KAAK;KACjB;CACJ,CAAC"}
|
|
@@ -17,10 +17,12 @@ export const mockView = {
|
|
|
17
17
|
},
|
|
18
18
|
color: '#e48232',
|
|
19
19
|
filters: [],
|
|
20
|
-
sort:
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
20
|
+
sort: [
|
|
21
|
+
{
|
|
22
|
+
field: 'id',
|
|
23
|
+
order: SortOrder.asc
|
|
24
|
+
}
|
|
25
|
+
],
|
|
26
|
+
attributes: []
|
|
25
27
|
};
|
|
26
28
|
//# sourceMappingURL=view.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"view.js","sourceRoot":"","sources":["../../../src/__mocks__/common/view.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AAGtE,OAAO,EAAC,SAAS,EAAE,SAAS,EAAE,SAAS,EAAC,MAAM,eAAe,CAAC;AAE9D,MAAM,CAAC,MAAM,QAAQ,GAAU;IAC3B,EAAE,EAAE,IAAI;IACR,OAAO,EAAE,EAAC,IAAI,EAAE,SAAS,CAAC,IAAI,EAAE,IAAI,EAAE,SAAS,CAAC,MAAM,EAAC;IACvD,MAAM,EAAE,KAAK;IACb,KAAK,EAAE,IAAI;IACX,KAAK,EAAE;QACH,EAAE,EAAE,MAAM;QACV,EAAE,EAAE,MAAM;KACb;IACD,WAAW,EAAE;QACT,EAAE,EAAE,iBAAiB;QACrB,EAAE,EAAE,iBAAiB;KACxB;IACD,KAAK,EAAE,SAAS;IAChB,OAAO,EAAE,EAAE;IACX,IAAI,EAAE;QACF,KAAK,EAAE,IAAI;
|
|
1
|
+
{"version":3,"file":"view.js","sourceRoot":"","sources":["../../../src/__mocks__/common/view.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AAGtE,OAAO,EAAC,SAAS,EAAE,SAAS,EAAE,SAAS,EAAC,MAAM,eAAe,CAAC;AAE9D,MAAM,CAAC,MAAM,QAAQ,GAAU;IAC3B,EAAE,EAAE,IAAI;IACR,OAAO,EAAE,EAAC,IAAI,EAAE,SAAS,CAAC,IAAI,EAAE,IAAI,EAAE,SAAS,CAAC,MAAM,EAAC;IACvD,MAAM,EAAE,KAAK;IACb,KAAK,EAAE,IAAI;IACX,KAAK,EAAE;QACH,EAAE,EAAE,MAAM;QACV,EAAE,EAAE,MAAM;KACb;IACD,WAAW,EAAE;QACT,EAAE,EAAE,iBAAiB;QACrB,EAAE,EAAE,iBAAiB;KACxB;IACD,KAAK,EAAE,SAAS;IAChB,OAAO,EAAE,EAAE;IACX,IAAI,EAAE;QACF;YACI,KAAK,EAAE,IAAI;YACX,KAAK,EAAE,SAAS,CAAC,GAAG;SACvB;KACJ;IACD,UAAU,EAAE,EAAE;CACjB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mockGetLibraryDetailExtendedQuery.js","sourceRoot":"","sources":["../../../src/__mocks__/mockQuery/mockGetLibraryDetailExtendedQuery.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,eAAe,EAAE,aAAa,EAAE,eAAe,EAAE,SAAS,EAAE,SAAS,EAAC,MAAM,eAAe,CAAC;AAOpG,OAAO,EAAC,SAAS,EAAC,MAAM,4BAA4B,CAAC;AAErD,MAAM,CAAC,MAAM,uCAAuC,GAAsC;IACtF,EAAE,EAAE,eAAe;IACnB,WAAW,EAAE,EAAC,EAAE,EAAE,cAAc,EAAE,EAAE,EAAE,cAAc,EAAC;IACrD,KAAK,EAAE,SAAS,CAAC,kBAAkB,CAAC;IACpC,OAAO,EAAE,EAAC,IAAI,EAAE,SAAS,CAAC,IAAI,EAAE,IAAI,EAAE,SAAS,CAAC,MAAM,EAAC;IACvD,MAAM,EAAE,KAAK;IACb,OAAO,EAAE,EAAE;IACX,KAAK,EAAE,IAAI;IACX,IAAI,EAAE,IAAI;IACV,
|
|
1
|
+
{"version":3,"file":"mockGetLibraryDetailExtendedQuery.js","sourceRoot":"","sources":["../../../src/__mocks__/mockQuery/mockGetLibraryDetailExtendedQuery.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,eAAe,EAAE,aAAa,EAAE,eAAe,EAAE,SAAS,EAAE,SAAS,EAAC,MAAM,eAAe,CAAC;AAOpG,OAAO,EAAC,SAAS,EAAC,MAAM,4BAA4B,CAAC;AAErD,MAAM,CAAC,MAAM,uCAAuC,GAAsC;IACtF,EAAE,EAAE,eAAe;IACnB,WAAW,EAAE,EAAC,EAAE,EAAE,cAAc,EAAE,EAAE,EAAE,cAAc,EAAC;IACrD,KAAK,EAAE,SAAS,CAAC,kBAAkB,CAAC;IACpC,OAAO,EAAE,EAAC,IAAI,EAAE,SAAS,CAAC,IAAI,EAAE,IAAI,EAAE,SAAS,CAAC,MAAM,EAAC;IACvD,MAAM,EAAE,KAAK;IACb,OAAO,EAAE,EAAE;IACX,KAAK,EAAE,IAAI;IACX,IAAI,EAAE,IAAI;IACV,UAAU,EAAE,EAAE;CACjB,CAAC;AAEF,MAAM,CAAC,MAAM,mCAAmC,GAA2B;IACvE,EAAE,EAAE,MAAM;IACV,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,eAAe,CAAC,QAAQ;IAClC,KAAK,EAAE;QACH,EAAE,EAAE,OAAO;QACX,EAAE,EAAE,OAAO;KACd;IACD,UAAU,EAAE;QACR;YACI,EAAE,EAAE,MAAM;YACV,IAAI,EAAE,aAAa,CAAC,MAAM;YAC1B,MAAM,EAAE,eAAe,CAAC,IAAI;YAC5B,KAAK,EAAE;gBACH,EAAE,EAAE,OAAO;gBACX,EAAE,EAAE,QAAQ;aACf;YACD,QAAQ,EAAE,KAAK;YACf,eAAe,EAAE,KAAK;YACtB,MAAM,EAAE,KAAK;SAChB;KACJ;IACD,WAAW,EAAE;QACT,cAAc,EAAE,IAAI;QACpB,aAAa,EAAE,IAAI;QACnB,aAAa,EAAE,IAAI;QACnB,aAAa,EAAE,IAAI;QACnB,WAAW,EAAE,IAAI;KACpB;IACD,WAAW,EAAE,uCAAuC;IACpD,WAAW,EAAE,EAAE;CAClB,CAAC;AAEF,MAAM,CAAC,MAAM,iCAAiC,GAAmC;IAC7E,SAAS,EAAE;QACP,IAAI,EAAE,CAAC,mCAAmC,CAAC;KAC9C;CACJ,CAAC;AAEF,MAAM,CAAC,MAAM,oCAAoC,GAAuC;IACpF,KAAK,EAAE,CAAC,MAAM,CAAC;CAClB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mockGetViewListQuery.js","sourceRoot":"","sources":["../../../src/__mocks__/mockQuery/mockGetViewListQuery.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AAItE,OAAO,EAAC,iBAAiB,EAAC,MAAM,sCAAsC,CAAC;AACvE,OAAO,EAAC,QAAQ,EAAC,MAAM,gBAAgB,CAAC;AAExC,MAAM,KAAK,GAA6C;IACpD;QACI,GAAG,QAAQ;QACX,UAAU,EAAE,MAAM;QAClB,UAAU,EAAE;YACR,EAAE,EAAE,GAAG;YACP,MAAM,EAAE;gBACJ,EAAE,EAAE,GAAG;gBACP,KAAK,EAAE,MAAM;gBACb,OAAO,EAAE;oBACL,EAAE,EAAE,OAAO;iBACd;aACJ;SACJ;QACD,OAAO,EAAE,EAAS;QAClB,cAAc,EAAE,IAAI;
|
|
1
|
+
{"version":3,"file":"mockGetViewListQuery.js","sourceRoot":"","sources":["../../../src/__mocks__/mockQuery/mockGetViewListQuery.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AAItE,OAAO,EAAC,iBAAiB,EAAC,MAAM,sCAAsC,CAAC;AACvE,OAAO,EAAC,QAAQ,EAAC,MAAM,gBAAgB,CAAC;AAExC,MAAM,KAAK,GAA6C;IACpD;QACI,GAAG,QAAQ;QACX,UAAU,EAAE,MAAM;QAClB,UAAU,EAAE;YACR,EAAE,EAAE,GAAG;YACP,MAAM,EAAE;gBACJ,EAAE,EAAE,GAAG;gBACP,KAAK,EAAE,MAAM;gBACb,OAAO,EAAE;oBACL,EAAE,EAAE,OAAO;iBACd;aACJ;SACJ;QACD,OAAO,EAAE,EAAS;QAClB,cAAc,EAAE,IAAI;QACpB,UAAU,EAAE,IAAI;KACnB;CACJ,CAAC;AAEF,MAAM,sBAAsB,GAAG,CAAC,SAAiB,EAAE,EAAE;IACjD,MAAM,KAAK,GAAG;QACV;YACI,OAAO,EAAE;gBACL,KAAK,EAAE,iBAAiB;gBACxB,SAAS,EAAE;oBACP,SAAS;iBACZ;aACJ;YACD,MAAM,EAAE;gBACJ,IAAI,EAAE;oBACF,KAAK,EAAE;wBACH,UAAU,EAAE,CAAC;wBACb,IAAI,EAAE,KAAK;qBACd;iBACJ;aACJ;SACJ;KACJ,CAAC;IAEF,OAAO,KAAK,CAAC;AACjB,CAAC,CAAC;AAEF,eAAe,sBAAsB,CAAC"}
|
|
@@ -158,15 +158,15 @@ export declare enum AttributeType {
|
|
|
158
158
|
tree = "tree"
|
|
159
159
|
}
|
|
160
160
|
export type AttributesFiltersInput = {
|
|
161
|
-
format?: InputMaybe<Array<
|
|
161
|
+
format?: InputMaybe<Array<AttributeFormat>>;
|
|
162
162
|
id?: InputMaybe<Scalars['ID']>;
|
|
163
163
|
ids?: InputMaybe<Array<Scalars['ID']>>;
|
|
164
164
|
label?: InputMaybe<Scalars['String']>;
|
|
165
|
-
libraries?: InputMaybe<Array<
|
|
166
|
-
librariesExcluded?: InputMaybe<Array<
|
|
165
|
+
libraries?: InputMaybe<Array<Scalars['String']>>;
|
|
166
|
+
librariesExcluded?: InputMaybe<Array<Scalars['String']>>;
|
|
167
167
|
multiple_values?: InputMaybe<Scalars['Boolean']>;
|
|
168
168
|
system?: InputMaybe<Scalars['Boolean']>;
|
|
169
|
-
type?: InputMaybe<Array<
|
|
169
|
+
type?: InputMaybe<Array<AttributeType>>;
|
|
170
170
|
versionable?: InputMaybe<Scalars['Boolean']>;
|
|
171
171
|
};
|
|
172
172
|
export declare enum AttributesSortableFields {
|
|
@@ -726,10 +726,11 @@ export declare enum VersionProfilesSortableFields {
|
|
|
726
726
|
id = "id"
|
|
727
727
|
}
|
|
728
728
|
export type ViewDisplayInput = {
|
|
729
|
-
size
|
|
729
|
+
size?: InputMaybe<ViewSizes>;
|
|
730
730
|
type: ViewTypes;
|
|
731
731
|
};
|
|
732
732
|
export type ViewInput = {
|
|
733
|
+
attributes?: InputMaybe<Array<Scalars['String']>>;
|
|
733
734
|
color?: InputMaybe<Scalars['String']>;
|
|
734
735
|
description?: InputMaybe<Scalars['SystemTranslationOptional']>;
|
|
735
736
|
display: ViewDisplayInput;
|
|
@@ -737,15 +738,10 @@ export type ViewInput = {
|
|
|
737
738
|
id?: InputMaybe<Scalars['String']>;
|
|
738
739
|
label?: InputMaybe<Scalars['SystemTranslation']>;
|
|
739
740
|
library: Scalars['String'];
|
|
740
|
-
settings?: InputMaybe<Array<ViewSettingsInput>>;
|
|
741
741
|
shared: Scalars['Boolean'];
|
|
742
|
-
sort?: InputMaybe<RecordSortInput
|
|
742
|
+
sort?: InputMaybe<Array<RecordSortInput>>;
|
|
743
743
|
valuesVersions?: InputMaybe<Array<ViewValuesVersionInput>>;
|
|
744
744
|
};
|
|
745
|
-
export type ViewSettingsInput = {
|
|
746
|
-
name: Scalars['String'];
|
|
747
|
-
value?: InputMaybe<Scalars['Any']>;
|
|
748
|
-
};
|
|
749
745
|
export declare enum ViewSizes {
|
|
750
746
|
BIG = "BIG",
|
|
751
747
|
MEDIUM = "MEDIUM",
|
|
@@ -1488,6 +1484,7 @@ export type RecordFormElementFragment = {
|
|
|
1488
1484
|
system: boolean;
|
|
1489
1485
|
readonly: boolean;
|
|
1490
1486
|
multiple_values: boolean;
|
|
1487
|
+
compute: boolean;
|
|
1491
1488
|
linked_library?: {
|
|
1492
1489
|
id: string;
|
|
1493
1490
|
label?: any | null;
|
|
@@ -1569,6 +1566,7 @@ export type RecordFormElementFragment = {
|
|
|
1569
1566
|
system: boolean;
|
|
1570
1567
|
readonly: boolean;
|
|
1571
1568
|
multiple_values: boolean;
|
|
1569
|
+
compute: boolean;
|
|
1572
1570
|
values_list?: {
|
|
1573
1571
|
enable: boolean;
|
|
1574
1572
|
allowFreeEntry?: boolean | null;
|
|
@@ -1637,6 +1635,7 @@ export type RecordFormElementFragment = {
|
|
|
1637
1635
|
system: boolean;
|
|
1638
1636
|
readonly: boolean;
|
|
1639
1637
|
multiple_values: boolean;
|
|
1638
|
+
compute: boolean;
|
|
1640
1639
|
linked_tree?: {
|
|
1641
1640
|
id: string;
|
|
1642
1641
|
label?: any | null;
|
|
@@ -2140,6 +2139,7 @@ export type RecordFormAttributeLinkAttributeFragment = {
|
|
|
2140
2139
|
system: boolean;
|
|
2141
2140
|
readonly: boolean;
|
|
2142
2141
|
multiple_values: boolean;
|
|
2142
|
+
compute: boolean;
|
|
2143
2143
|
linked_library?: {
|
|
2144
2144
|
id: string;
|
|
2145
2145
|
label?: any | null;
|
|
@@ -2222,6 +2222,7 @@ export type RecordFormAttributeStandardAttributeFragment = {
|
|
|
2222
2222
|
system: boolean;
|
|
2223
2223
|
readonly: boolean;
|
|
2224
2224
|
multiple_values: boolean;
|
|
2225
|
+
compute: boolean;
|
|
2225
2226
|
values_list?: {
|
|
2226
2227
|
enable: boolean;
|
|
2227
2228
|
allowFreeEntry?: boolean | null;
|
|
@@ -2291,6 +2292,7 @@ export type RecordFormAttributeTreeAttributeFragment = {
|
|
|
2291
2292
|
system: boolean;
|
|
2292
2293
|
readonly: boolean;
|
|
2293
2294
|
multiple_values: boolean;
|
|
2295
|
+
compute: boolean;
|
|
2294
2296
|
linked_tree?: {
|
|
2295
2297
|
id: string;
|
|
2296
2298
|
label?: any | null;
|
|
@@ -2472,7 +2474,7 @@ export type ViewDetailsFragment = {
|
|
|
2472
2474
|
description?: any | null;
|
|
2473
2475
|
color?: string | null;
|
|
2474
2476
|
display: {
|
|
2475
|
-
size
|
|
2477
|
+
size?: ViewSizes | null;
|
|
2476
2478
|
type: ViewTypes;
|
|
2477
2479
|
};
|
|
2478
2480
|
created_by: {
|
|
@@ -2495,10 +2497,10 @@ export type ViewDetailsFragment = {
|
|
|
2495
2497
|
label?: any | null;
|
|
2496
2498
|
} | null;
|
|
2497
2499
|
}> | null;
|
|
2498
|
-
sort?: {
|
|
2500
|
+
sort?: Array<{
|
|
2499
2501
|
field: string;
|
|
2500
2502
|
order: SortOrder;
|
|
2501
|
-
} | null;
|
|
2503
|
+
}> | null;
|
|
2502
2504
|
valuesVersions?: Array<{
|
|
2503
2505
|
treeId: string;
|
|
2504
2506
|
treeNode: {
|
|
@@ -2519,11 +2521,20 @@ export type ViewDetailsFragment = {
|
|
|
2519
2521
|
};
|
|
2520
2522
|
};
|
|
2521
2523
|
}> | null;
|
|
2522
|
-
|
|
2523
|
-
|
|
2524
|
-
value?: any | null;
|
|
2524
|
+
attributes?: Array<{
|
|
2525
|
+
id: string;
|
|
2525
2526
|
}> | null;
|
|
2526
2527
|
};
|
|
2528
|
+
export type ViewDetailsFilterFragment = {
|
|
2529
|
+
field?: string | null;
|
|
2530
|
+
value?: string | null;
|
|
2531
|
+
condition?: RecordFilterCondition | null;
|
|
2532
|
+
operator?: RecordFilterOperator | null;
|
|
2533
|
+
tree?: {
|
|
2534
|
+
id: string;
|
|
2535
|
+
label?: any | null;
|
|
2536
|
+
} | null;
|
|
2537
|
+
};
|
|
2527
2538
|
export type AttributePropertiesFragment = {
|
|
2528
2539
|
id: string;
|
|
2529
2540
|
label?: any | null;
|
|
@@ -3964,6 +3975,7 @@ export type RecordFormQuery = {
|
|
|
3964
3975
|
system: boolean;
|
|
3965
3976
|
readonly: boolean;
|
|
3966
3977
|
multiple_values: boolean;
|
|
3978
|
+
compute: boolean;
|
|
3967
3979
|
linked_library?: {
|
|
3968
3980
|
id: string;
|
|
3969
3981
|
label?: any | null;
|
|
@@ -4045,6 +4057,7 @@ export type RecordFormQuery = {
|
|
|
4045
4057
|
system: boolean;
|
|
4046
4058
|
readonly: boolean;
|
|
4047
4059
|
multiple_values: boolean;
|
|
4060
|
+
compute: boolean;
|
|
4048
4061
|
values_list?: {
|
|
4049
4062
|
enable: boolean;
|
|
4050
4063
|
allowFreeEntry?: boolean | null;
|
|
@@ -4113,6 +4126,7 @@ export type RecordFormQuery = {
|
|
|
4113
4126
|
system: boolean;
|
|
4114
4127
|
readonly: boolean;
|
|
4115
4128
|
multiple_values: boolean;
|
|
4129
|
+
compute: boolean;
|
|
4116
4130
|
linked_tree?: {
|
|
4117
4131
|
id: string;
|
|
4118
4132
|
label?: any | null;
|
|
@@ -5753,7 +5767,7 @@ export type GetViewQuery = {
|
|
|
5753
5767
|
description?: any | null;
|
|
5754
5768
|
color?: string | null;
|
|
5755
5769
|
display: {
|
|
5756
|
-
size
|
|
5770
|
+
size?: ViewSizes | null;
|
|
5757
5771
|
type: ViewTypes;
|
|
5758
5772
|
};
|
|
5759
5773
|
created_by: {
|
|
@@ -5776,10 +5790,10 @@ export type GetViewQuery = {
|
|
|
5776
5790
|
label?: any | null;
|
|
5777
5791
|
} | null;
|
|
5778
5792
|
}> | null;
|
|
5779
|
-
sort?: {
|
|
5793
|
+
sort?: Array<{
|
|
5780
5794
|
field: string;
|
|
5781
5795
|
order: SortOrder;
|
|
5782
|
-
} | null;
|
|
5796
|
+
}> | null;
|
|
5783
5797
|
valuesVersions?: Array<{
|
|
5784
5798
|
treeId: string;
|
|
5785
5799
|
treeNode: {
|
|
@@ -5800,9 +5814,8 @@ export type GetViewQuery = {
|
|
|
5800
5814
|
};
|
|
5801
5815
|
};
|
|
5802
5816
|
}> | null;
|
|
5803
|
-
|
|
5804
|
-
|
|
5805
|
-
value?: any | null;
|
|
5817
|
+
attributes?: Array<{
|
|
5818
|
+
id: string;
|
|
5806
5819
|
}> | null;
|
|
5807
5820
|
};
|
|
5808
5821
|
};
|
|
@@ -5819,7 +5832,7 @@ export type GetViewsListQuery = {
|
|
|
5819
5832
|
description?: any | null;
|
|
5820
5833
|
color?: string | null;
|
|
5821
5834
|
display: {
|
|
5822
|
-
size
|
|
5835
|
+
size?: ViewSizes | null;
|
|
5823
5836
|
type: ViewTypes;
|
|
5824
5837
|
};
|
|
5825
5838
|
created_by: {
|
|
@@ -5842,10 +5855,10 @@ export type GetViewsListQuery = {
|
|
|
5842
5855
|
label?: any | null;
|
|
5843
5856
|
} | null;
|
|
5844
5857
|
}> | null;
|
|
5845
|
-
sort?: {
|
|
5858
|
+
sort?: Array<{
|
|
5846
5859
|
field: string;
|
|
5847
5860
|
order: SortOrder;
|
|
5848
|
-
} | null;
|
|
5861
|
+
}> | null;
|
|
5849
5862
|
valuesVersions?: Array<{
|
|
5850
5863
|
treeId: string;
|
|
5851
5864
|
treeNode: {
|
|
@@ -5866,17 +5879,16 @@ export type GetViewsListQuery = {
|
|
|
5866
5879
|
};
|
|
5867
5880
|
};
|
|
5868
5881
|
}> | null;
|
|
5869
|
-
|
|
5870
|
-
|
|
5871
|
-
value?: any | null;
|
|
5882
|
+
attributes?: Array<{
|
|
5883
|
+
id: string;
|
|
5872
5884
|
}> | null;
|
|
5873
5885
|
}>;
|
|
5874
5886
|
};
|
|
5875
5887
|
};
|
|
5876
|
-
export type
|
|
5888
|
+
export type SaveViewMutationVariables = Exact<{
|
|
5877
5889
|
view: ViewInput;
|
|
5878
5890
|
}>;
|
|
5879
|
-
export type
|
|
5891
|
+
export type SaveViewMutation = {
|
|
5880
5892
|
saveView: {
|
|
5881
5893
|
id: string;
|
|
5882
5894
|
shared: boolean;
|
|
@@ -5884,7 +5896,7 @@ export type AddViewMutation = {
|
|
|
5884
5896
|
description?: any | null;
|
|
5885
5897
|
color?: string | null;
|
|
5886
5898
|
display: {
|
|
5887
|
-
size
|
|
5899
|
+
size?: ViewSizes | null;
|
|
5888
5900
|
type: ViewTypes;
|
|
5889
5901
|
};
|
|
5890
5902
|
created_by: {
|
|
@@ -5907,10 +5919,10 @@ export type AddViewMutation = {
|
|
|
5907
5919
|
label?: any | null;
|
|
5908
5920
|
} | null;
|
|
5909
5921
|
}> | null;
|
|
5910
|
-
sort?: {
|
|
5922
|
+
sort?: Array<{
|
|
5911
5923
|
field: string;
|
|
5912
5924
|
order: SortOrder;
|
|
5913
|
-
} | null;
|
|
5925
|
+
}> | null;
|
|
5914
5926
|
valuesVersions?: Array<{
|
|
5915
5927
|
treeId: string;
|
|
5916
5928
|
treeNode: {
|
|
@@ -5931,19 +5943,35 @@ export type AddViewMutation = {
|
|
|
5931
5943
|
};
|
|
5932
5944
|
};
|
|
5933
5945
|
}> | null;
|
|
5934
|
-
|
|
5935
|
-
|
|
5936
|
-
value?: any | null;
|
|
5946
|
+
attributes?: Array<{
|
|
5947
|
+
id: string;
|
|
5937
5948
|
}> | null;
|
|
5938
5949
|
};
|
|
5939
5950
|
};
|
|
5951
|
+
export type ExplorerAttributesQueryVariables = Exact<{
|
|
5952
|
+
ids?: InputMaybe<Array<Scalars['ID']> | Scalars['ID']>;
|
|
5953
|
+
}>;
|
|
5954
|
+
export type ExplorerAttributesQuery = {
|
|
5955
|
+
attributes?: {
|
|
5956
|
+
list: Array<{
|
|
5957
|
+
id: string;
|
|
5958
|
+
type: AttributeType;
|
|
5959
|
+
format?: AttributeFormat | null;
|
|
5960
|
+
label?: any | null;
|
|
5961
|
+
}>;
|
|
5962
|
+
} | null;
|
|
5963
|
+
};
|
|
5940
5964
|
export type ExplorerQueryVariables = Exact<{
|
|
5941
5965
|
libraryId: Scalars['ID'];
|
|
5942
5966
|
attributeIds: Array<Scalars['ID']> | Scalars['ID'];
|
|
5967
|
+
pagination?: InputMaybe<RecordsPagination>;
|
|
5943
5968
|
filters?: InputMaybe<Array<InputMaybe<RecordFilterInput>> | InputMaybe<RecordFilterInput>>;
|
|
5969
|
+
multipleSort?: InputMaybe<Array<RecordSortInput> | RecordSortInput>;
|
|
5970
|
+
searchQuery?: InputMaybe<Scalars['String']>;
|
|
5944
5971
|
}>;
|
|
5945
5972
|
export type ExplorerQuery = {
|
|
5946
5973
|
records: {
|
|
5974
|
+
totalCount?: number | null;
|
|
5947
5975
|
list: Array<{
|
|
5948
5976
|
id: string;
|
|
5949
5977
|
whoAmI: {
|
|
@@ -6016,6 +6044,17 @@ export type ExplorerLibraryDataQuery = {
|
|
|
6016
6044
|
}>;
|
|
6017
6045
|
} | null;
|
|
6018
6046
|
};
|
|
6047
|
+
export type TreeDataQueryQueryVariables = Exact<{
|
|
6048
|
+
treeId: Scalars['ID'];
|
|
6049
|
+
}>;
|
|
6050
|
+
export type TreeDataQueryQuery = {
|
|
6051
|
+
trees?: {
|
|
6052
|
+
list: Array<{
|
|
6053
|
+
id: string;
|
|
6054
|
+
label?: any | null;
|
|
6055
|
+
}>;
|
|
6056
|
+
} | null;
|
|
6057
|
+
};
|
|
6019
6058
|
export declare const RecordIdentityFragmentDoc: Apollo.DocumentNode;
|
|
6020
6059
|
export declare const DetailsApplicationFragmentDoc: Apollo.DocumentNode;
|
|
6021
6060
|
export declare const AttributeDetailsFragmentDoc: Apollo.DocumentNode;
|
|
@@ -6033,6 +6072,7 @@ export declare const RecordFormElementFragmentDoc: Apollo.DocumentNode;
|
|
|
6033
6072
|
export declare const TreeLightFragmentDoc: Apollo.DocumentNode;
|
|
6034
6073
|
export declare const TreeDetailsFragmentDoc: Apollo.DocumentNode;
|
|
6035
6074
|
export declare const TreeNodeChildFragmentDoc: Apollo.DocumentNode;
|
|
6075
|
+
export declare const ViewDetailsFilterFragmentDoc: Apollo.DocumentNode;
|
|
6036
6076
|
export declare const ViewDetailsFragmentDoc: Apollo.DocumentNode;
|
|
6037
6077
|
export declare const PropertyValueFragmentDoc: Apollo.DocumentNode;
|
|
6038
6078
|
export declare const AttributePropertiesFragmentDoc: Apollo.DocumentNode;
|
|
@@ -7421,31 +7461,57 @@ export declare function useGetViewsListLazyQuery(baseOptions?: Apollo.LazyQueryH
|
|
|
7421
7461
|
export type GetViewsListQueryHookResult = ReturnType<typeof useGetViewsListQuery>;
|
|
7422
7462
|
export type GetViewsListLazyQueryHookResult = ReturnType<typeof useGetViewsListLazyQuery>;
|
|
7423
7463
|
export type GetViewsListQueryResult = Apollo.QueryResult<GetViewsListQuery, GetViewsListQueryVariables>;
|
|
7424
|
-
export declare const
|
|
7425
|
-
export type
|
|
7464
|
+
export declare const SaveViewDocument: Apollo.DocumentNode;
|
|
7465
|
+
export type SaveViewMutationFn = Apollo.MutationFunction<SaveViewMutation, SaveViewMutationVariables>;
|
|
7426
7466
|
/**
|
|
7427
|
-
*
|
|
7467
|
+
* __useSaveViewMutation__
|
|
7428
7468
|
*
|
|
7429
|
-
* To run a mutation, you first call `
|
|
7430
|
-
* When your component renders, `
|
|
7469
|
+
* To run a mutation, you first call `useSaveViewMutation` within a React component and pass it any options that fit your needs.
|
|
7470
|
+
* When your component renders, `useSaveViewMutation` returns a tuple that includes:
|
|
7431
7471
|
* - A mutate function that you can call at any time to execute the mutation
|
|
7432
7472
|
* - An object with fields that represent the current status of the mutation's execution
|
|
7433
7473
|
*
|
|
7434
7474
|
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
|
|
7435
7475
|
*
|
|
7436
7476
|
* @example
|
|
7437
|
-
* const [
|
|
7477
|
+
* const [saveViewMutation, { data, loading, error }] = useSaveViewMutation({
|
|
7438
7478
|
* variables: {
|
|
7439
7479
|
* view: // value for 'view'
|
|
7440
7480
|
* },
|
|
7441
7481
|
* });
|
|
7442
7482
|
*/
|
|
7443
|
-
export declare function
|
|
7483
|
+
export declare function useSaveViewMutation(baseOptions?: Apollo.MutationHookOptions<SaveViewMutation, SaveViewMutationVariables>): Apollo.MutationTuple<SaveViewMutation, Exact<{
|
|
7444
7484
|
view: ViewInput;
|
|
7445
7485
|
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
7446
|
-
export type
|
|
7447
|
-
export type
|
|
7448
|
-
export type
|
|
7486
|
+
export type SaveViewMutationHookResult = ReturnType<typeof useSaveViewMutation>;
|
|
7487
|
+
export type SaveViewMutationResult = Apollo.MutationResult<SaveViewMutation>;
|
|
7488
|
+
export type SaveViewMutationOptions = Apollo.BaseMutationOptions<SaveViewMutation, SaveViewMutationVariables>;
|
|
7489
|
+
export declare const ExplorerAttributesDocument: Apollo.DocumentNode;
|
|
7490
|
+
/**
|
|
7491
|
+
* __useExplorerAttributesQuery__
|
|
7492
|
+
*
|
|
7493
|
+
* To run a query within a React component, call `useExplorerAttributesQuery` and pass it any options that fit your needs.
|
|
7494
|
+
* When your component renders, `useExplorerAttributesQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
7495
|
+
* you can use to render your UI.
|
|
7496
|
+
*
|
|
7497
|
+
* @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;
|
|
7498
|
+
*
|
|
7499
|
+
* @example
|
|
7500
|
+
* const { data, loading, error } = useExplorerAttributesQuery({
|
|
7501
|
+
* variables: {
|
|
7502
|
+
* ids: // value for 'ids'
|
|
7503
|
+
* },
|
|
7504
|
+
* });
|
|
7505
|
+
*/
|
|
7506
|
+
export declare function useExplorerAttributesQuery(baseOptions?: Apollo.QueryHookOptions<ExplorerAttributesQuery, ExplorerAttributesQueryVariables>): Apollo.QueryResult<ExplorerAttributesQuery, Exact<{
|
|
7507
|
+
ids?: InputMaybe<Array<Scalars["ID"]> | Scalars["ID"]>;
|
|
7508
|
+
}>>;
|
|
7509
|
+
export declare function useExplorerAttributesLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<ExplorerAttributesQuery, ExplorerAttributesQueryVariables>): Apollo.LazyQueryResultTuple<ExplorerAttributesQuery, Exact<{
|
|
7510
|
+
ids?: InputMaybe<Array<Scalars["ID"]> | Scalars["ID"]>;
|
|
7511
|
+
}>>;
|
|
7512
|
+
export type ExplorerAttributesQueryHookResult = ReturnType<typeof useExplorerAttributesQuery>;
|
|
7513
|
+
export type ExplorerAttributesLazyQueryHookResult = ReturnType<typeof useExplorerAttributesLazyQuery>;
|
|
7514
|
+
export type ExplorerAttributesQueryResult = Apollo.QueryResult<ExplorerAttributesQuery, ExplorerAttributesQueryVariables>;
|
|
7449
7515
|
export declare const ExplorerDocument: Apollo.DocumentNode;
|
|
7450
7516
|
/**
|
|
7451
7517
|
* __useExplorerQuery__
|
|
@@ -7461,19 +7527,28 @@ export declare const ExplorerDocument: Apollo.DocumentNode;
|
|
|
7461
7527
|
* variables: {
|
|
7462
7528
|
* libraryId: // value for 'libraryId'
|
|
7463
7529
|
* attributeIds: // value for 'attributeIds'
|
|
7530
|
+
* pagination: // value for 'pagination'
|
|
7464
7531
|
* filters: // value for 'filters'
|
|
7532
|
+
* multipleSort: // value for 'multipleSort'
|
|
7533
|
+
* searchQuery: // value for 'searchQuery'
|
|
7465
7534
|
* },
|
|
7466
7535
|
* });
|
|
7467
7536
|
*/
|
|
7468
7537
|
export declare function useExplorerQuery(baseOptions: Apollo.QueryHookOptions<ExplorerQuery, ExplorerQueryVariables>): Apollo.QueryResult<ExplorerQuery, Exact<{
|
|
7469
7538
|
libraryId: Scalars["ID"];
|
|
7470
7539
|
attributeIds: Array<Scalars["ID"]> | Scalars["ID"];
|
|
7540
|
+
pagination?: InputMaybe<RecordsPagination>;
|
|
7471
7541
|
filters?: InputMaybe<Array<InputMaybe<RecordFilterInput>> | InputMaybe<RecordFilterInput>>;
|
|
7542
|
+
multipleSort?: InputMaybe<Array<RecordSortInput> | RecordSortInput>;
|
|
7543
|
+
searchQuery?: InputMaybe<Scalars["String"]>;
|
|
7472
7544
|
}>>;
|
|
7473
7545
|
export declare function useExplorerLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<ExplorerQuery, ExplorerQueryVariables>): Apollo.LazyQueryResultTuple<ExplorerQuery, Exact<{
|
|
7474
7546
|
libraryId: Scalars["ID"];
|
|
7475
7547
|
attributeIds: Array<Scalars["ID"]> | Scalars["ID"];
|
|
7548
|
+
pagination?: InputMaybe<RecordsPagination>;
|
|
7476
7549
|
filters?: InputMaybe<Array<InputMaybe<RecordFilterInput>> | InputMaybe<RecordFilterInput>>;
|
|
7550
|
+
multipleSort?: InputMaybe<Array<RecordSortInput> | RecordSortInput>;
|
|
7551
|
+
searchQuery?: InputMaybe<Scalars["String"]>;
|
|
7477
7552
|
}>>;
|
|
7478
7553
|
export type ExplorerQueryHookResult = ReturnType<typeof useExplorerQuery>;
|
|
7479
7554
|
export type ExplorerLazyQueryHookResult = ReturnType<typeof useExplorerLazyQuery>;
|
|
@@ -7504,3 +7579,29 @@ export declare function useExplorerLibraryDataLazyQuery(baseOptions?: Apollo.Laz
|
|
|
7504
7579
|
export type ExplorerLibraryDataQueryHookResult = ReturnType<typeof useExplorerLibraryDataQuery>;
|
|
7505
7580
|
export type ExplorerLibraryDataLazyQueryHookResult = ReturnType<typeof useExplorerLibraryDataLazyQuery>;
|
|
7506
7581
|
export type ExplorerLibraryDataQueryResult = Apollo.QueryResult<ExplorerLibraryDataQuery, ExplorerLibraryDataQueryVariables>;
|
|
7582
|
+
export declare const TreeDataQueryDocument: Apollo.DocumentNode;
|
|
7583
|
+
/**
|
|
7584
|
+
* __useTreeDataQueryQuery__
|
|
7585
|
+
*
|
|
7586
|
+
* To run a query within a React component, call `useTreeDataQueryQuery` and pass it any options that fit your needs.
|
|
7587
|
+
* When your component renders, `useTreeDataQueryQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
7588
|
+
* you can use to render your UI.
|
|
7589
|
+
*
|
|
7590
|
+
* @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;
|
|
7591
|
+
*
|
|
7592
|
+
* @example
|
|
7593
|
+
* const { data, loading, error } = useTreeDataQueryQuery({
|
|
7594
|
+
* variables: {
|
|
7595
|
+
* treeId: // value for 'treeId'
|
|
7596
|
+
* },
|
|
7597
|
+
* });
|
|
7598
|
+
*/
|
|
7599
|
+
export declare function useTreeDataQueryQuery(baseOptions: Apollo.QueryHookOptions<TreeDataQueryQuery, TreeDataQueryQueryVariables>): Apollo.QueryResult<TreeDataQueryQuery, Exact<{
|
|
7600
|
+
treeId: Scalars["ID"];
|
|
7601
|
+
}>>;
|
|
7602
|
+
export declare function useTreeDataQueryLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<TreeDataQueryQuery, TreeDataQueryQueryVariables>): Apollo.LazyQueryResultTuple<TreeDataQueryQuery, Exact<{
|
|
7603
|
+
treeId: Scalars["ID"];
|
|
7604
|
+
}>>;
|
|
7605
|
+
export type TreeDataQueryQueryHookResult = ReturnType<typeof useTreeDataQueryQuery>;
|
|
7606
|
+
export type TreeDataQueryLazyQueryHookResult = ReturnType<typeof useTreeDataQueryLazyQuery>;
|
|
7607
|
+
export type TreeDataQueryQueryResult = Apollo.QueryResult<TreeDataQueryQuery, TreeDataQueryQueryVariables>;
|