strapi-plugin-navigation 3.0.10 → 3.0.12-beta.1
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/_chunks/{fr-DDKFueED.mjs → fr-B3UeLLGy.mjs} +42 -42
- package/dist/_chunks/fr-BjVniZne.js +1 -0
- package/dist/admin/index.js +2231 -44
- package/dist/admin/index.mjs +37031 -2879
- package/dist/admin/src/api/client.d.ts +9 -1
- package/dist/admin/src/api/validators.d.ts +72 -72
- package/dist/admin/src/components/RestartAlert/index.d.ts +1 -1
- package/dist/admin/src/pages/HomePage/components/NavigationHeader/styles.d.ts +1 -1
- package/dist/admin/src/pages/HomePage/components/NavigationItemForm/utils/form.d.ts +9 -9
- package/dist/admin/src/pages/HomePage/components/NavigationItemList/Wrapper.d.ts +2 -2
- package/dist/admin/src/pages/HomePage/components/NavigationItemListItem/ItemCardBadge/index.d.ts +1 -1
- package/dist/admin/src/pages/HomePage/components/NavigationItemListItem/ItemCardHeader/Wrapper.d.ts +1 -1
- package/dist/admin/src/pages/HomePage/components/NavigationItemListItem/ItemCardRemovedOverlay/index.d.ts +1 -1
- package/dist/admin/src/pages/HomePage/components/NavigationItemListItem/Wrapper.d.ts +2 -2
- package/dist/admin/src/pages/HomePage/hooks/index.d.ts +10 -2
- package/dist/admin/src/pages/SettingsPage/hooks/index.d.ts +12 -15
- package/dist/admin/src/schemas/config.d.ts +36 -36
- package/dist/server/index.js +44 -44
- package/dist/server/index.mjs +7107 -7438
- package/dist/server/src/schemas/config.d.ts +36 -36
- package/dist/server/src/schemas/content-type.d.ts +24 -24
- package/dist/server/src/schemas/navigation.d.ts +6 -6
- package/package.json +15 -18
- package/dist/_chunks/fr-DyX_S7LN.js +0 -1
|
@@ -19,16 +19,16 @@ declare const navigationCustomFieldBase: z.ZodObject<{
|
|
|
19
19
|
enabled?: boolean | undefined;
|
|
20
20
|
}>;
|
|
21
21
|
export type NavigationItemCustomFieldSelect = z.infer<typeof navigationItemCustomFieldSelect>;
|
|
22
|
-
declare const navigationItemCustomFieldSelect: z.ZodObject<
|
|
22
|
+
declare const navigationItemCustomFieldSelect: z.ZodObject<{
|
|
23
23
|
name: z.ZodEffects<z.ZodString, string, string>;
|
|
24
24
|
label: z.ZodString;
|
|
25
25
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
26
26
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
27
|
-
}
|
|
27
|
+
} & {
|
|
28
28
|
type: z.ZodLiteral<"select">;
|
|
29
29
|
multi: z.ZodBoolean;
|
|
30
30
|
options: z.ZodArray<z.ZodString, "many">;
|
|
31
|
-
}
|
|
31
|
+
}, "strip", z.ZodTypeAny, {
|
|
32
32
|
options: string[];
|
|
33
33
|
type: "select";
|
|
34
34
|
name: string;
|
|
@@ -46,16 +46,16 @@ declare const navigationItemCustomFieldSelect: z.ZodObject<z.objectUtil.extendSh
|
|
|
46
46
|
enabled?: boolean | undefined;
|
|
47
47
|
}>;
|
|
48
48
|
export type NavigationItemCustomFieldPrimitive = z.infer<typeof navigationItemCustomFieldPrimitive>;
|
|
49
|
-
declare const navigationItemCustomFieldPrimitive: z.ZodObject<
|
|
49
|
+
declare const navigationItemCustomFieldPrimitive: z.ZodObject<{
|
|
50
50
|
name: z.ZodEffects<z.ZodString, string, string>;
|
|
51
51
|
label: z.ZodString;
|
|
52
52
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
53
53
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
54
|
-
}
|
|
54
|
+
} & {
|
|
55
55
|
type: z.ZodEnum<["boolean", "string"]>;
|
|
56
56
|
multi: z.ZodOptional<z.ZodLiteral<false>>;
|
|
57
57
|
options: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
58
|
-
}
|
|
58
|
+
}, "strip", z.ZodTypeAny, {
|
|
59
59
|
type: "string" | "boolean";
|
|
60
60
|
name: string;
|
|
61
61
|
label: string;
|
|
@@ -73,16 +73,16 @@ declare const navigationItemCustomFieldPrimitive: z.ZodObject<z.objectUtil.exten
|
|
|
73
73
|
multi?: false | undefined;
|
|
74
74
|
}>;
|
|
75
75
|
export type NavigationItemCustomFieldMedia = z.infer<typeof navigationItemCustomFieldMedia>;
|
|
76
|
-
declare const navigationItemCustomFieldMedia: z.ZodObject<
|
|
76
|
+
declare const navigationItemCustomFieldMedia: z.ZodObject<{
|
|
77
77
|
name: z.ZodEffects<z.ZodString, string, string>;
|
|
78
78
|
label: z.ZodString;
|
|
79
79
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
80
80
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
81
|
-
}
|
|
81
|
+
} & {
|
|
82
82
|
type: z.ZodLiteral<"media">;
|
|
83
83
|
multi: z.ZodOptional<z.ZodLiteral<false>>;
|
|
84
84
|
options: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
85
|
-
}
|
|
85
|
+
}, "strip", z.ZodTypeAny, {
|
|
86
86
|
type: "media";
|
|
87
87
|
name: string;
|
|
88
88
|
label: string;
|
|
@@ -100,16 +100,16 @@ declare const navigationItemCustomFieldMedia: z.ZodObject<z.objectUtil.extendSha
|
|
|
100
100
|
multi?: false | undefined;
|
|
101
101
|
}>;
|
|
102
102
|
export type NavigationItemCustomField = z.infer<typeof navigationItemCustomField>;
|
|
103
|
-
export declare const navigationItemCustomField: z.ZodUnion<[z.ZodObject<
|
|
103
|
+
export declare const navigationItemCustomField: z.ZodUnion<[z.ZodObject<{
|
|
104
104
|
name: z.ZodEffects<z.ZodString, string, string>;
|
|
105
105
|
label: z.ZodString;
|
|
106
106
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
107
107
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
108
|
-
}
|
|
108
|
+
} & {
|
|
109
109
|
type: z.ZodEnum<["boolean", "string"]>;
|
|
110
110
|
multi: z.ZodOptional<z.ZodLiteral<false>>;
|
|
111
111
|
options: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
112
|
-
}
|
|
112
|
+
}, "strip", z.ZodTypeAny, {
|
|
113
113
|
type: "string" | "boolean";
|
|
114
114
|
name: string;
|
|
115
115
|
label: string;
|
|
@@ -125,16 +125,16 @@ export declare const navigationItemCustomField: z.ZodUnion<[z.ZodObject<z.object
|
|
|
125
125
|
required?: boolean | undefined;
|
|
126
126
|
enabled?: boolean | undefined;
|
|
127
127
|
multi?: false | undefined;
|
|
128
|
-
}>, z.ZodObject<
|
|
128
|
+
}>, z.ZodObject<{
|
|
129
129
|
name: z.ZodEffects<z.ZodString, string, string>;
|
|
130
130
|
label: z.ZodString;
|
|
131
131
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
132
132
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
133
|
-
}
|
|
133
|
+
} & {
|
|
134
134
|
type: z.ZodLiteral<"media">;
|
|
135
135
|
multi: z.ZodOptional<z.ZodLiteral<false>>;
|
|
136
136
|
options: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
137
|
-
}
|
|
137
|
+
}, "strip", z.ZodTypeAny, {
|
|
138
138
|
type: "media";
|
|
139
139
|
name: string;
|
|
140
140
|
label: string;
|
|
@@ -150,16 +150,16 @@ export declare const navigationItemCustomField: z.ZodUnion<[z.ZodObject<z.object
|
|
|
150
150
|
required?: boolean | undefined;
|
|
151
151
|
enabled?: boolean | undefined;
|
|
152
152
|
multi?: false | undefined;
|
|
153
|
-
}>, z.ZodObject<
|
|
153
|
+
}>, z.ZodObject<{
|
|
154
154
|
name: z.ZodEffects<z.ZodString, string, string>;
|
|
155
155
|
label: z.ZodString;
|
|
156
156
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
157
157
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
158
|
-
}
|
|
158
|
+
} & {
|
|
159
159
|
type: z.ZodLiteral<"select">;
|
|
160
160
|
multi: z.ZodBoolean;
|
|
161
161
|
options: z.ZodArray<z.ZodString, "many">;
|
|
162
|
-
}
|
|
162
|
+
}, "strip", z.ZodTypeAny, {
|
|
163
163
|
options: string[];
|
|
164
164
|
type: "select";
|
|
165
165
|
name: string;
|
|
@@ -177,16 +177,16 @@ export declare const navigationItemCustomField: z.ZodUnion<[z.ZodObject<z.object
|
|
|
177
177
|
enabled?: boolean | undefined;
|
|
178
178
|
}>]>;
|
|
179
179
|
export type NavigationItemAdditionalField = z.infer<typeof navigationItemAdditionalField>;
|
|
180
|
-
export declare const navigationItemAdditionalField: z.ZodUnion<[z.ZodLiteral<"audience">, z.ZodUnion<[z.ZodObject<
|
|
180
|
+
export declare const navigationItemAdditionalField: z.ZodUnion<[z.ZodLiteral<"audience">, z.ZodUnion<[z.ZodObject<{
|
|
181
181
|
name: z.ZodEffects<z.ZodString, string, string>;
|
|
182
182
|
label: z.ZodString;
|
|
183
183
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
184
184
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
185
|
-
}
|
|
185
|
+
} & {
|
|
186
186
|
type: z.ZodEnum<["boolean", "string"]>;
|
|
187
187
|
multi: z.ZodOptional<z.ZodLiteral<false>>;
|
|
188
188
|
options: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
189
|
-
}
|
|
189
|
+
}, "strip", z.ZodTypeAny, {
|
|
190
190
|
type: "string" | "boolean";
|
|
191
191
|
name: string;
|
|
192
192
|
label: string;
|
|
@@ -202,16 +202,16 @@ export declare const navigationItemAdditionalField: z.ZodUnion<[z.ZodLiteral<"au
|
|
|
202
202
|
required?: boolean | undefined;
|
|
203
203
|
enabled?: boolean | undefined;
|
|
204
204
|
multi?: false | undefined;
|
|
205
|
-
}>, z.ZodObject<
|
|
205
|
+
}>, z.ZodObject<{
|
|
206
206
|
name: z.ZodEffects<z.ZodString, string, string>;
|
|
207
207
|
label: z.ZodString;
|
|
208
208
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
209
209
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
210
|
-
}
|
|
210
|
+
} & {
|
|
211
211
|
type: z.ZodLiteral<"media">;
|
|
212
212
|
multi: z.ZodOptional<z.ZodLiteral<false>>;
|
|
213
213
|
options: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
214
|
-
}
|
|
214
|
+
}, "strip", z.ZodTypeAny, {
|
|
215
215
|
type: "media";
|
|
216
216
|
name: string;
|
|
217
217
|
label: string;
|
|
@@ -227,16 +227,16 @@ export declare const navigationItemAdditionalField: z.ZodUnion<[z.ZodLiteral<"au
|
|
|
227
227
|
required?: boolean | undefined;
|
|
228
228
|
enabled?: boolean | undefined;
|
|
229
229
|
multi?: false | undefined;
|
|
230
|
-
}>, z.ZodObject<
|
|
230
|
+
}>, z.ZodObject<{
|
|
231
231
|
name: z.ZodEffects<z.ZodString, string, string>;
|
|
232
232
|
label: z.ZodString;
|
|
233
233
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
234
234
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
235
|
-
}
|
|
235
|
+
} & {
|
|
236
236
|
type: z.ZodLiteral<"select">;
|
|
237
237
|
multi: z.ZodBoolean;
|
|
238
238
|
options: z.ZodArray<z.ZodString, "many">;
|
|
239
|
-
}
|
|
239
|
+
}, "strip", z.ZodTypeAny, {
|
|
240
240
|
options: string[];
|
|
241
241
|
type: "select";
|
|
242
242
|
name: string;
|
|
@@ -255,16 +255,16 @@ export declare const navigationItemAdditionalField: z.ZodUnion<[z.ZodLiteral<"au
|
|
|
255
255
|
}>]>]>;
|
|
256
256
|
export type ConfigSchema = z.infer<typeof configSchema>;
|
|
257
257
|
export declare const configSchema: z.ZodObject<{
|
|
258
|
-
additionalFields: z.ZodArray<z.ZodUnion<[z.ZodLiteral<"audience">, z.ZodUnion<[z.ZodObject<
|
|
258
|
+
additionalFields: z.ZodArray<z.ZodUnion<[z.ZodLiteral<"audience">, z.ZodUnion<[z.ZodObject<{
|
|
259
259
|
name: z.ZodEffects<z.ZodString, string, string>;
|
|
260
260
|
label: z.ZodString;
|
|
261
261
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
262
262
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
263
|
-
}
|
|
263
|
+
} & {
|
|
264
264
|
type: z.ZodEnum<["boolean", "string"]>;
|
|
265
265
|
multi: z.ZodOptional<z.ZodLiteral<false>>;
|
|
266
266
|
options: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
267
|
-
}
|
|
267
|
+
}, "strip", z.ZodTypeAny, {
|
|
268
268
|
type: "string" | "boolean";
|
|
269
269
|
name: string;
|
|
270
270
|
label: string;
|
|
@@ -280,16 +280,16 @@ export declare const configSchema: z.ZodObject<{
|
|
|
280
280
|
required?: boolean | undefined;
|
|
281
281
|
enabled?: boolean | undefined;
|
|
282
282
|
multi?: false | undefined;
|
|
283
|
-
}>, z.ZodObject<
|
|
283
|
+
}>, z.ZodObject<{
|
|
284
284
|
name: z.ZodEffects<z.ZodString, string, string>;
|
|
285
285
|
label: z.ZodString;
|
|
286
286
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
287
287
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
288
|
-
}
|
|
288
|
+
} & {
|
|
289
289
|
type: z.ZodLiteral<"media">;
|
|
290
290
|
multi: z.ZodOptional<z.ZodLiteral<false>>;
|
|
291
291
|
options: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
292
|
-
}
|
|
292
|
+
}, "strip", z.ZodTypeAny, {
|
|
293
293
|
type: "media";
|
|
294
294
|
name: string;
|
|
295
295
|
label: string;
|
|
@@ -305,16 +305,16 @@ export declare const configSchema: z.ZodObject<{
|
|
|
305
305
|
required?: boolean | undefined;
|
|
306
306
|
enabled?: boolean | undefined;
|
|
307
307
|
multi?: false | undefined;
|
|
308
|
-
}>, z.ZodObject<
|
|
308
|
+
}>, z.ZodObject<{
|
|
309
309
|
name: z.ZodEffects<z.ZodString, string, string>;
|
|
310
310
|
label: z.ZodString;
|
|
311
311
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
312
312
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
313
|
-
}
|
|
313
|
+
} & {
|
|
314
314
|
type: z.ZodLiteral<"select">;
|
|
315
315
|
multi: z.ZodBoolean;
|
|
316
316
|
options: z.ZodArray<z.ZodString, "many">;
|
|
317
|
-
}
|
|
317
|
+
}, "strip", z.ZodTypeAny, {
|
|
318
318
|
options: string[];
|
|
319
319
|
type: "select";
|
|
320
320
|
name: string;
|
|
@@ -53,7 +53,7 @@ export declare const contentTypeAttributeValidator: z.ZodObject<{
|
|
|
53
53
|
export type contentTypeFieldTypeSchema = z.infer<typeof contentTypeFieldTypeSchema>;
|
|
54
54
|
export declare const contentTypeFieldTypeSchema: z.ZodEnum<["string", "text", "richtext", "blocks", "email", "password", "date", "time", "datetime", "timestamp", "boolean", "integer", "biginteger", "float", "decimal", "json", "relation", "media"]>;
|
|
55
55
|
export type SimpleContentTypeAttribute = z.infer<typeof simpleContentTypeAttribute>;
|
|
56
|
-
export declare const simpleContentTypeAttribute: z.ZodObject<
|
|
56
|
+
export declare const simpleContentTypeAttribute: z.ZodObject<{
|
|
57
57
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
58
58
|
max: z.ZodOptional<z.ZodNumber>;
|
|
59
59
|
min: z.ZodOptional<z.ZodNumber>;
|
|
@@ -62,9 +62,9 @@ export declare const simpleContentTypeAttribute: z.ZodObject<z.objectUtil.extend
|
|
|
62
62
|
private: z.ZodOptional<z.ZodBoolean>;
|
|
63
63
|
configurable: z.ZodOptional<z.ZodBoolean>;
|
|
64
64
|
default: z.ZodOptional<z.ZodAny>;
|
|
65
|
-
}
|
|
65
|
+
} & {
|
|
66
66
|
type: z.ZodEnum<["string", "text", "richtext", "blocks", "email", "password", "date", "time", "datetime", "timestamp", "boolean", "integer", "biginteger", "float", "decimal", "json", "relation", "media"]>;
|
|
67
|
-
}
|
|
67
|
+
}, "strip", z.ZodTypeAny, {
|
|
68
68
|
type: "string" | "boolean" | "integer" | "float" | "date" | "media" | "text" | "richtext" | "blocks" | "email" | "password" | "time" | "datetime" | "timestamp" | "biginteger" | "decimal" | "json" | "relation";
|
|
69
69
|
required?: boolean | undefined;
|
|
70
70
|
min?: number | undefined;
|
|
@@ -86,7 +86,7 @@ export declare const simpleContentTypeAttribute: z.ZodObject<z.objectUtil.extend
|
|
|
86
86
|
default?: any;
|
|
87
87
|
}>;
|
|
88
88
|
export type ContentTypeEnumerationAttribute = z.infer<typeof contentTypeEnumerationAttribute>;
|
|
89
|
-
export declare const contentTypeEnumerationAttribute: z.ZodObject<
|
|
89
|
+
export declare const contentTypeEnumerationAttribute: z.ZodObject<{
|
|
90
90
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
91
91
|
max: z.ZodOptional<z.ZodNumber>;
|
|
92
92
|
min: z.ZodOptional<z.ZodNumber>;
|
|
@@ -95,10 +95,10 @@ export declare const contentTypeEnumerationAttribute: z.ZodObject<z.objectUtil.e
|
|
|
95
95
|
private: z.ZodOptional<z.ZodBoolean>;
|
|
96
96
|
configurable: z.ZodOptional<z.ZodBoolean>;
|
|
97
97
|
default: z.ZodOptional<z.ZodAny>;
|
|
98
|
-
}
|
|
98
|
+
} & {
|
|
99
99
|
type: z.ZodLiteral<"enumeration">;
|
|
100
100
|
enum: z.ZodArray<z.ZodString, "many">;
|
|
101
|
-
}
|
|
101
|
+
}, "strip", z.ZodTypeAny, {
|
|
102
102
|
type: "enumeration";
|
|
103
103
|
enum: string[];
|
|
104
104
|
required?: boolean | undefined;
|
|
@@ -191,7 +191,7 @@ export declare const contentTypeRelationAttribute: z.ZodObject<{
|
|
|
191
191
|
inversedBy?: string | undefined;
|
|
192
192
|
}>;
|
|
193
193
|
export type ContentTypeAttributes = z.infer<typeof contentTypeAttributes>;
|
|
194
|
-
export declare const contentTypeAttributes: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<
|
|
194
|
+
export declare const contentTypeAttributes: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
|
|
195
195
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
196
196
|
max: z.ZodOptional<z.ZodNumber>;
|
|
197
197
|
min: z.ZodOptional<z.ZodNumber>;
|
|
@@ -200,9 +200,9 @@ export declare const contentTypeAttributes: z.ZodRecord<z.ZodString, z.ZodUnion<
|
|
|
200
200
|
private: z.ZodOptional<z.ZodBoolean>;
|
|
201
201
|
configurable: z.ZodOptional<z.ZodBoolean>;
|
|
202
202
|
default: z.ZodOptional<z.ZodAny>;
|
|
203
|
-
}
|
|
203
|
+
} & {
|
|
204
204
|
type: z.ZodEnum<["string", "text", "richtext", "blocks", "email", "password", "date", "time", "datetime", "timestamp", "boolean", "integer", "biginteger", "float", "decimal", "json", "relation", "media"]>;
|
|
205
|
-
}
|
|
205
|
+
}, "strip", z.ZodTypeAny, {
|
|
206
206
|
type: "string" | "boolean" | "integer" | "float" | "date" | "media" | "text" | "richtext" | "blocks" | "email" | "password" | "time" | "datetime" | "timestamp" | "biginteger" | "decimal" | "json" | "relation";
|
|
207
207
|
required?: boolean | undefined;
|
|
208
208
|
min?: number | undefined;
|
|
@@ -222,7 +222,7 @@ export declare const contentTypeAttributes: z.ZodRecord<z.ZodString, z.ZodUnion<
|
|
|
222
222
|
private?: boolean | undefined;
|
|
223
223
|
configurable?: boolean | undefined;
|
|
224
224
|
default?: any;
|
|
225
|
-
}>, z.ZodObject<
|
|
225
|
+
}>, z.ZodObject<{
|
|
226
226
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
227
227
|
max: z.ZodOptional<z.ZodNumber>;
|
|
228
228
|
min: z.ZodOptional<z.ZodNumber>;
|
|
@@ -231,10 +231,10 @@ export declare const contentTypeAttributes: z.ZodRecord<z.ZodString, z.ZodUnion<
|
|
|
231
231
|
private: z.ZodOptional<z.ZodBoolean>;
|
|
232
232
|
configurable: z.ZodOptional<z.ZodBoolean>;
|
|
233
233
|
default: z.ZodOptional<z.ZodAny>;
|
|
234
|
-
}
|
|
234
|
+
} & {
|
|
235
235
|
type: z.ZodLiteral<"enumeration">;
|
|
236
236
|
enum: z.ZodArray<z.ZodString, "many">;
|
|
237
|
-
}
|
|
237
|
+
}, "strip", z.ZodTypeAny, {
|
|
238
238
|
type: "enumeration";
|
|
239
239
|
enum: string[];
|
|
240
240
|
required?: boolean | undefined;
|
|
@@ -350,7 +350,7 @@ export declare const contentTypeFullSchema: z.ZodObject<{
|
|
|
350
350
|
hidden?: boolean | undefined;
|
|
351
351
|
templateName?: string | undefined;
|
|
352
352
|
}>>;
|
|
353
|
-
attributes: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<
|
|
353
|
+
attributes: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
|
|
354
354
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
355
355
|
max: z.ZodOptional<z.ZodNumber>;
|
|
356
356
|
min: z.ZodOptional<z.ZodNumber>;
|
|
@@ -359,9 +359,9 @@ export declare const contentTypeFullSchema: z.ZodObject<{
|
|
|
359
359
|
private: z.ZodOptional<z.ZodBoolean>;
|
|
360
360
|
configurable: z.ZodOptional<z.ZodBoolean>;
|
|
361
361
|
default: z.ZodOptional<z.ZodAny>;
|
|
362
|
-
}
|
|
362
|
+
} & {
|
|
363
363
|
type: z.ZodEnum<["string", "text", "richtext", "blocks", "email", "password", "date", "time", "datetime", "timestamp", "boolean", "integer", "biginteger", "float", "decimal", "json", "relation", "media"]>;
|
|
364
|
-
}
|
|
364
|
+
}, "strip", z.ZodTypeAny, {
|
|
365
365
|
type: "string" | "boolean" | "integer" | "float" | "date" | "media" | "text" | "richtext" | "blocks" | "email" | "password" | "time" | "datetime" | "timestamp" | "biginteger" | "decimal" | "json" | "relation";
|
|
366
366
|
required?: boolean | undefined;
|
|
367
367
|
min?: number | undefined;
|
|
@@ -381,7 +381,7 @@ export declare const contentTypeFullSchema: z.ZodObject<{
|
|
|
381
381
|
private?: boolean | undefined;
|
|
382
382
|
configurable?: boolean | undefined;
|
|
383
383
|
default?: any;
|
|
384
|
-
}>, z.ZodObject<
|
|
384
|
+
}>, z.ZodObject<{
|
|
385
385
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
386
386
|
max: z.ZodOptional<z.ZodNumber>;
|
|
387
387
|
min: z.ZodOptional<z.ZodNumber>;
|
|
@@ -390,10 +390,10 @@ export declare const contentTypeFullSchema: z.ZodObject<{
|
|
|
390
390
|
private: z.ZodOptional<z.ZodBoolean>;
|
|
391
391
|
configurable: z.ZodOptional<z.ZodBoolean>;
|
|
392
392
|
default: z.ZodOptional<z.ZodAny>;
|
|
393
|
-
}
|
|
393
|
+
} & {
|
|
394
394
|
type: z.ZodLiteral<"enumeration">;
|
|
395
395
|
enum: z.ZodArray<z.ZodString, "many">;
|
|
396
|
-
}
|
|
396
|
+
}, "strip", z.ZodTypeAny, {
|
|
397
397
|
type: "enumeration";
|
|
398
398
|
enum: string[];
|
|
399
399
|
required?: boolean | undefined;
|
|
@@ -664,7 +664,7 @@ export declare const contentTypeSchema: z.ZodObject<Pick<{
|
|
|
664
664
|
hidden?: boolean | undefined;
|
|
665
665
|
templateName?: string | undefined;
|
|
666
666
|
}>>;
|
|
667
|
-
attributes: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<
|
|
667
|
+
attributes: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
|
|
668
668
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
669
669
|
max: z.ZodOptional<z.ZodNumber>;
|
|
670
670
|
min: z.ZodOptional<z.ZodNumber>;
|
|
@@ -673,9 +673,9 @@ export declare const contentTypeSchema: z.ZodObject<Pick<{
|
|
|
673
673
|
private: z.ZodOptional<z.ZodBoolean>;
|
|
674
674
|
configurable: z.ZodOptional<z.ZodBoolean>;
|
|
675
675
|
default: z.ZodOptional<z.ZodAny>;
|
|
676
|
-
}
|
|
676
|
+
} & {
|
|
677
677
|
type: z.ZodEnum<["string", "text", "richtext", "blocks", "email", "password", "date", "time", "datetime", "timestamp", "boolean", "integer", "biginteger", "float", "decimal", "json", "relation", "media"]>;
|
|
678
|
-
}
|
|
678
|
+
}, "strip", z.ZodTypeAny, {
|
|
679
679
|
type: "string" | "boolean" | "integer" | "float" | "date" | "media" | "text" | "richtext" | "blocks" | "email" | "password" | "time" | "datetime" | "timestamp" | "biginteger" | "decimal" | "json" | "relation";
|
|
680
680
|
required?: boolean | undefined;
|
|
681
681
|
min?: number | undefined;
|
|
@@ -695,7 +695,7 @@ export declare const contentTypeSchema: z.ZodObject<Pick<{
|
|
|
695
695
|
private?: boolean | undefined;
|
|
696
696
|
configurable?: boolean | undefined;
|
|
697
697
|
default?: any;
|
|
698
|
-
}>, z.ZodObject<
|
|
698
|
+
}>, z.ZodObject<{
|
|
699
699
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
700
700
|
max: z.ZodOptional<z.ZodNumber>;
|
|
701
701
|
min: z.ZodOptional<z.ZodNumber>;
|
|
@@ -704,10 +704,10 @@ export declare const contentTypeSchema: z.ZodObject<Pick<{
|
|
|
704
704
|
private: z.ZodOptional<z.ZodBoolean>;
|
|
705
705
|
configurable: z.ZodOptional<z.ZodBoolean>;
|
|
706
706
|
default: z.ZodOptional<z.ZodAny>;
|
|
707
|
-
}
|
|
707
|
+
} & {
|
|
708
708
|
type: z.ZodLiteral<"enumeration">;
|
|
709
709
|
enum: z.ZodArray<z.ZodString, "many">;
|
|
710
|
-
}
|
|
710
|
+
}, "strip", z.ZodTypeAny, {
|
|
711
711
|
type: "enumeration";
|
|
712
712
|
enum: string[];
|
|
713
713
|
required?: boolean | undefined;
|
|
@@ -108,7 +108,7 @@ declare const navigationItemDBBaseSchema: z.ZodObject<{
|
|
|
108
108
|
autoSync?: boolean | null | undefined;
|
|
109
109
|
}>;
|
|
110
110
|
export type ReadNavigationItemFromLocaleSchema = z.infer<typeof readNavigationItemFromLocaleSchema>;
|
|
111
|
-
export declare const readNavigationItemFromLocaleSchema: z.ZodObject<
|
|
111
|
+
export declare const readNavigationItemFromLocaleSchema: z.ZodObject<Pick<Omit<{
|
|
112
112
|
id: z.ZodNumber;
|
|
113
113
|
documentId: z.ZodString;
|
|
114
114
|
title: z.ZodString;
|
|
@@ -148,9 +148,9 @@ export declare const readNavigationItemFromLocaleSchema: z.ZodObject<z.objectUti
|
|
|
148
148
|
key: string;
|
|
149
149
|
}>, "many">, z.ZodNull]>>;
|
|
150
150
|
autoSync: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodNull]>>;
|
|
151
|
-
}, "related">, "path" | "type" | "title" | "externalPath" | "uiRouterKey"
|
|
151
|
+
}, "related">, "path" | "type" | "title" | "externalPath" | "uiRouterKey"> & {
|
|
152
152
|
related: z.ZodUnknown;
|
|
153
|
-
}
|
|
153
|
+
}, "strip", z.ZodTypeAny, {
|
|
154
154
|
type: "INTERNAL" | "EXTERNAL" | "WRAPPER";
|
|
155
155
|
title: string;
|
|
156
156
|
uiRouterKey: string;
|
|
@@ -200,7 +200,7 @@ export declare const navigationDBSchema: (withItems: boolean) => z.ZodObject<{
|
|
|
200
200
|
items?: NavigationItemDBSchema[] | undefined;
|
|
201
201
|
}>;
|
|
202
202
|
export type CreateNavigationSchema = z.infer<typeof createNavigationSchema>;
|
|
203
|
-
export declare const createNavigationSchema: z.ZodObject<
|
|
203
|
+
export declare const createNavigationSchema: z.ZodObject<Omit<{
|
|
204
204
|
id: z.ZodNumber;
|
|
205
205
|
documentId: z.ZodString;
|
|
206
206
|
name: z.ZodString;
|
|
@@ -208,10 +208,10 @@ export declare const createNavigationSchema: z.ZodObject<z.objectUtil.extendShap
|
|
|
208
208
|
locale: z.ZodString;
|
|
209
209
|
visible: z.ZodBoolean;
|
|
210
210
|
items: z.ZodArray<z.ZodType<NavigationItemDBSchema, z.ZodTypeDef, NavigationItemDBSchema>, "many"> | z.ZodOptional<z.ZodArray<z.ZodType<NavigationItemDBSchema, z.ZodTypeDef, NavigationItemDBSchema>, "many">>;
|
|
211
|
-
}, "id" | "documentId" | "slug" | "locale" | "items"
|
|
211
|
+
}, "id" | "documentId" | "slug" | "locale" | "items"> & {
|
|
212
212
|
documentId: z.ZodOptional<z.ZodString>;
|
|
213
213
|
id: z.ZodOptional<z.ZodUndefined>;
|
|
214
|
-
}
|
|
214
|
+
}, "strip", z.ZodTypeAny, {
|
|
215
215
|
name: string;
|
|
216
216
|
visible: boolean;
|
|
217
217
|
id?: undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "strapi-plugin-navigation",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.12-beta.1",
|
|
4
4
|
"description": "Strapi - Navigation plugin",
|
|
5
5
|
"strapi": {
|
|
6
6
|
"name": "navigation",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
}
|
|
41
41
|
],
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@sensinum/strapi-utils": "^1.0.
|
|
43
|
+
"@sensinum/strapi-utils": "^1.0.9",
|
|
44
44
|
"@sindresorhus/slugify": "1.1.0",
|
|
45
45
|
"@tanstack/react-query": "^5.40.0",
|
|
46
46
|
"pluralize": "8.0.0",
|
|
@@ -54,13 +54,13 @@
|
|
|
54
54
|
"@faker-js/faker": "^9.0.3",
|
|
55
55
|
"@jest/types": "29.5.x",
|
|
56
56
|
"@koa/router": "^12.0.1",
|
|
57
|
-
"@strapi/design-system": "2.0.0-rc.
|
|
58
|
-
"@strapi/icons": "2.0.0-rc.
|
|
59
|
-
"@strapi/plugin-graphql": "^5.
|
|
57
|
+
"@strapi/design-system": "2.0.0-rc.23",
|
|
58
|
+
"@strapi/icons": "2.0.0-rc.23",
|
|
59
|
+
"@strapi/plugin-graphql": "^5.12.7",
|
|
60
60
|
"@strapi/sdk-plugin": "^5.3.2",
|
|
61
|
-
"@strapi/strapi": "^5.
|
|
62
|
-
"@strapi/types": "^5.
|
|
63
|
-
"@strapi/typescript-utils": "^5.
|
|
61
|
+
"@strapi/strapi": "^5.12.7",
|
|
62
|
+
"@strapi/types": "^5.12.7",
|
|
63
|
+
"@strapi/typescript-utils": "^5.12.7",
|
|
64
64
|
"@types/jest": "^29.5.12",
|
|
65
65
|
"@types/koa": "^2.15.0",
|
|
66
66
|
"@types/koa-bodyparser": "^4.3.12",
|
|
@@ -71,7 +71,6 @@
|
|
|
71
71
|
"@types/react": "^18.3.8",
|
|
72
72
|
"@types/react-dom": "^18.3.0",
|
|
73
73
|
"@types/react-router-dom": "5.3.3",
|
|
74
|
-
"@types/styled-components": "5.1.34",
|
|
75
74
|
"@types/uuid": "^10.0.0",
|
|
76
75
|
"codecov": "^3.7.2",
|
|
77
76
|
"husky": "7.0.4",
|
|
@@ -88,21 +87,19 @@
|
|
|
88
87
|
"react-query": "3.39.3",
|
|
89
88
|
"react-router-dom": "^6.22.3",
|
|
90
89
|
"strapi-plugin-rest-cache": "^4.2.9",
|
|
91
|
-
"styled-components": "
|
|
90
|
+
"styled-components": "6.1.8",
|
|
92
91
|
"ts-jest": "^29.1.4",
|
|
93
92
|
"ts-node": "^10.9.1",
|
|
94
93
|
"typescript": "^5.6.2"
|
|
95
94
|
},
|
|
96
95
|
"peerDependencies": {
|
|
97
|
-
"@strapi/
|
|
98
|
-
"@strapi/
|
|
99
|
-
"@strapi/sdk-plugin": "^5.3.2",
|
|
100
|
-
"@strapi/strapi": "^5.11.3",
|
|
96
|
+
"@strapi/sdk-plugin": "^5.0.0",
|
|
97
|
+
"@strapi/strapi": "^5.0.0",
|
|
101
98
|
"lodash": "^4.17.21",
|
|
102
|
-
"react": "^18.
|
|
103
|
-
"react-dom": "^18.
|
|
104
|
-
"react-router-dom": "^6.
|
|
105
|
-
"styled-components": "^6.
|
|
99
|
+
"react": "^17.0.0 || ^18.0.0",
|
|
100
|
+
"react-dom": "^17.0.0 || ^18.0.0",
|
|
101
|
+
"react-router-dom": "^6.0.0",
|
|
102
|
+
"styled-components": "^6.0.0"
|
|
106
103
|
},
|
|
107
104
|
"husky": {
|
|
108
105
|
"hooks": {
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e={plugin:{name:"Navigation UI",section:{name:"Plugin de navigation",item:"Configuration"}},header:{title:"Navigation",description:"Définissez la navigation de votre portail",meta:"ID: { id }, slug: { key }",action:{newItem:"Nouvel élément",manage:"Gérer",collapseAll:"Tout réduire",expandAll:"Tout développer"}},submit:{cta:{cancel:"Annuler",save:"Enregistrer"}},empty:{description:"Votre navigation est vide",cta:"Créer le premier élément"},popup:{navigation:{manage:{header:{LIST:"Toutes les navigations",CREATE:"Nouvelle navigation",DELETE:"Suppression",ERROR:"Erreur",EDIT:'Édition de "{name}"'},button:{cancel:"Annuler",delete:"Supprimer",save:"Enregistrer",edit:"Modifier",create:"Créer",goBack:"Retourner",purge:"Effacer le cache de lecture"},table:{id:"Id",name:"Nom",locale:"Versions locales",visibility:"Visibilité",hasSelected:"{count} entrées sélectionnées"},footer:{button:{purge:"Effacer"}},purge:{header:"Cette action effacera le cache de lecture de l'API. Cela entraînera un ralentissement temporaire des lectures pour les navigations ci-dessous."},delete:{header:"Les navigations suivantes seront supprimées :"},error:{header:"Une erreur est survenue :(",message:"Une erreur est survenue lors du traitement de la demande."},navigation:{visible:"visible",hidden:"caché"}},form:{name:{label:"Nom",placeholder:"Nom de la navigation",validation:{name:{required:"Le nom est requis",tooShort:"Le nom est trop court",alreadyUsed:"Le nom est déjà utilisé"},visible:{required:"La visibilité est requise"}}},visible:{label:"Visibilité",toggle:{visible:"Visible",hidden:"Caché"}}}},item:{header:{view:"Voir l'élément de navigation",edit:"Modifier l'élément de navigation",new:"Nouvel élément de navigation"},form:{title:{label:"Titre",autoSync:{label:"Lire les champs de la relation"},placeholder:"Entrez le titre de l'élément ou laissez vide pour tirer de l'entité liée"},uiRouterKey:{label:"Clé du routeur UI",placeholder:'Si vide, généré automatiquement par "Titre"'},uiRouter:{unableToRender:"Impossible de restituer le slug et/ou la clé du routeur d'interface utilisateur en raison de caractères non pris en charge"},path:{label:"URL",placeholder:"Partie unique de l'URL identifiant cet élément",preview:"Aperçu :"},externalPath:{label:"URL externe",placeholder:"Lien vers la source externe",validation:{type:"Cette valeur n'est pas une URL valide."}},menuAttached:{label:"Attacher au menu",value:{yes:"Oui",no:"Non"}},type:{label:"Type d'élément de navigation",internal:{label:"Source interne"},external:{label:"Source externe",description:"Chemin de sortie : {value}"},wrapper:{label:"Élément wrapper"}},audience:{label:"Audience",placeholder:"Sélectionner l'audience...",empty:"Il n'y a plus d'audiences"},relatedSection:{label:"Relation à"},relatedType:{label:"Type de contenu",placeholder:"Sélectionner le type de contenu...",empty:"Il n'y a pas de types de contenu à sélectionner"},related:{label:"Entité",placeholder:"Sélectionner l'entité...",empty:`Il n'y a plus d'entités de "{ contentTypeName }" à sélectionner`},i18n:{locale:{label:"Copier les détails de",placeholder:"locale",button:"Copier",error:{generic:"Impossible de copier l'élément",unavailable:"Version locale indisponible"}}},button:{create:"Créer l'élément",update:"Mettre à jour l'élément",restore:"Restaurer l'élément",remove:"Supprimer",save:"Enregistrer",cancel:"Annuler"}}}},notification:{navigation:{submit:"Les modifications de navigation ont été enregistrées",error:'Chemin en double : "{ path }" dans le parent : "{ parentTitle }" pour { errorTitles } éléments',item:{relation:"La relation de l'entité n'existe pas !",status:{draft:"brouillon",published:"publié"}}},error:{common:"Erreur lors du traitement de la demande.",customField:{type:"Type de champ personnalisé non pris en charge",media:{missing:"Le composant d'entrée média est manquant"}},item:{relation:"Les relations fournies dans certains éléments sont incorrectes",slug:'Impossible de créer une clé de routeur UI valide (slug) à partir de "{ query }". "{ result }" reçu'}}},pages:{auth:{noAccess:"Pas d'accès",not:{allowed:"Oups ! Il semble que vous n'ayez pas accès à cette page..."}},main:{search:{placeholder:"Tapez pour commencer à rechercher...",subLabel:"appuyez sur ENTRÉE pour mettre en surbrillance l'élément suivant"},header:{localization:{select:{placeholder:"Sélectionner la locale"}}}},settings:{title:"Paramètres de navigation",general:{title:"Paramètres généraux"},additional:{title:"Paramètres supplémentaires"},customFields:{title:"Paramètres des champs personnalisés"},nameField:{title:"Paramètres des types de contenu"},restoring:{title:"Restauration"},section:{title:"Plugin de navigation",subtitle:"Configuration"},header:{title:"Navigation",description:"Configurer le plugin de navigation"},form:{cascadeMenuAttached:{label:"Cascade du menu attaché",hint:'Désactiver si vous ne voulez pas que "Menu attaché" se propage aux éléments enfants'},preferCustomContentTypes:{label:"Préférer les types de contenu API",hint:"Préférer utiliser uniquement les types de contenu préfixés par api::"},contentTypes:{label:"Activer la navigation pour",placeholder:"ex. Pages, Articles",hint:"Si aucun n'est sélectionné, aucun des types de contenu n'est activé"},i18n:{label:"i18n",hint:"Activer l'internationalisation",hintMissingDefaultLocale:"Locale par défaut manquante !"},allowedLevels:{label:"Niveaux autorisés",placeholder:"ex. 2",hint:'Niveau maximum pour lequel vous pouvez marquer un élément comme "Menu attaché"'},audience:{label:"Audience",hint:"Activer le champ audience"},nameField:{default:"Par défaut",label:"Champs de nom",placeholder:"Sélectionner au moins un ou laisser vide pour appliquer les valeurs par défaut",hint:'Si laissé vide, le champ de nom prendra les champs suivants par ordre : "titre", "sujet" et "nom"',empty:"Ce type de contenu n'a pas d'attributs de chaîne"},populate:{label:"Champs à remplir",placeholder:"Sélectionner au moins un ou laisser vide pour désactiver le remplissage des champs de relation",hint:"Les champs de relation sélectionnés seront remplis dans les réponses de l'API",empty:"Ce type de contenu n'a pas de champs de relation"},pathDefaultFields:{label:"Champs par défaut du chemin",placeholder:"Sélectionner au moins un ou laisser vide pour désactiver le remplissage du champ de chemin avec la valeur des attributs",hint:"La valeur de l'attribut sélectionné sera la valeur par défaut pour le chemin interne",empty:"Ce type de contenu n'a pas d'attributs appropriés"},contentTypesSettings:{label:"Types de contenu",tooltip:"Configuration personnalisée par type de contenu",initializationWarning:{title:"Avertissement",content:"- Le type de contenu n'a pas encore été initialisé. Initialisez-le d'abord pour pouvoir l'utiliser dans un éditeur visuel."}},customFields:{table:{confirmation:{header:"Suppression du champ personnalisé",message:"Cette action entraînera la suppression de toutes les valeurs des champs personnalisés des éléments de navigation.",confirm:"Continuer",error:"Une erreur est survenue lors de la suppression du champ personnalisé"},header:{name:"Nom",label:"Étiquette",type:"Type",required:"Requis"},footer:"Créer un nouveau champ personnalisé",edit:"Modifier le champ personnalisé",enable:"Activer le champ personnalisé",disable:"Désactiver le champ personnalisé",remove:"Supprimer le champ personnalisé",required:"requis",notRequired:"non requis"},popup:{header:{edit:"Modifier le champ personnalisé",new:"Ajouter un nouveau champ personnalisé"},name:{label:"Nom du champ personnalisé",placeholder:"exemple_nom",description:"Le nom du champ personnalisé doit être unique"},label:{label:"Étiquette du champ personnalisé",placeholder:"Exemple d'étiquette",description:"Cette étiquette sera affichée sur le formulaire de l'élément de navigation"},type:{label:"Type de champ personnalisé",description:"Le type de champ personnalisé détermine le type de données que le champ peut contenir"},required:{label:"Champ requis",description:"Activer ce champ ne changera pas les éléments de navigation déjà existants"},options:{label:"Options pour l'entrée de sélection",description:'Fournir des options séparées par ";"'},multi:{label:"Activer l'entrée de plusieurs options",description:"Autoriser la sélection simple ou multiple"}}}},actions:{submit:"Enregistrer la configuration",restore:{label:"Restaurer la configuration",confirmation:{header:"Voulez-vous continuer ?",confirm:"Restaurer",description:"La configuration du plugin sera restaurée à partir du fichier plugins.js."},description:"La restauration de la configuration du plugin entraînera son remplacement par la configuration enregistrée dans le fichier 'plugins.js'."},restart:{label:"Redémarrer Strapi",alert:{title:"Strapi nécessite un redémarrage",description:"Vous avez apporté des modifications à la configuration qui nécessitent le redémarrage de votre application Strapi pour prendre effet. Faites-le manuellement ou en utilisant le déclencheur ci-dessous.",close:"Ignorer",cancel:"Annuler",reason:{I18N:"Les modifications de l'internationalisation (i18n) seront appliquées.",GRAPH_QL:"Les modifications de GraphQL seront appliquées.",I18N_NAVIGATIONS_PRUNE:"Les navigations de locale obsolètes seront supprimées."}}},disableI18n:{confirmation:{header:"Désactivation de l'internationalisation",confirm:"Je comprends",description:{line1:"Vous désactivez l'internationalisation pour la navigation. Les navigations pour les locales différentes de la locale par défaut ne sont pas disponibles pour la visualisation et les modifications via ce plugin.",line2:"Vous pouvez choisir de supprimer les navigations pour d'autres locales.",line3:"Rappelez-vous ! La suppression est irréversible"}},prune:{label:"Navigations obsolètes",on:"Supprimer",off:"Garder"}}},notification:{fetch:{error:"Échec de la récupération de la configuration. Nouvelle tentative..."},submit:{success:"La configuration a été mise à jour avec succès",error:"La mise à jour de la configuration a échoué"},restore:{success:"La configuration a été restaurée avec succès",error:"La restauration de la configuration a échoué"},restart:{success:"L'application a été redémarrée avec succès",error:"Échec du redémarrage de votre application. Essayez de le faire manuellement."}}},view:{actions:{i18nCopyItems:{confirmation:{header:"Confirmation",confirm:"Copier",content:"Voulez-vous copier les éléments de navigation ?"}}}}},components:{toggle:{enabled:"Activé",disabled:"Désactivé"},navigationItem:{action:{newItem:"Ajouter un élément imbriqué",edit:"Modifier",view:"Voir",restore:"Restaurer",remove:"Supprimer"},badge:{removed:"Supprimé",draft:"Brouillon",published:"Publié"},related:{localeMissing:"(Version locale manquante)"}},confirmation:{dialog:{button:{cancel:"Annuler",confirm:"Confirmer"},description:"Voulez-vous continuer ?",header:"Confirmation"}},notAccessPage:{back:"Retour à la page d'accueil"}},view:{i18n:{fill:{option:"locale {locale}",cta:{header:"ou démarrer",button:"copier"}}}}};exports.default=e;
|