@leav/ui 1.6.0-a91c4173 → 1.6.0-b8aae5a2
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 +16 -0
- package/dist/_gqlTypes/index.js +4 -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/_queries/views/viewDetailsFragment.js +1 -0
- package/dist/_queries/views/viewDetailsFragment.js.map +1 -1
- package/dist/components/AttributesSelectionList/sharedComponents.d.ts +159 -153
- package/dist/components/Explorer/Explorer.js +3 -1
- package/dist/components/Explorer/Explorer.js.map +1 -1
- package/dist/components/Explorer/ExplorerFiltersAndSorts.js +1 -1
- package/dist/components/Explorer/ExplorerFiltersAndSorts.js.map +1 -1
- package/dist/components/Explorer/TableCell.js +1 -0
- package/dist/components/Explorer/TableCell.js.map +1 -1
- package/dist/components/Explorer/actions-item/useReplaceItemAction.d.ts +2 -1
- package/dist/components/Explorer/actions-item/useReplaceItemAction.js +2 -2
- package/dist/components/Explorer/actions-item/useReplaceItemAction.js.map +1 -1
- package/dist/components/Explorer/actions-mass/useExportMassAction.js +2 -1
- package/dist/components/Explorer/actions-mass/useExportMassAction.js.map +1 -1
- package/dist/components/Explorer/actions-primary/useLinkPrimaryAction.d.ts +2 -1
- package/dist/components/Explorer/actions-primary/useLinkPrimaryAction.js +2 -2
- package/dist/components/Explorer/actions-primary/useLinkPrimaryAction.js.map +1 -1
- package/dist/components/Explorer/link-item/LinkModal.d.ts +1 -0
- package/dist/components/Explorer/link-item/LinkModal.js +2 -2
- package/dist/components/Explorer/link-item/LinkModal.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/save-view/prepareViewForRequest.js +3 -0
- package/dist/components/Explorer/manage-view-settings/save-view/prepareViewForRequest.js.map +1 -1
- package/dist/components/Filters/FiltersProvider.d.ts +2 -2
- package/dist/components/Filters/FiltersProvider.js.map +1 -1
- package/dist/components/Filters/_types.d.ts +3 -0
- package/dist/components/Filters/_types.js.map +1 -1
- package/dist/components/Filters/context/filtersReducer.js +5 -1
- package/dist/components/Filters/context/filtersReducer.js.map +1 -1
- package/dist/components/Filters/filter-items/CommonFilterItem.d.ts +1 -0
- package/dist/components/Filters/filter-items/CommonFilterItem.js +28 -8
- package/dist/components/Filters/filter-items/CommonFilterItem.js.map +1 -1
- package/dist/components/Filters/filter-items/EmptyValueCheckbox.d.ts +8 -0
- package/dist/components/Filters/filter-items/EmptyValueCheckbox.js +16 -0
- package/dist/components/Filters/filter-items/EmptyValueCheckbox.js.map +1 -0
- package/dist/components/Filters/filter-items/filter-type/ColorAttributeDropDown.js +9 -8
- package/dist/components/Filters/filter-items/filter-type/ColorAttributeDropDown.js.map +1 -1
- package/dist/components/Filters/filter-items/filter-type/FilterDropDown.js +2 -2
- package/dist/components/Filters/filter-items/filter-type/FilterDropDown.js.map +1 -1
- package/dist/components/Filters/filter-items/filter-type/FilterDropdownContent.js +1 -1
- package/dist/components/Filters/filter-items/filter-type/FilterDropdownContent.js.map +1 -1
- package/dist/components/Filters/filter-items/filter-type/FilterValueListDropDown.d.ts +0 -1
- package/dist/components/Filters/filter-items/filter-type/FilterValueListDropDown.js +14 -21
- package/dist/components/Filters/filter-items/filter-type/FilterValueListDropDown.js.map +1 -1
- package/dist/components/Filters/filter-items/filter-type/TreeAttributeDropDown.js +10 -12
- package/dist/components/Filters/filter-items/filter-type/TreeAttributeDropDown.js.map +1 -1
- package/dist/components/Filters/filter-items/filter-type/useConditionOptionsByType.js +3 -13
- package/dist/components/Filters/filter-items/filter-type/useConditionOptionsByType.js.map +1 -1
- package/dist/components/Filters/prepareFiltersForRequest.js +36 -3
- package/dist/components/Filters/prepareFiltersForRequest.js.map +1 -1
- package/dist/components/Filters/useFilters.d.ts +5 -0
- package/dist/components/Filters/useTransformFilters.js +4 -0
- package/dist/components/Filters/useTransformFilters.js.map +1 -1
- package/dist/components/LibraryItemsList/FiltersPanel/FiltersOptions.js +1 -8
- package/dist/components/LibraryItemsList/FiltersPanel/FiltersOptions.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/shared/ExplorerWrapper.d.ts +53 -51
- 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/display-tree-node/TreeFieldWrapper.d.ts +53 -51
- 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/SelectRecordForLinkModal/SelectRecordForLinkModal.d.ts +1 -0
- package/dist/components/SelectRecordForLinkModal/SelectRecordForLinkModal.js +4 -2
- package/dist/components/SelectRecordForLinkModal/SelectRecordForLinkModal.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/dist/constants.d.ts +1 -0
- package/dist/constants.js +1 -0
- package/dist/constants.js.map +1 -1
- package/dist/hooks/useIFrameMessenger/messageHandlers.d.ts +2 -1
- package/dist/hooks/useIFrameMessenger/messageHandlers.js +8 -0
- package/dist/hooks/useIFrameMessenger/messageHandlers.js.map +1 -1
- package/dist/hooks/useIFrameMessenger/schema.d.ts +3 -0
- package/dist/hooks/useIFrameMessenger/schema.js +1 -0
- package/dist/hooks/useIFrameMessenger/schema.js.map +1 -1
- package/dist/hooks/useIFrameMessenger/types.d.ts +12 -2
- package/dist/hooks/useIFrameMessenger/types.js.map +1 -1
- package/dist/hooks/useIFrameMessenger/useIFrameMessenger.d.ts +1 -0
- package/dist/hooks/useIFrameMessenger/useIFrameMessenger.js +15 -0
- package/dist/hooks/useIFrameMessenger/useIFrameMessenger.js.map +1 -1
- package/dist/hooks/useIFrameMessengerClient/iFrameMessengerClientContext.d.ts +1 -0
- package/dist/hooks/useIFrameMessengerClient/useIFrameMessengerClient.d.ts +1 -0
- package/dist/locales/en/shared.json +2 -1
- package/dist/locales/fr/shared.json +2 -1
- package/package.json +3 -5
|
@@ -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'];
|
|
@@ -636,6 +641,7 @@ export type RecordFilterInput = {
|
|
|
636
641
|
operator?: InputMaybe<RecordFilterOperator>;
|
|
637
642
|
treeId?: InputMaybe<Scalars['String']['input']>;
|
|
638
643
|
value?: InputMaybe<Scalars['String']['input']>;
|
|
644
|
+
withEmptyValues?: InputMaybe<Scalars['Boolean']['input']>;
|
|
639
645
|
};
|
|
640
646
|
export declare enum RecordFilterOperator {
|
|
641
647
|
AND = "AND",
|
|
@@ -3192,6 +3198,7 @@ export type ViewDetailsFragment = {
|
|
|
3192
3198
|
value?: string | null;
|
|
3193
3199
|
condition?: RecordFilterCondition | null;
|
|
3194
3200
|
operator?: RecordFilterOperator | null;
|
|
3201
|
+
withEmptyValues?: boolean | null;
|
|
3195
3202
|
tree?: {
|
|
3196
3203
|
id: string;
|
|
3197
3204
|
label?: any | null;
|
|
@@ -3230,6 +3237,7 @@ export type ViewDetailsFilterFragment = {
|
|
|
3230
3237
|
value?: string | null;
|
|
3231
3238
|
condition?: RecordFilterCondition | null;
|
|
3232
3239
|
operator?: RecordFilterOperator | null;
|
|
3240
|
+
withEmptyValues?: boolean | null;
|
|
3233
3241
|
tree?: {
|
|
3234
3242
|
id: string;
|
|
3235
3243
|
label?: any | null;
|
|
@@ -6195,6 +6203,7 @@ export type TreeNodeChildrenQueryVariables = Exact<{
|
|
|
6195
6203
|
node?: InputMaybe<Scalars['ID']['input']>;
|
|
6196
6204
|
pagination?: InputMaybe<Pagination>;
|
|
6197
6205
|
childrenAsRecordValuePermissionFilter?: InputMaybe<ChildrenAsRecordValuePermissionFilterInput>;
|
|
6206
|
+
dependentValuesPermissionFilter?: InputMaybe<DependentValuesPermissionFilterInput>;
|
|
6198
6207
|
}>;
|
|
6199
6208
|
export type TreeNodeChildrenQuery = {
|
|
6200
6209
|
treeNodeChildren: {
|
|
@@ -7106,6 +7115,7 @@ export type GetViewQuery = {
|
|
|
7106
7115
|
value?: string | null;
|
|
7107
7116
|
condition?: RecordFilterCondition | null;
|
|
7108
7117
|
operator?: RecordFilterOperator | null;
|
|
7118
|
+
withEmptyValues?: boolean | null;
|
|
7109
7119
|
tree?: {
|
|
7110
7120
|
id: string;
|
|
7111
7121
|
label?: any | null;
|
|
@@ -7171,6 +7181,7 @@ export type GetViewsListQuery = {
|
|
|
7171
7181
|
value?: string | null;
|
|
7172
7182
|
condition?: RecordFilterCondition | null;
|
|
7173
7183
|
operator?: RecordFilterOperator | null;
|
|
7184
|
+
withEmptyValues?: boolean | null;
|
|
7174
7185
|
tree?: {
|
|
7175
7186
|
id: string;
|
|
7176
7187
|
label?: any | null;
|
|
@@ -7235,6 +7246,7 @@ export type SaveViewMutation = {
|
|
|
7235
7246
|
value?: string | null;
|
|
7236
7247
|
condition?: RecordFilterCondition | null;
|
|
7237
7248
|
operator?: RecordFilterOperator | null;
|
|
7249
|
+
withEmptyValues?: boolean | null;
|
|
7238
7250
|
tree?: {
|
|
7239
7251
|
id: string;
|
|
7240
7252
|
label?: any | null;
|
|
@@ -7824,6 +7836,7 @@ export type UpdateViewMutation = {
|
|
|
7824
7836
|
value?: string | null;
|
|
7825
7837
|
condition?: RecordFilterCondition | null;
|
|
7826
7838
|
operator?: RecordFilterOperator | null;
|
|
7839
|
+
withEmptyValues?: boolean | null;
|
|
7827
7840
|
tree?: {
|
|
7828
7841
|
id: string;
|
|
7829
7842
|
label?: any | null;
|
|
@@ -9248,6 +9261,7 @@ export declare const TreeNodeChildrenDocument: Apollo.DocumentNode;
|
|
|
9248
9261
|
* node: // value for 'node'
|
|
9249
9262
|
* pagination: // value for 'pagination'
|
|
9250
9263
|
* childrenAsRecordValuePermissionFilter: // value for 'childrenAsRecordValuePermissionFilter'
|
|
9264
|
+
* dependentValuesPermissionFilter: // value for 'dependentValuesPermissionFilter'
|
|
9251
9265
|
* },
|
|
9252
9266
|
* });
|
|
9253
9267
|
*/
|
|
@@ -9256,12 +9270,14 @@ export declare function useTreeNodeChildrenQuery(baseOptions: Apollo.QueryHookOp
|
|
|
9256
9270
|
node?: InputMaybe<Scalars["ID"]["input"]>;
|
|
9257
9271
|
pagination?: InputMaybe<Pagination>;
|
|
9258
9272
|
childrenAsRecordValuePermissionFilter?: InputMaybe<ChildrenAsRecordValuePermissionFilterInput>;
|
|
9273
|
+
dependentValuesPermissionFilter?: InputMaybe<DependentValuesPermissionFilterInput>;
|
|
9259
9274
|
}>>;
|
|
9260
9275
|
export declare function useTreeNodeChildrenLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<TreeNodeChildrenQuery, TreeNodeChildrenQueryVariables>): Apollo.LazyQueryResultTuple<TreeNodeChildrenQuery, Exact<{
|
|
9261
9276
|
treeId: Scalars["ID"]["input"];
|
|
9262
9277
|
node?: InputMaybe<Scalars["ID"]["input"]>;
|
|
9263
9278
|
pagination?: InputMaybe<Pagination>;
|
|
9264
9279
|
childrenAsRecordValuePermissionFilter?: InputMaybe<ChildrenAsRecordValuePermissionFilterInput>;
|
|
9280
|
+
dependentValuesPermissionFilter?: InputMaybe<DependentValuesPermissionFilterInput>;
|
|
9265
9281
|
}>>;
|
|
9266
9282
|
export type TreeNodeChildrenQueryHookResult = ReturnType<typeof useTreeNodeChildrenQuery>;
|
|
9267
9283
|
export type TreeNodeChildrenLazyQueryHookResult = ReturnType<typeof useTreeNodeChildrenLazyQuery>;
|
package/dist/_gqlTypes/index.js
CHANGED
|
@@ -886,6 +886,7 @@ export const ViewDetailsFilterFragmentDoc = gql `
|
|
|
886
886
|
}
|
|
887
887
|
condition
|
|
888
888
|
operator
|
|
889
|
+
withEmptyValues
|
|
889
890
|
}
|
|
890
891
|
`;
|
|
891
892
|
export const ViewDetailsFragmentDoc = gql `
|
|
@@ -2821,12 +2822,13 @@ export function useSaveTreeMutation(baseOptions) {
|
|
|
2821
2822
|
return Apollo.useMutation(SaveTreeDocument, options);
|
|
2822
2823
|
}
|
|
2823
2824
|
export const TreeNodeChildrenDocument = gql `
|
|
2824
|
-
query TREE_NODE_CHILDREN($treeId: ID!, $node: ID, $pagination: Pagination, $childrenAsRecordValuePermissionFilter: ChildrenAsRecordValuePermissionFilterInput) {
|
|
2825
|
+
query TREE_NODE_CHILDREN($treeId: ID!, $node: ID, $pagination: Pagination, $childrenAsRecordValuePermissionFilter: ChildrenAsRecordValuePermissionFilterInput, $dependentValuesPermissionFilter: DependentValuesPermissionFilterInput) {
|
|
2825
2826
|
treeNodeChildren(
|
|
2826
2827
|
treeId: $treeId
|
|
2827
2828
|
node: $node
|
|
2828
2829
|
pagination: $pagination
|
|
2829
2830
|
childrenAsRecordValuePermissionFilter: $childrenAsRecordValuePermissionFilter
|
|
2831
|
+
dependentValuesPermissionFilter: $dependentValuesPermissionFilter
|
|
2830
2832
|
) {
|
|
2831
2833
|
totalCount
|
|
2832
2834
|
list {
|
|
@@ -2851,6 +2853,7 @@ export const TreeNodeChildrenDocument = gql `
|
|
|
2851
2853
|
* node: // value for 'node'
|
|
2852
2854
|
* pagination: // value for 'pagination'
|
|
2853
2855
|
* childrenAsRecordValuePermissionFilter: // value for 'childrenAsRecordValuePermissionFilter'
|
|
2856
|
+
* dependentValuesPermissionFilter: // value for 'dependentValuesPermissionFilter'
|
|
2854
2857
|
* },
|
|
2855
2858
|
* });
|
|
2856
2859
|
*/
|