@sumaris-net/ngx-components 21.3.3 → 21.3.5
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/doc/changelog.md +11 -0
- package/fesm2022/sumaris-net.ngx-components.mjs +8123 -7477
- package/fesm2022/sumaris-net.ngx-components.mjs.map +1 -1
- package/package.json +1 -1
- package/src/assets/i18n/en-US.json +3 -0
- package/src/assets/i18n/en.json +13 -1
- package/src/assets/i18n/fr.json +13 -1
- package/src/assets/manifest.json +1 -1
- package/src/theme/_material.scss +5 -0
- package/types/sumaris-net.ngx-components.d.ts +487 -134
package/doc/changelog.md
CHANGED
|
@@ -2441,3 +2441,14 @@ The library now uses the Ionic **standalone** build (`@ionic/angular/standalone`
|
|
|
2441
2441
|
- fix(memory-entity-service): avoid entity duplication when saving hidden data (SUMARiS issue #2128 - lot duplicated in field mode, after leaving then reopening the screen):
|
|
2442
2442
|
* `saveAll()` deduplicates visible data and `_hiddenData`, using the service `equals()` function
|
|
2443
2443
|
* `fetchMore()` removes fetched items from `_hiddenData` using `equals()` instead of object identity (broken when `onLoad()` transforms entities)
|
|
2444
|
+
|
|
2445
|
+
## 21.3.4
|
|
2446
|
+
- fix(observables): `firstPromise()` now resolves on the first value (using `first()`), instead of waiting for the observable to complete. A `Subject` never completes, so the promise was never resolved (no error)
|
|
2447
|
+
* e.g. `StartableObservableService.ready()` (and `InMemoryEntitiesService.ready()`) called before `start()` never resolved (SUMARiS: the taxon name buttons of the sub-batches burst form stayed empty, on mobile)
|
|
2448
|
+
- test(observables): add unit tests for `firstPromise()`
|
|
2449
|
+
|
|
2450
|
+
## 21.3.5
|
|
2451
|
+
- fix(gallery-slideshow): the changes of the input `rows` are not detected instantly, the solution si to wait for angular to apply the changes to the inputs before sliding to the images of the next page
|
|
2452
|
+
- enh(message): allow to attach files to a message, reusing `UploadFileComponent` (`instantUpload`): new inputs `canAttach`, `uploadFn`, `deleteFn`, `maxAttachmentSizeMb` on `MessageForm` and `MessageModal` (and `MessageModalOptions`). The files list is kept in the new form control `attachments` (invalid while a file is uploading or in error), and sent with the message (`Message.attachments`, new entity `MessageAttachment` mapped on `ImageAttachmentVO`)
|
|
2453
|
+
- enh(upload-file): new output `filesChange`, emitted each time the files list changes (file added, upload response, error, deletion)
|
|
2454
|
+
- fix(gallery): fix gallery's slideshow the counter in the top-left corner (X/Y) is incorrect, Y(total) should show the total number of images and X(position) should show position of the current image across the filtred dataset
|