@leav/ui 1.6.0-4c30ab85 → 1.6.0-638134f7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_gqlTypes/index.d.ts +49 -0
- package/dist/_gqlTypes/index.js +46 -0
- package/dist/_gqlTypes/index.js.map +1 -1
- package/dist/components/Explorer/Explorer.js +2 -2
- package/dist/components/Explorer/Explorer.js.map +1 -1
- package/dist/components/Explorer/TableCell.js +5 -7
- package/dist/components/Explorer/TableCell.js.map +1 -1
- package/dist/components/Explorer/TableNameCell.js +3 -2
- package/dist/components/Explorer/TableNameCell.js.map +1 -1
- package/dist/components/Explorer/actions-item/useEditStatusItemAction.js +3 -2
- package/dist/components/Explorer/actions-item/useEditStatusItemAction.js.map +1 -1
- package/dist/components/Explorer/actions-item/useReplaceItemAction.js +3 -2
- package/dist/components/Explorer/actions-item/useReplaceItemAction.js.map +1 -1
- package/dist/components/Explorer/actions-mass/export/ExportProfileSelectionModal.d.ts +10 -0
- package/dist/components/Explorer/actions-mass/export/ExportProfileSelectionModal.js +46 -0
- package/dist/components/Explorer/actions-mass/export/ExportProfileSelectionModal.js.map +1 -0
- package/dist/components/Explorer/actions-mass/export/content/NoProfiles.d.ts +1 -0
- package/dist/components/Explorer/actions-mass/export/content/NoProfiles.js +17 -0
- package/dist/components/Explorer/actions-mass/export/content/NoProfiles.js.map +1 -0
- package/dist/components/Explorer/actions-mass/export/content/ProfilesSelection.d.ts +8 -0
- package/dist/components/Explorer/actions-mass/export/content/ProfilesSelection.js +49 -0
- package/dist/components/Explorer/actions-mass/export/content/ProfilesSelection.js.map +1 -0
- package/dist/components/Explorer/actions-mass/export/useGetLibraryExportProfiles.d.ts +27 -0
- package/dist/components/Explorer/actions-mass/export/useGetLibraryExportProfiles.js +48 -0
- package/dist/components/Explorer/actions-mass/export/useGetLibraryExportProfiles.js.map +1 -0
- package/dist/components/Explorer/actions-mass/useDeactivateMassAction.js +3 -2
- package/dist/components/Explorer/actions-mass/useDeactivateMassAction.js.map +1 -1
- package/dist/components/Explorer/actions-mass/useDeleteLinkValues.js +3 -2
- package/dist/components/Explorer/actions-mass/useDeleteLinkValues.js.map +1 -1
- package/dist/components/Explorer/actions-mass/useEditAttributeMassAction.js +3 -2
- package/dist/components/Explorer/actions-mass/useEditAttributeMassAction.js.map +1 -1
- package/dist/components/Explorer/actions-mass/useExportMassAction.d.ts +7 -4
- package/dist/components/Explorer/actions-mass/useExportMassAction.js +79 -73
- package/dist/components/Explorer/actions-mass/useExportMassAction.js.map +1 -1
- package/dist/components/Explorer/actions-mass/useMassActions.js +3 -2
- package/dist/components/Explorer/actions-mass/useMassActions.js.map +1 -1
- package/dist/components/Explorer/actions-primary/useCreatePrimaryAction.js +3 -2
- package/dist/components/Explorer/actions-primary/useCreatePrimaryAction.js.map +1 -1
- package/dist/components/Explorer/actions-primary/useLinkPrimaryAction.js +3 -2
- package/dist/components/Explorer/actions-primary/useLinkPrimaryAction.js.map +1 -1
- package/dist/components/Explorer/list-saved-views/SavedViews.js +4 -3
- package/dist/components/Explorer/list-saved-views/SavedViews.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/_shared/ColumnItem.js +5 -8
- package/dist/components/Explorer/manage-view-settings/_shared/ColumnItem.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/configure-display/attributes/SelectVisibleAttributes.js +3 -2
- 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.js +7 -6
- package/dist/components/Explorer/manage-view-settings/filter-items/FilterItems.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/filter-items/FilterListItem.js +3 -2
- package/dist/components/Explorer/manage-view-settings/filter-items/FilterListItem.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/open-view-settings/useOpenViewSettings.js +4 -3
- package/dist/components/Explorer/manage-view-settings/open-view-settings/useOpenViewSettings.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/router-menu/SettingItem.js +3 -2
- package/dist/components/Explorer/manage-view-settings/router-menu/SettingItem.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/router-menu/SettingsPanel.js +3 -2
- package/dist/components/Explorer/manage-view-settings/router-menu/SettingsPanel.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/save-view/LabelViewFormModal.js +3 -2
- package/dist/components/Explorer/manage-view-settings/save-view/LabelViewFormModal.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/save-view/useCreateNewView.js +3 -2
- package/dist/components/Explorer/manage-view-settings/save-view/useCreateNewView.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/save-view/useDeleteView.js +4 -3
- package/dist/components/Explorer/manage-view-settings/save-view/useDeleteView.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/save-view/useEditLabelView.js +3 -2
- package/dist/components/Explorer/manage-view-settings/save-view/useEditLabelView.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/save-view/useResetView.js +3 -2
- package/dist/components/Explorer/manage-view-settings/save-view/useResetView.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/save-view/useShareView.js +3 -2
- package/dist/components/Explorer/manage-view-settings/save-view/useShareView.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/save-view/useUpdateView.js +3 -2
- package/dist/components/Explorer/manage-view-settings/save-view/useUpdateView.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/sort-items/SortItems.js +7 -6
- package/dist/components/Explorer/manage-view-settings/sort-items/SortItems.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/sort-items/SortListItem.js +3 -2
- package/dist/components/Explorer/manage-view-settings/sort-items/SortListItem.js.map +1 -1
- package/dist/components/Filters/filter-items/filter-type/FilterDropDown.js +3 -2
- package/dist/components/Filters/filter-items/filter-type/FilterDropDown.js.map +1 -1
- package/dist/components/Filters/filter-items/filter-type/FilterValueListDropDown.js +4 -3
- package/dist/components/Filters/filter-items/filter-type/FilterValueListDropDown.js.map +1 -1
- package/dist/components/LibraryItemsList/MenuView/MenuView.js +4 -4
- package/dist/components/LibraryItemsList/MenuView/MenuView.js.map +1 -1
- package/dist/components/LibraryItemsList/ViewPanel/View/View.js +3 -2
- package/dist/components/LibraryItemsList/ViewPanel/View/View.js.map +1 -1
- package/dist/components/Notifications/hooks/useNotificationSubscription.js +3 -2
- package/dist/components/Notifications/hooks/useNotificationSubscription.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/shared/ValuesVersionBtn/ValuesVersionBtn.js +5 -20
- package/dist/components/RecordEdition/EditRecordContent/shared/ValuesVersionBtn/ValuesVersionBtn.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record/useLinkRecords.js +4 -3
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record/useLinkRecords.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardField.js +4 -3
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardField.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/TreeField.js +3 -2
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/TreeField.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/display-tree-node/TreeNodeItem.js +3 -2
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/display-tree-node/TreeNodeItem.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/manage-tree-node-selection/SelectTreeNodeModal.js +2 -5
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/manage-tree-node-selection/SelectTreeNodeModal.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/ComputeIndicator.js +3 -2
- package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/ComputeIndicator.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordSidebar/RecordSummary/RecordInformations/RecordInformations.js +3 -2
- package/dist/components/RecordEdition/EditRecordSidebar/RecordSummary/RecordInformations/RecordInformations.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordSidebar/ValuesSummary/ValuesSummary.js +4 -3
- package/dist/components/RecordEdition/EditRecordSidebar/ValuesSummary/ValuesSummary.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordSidebar/ValuesVersions/ValuesVersions.js +3 -2
- package/dist/components/RecordEdition/EditRecordSidebar/ValuesVersions/ValuesVersions.js.map +1 -1
- package/dist/components/SelectRecordForLinkModal/SelectRecordForLinkModal.js +3 -5
- package/dist/components/SelectRecordForLinkModal/SelectRecordForLinkModal.js.map +1 -1
- package/dist/components/SelectTreeNode/TreeNodeTitle.js +3 -2
- package/dist/components/SelectTreeNode/TreeNodeTitle.js.map +1 -1
- package/dist/locales/en/shared.json +11 -0
- package/dist/locales/fr/shared.json +11 -0
- package/package.json +6 -4
|
@@ -7747,6 +7747,29 @@ export type ExplorerLibraryDetailsQuery = {
|
|
|
7747
7747
|
}>;
|
|
7748
7748
|
} | null;
|
|
7749
7749
|
};
|
|
7750
|
+
export type LibraryExportProfilesQueryVariables = Exact<{
|
|
7751
|
+
libraryId?: InputMaybe<Array<Scalars['ID']['input']> | Scalars['ID']['input']>;
|
|
7752
|
+
}>;
|
|
7753
|
+
export type LibraryExportProfilesQuery = {
|
|
7754
|
+
libraries?: {
|
|
7755
|
+
list: Array<{
|
|
7756
|
+
id: string;
|
|
7757
|
+
exportProfiles?: {
|
|
7758
|
+
defaultProfile: string;
|
|
7759
|
+
profiles: Array<{
|
|
7760
|
+
label: string;
|
|
7761
|
+
columns: Array<{
|
|
7762
|
+
columnLabel: string;
|
|
7763
|
+
attribute: string;
|
|
7764
|
+
}>;
|
|
7765
|
+
error?: {
|
|
7766
|
+
message: string;
|
|
7767
|
+
} | null;
|
|
7768
|
+
}>;
|
|
7769
|
+
} | null;
|
|
7770
|
+
}>;
|
|
7771
|
+
} | null;
|
|
7772
|
+
};
|
|
7750
7773
|
export type ExplorerSelectionIdsQueryVariables = Exact<{
|
|
7751
7774
|
libraryId: Scalars['ID']['input'];
|
|
7752
7775
|
filters?: InputMaybe<Array<InputMaybe<RecordFilterInput>> | InputMaybe<RecordFilterInput>>;
|
|
@@ -9765,6 +9788,32 @@ export declare function useExplorerLibraryDetailsLazyQuery(baseOptions?: Apollo.
|
|
|
9765
9788
|
export type ExplorerLibraryDetailsQueryHookResult = ReturnType<typeof useExplorerLibraryDetailsQuery>;
|
|
9766
9789
|
export type ExplorerLibraryDetailsLazyQueryHookResult = ReturnType<typeof useExplorerLibraryDetailsLazyQuery>;
|
|
9767
9790
|
export type ExplorerLibraryDetailsQueryResult = Apollo.QueryResult<ExplorerLibraryDetailsQuery, ExplorerLibraryDetailsQueryVariables>;
|
|
9791
|
+
export declare const LibraryExportProfilesDocument: Apollo.DocumentNode;
|
|
9792
|
+
/**
|
|
9793
|
+
* __useLibraryExportProfilesQuery__
|
|
9794
|
+
*
|
|
9795
|
+
* To run a query within a React component, call `useLibraryExportProfilesQuery` and pass it any options that fit your needs.
|
|
9796
|
+
* When your component renders, `useLibraryExportProfilesQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
9797
|
+
* you can use to render your UI.
|
|
9798
|
+
*
|
|
9799
|
+
* @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;
|
|
9800
|
+
*
|
|
9801
|
+
* @example
|
|
9802
|
+
* const { data, loading, error } = useLibraryExportProfilesQuery({
|
|
9803
|
+
* variables: {
|
|
9804
|
+
* libraryId: // value for 'libraryId'
|
|
9805
|
+
* },
|
|
9806
|
+
* });
|
|
9807
|
+
*/
|
|
9808
|
+
export declare function useLibraryExportProfilesQuery(baseOptions?: Apollo.QueryHookOptions<LibraryExportProfilesQuery, LibraryExportProfilesQueryVariables>): Apollo.QueryResult<LibraryExportProfilesQuery, Exact<{
|
|
9809
|
+
libraryId?: InputMaybe<Array<Scalars["ID"]["input"]> | Scalars["ID"]["input"]>;
|
|
9810
|
+
}>>;
|
|
9811
|
+
export declare function useLibraryExportProfilesLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<LibraryExportProfilesQuery, LibraryExportProfilesQueryVariables>): Apollo.LazyQueryResultTuple<LibraryExportProfilesQuery, Exact<{
|
|
9812
|
+
libraryId?: InputMaybe<Array<Scalars["ID"]["input"]> | Scalars["ID"]["input"]>;
|
|
9813
|
+
}>>;
|
|
9814
|
+
export type LibraryExportProfilesQueryHookResult = ReturnType<typeof useLibraryExportProfilesQuery>;
|
|
9815
|
+
export type LibraryExportProfilesLazyQueryHookResult = ReturnType<typeof useLibraryExportProfilesLazyQuery>;
|
|
9816
|
+
export type LibraryExportProfilesQueryResult = Apollo.QueryResult<LibraryExportProfilesQuery, LibraryExportProfilesQueryVariables>;
|
|
9768
9817
|
export declare const ExplorerSelectionIdsDocument: Apollo.DocumentNode;
|
|
9769
9818
|
/**
|
|
9770
9819
|
* __useExplorerSelectionIdsQuery__
|
package/dist/_gqlTypes/index.js
CHANGED
|
@@ -3559,6 +3559,52 @@ export function useExplorerLibraryDetailsLazyQuery(baseOptions) {
|
|
|
3559
3559
|
const options = { ...defaultOptions, ...baseOptions };
|
|
3560
3560
|
return Apollo.useLazyQuery(ExplorerLibraryDetailsDocument, options);
|
|
3561
3561
|
}
|
|
3562
|
+
export const LibraryExportProfilesDocument = gql `
|
|
3563
|
+
query libraryExportProfiles($libraryId: [ID!]) {
|
|
3564
|
+
libraries(filters: {id: $libraryId}) {
|
|
3565
|
+
list {
|
|
3566
|
+
id
|
|
3567
|
+
exportProfiles {
|
|
3568
|
+
defaultProfile
|
|
3569
|
+
profiles {
|
|
3570
|
+
label
|
|
3571
|
+
columns {
|
|
3572
|
+
columnLabel
|
|
3573
|
+
attribute
|
|
3574
|
+
}
|
|
3575
|
+
error {
|
|
3576
|
+
message
|
|
3577
|
+
}
|
|
3578
|
+
}
|
|
3579
|
+
}
|
|
3580
|
+
}
|
|
3581
|
+
}
|
|
3582
|
+
}
|
|
3583
|
+
`;
|
|
3584
|
+
/**
|
|
3585
|
+
* __useLibraryExportProfilesQuery__
|
|
3586
|
+
*
|
|
3587
|
+
* To run a query within a React component, call `useLibraryExportProfilesQuery` and pass it any options that fit your needs.
|
|
3588
|
+
* When your component renders, `useLibraryExportProfilesQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
3589
|
+
* you can use to render your UI.
|
|
3590
|
+
*
|
|
3591
|
+
* @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;
|
|
3592
|
+
*
|
|
3593
|
+
* @example
|
|
3594
|
+
* const { data, loading, error } = useLibraryExportProfilesQuery({
|
|
3595
|
+
* variables: {
|
|
3596
|
+
* libraryId: // value for 'libraryId'
|
|
3597
|
+
* },
|
|
3598
|
+
* });
|
|
3599
|
+
*/
|
|
3600
|
+
export function useLibraryExportProfilesQuery(baseOptions) {
|
|
3601
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
3602
|
+
return Apollo.useQuery(LibraryExportProfilesDocument, options);
|
|
3603
|
+
}
|
|
3604
|
+
export function useLibraryExportProfilesLazyQuery(baseOptions) {
|
|
3605
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
3606
|
+
return Apollo.useLazyQuery(LibraryExportProfilesDocument, options);
|
|
3607
|
+
}
|
|
3562
3608
|
export const ExplorerSelectionIdsDocument = gql `
|
|
3563
3609
|
query ExplorerSelectionIds($libraryId: ID!, $filters: [RecordFilterInput]) {
|
|
3564
3610
|
records(library: $libraryId, filters: $filters) {
|