@griddo/ax 1.75.123 → 1.75.125

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@griddo/ax",
3
3
  "description": "Griddo Author Experience",
4
- "version": "1.75.123",
4
+ "version": "1.75.125",
5
5
  "authors": [
6
6
  "Álvaro Sánchez' <alvaro.sanches@secuoyas.com>",
7
7
  "Carlos Torres <carlos.torres@secuoyas.com>",
@@ -230,5 +230,5 @@
230
230
  "publishConfig": {
231
231
  "access": "public"
232
232
  },
233
- "gitHead": "f0639e784af5f4fa868a896eba904ceeb52aba2f"
233
+ "gitHead": "322ecdc5b5652dc3809313e7cd00564a3f43ac2a"
234
234
  }
@@ -101,6 +101,7 @@ const AutoPanel = (props: IProps): JSX.Element => {
101
101
  source: state.source,
102
102
  filter: state.filter,
103
103
  fullRelations: state.fullRelations,
104
+ allLanguages: state.allLanguages,
104
105
  };
105
106
 
106
107
  onChange(newValue);
@@ -17,6 +17,7 @@ const initState = {
17
17
  filter: [],
18
18
  sourceTitles: [],
19
19
  fullRelations: false,
20
+ allLanguages: false,
20
21
  };
21
22
 
22
23
  const ReferenceContext = createContext({ state: { ...initState } });
@@ -84,6 +85,7 @@ export interface IReferenceState {
84
85
  filter: any;
85
86
  sourceTitles: any;
86
87
  fullRelations: boolean;
88
+ allLanguages: boolean;
87
89
  }
88
90
 
89
91
  export { ReferenceProvider, useReference };
@@ -45,7 +45,7 @@ const ReferenceField = (props: IReferenceFieldProps) => {
45
45
  const hasMaxItems = !!(value && value.fixed && maxItems && !isAuto && value.fixed.length >= maxItems);
46
46
 
47
47
  const handleMode = (mode: string) => {
48
- const { fixed, order, quantity, filter, fullRelations = false } = state;
48
+ const { fixed, order, quantity, filter, allLanguages, fullRelations = false } = state;
49
49
 
50
50
  const manualSources: string[] = state.selectedItems.reduce(
51
51
  (unique: string[], selItem: IStructuredDataContent) =>
@@ -64,6 +64,7 @@ const ReferenceField = (props: IReferenceFieldProps) => {
64
64
  quantity,
65
65
  filter,
66
66
  fullRelations,
67
+ allLanguages,
67
68
  }
68
69
  : {
69
70
  mode,