@guillotinaweb/react-gmi 0.29.2 → 0.30.0
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/README.md +2 -1
- package/dist/actions/copy_item.d.ts +2 -2
- package/dist/actions/move_item.d.ts +2 -2
- package/dist/actions/remove_item.d.ts +2 -2
- package/dist/components/behaviors/iattachment.d.ts +4 -2
- package/dist/components/behaviors/imultiimageorderedattachment.d.ts +3 -1
- package/dist/components/behaviors/iworkflow.d.ts +1 -1
- package/dist/components/context_toolbar.d.ts +1 -1
- package/dist/components/fields/editComponent.d.ts +5 -4
- package/dist/components/fields/editableField.d.ts +4 -2
- package/dist/components/fields/renderField.d.ts +8 -5
- package/dist/components/flash.d.ts +1 -1
- package/dist/components/input/email.d.ts +1 -1
- package/dist/components/input/form_builder.d.ts +2 -2
- package/dist/components/input/input.d.ts +1 -1
- package/dist/components/input/search_input.d.ts +1 -1
- package/dist/components/input/search_input_list.d.ts +2 -2
- package/dist/components/input/select_vocabulary.d.ts +2 -2
- package/dist/components/input/upload.d.ts +1 -2
- package/dist/components/pagination.d.ts +1 -1
- package/dist/components/panel/permissions.d.ts +1 -1
- package/dist/components/panel/permissions_prinperm.d.ts +2 -2
- package/dist/components/panel/permissions_prinrole.d.ts +1 -1
- package/dist/components/panel/permissions_roleperm.d.ts +1 -1
- package/dist/components/path.d.ts +1 -1
- package/dist/components/properties_view.d.ts +2 -2
- package/dist/components/search_labels.d.ts +1 -1
- package/dist/components/search_options_labels.d.ts +1 -1
- package/dist/components/search_vocabulary_labels.d.ts +2 -2
- package/dist/components/selected_items_actions.d.ts +14 -0
- package/dist/components/tabs.d.ts +4 -2
- package/dist/components/widgets/tags.d.ts +4 -1
- package/dist/contexts/index.d.ts +21 -19
- package/dist/forms/required_fields.d.ts +2 -3
- package/dist/forms/users.d.ts +1 -1
- package/dist/hooks/useClickAway.d.ts +2 -1
- package/dist/hooks/useConfig.d.ts +4 -2
- package/dist/hooks/useCrudContext.d.ts +11 -10
- package/dist/hooks/useInput.d.ts +4 -3
- package/dist/hooks/useRegistry.d.ts +29 -29
- package/dist/hooks/useSetState.d.ts +6 -1
- package/dist/hooks/useVocabulary.d.ts +1 -1
- package/dist/lib/auth.d.ts +14 -19
- package/dist/lib/client.d.ts +49 -36
- package/dist/lib/helpers.d.ts +10 -18
- package/dist/lib/processResponse.d.ts +9 -0
- package/dist/lib/rest.d.ts +9 -16
- package/dist/lib/utils.d.ts +3 -2
- package/dist/lib/validators.d.ts +1 -1
- package/dist/locales/generic_messages.d.ts +248 -370
- package/dist/models/index.d.ts +5 -5
- package/dist/models/sharing.d.ts +5 -5
- package/dist/react-gmi.esm.js +1181 -904
- package/dist/react-gmi.esm.js.map +1 -1
- package/dist/react-gmi.js +1180 -904
- package/dist/react-gmi.js.map +1 -1
- package/dist/react-gmi.modern.js +1154 -851
- package/dist/react-gmi.modern.js.map +1 -1
- package/dist/react-gmi.umd.js +1180 -904
- package/dist/react-gmi.umd.js.map +1 -1
- package/dist/reducers/guillotina.d.ts +22 -8
- package/dist/types/global.d.ts +9 -0
- package/dist/types/guillotina.d.ts +192 -44
- package/dist/views/folder.d.ts +1 -1
- package/dist/views/groups.d.ts +1 -1
- package/dist/views/item.d.ts +1 -1
- package/dist/views/users.d.ts +1 -1
- package/package.json +3 -2
- package/dist/lib/search.test.d.ts +0 -1
- package/dist/setupTests.d.ts +0 -1
|
@@ -1,370 +1,248 @@
|
|
|
1
|
-
export
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
}
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
}
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
}
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
}
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
}
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
}
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
}
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
}
|
|
248
|
-
|
|
249
|
-
let id_41: string;
|
|
250
|
-
export { id_41 as id };
|
|
251
|
-
let defaultMessage_41: string;
|
|
252
|
-
export { defaultMessage_41 as defaultMessage };
|
|
253
|
-
}
|
|
254
|
-
export namespace not_implemented {
|
|
255
|
-
let id_42: string;
|
|
256
|
-
export { id_42 as id };
|
|
257
|
-
let defaultMessage_42: string;
|
|
258
|
-
export { defaultMessage_42 as defaultMessage };
|
|
259
|
-
}
|
|
260
|
-
export namespace failed_to_update {
|
|
261
|
-
let id_43: string;
|
|
262
|
-
export { id_43 as id };
|
|
263
|
-
let defaultMessage_43: string;
|
|
264
|
-
export { defaultMessage_43 as defaultMessage };
|
|
265
|
-
}
|
|
266
|
-
export namespace add_user {
|
|
267
|
-
let id_44: string;
|
|
268
|
-
export { id_44 as id };
|
|
269
|
-
let defaultMessage_44: string;
|
|
270
|
-
export { defaultMessage_44 as defaultMessage };
|
|
271
|
-
}
|
|
272
|
-
export namespace role {
|
|
273
|
-
let id_45: string;
|
|
274
|
-
export { id_45 as id };
|
|
275
|
-
let defaultMessage_45: string;
|
|
276
|
-
export { defaultMessage_45 as defaultMessage };
|
|
277
|
-
}
|
|
278
|
-
export namespace setting {
|
|
279
|
-
let id_46: string;
|
|
280
|
-
export { id_46 as id };
|
|
281
|
-
let defaultMessage_46: string;
|
|
282
|
-
export { defaultMessage_46 as defaultMessage };
|
|
283
|
-
}
|
|
284
|
-
export namespace permission {
|
|
285
|
-
let id_47: string;
|
|
286
|
-
export { id_47 as id };
|
|
287
|
-
let defaultMessage_47: string;
|
|
288
|
-
export { defaultMessage_47 as defaultMessage };
|
|
289
|
-
}
|
|
290
|
-
}
|
|
291
|
-
export namespace genericFileMessages {
|
|
292
|
-
namespace error_file_key_name {
|
|
293
|
-
let id_48: string;
|
|
294
|
-
export { id_48 as id };
|
|
295
|
-
let defaultMessage_48: string;
|
|
296
|
-
export { defaultMessage_48 as defaultMessage };
|
|
297
|
-
}
|
|
298
|
-
namespace error_upload_file {
|
|
299
|
-
let id_49: string;
|
|
300
|
-
export { id_49 as id };
|
|
301
|
-
let defaultMessage_49: string;
|
|
302
|
-
export { defaultMessage_49 as defaultMessage };
|
|
303
|
-
}
|
|
304
|
-
namespace error_upload_file_size {
|
|
305
|
-
let id_50: string;
|
|
306
|
-
export { id_50 as id };
|
|
307
|
-
let defaultMessage_50: string;
|
|
308
|
-
export { defaultMessage_50 as defaultMessage };
|
|
309
|
-
}
|
|
310
|
-
namespace image_uploaded {
|
|
311
|
-
let id_51: string;
|
|
312
|
-
export { id_51 as id };
|
|
313
|
-
let defaultMessage_51: string;
|
|
314
|
-
export { defaultMessage_51 as defaultMessage };
|
|
315
|
-
}
|
|
316
|
-
namespace file_uploaded {
|
|
317
|
-
let id_52: string;
|
|
318
|
-
export { id_52 as id };
|
|
319
|
-
let defaultMessage_52: string;
|
|
320
|
-
export { defaultMessage_52 as defaultMessage };
|
|
321
|
-
}
|
|
322
|
-
namespace failed_delete_file {
|
|
323
|
-
let id_53: string;
|
|
324
|
-
export { id_53 as id };
|
|
325
|
-
let defaultMessage_53: string;
|
|
326
|
-
export { defaultMessage_53 as defaultMessage };
|
|
327
|
-
}
|
|
328
|
-
namespace image_deleted {
|
|
329
|
-
let id_54: string;
|
|
330
|
-
export { id_54 as id };
|
|
331
|
-
let defaultMessage_54: string;
|
|
332
|
-
export { defaultMessage_54 as defaultMessage };
|
|
333
|
-
}
|
|
334
|
-
namespace confirm_message_delete_file {
|
|
335
|
-
let id_55: string;
|
|
336
|
-
export { id_55 as id };
|
|
337
|
-
let defaultMessage_55: string;
|
|
338
|
-
export { defaultMessage_55 as defaultMessage };
|
|
339
|
-
}
|
|
340
|
-
namespace confirm_message_delete_image {
|
|
341
|
-
let id_56: string;
|
|
342
|
-
export { id_56 as id };
|
|
343
|
-
let defaultMessage_56: string;
|
|
344
|
-
export { defaultMessage_56 as defaultMessage };
|
|
345
|
-
}
|
|
346
|
-
namespace no_images_uploaded {
|
|
347
|
-
let id_57: string;
|
|
348
|
-
export { id_57 as id };
|
|
349
|
-
let defaultMessage_57: string;
|
|
350
|
-
export { defaultMessage_57 as defaultMessage };
|
|
351
|
-
}
|
|
352
|
-
namespace no_files_uploaded {
|
|
353
|
-
let id_58: string;
|
|
354
|
-
export { id_58 as id };
|
|
355
|
-
let defaultMessage_58: string;
|
|
356
|
-
export { defaultMessage_58 as defaultMessage };
|
|
357
|
-
}
|
|
358
|
-
namespace upload_an_image {
|
|
359
|
-
let id_59: string;
|
|
360
|
-
export { id_59 as id };
|
|
361
|
-
let defaultMessage_59: string;
|
|
362
|
-
export { defaultMessage_59 as defaultMessage };
|
|
363
|
-
}
|
|
364
|
-
namespace upload_a_file {
|
|
365
|
-
let id_60: string;
|
|
366
|
-
export { id_60 as id };
|
|
367
|
-
let defaultMessage_60: string;
|
|
368
|
-
export { defaultMessage_60 as defaultMessage };
|
|
369
|
-
}
|
|
370
|
-
}
|
|
1
|
+
export declare const genericMessages: {
|
|
2
|
+
loading: {
|
|
3
|
+
id: string;
|
|
4
|
+
defaultMessage: string;
|
|
5
|
+
};
|
|
6
|
+
remove: {
|
|
7
|
+
id: string;
|
|
8
|
+
defaultMessage: string;
|
|
9
|
+
};
|
|
10
|
+
install: {
|
|
11
|
+
id: string;
|
|
12
|
+
defaultMessage: string;
|
|
13
|
+
};
|
|
14
|
+
delete: {
|
|
15
|
+
id: string;
|
|
16
|
+
defaultMessage: string;
|
|
17
|
+
};
|
|
18
|
+
move_to: {
|
|
19
|
+
id: string;
|
|
20
|
+
defaultMessage: string;
|
|
21
|
+
};
|
|
22
|
+
copy_to: {
|
|
23
|
+
id: string;
|
|
24
|
+
defaultMessage: string;
|
|
25
|
+
};
|
|
26
|
+
behaviors: {
|
|
27
|
+
id: string;
|
|
28
|
+
defaultMessage: string;
|
|
29
|
+
};
|
|
30
|
+
static: {
|
|
31
|
+
id: string;
|
|
32
|
+
defaultMessage: string;
|
|
33
|
+
};
|
|
34
|
+
disable: {
|
|
35
|
+
id: string;
|
|
36
|
+
defaultMessage: string;
|
|
37
|
+
};
|
|
38
|
+
enable: {
|
|
39
|
+
id: string;
|
|
40
|
+
defaultMessage: string;
|
|
41
|
+
};
|
|
42
|
+
enabled: {
|
|
43
|
+
id: string;
|
|
44
|
+
defaultMessage: string;
|
|
45
|
+
};
|
|
46
|
+
available: {
|
|
47
|
+
id: string;
|
|
48
|
+
defaultMessage: string;
|
|
49
|
+
};
|
|
50
|
+
invalid_form_data: {
|
|
51
|
+
id: string;
|
|
52
|
+
defaultMessage: string;
|
|
53
|
+
};
|
|
54
|
+
invalid_form: {
|
|
55
|
+
id: string;
|
|
56
|
+
defaultMessage: string;
|
|
57
|
+
};
|
|
58
|
+
select_principal: {
|
|
59
|
+
id: string;
|
|
60
|
+
defaultMessage: string;
|
|
61
|
+
};
|
|
62
|
+
select_role: {
|
|
63
|
+
id: string;
|
|
64
|
+
defaultMessage: string;
|
|
65
|
+
};
|
|
66
|
+
select_permissions: {
|
|
67
|
+
id: string;
|
|
68
|
+
defaultMessage: string;
|
|
69
|
+
};
|
|
70
|
+
operation: {
|
|
71
|
+
id: string;
|
|
72
|
+
defaultMessage: string;
|
|
73
|
+
};
|
|
74
|
+
save: {
|
|
75
|
+
id: string;
|
|
76
|
+
defaultMessage: string;
|
|
77
|
+
};
|
|
78
|
+
choose: {
|
|
79
|
+
id: string;
|
|
80
|
+
defaultMessage: string;
|
|
81
|
+
};
|
|
82
|
+
property: {
|
|
83
|
+
id: string;
|
|
84
|
+
defaultMessage: string;
|
|
85
|
+
};
|
|
86
|
+
value: {
|
|
87
|
+
id: string;
|
|
88
|
+
defaultMessage: string;
|
|
89
|
+
};
|
|
90
|
+
create: {
|
|
91
|
+
id: string;
|
|
92
|
+
defaultMessage: string;
|
|
93
|
+
};
|
|
94
|
+
upload: {
|
|
95
|
+
id: string;
|
|
96
|
+
defaultMessage: string;
|
|
97
|
+
};
|
|
98
|
+
image: {
|
|
99
|
+
id: string;
|
|
100
|
+
defaultMessage: string;
|
|
101
|
+
};
|
|
102
|
+
error_provide_key_name: {
|
|
103
|
+
id: string;
|
|
104
|
+
defaultMessage: string;
|
|
105
|
+
};
|
|
106
|
+
mandatory_field: {
|
|
107
|
+
id: string;
|
|
108
|
+
defaultMessage: string;
|
|
109
|
+
};
|
|
110
|
+
error_in_field: {
|
|
111
|
+
id: string;
|
|
112
|
+
defaultMessage: string;
|
|
113
|
+
};
|
|
114
|
+
field_updated: {
|
|
115
|
+
id: string;
|
|
116
|
+
defaultMessage: string;
|
|
117
|
+
};
|
|
118
|
+
field_deleted: {
|
|
119
|
+
id: string;
|
|
120
|
+
defaultMessage: string;
|
|
121
|
+
};
|
|
122
|
+
can_not_delete_field: {
|
|
123
|
+
id: string;
|
|
124
|
+
defaultMessage: string;
|
|
125
|
+
};
|
|
126
|
+
cancel: {
|
|
127
|
+
id: string;
|
|
128
|
+
defaultMessage: string;
|
|
129
|
+
};
|
|
130
|
+
open: {
|
|
131
|
+
id: string;
|
|
132
|
+
defaultMessage: string;
|
|
133
|
+
};
|
|
134
|
+
download: {
|
|
135
|
+
id: string;
|
|
136
|
+
defaultMessage: string;
|
|
137
|
+
};
|
|
138
|
+
search: {
|
|
139
|
+
id: string;
|
|
140
|
+
defaultMessage: string;
|
|
141
|
+
};
|
|
142
|
+
no_results: {
|
|
143
|
+
id: string;
|
|
144
|
+
defaultMessage: string;
|
|
145
|
+
};
|
|
146
|
+
load_more: {
|
|
147
|
+
id: string;
|
|
148
|
+
defaultMessage: string;
|
|
149
|
+
};
|
|
150
|
+
add_type: {
|
|
151
|
+
id: string;
|
|
152
|
+
defaultMessage: string;
|
|
153
|
+
};
|
|
154
|
+
confirm: {
|
|
155
|
+
id: string;
|
|
156
|
+
defaultMessage: string;
|
|
157
|
+
};
|
|
158
|
+
field_is_required: {
|
|
159
|
+
id: string;
|
|
160
|
+
defaultMessage: string;
|
|
161
|
+
};
|
|
162
|
+
title: {
|
|
163
|
+
id: string;
|
|
164
|
+
defaultMessage: string;
|
|
165
|
+
};
|
|
166
|
+
add: {
|
|
167
|
+
id: string;
|
|
168
|
+
defaultMessage: string;
|
|
169
|
+
};
|
|
170
|
+
not_implemented: {
|
|
171
|
+
id: string;
|
|
172
|
+
defaultMessage: string;
|
|
173
|
+
};
|
|
174
|
+
failed_to_update: {
|
|
175
|
+
id: string;
|
|
176
|
+
defaultMessage: string;
|
|
177
|
+
};
|
|
178
|
+
add_user: {
|
|
179
|
+
id: string;
|
|
180
|
+
defaultMessage: string;
|
|
181
|
+
};
|
|
182
|
+
role: {
|
|
183
|
+
id: string;
|
|
184
|
+
defaultMessage: string;
|
|
185
|
+
};
|
|
186
|
+
setting: {
|
|
187
|
+
id: string;
|
|
188
|
+
defaultMessage: string;
|
|
189
|
+
};
|
|
190
|
+
permission: {
|
|
191
|
+
id: string;
|
|
192
|
+
defaultMessage: string;
|
|
193
|
+
};
|
|
194
|
+
};
|
|
195
|
+
export declare const genericFileMessages: {
|
|
196
|
+
error_file_key_name: {
|
|
197
|
+
id: string;
|
|
198
|
+
defaultMessage: string;
|
|
199
|
+
};
|
|
200
|
+
error_upload_file: {
|
|
201
|
+
id: string;
|
|
202
|
+
defaultMessage: string;
|
|
203
|
+
};
|
|
204
|
+
error_upload_file_size: {
|
|
205
|
+
id: string;
|
|
206
|
+
defaultMessage: string;
|
|
207
|
+
};
|
|
208
|
+
image_uploaded: {
|
|
209
|
+
id: string;
|
|
210
|
+
defaultMessage: string;
|
|
211
|
+
};
|
|
212
|
+
file_uploaded: {
|
|
213
|
+
id: string;
|
|
214
|
+
defaultMessage: string;
|
|
215
|
+
};
|
|
216
|
+
failed_delete_file: {
|
|
217
|
+
id: string;
|
|
218
|
+
defaultMessage: string;
|
|
219
|
+
};
|
|
220
|
+
image_deleted: {
|
|
221
|
+
id: string;
|
|
222
|
+
defaultMessage: string;
|
|
223
|
+
};
|
|
224
|
+
confirm_message_delete_file: {
|
|
225
|
+
id: string;
|
|
226
|
+
defaultMessage: string;
|
|
227
|
+
};
|
|
228
|
+
confirm_message_delete_image: {
|
|
229
|
+
id: string;
|
|
230
|
+
defaultMessage: string;
|
|
231
|
+
};
|
|
232
|
+
no_images_uploaded: {
|
|
233
|
+
id: string;
|
|
234
|
+
defaultMessage: string;
|
|
235
|
+
};
|
|
236
|
+
no_files_uploaded: {
|
|
237
|
+
id: string;
|
|
238
|
+
defaultMessage: string;
|
|
239
|
+
};
|
|
240
|
+
upload_an_image: {
|
|
241
|
+
id: string;
|
|
242
|
+
defaultMessage: string;
|
|
243
|
+
};
|
|
244
|
+
upload_a_file: {
|
|
245
|
+
id: string;
|
|
246
|
+
defaultMessage: string;
|
|
247
|
+
};
|
|
248
|
+
};
|
package/dist/models/index.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { SearchItem } from '../types/guillotina';
|
|
1
|
+
import { GuillotinaCommonObject, SearchItem } from '../types/guillotina';
|
|
2
2
|
export * from './sharing';
|
|
3
3
|
export declare class ItemModel {
|
|
4
|
-
item: SearchItem;
|
|
4
|
+
item: SearchItem | GuillotinaCommonObject;
|
|
5
5
|
url: string;
|
|
6
|
-
constructor(item:
|
|
7
|
-
get path():
|
|
6
|
+
constructor(item: SearchItem | GuillotinaCommonObject, url?: string);
|
|
7
|
+
get path(): string;
|
|
8
8
|
get name(): string;
|
|
9
|
-
get icon():
|
|
9
|
+
get icon(): string;
|
|
10
10
|
get fullPath(): string;
|
|
11
11
|
get id(): string;
|
|
12
12
|
get uid(): string;
|
package/dist/models/sharing.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { GuillotinaSharingInheritItem, GuillotinaSharingMap } from '../types/guillotina';
|
|
1
|
+
import { GuillotinaSharing, GuillotinaSharingInheritItem, GuillotinaSharingMap } from '../types/guillotina';
|
|
2
2
|
export declare class Sharing {
|
|
3
3
|
local: GuillotinaSharingMap;
|
|
4
4
|
inherit: GuillotinaSharingInheritItem[];
|
|
5
|
-
constructor(element:
|
|
5
|
+
constructor(element: GuillotinaSharing | undefined);
|
|
6
6
|
get roles(): string[];
|
|
7
|
-
getRole(role:
|
|
7
|
+
getRole(role: string): import("../types/global").IndexSignature<string>;
|
|
8
8
|
get principals(): string[];
|
|
9
|
-
getPrincipals(principal:
|
|
9
|
+
getPrincipals(principal: string): import("../types/global").IndexSignature<string>;
|
|
10
10
|
get prinrole(): string[];
|
|
11
|
-
getPrinroles(role:
|
|
11
|
+
getPrinroles(role: string): import("../types/global").IndexSignature<string>;
|
|
12
12
|
}
|