@guillotinaweb/react-gmi 0.32.2 → 0.32.3
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/CHANGELOG.md +377 -0
- package/dist/react-gmi.js +2 -2
- package/dist/react-gmi.js.map +1 -1
- package/dist/react-gmi.modern.js +2 -2
- package/dist/react-gmi.modern.js.map +1 -1
- package/dist/react-gmi.umd.js +2 -2
- package/dist/react-gmi.umd.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,377 @@
|
|
|
1
|
+
0.32.3
|
|
2
|
+
------
|
|
3
|
+
- fix: expiration token
|
|
4
|
+
|
|
5
|
+
0.32.2
|
|
6
|
+
------
|
|
7
|
+
- fix: export items actions context
|
|
8
|
+
|
|
9
|
+
0.32.1
|
|
10
|
+
------
|
|
11
|
+
- fix: Confirm component, message type
|
|
12
|
+
|
|
13
|
+
0.32.0
|
|
14
|
+
------
|
|
15
|
+
- feat: Add to registry the possibility to override the default actions in items list.
|
|
16
|
+
|
|
17
|
+
0.31.0
|
|
18
|
+
------
|
|
19
|
+
- chore: Improve typing in registry
|
|
20
|
+
- refactor: Add getPathComponent function in registry, to separate from generic getComponent function
|
|
21
|
+
- feat: add parseSearchQueryParamFunction in registry
|
|
22
|
+
- feat: Modify getItemsColumns function in client
|
|
23
|
+
- fix: Default value checkbox
|
|
24
|
+
|
|
25
|
+
Breaking changes:
|
|
26
|
+
|
|
27
|
+
In items columns properties, updated the child prop.
|
|
28
|
+
|
|
29
|
+
Before:
|
|
30
|
+
|
|
31
|
+
(m: ItemModel, _navigate: () => void, search: boolean) => React.ReactNode
|
|
32
|
+
|
|
33
|
+
After:
|
|
34
|
+
|
|
35
|
+
({ model, search, link }: ItemColumnChild) => React.ReactNode
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
0.30.1
|
|
40
|
+
------
|
|
41
|
+
- fix: size param in elasticsearch function
|
|
42
|
+
|
|
43
|
+
0.30.0
|
|
44
|
+
------
|
|
45
|
+
- chore: Typescript strict mode
|
|
46
|
+
|
|
47
|
+
0.29.2
|
|
48
|
+
------
|
|
49
|
+
- fix: Email input
|
|
50
|
+
|
|
51
|
+
0.29.1
|
|
52
|
+
------
|
|
53
|
+
- fix: Default sort parsed
|
|
54
|
+
|
|
55
|
+
0.29.0
|
|
56
|
+
------
|
|
57
|
+
- feat: Add default sort value
|
|
58
|
+
|
|
59
|
+
0.28.4
|
|
60
|
+
------
|
|
61
|
+
- chore: version
|
|
62
|
+
|
|
63
|
+
0.28.3
|
|
64
|
+
------
|
|
65
|
+
- chore: export inputs
|
|
66
|
+
|
|
67
|
+
0.28.2
|
|
68
|
+
------
|
|
69
|
+
- chore: export guillotina types
|
|
70
|
+
|
|
71
|
+
0.28.1
|
|
72
|
+
------
|
|
73
|
+
- Fix: Layout menu mobile
|
|
74
|
+
|
|
75
|
+
0.28.0
|
|
76
|
+
------
|
|
77
|
+
- Feat: Update to typescript
|
|
78
|
+
|
|
79
|
+
0.27.0
|
|
80
|
+
------
|
|
81
|
+
- Feat: Add label to input list
|
|
82
|
+
|
|
83
|
+
0.26.0
|
|
84
|
+
------
|
|
85
|
+
- Feat: Add possibility to translate the workflow texts
|
|
86
|
+
|
|
87
|
+
0.25.2
|
|
88
|
+
------
|
|
89
|
+
- feat: use label property to render info in search inputs and to sort elements
|
|
90
|
+
|
|
91
|
+
0.25.1
|
|
92
|
+
------
|
|
93
|
+
- chore: export generic Messages
|
|
94
|
+
|
|
95
|
+
0.25.0
|
|
96
|
+
------
|
|
97
|
+
- feat: Add inputs search to editComponent
|
|
98
|
+
|
|
99
|
+
0.24.1
|
|
100
|
+
------
|
|
101
|
+
- fix: Render vocabulary field
|
|
102
|
+
|
|
103
|
+
0.24.0
|
|
104
|
+
------
|
|
105
|
+
- feat: Implement and update some guillotina behaviors
|
|
106
|
+
- feat: add select vocabulary field
|
|
107
|
+
- feat: Allow to sort columns in items tab
|
|
108
|
+
- fix: auth, expired token
|
|
109
|
+
- feat: allow to use multiples attributes to do a generic search
|
|
110
|
+
- feat: Add search input to user and group items tab
|
|
111
|
+
- chore: add vitest
|
|
112
|
+
- Add select multiple
|
|
113
|
+
- Add filter schema to registry to create dynamic filters in items tab
|
|
114
|
+
- Render text value instead of key value in vocabulary select
|
|
115
|
+
- Create scale images in IImageAttachment behavior
|
|
116
|
+
- Add i18n ( english, catalan, spanish)
|
|
117
|
+
|
|
118
|
+
|
|
119
|
+
0.23.1
|
|
120
|
+
------
|
|
121
|
+
- chore: update use-reactportal
|
|
122
|
+
|
|
123
|
+
0.23.0
|
|
124
|
+
------
|
|
125
|
+
- chore: update dependences
|
|
126
|
+
- chore: update react peerDependences
|
|
127
|
+
- chore: delete unused code
|
|
128
|
+
|
|
129
|
+
0.22.4
|
|
130
|
+
------
|
|
131
|
+
- chore: update dependences
|
|
132
|
+
|
|
133
|
+
0.22.3
|
|
134
|
+
------
|
|
135
|
+
- fix: remove items path #167
|
|
136
|
+
- feat: select principals show id if fullname not exist
|
|
137
|
+
- chore: update dependences
|
|
138
|
+
|
|
139
|
+
0.22.2
|
|
140
|
+
------
|
|
141
|
+
- chore: update dependences
|
|
142
|
+
|
|
143
|
+
0.22.1
|
|
144
|
+
------
|
|
145
|
+
- Fix export
|
|
146
|
+
|
|
147
|
+
0.22.0
|
|
148
|
+
------
|
|
149
|
+
- Refactor get current context in client and rest utilities. #118
|
|
150
|
+
- Fixed default values in copy action
|
|
151
|
+
- Added some tests of copy and move elements in panel of items.
|
|
152
|
+
|
|
153
|
+
0.21.0
|
|
154
|
+
------
|
|
155
|
+
- Allow override RenderFieldComponent. #146
|
|
156
|
+
|
|
157
|
+
0.20.1
|
|
158
|
+
------
|
|
159
|
+
- Fix principal select options in permissions tab #147
|
|
160
|
+
|
|
161
|
+
0.20.0
|
|
162
|
+
------
|
|
163
|
+
- Add users in principals to modify their permissions and handle errors when change permission in some object. #145
|
|
164
|
+
|
|
165
|
+
0.19.0
|
|
166
|
+
------
|
|
167
|
+
- Add date type input in edit component #144
|
|
168
|
+
|
|
169
|
+
0.18.0
|
|
170
|
+
------
|
|
171
|
+
- Add itemsColumn in registry to allow configure columns in items panel by type #142
|
|
172
|
+
|
|
173
|
+
0.17.0
|
|
174
|
+
------
|
|
175
|
+
- Search: use always search function and allow to configure depth param #133
|
|
176
|
+
|
|
177
|
+
0.16.0
|
|
178
|
+
------
|
|
179
|
+
- Add GMI project #97
|
|
180
|
+
- Add search engine configuration #97
|
|
181
|
+
|
|
182
|
+
0.15.1
|
|
183
|
+
------
|
|
184
|
+
- Normalize upload file name #129
|
|
185
|
+
|
|
186
|
+
0.15.0
|
|
187
|
+
------
|
|
188
|
+
- Make more generic the search input field #125
|
|
189
|
+
|
|
190
|
+
0.14.1
|
|
191
|
+
------
|
|
192
|
+
- Allow open new tab navigation #116
|
|
193
|
+
- Fix microbundle bundle bug #115
|
|
194
|
+
|
|
195
|
+
|
|
196
|
+
0.14.0
|
|
197
|
+
------
|
|
198
|
+
- Add key as fallback to value.title + hide table if all properties are ignored + update docs (#109)
|
|
199
|
+
- e2e cypress retry failed tests (#110)
|
|
200
|
+
- Implement refresh without spinner (transparent=true) (#111)
|
|
201
|
+
- Add data-test property in createBtn context tool bar (#113)
|
|
202
|
+
- Add datatest search input (#114)
|
|
203
|
+
|
|
204
|
+
0.13.1
|
|
205
|
+
------
|
|
206
|
+
- Add classNameInput prop in checkbox and modify placeholder input_list (#106)
|
|
207
|
+
- Add error message in search_input (#106)
|
|
208
|
+
- Add loading in add item action (#106)
|
|
209
|
+
|
|
210
|
+
0.13.0
|
|
211
|
+
------
|
|
212
|
+
- Add filter type in items panel. (#105)
|
|
213
|
+
|
|
214
|
+
0.12.2
|
|
215
|
+
------
|
|
216
|
+
- Fix open new tab downloadFile, firefox (#104)
|
|
217
|
+
|
|
218
|
+
0.12.1
|
|
219
|
+
------
|
|
220
|
+
- Fix attachment and multiattachment behaviors (#103)
|
|
221
|
+
|
|
222
|
+
0.12.0
|
|
223
|
+
------
|
|
224
|
+
- Add querycondition prop in search_input (#100)
|
|
225
|
+
- Fix - Export actions panel (#101)
|
|
226
|
+
- Edit properties fields (#96)
|
|
227
|
+
|
|
228
|
+
|
|
229
|
+
0.11.0
|
|
230
|
+
------
|
|
231
|
+
- add actions panel in container folder and item types (#99)
|
|
232
|
+
|
|
233
|
+
0.10.0
|
|
234
|
+
------
|
|
235
|
+
- Improve build (#95)
|
|
236
|
+
|
|
237
|
+
|
|
238
|
+
0.9.0
|
|
239
|
+
------
|
|
240
|
+
- Isolate client (#91)
|
|
241
|
+
- Improvement fields (#90)
|
|
242
|
+
|
|
243
|
+
|
|
244
|
+
0.8.0
|
|
245
|
+
------
|
|
246
|
+
|
|
247
|
+
- Replace react-use to own hooks (#82)
|
|
248
|
+
- Add prettier (#83)
|
|
249
|
+
- Add LICENSE and CONTRIBUTING.md (#86)
|
|
250
|
+
- e2e test own project (#84)
|
|
251
|
+
- Some fixes (#88)
|
|
252
|
+
- CI run workflows (#89)
|
|
253
|
+
|
|
254
|
+
0.7.1
|
|
255
|
+
------
|
|
256
|
+
- e2e test own project
|
|
257
|
+
- fix github actions
|
|
258
|
+
|
|
259
|
+
0.7.0
|
|
260
|
+
------
|
|
261
|
+
- Package upgrades
|
|
262
|
+
- More resource personalized from registry
|
|
263
|
+
|
|
264
|
+
0.6.4
|
|
265
|
+
------
|
|
266
|
+
- Allow to add a custom flash function on config
|
|
267
|
+
|
|
268
|
+
0.4.11
|
|
269
|
+
----
|
|
270
|
+
- Fix issue with React and microbundle
|
|
271
|
+
|
|
272
|
+
0.4.10
|
|
273
|
+
----
|
|
274
|
+
- Fix open breadcrumb links in a new browser tab [aralroca]
|
|
275
|
+
|
|
276
|
+
0.4.9
|
|
277
|
+
----
|
|
278
|
+
- Add pagination also in the bottom of the page [aralroca]
|
|
279
|
+
|
|
280
|
+
0.4.8
|
|
281
|
+
----
|
|
282
|
+
- Allow modify id copying items [aralroca]
|
|
283
|
+
- Fill current path as default path when copying items [aralroca]
|
|
284
|
+
|
|
285
|
+
0.4.7
|
|
286
|
+
----
|
|
287
|
+
- Move column definition to GuillotinaClient to overwrite in an easier way [aralroca]
|
|
288
|
+
|
|
289
|
+
0.4.6
|
|
290
|
+
----
|
|
291
|
+
- Fix duplicate items in same folder (add a suffix to the id) [aralroca]
|
|
292
|
+
|
|
293
|
+
0.4.5
|
|
294
|
+
----
|
|
295
|
+
- Fix TabsPanel crash when 'current' tab doesn't exist in 'tabs'
|
|
296
|
+
[masipcat]
|
|
297
|
+
|
|
298
|
+
0.4.4
|
|
299
|
+
----
|
|
300
|
+
- Fix return value of rest.getHeaders() and auth.getHeadres() when not authenticated
|
|
301
|
+
[masipcat]
|
|
302
|
+
|
|
303
|
+
0.4.3
|
|
304
|
+
----
|
|
305
|
+
- Scroll to top after call to Ctx.flash
|
|
306
|
+
|
|
307
|
+
0.4.2
|
|
308
|
+
----
|
|
309
|
+
- fix bug on behaviors change
|
|
310
|
+
|
|
311
|
+
0.4.1
|
|
312
|
+
----
|
|
313
|
+
- Add ErrorBoundary as view in registry that can be overwritten
|
|
314
|
+
[masipcat]
|
|
315
|
+
- Remove panel requester (too much bundle size for what it provides)
|
|
316
|
+
|
|
317
|
+
0.4.0
|
|
318
|
+
----
|
|
319
|
+
- e2e first test
|
|
320
|
+
- e2e github action
|
|
321
|
+
- e2e test content
|
|
322
|
+
[psanlorenzo]
|
|
323
|
+
|
|
324
|
+
- Fix issue when selecting multiple items on different depths with same id
|
|
325
|
+
- Return back the delete button (it's more ergonomic)
|
|
326
|
+
- Fix compatibility with braking changes on Guillotina 6
|
|
327
|
+
- Correctly report failed delete actions, showing a stringify version of the error
|
|
328
|
+
- Add a preload spinner on delete.
|
|
329
|
+
- Add a new config setting to be able to set a delay after delete
|
|
330
|
+
(That's mostly to workaround elastic delay index)
|
|
331
|
+
[jordic]
|
|
332
|
+
|
|
333
|
+
0.3.4
|
|
334
|
+
----
|
|
335
|
+
- Be able to setup default properties showing on panel properties
|
|
336
|
+
- Fix auth header on client
|
|
337
|
+
|
|
338
|
+
0.3.3
|
|
339
|
+
----
|
|
340
|
+
- If there is no @addable-type hide the button
|
|
341
|
+
- Swap columns modified/created (are wrong)
|
|
342
|
+
- Be able to customize properties view
|
|
343
|
+
|
|
344
|
+
0.3.2
|
|
345
|
+
----
|
|
346
|
+
- If there is only one @addable-type just show it (without dropdown)
|
|
347
|
+
|
|
348
|
+
0.3.1
|
|
349
|
+
----
|
|
350
|
+
- Small UI improvements
|
|
351
|
+
- Fix bug when search pagination it's not reset
|
|
352
|
+
|
|
353
|
+
0.3.0
|
|
354
|
+
----
|
|
355
|
+
- Move/copy/delete multiple items
|
|
356
|
+
[aralroca]
|
|
357
|
+
- Some fixes
|
|
358
|
+
[jordic]
|
|
359
|
+
|
|
360
|
+
0.2.2 alpha
|
|
361
|
+
---
|
|
362
|
+
- Fix issue on container creation
|
|
363
|
+
- Be able to personalize icons for custom content types
|
|
364
|
+
- Fix bug when providing custom config
|
|
365
|
+
- Compat layer on serializer for G5
|
|
366
|
+
|
|
367
|
+
0.1.0alpha
|
|
368
|
+
---
|
|
369
|
+
- Don't let registry fail when looking up new from content-types
|
|
370
|
+
- Added initial view for editing group properties
|
|
371
|
+
- Added microbundle to package the library as npm package
|
|
372
|
+
- Added an integration example (still rude) of guillotina with
|
|
373
|
+
next.js
|
|
374
|
+
- Fix some issues with ciruclar dependencies when exporting the npm package.
|
|
375
|
+
- Never use the registry directly, The registry should be obtained throught the Context.
|
|
376
|
+
|
|
377
|
+
|
package/dist/react-gmi.js
CHANGED
|
@@ -14525,7 +14525,7 @@ var Auth = /*#__PURE__*/function () {
|
|
|
14525
14525
|
_proto.willExpire = function willExpire(expiration) {
|
|
14526
14526
|
var now = new Date().getTime();
|
|
14527
14527
|
|
|
14528
|
-
if (parseInt(expiration)
|
|
14528
|
+
if (parseInt(expiration) < now + 10) {
|
|
14529
14529
|
return true;
|
|
14530
14530
|
}
|
|
14531
14531
|
|
|
@@ -14535,7 +14535,7 @@ var Auth = /*#__PURE__*/function () {
|
|
|
14535
14535
|
_proto.isExpired = function isExpired(expiration) {
|
|
14536
14536
|
var now = new Date().getTime();
|
|
14537
14537
|
|
|
14538
|
-
if (parseInt(expiration)
|
|
14538
|
+
if (parseInt(expiration) > now) {
|
|
14539
14539
|
return false;
|
|
14540
14540
|
}
|
|
14541
14541
|
|