@leav/ui 1.6.0-a54099d3 → 1.6.0-b54abb33
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 +9 -0
- package/dist/_gqlTypes/index.js +3 -1
- package/dist/_gqlTypes/index.js.map +1 -1
- package/dist/_queries/trees/treeNodeChildrenQuery.js +2 -0
- package/dist/_queries/trees/treeNodeChildrenQuery.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/TreeField.js +6 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/TreeField.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/manage-tree-node-selection/SelectTreeNodeModal.d.ts +2 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/manage-tree-node-selection/SelectTreeNodeModal.js +2 -2
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/manage-tree-node-selection/SelectTreeNodeModal.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/manage-tree-node-selection/useManageTreeNodeSelection.d.ts +3 -2
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/manage-tree-node-selection/useManageTreeNodeSelection.js +2 -2
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/manage-tree-node-selection/useManageTreeNodeSelection.js.map +1 -1
- package/dist/components/SelectTreeNode/SelectTreeNode.d.ts +2 -1
- package/dist/components/SelectTreeNode/SelectTreeNode.js +3 -3
- package/dist/components/SelectTreeNode/SelectTreeNode.js.map +1 -1
- package/dist/components/SelectTreeNode/SelectTreeNodeContent.d.ts +2 -1
- package/dist/components/SelectTreeNode/SelectTreeNodeContent.js +6 -2
- package/dist/components/SelectTreeNode/SelectTreeNodeContent.js.map +1 -1
- package/package.json +1 -1
|
@@ -257,6 +257,11 @@ export type DeleteTaskInput = {
|
|
|
257
257
|
archive: Scalars['Boolean']['input'];
|
|
258
258
|
id: Scalars['ID']['input'];
|
|
259
259
|
};
|
|
260
|
+
export type DependentValuesPermissionFilterInput = {
|
|
261
|
+
attributeId: Scalars['ID']['input'];
|
|
262
|
+
libraryId: Scalars['ID']['input'];
|
|
263
|
+
recordId: Scalars['ID']['input'];
|
|
264
|
+
};
|
|
260
265
|
export type DiscussionCommentInput = {
|
|
261
266
|
mentions?: InputMaybe<DiscussionMentionsInput>;
|
|
262
267
|
message: Scalars['String']['input'];
|
|
@@ -6195,6 +6200,7 @@ export type TreeNodeChildrenQueryVariables = Exact<{
|
|
|
6195
6200
|
node?: InputMaybe<Scalars['ID']['input']>;
|
|
6196
6201
|
pagination?: InputMaybe<Pagination>;
|
|
6197
6202
|
childrenAsRecordValuePermissionFilter?: InputMaybe<ChildrenAsRecordValuePermissionFilterInput>;
|
|
6203
|
+
dependentValuesPermissionFilter?: InputMaybe<DependentValuesPermissionFilterInput>;
|
|
6198
6204
|
}>;
|
|
6199
6205
|
export type TreeNodeChildrenQuery = {
|
|
6200
6206
|
treeNodeChildren: {
|
|
@@ -9248,6 +9254,7 @@ export declare const TreeNodeChildrenDocument: Apollo.DocumentNode;
|
|
|
9248
9254
|
* node: // value for 'node'
|
|
9249
9255
|
* pagination: // value for 'pagination'
|
|
9250
9256
|
* childrenAsRecordValuePermissionFilter: // value for 'childrenAsRecordValuePermissionFilter'
|
|
9257
|
+
* dependentValuesPermissionFilter: // value for 'dependentValuesPermissionFilter'
|
|
9251
9258
|
* },
|
|
9252
9259
|
* });
|
|
9253
9260
|
*/
|
|
@@ -9256,12 +9263,14 @@ export declare function useTreeNodeChildrenQuery(baseOptions: Apollo.QueryHookOp
|
|
|
9256
9263
|
node?: InputMaybe<Scalars["ID"]["input"]>;
|
|
9257
9264
|
pagination?: InputMaybe<Pagination>;
|
|
9258
9265
|
childrenAsRecordValuePermissionFilter?: InputMaybe<ChildrenAsRecordValuePermissionFilterInput>;
|
|
9266
|
+
dependentValuesPermissionFilter?: InputMaybe<DependentValuesPermissionFilterInput>;
|
|
9259
9267
|
}>>;
|
|
9260
9268
|
export declare function useTreeNodeChildrenLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<TreeNodeChildrenQuery, TreeNodeChildrenQueryVariables>): Apollo.LazyQueryResultTuple<TreeNodeChildrenQuery, Exact<{
|
|
9261
9269
|
treeId: Scalars["ID"]["input"];
|
|
9262
9270
|
node?: InputMaybe<Scalars["ID"]["input"]>;
|
|
9263
9271
|
pagination?: InputMaybe<Pagination>;
|
|
9264
9272
|
childrenAsRecordValuePermissionFilter?: InputMaybe<ChildrenAsRecordValuePermissionFilterInput>;
|
|
9273
|
+
dependentValuesPermissionFilter?: InputMaybe<DependentValuesPermissionFilterInput>;
|
|
9265
9274
|
}>>;
|
|
9266
9275
|
export type TreeNodeChildrenQueryHookResult = ReturnType<typeof useTreeNodeChildrenQuery>;
|
|
9267
9276
|
export type TreeNodeChildrenLazyQueryHookResult = ReturnType<typeof useTreeNodeChildrenLazyQuery>;
|
package/dist/_gqlTypes/index.js
CHANGED
|
@@ -2821,12 +2821,13 @@ export function useSaveTreeMutation(baseOptions) {
|
|
|
2821
2821
|
return Apollo.useMutation(SaveTreeDocument, options);
|
|
2822
2822
|
}
|
|
2823
2823
|
export const TreeNodeChildrenDocument = gql `
|
|
2824
|
-
query TREE_NODE_CHILDREN($treeId: ID!, $node: ID, $pagination: Pagination, $childrenAsRecordValuePermissionFilter: ChildrenAsRecordValuePermissionFilterInput) {
|
|
2824
|
+
query TREE_NODE_CHILDREN($treeId: ID!, $node: ID, $pagination: Pagination, $childrenAsRecordValuePermissionFilter: ChildrenAsRecordValuePermissionFilterInput, $dependentValuesPermissionFilter: DependentValuesPermissionFilterInput) {
|
|
2825
2825
|
treeNodeChildren(
|
|
2826
2826
|
treeId: $treeId
|
|
2827
2827
|
node: $node
|
|
2828
2828
|
pagination: $pagination
|
|
2829
2829
|
childrenAsRecordValuePermissionFilter: $childrenAsRecordValuePermissionFilter
|
|
2830
|
+
dependentValuesPermissionFilter: $dependentValuesPermissionFilter
|
|
2830
2831
|
) {
|
|
2831
2832
|
totalCount
|
|
2832
2833
|
list {
|
|
@@ -2851,6 +2852,7 @@ export const TreeNodeChildrenDocument = gql `
|
|
|
2851
2852
|
* node: // value for 'node'
|
|
2852
2853
|
* pagination: // value for 'pagination'
|
|
2853
2854
|
* childrenAsRecordValuePermissionFilter: // value for 'childrenAsRecordValuePermissionFilter'
|
|
2855
|
+
* dependentValuesPermissionFilter: // value for 'dependentValuesPermissionFilter'
|
|
2854
2856
|
* },
|
|
2855
2857
|
* });
|
|
2856
2858
|
*/
|