@sumaris-net/ngx-components 18.23.68 → 18.23.70
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 -2
- package/esm2022/src/app/shared/functions.mjs +33 -10
- package/fesm2022/sumaris-net.ngx-components.mjs +33 -10
- package/fesm2022/sumaris-net.ngx-components.mjs.map +1 -1
- package/package.json +1 -1
- package/src/app/shared/functions.d.ts +8 -3
- package/src/assets/manifest.json +1 -1
- package/src/theme/_ngx-components.scss +8 -4
package/package.json
CHANGED
|
@@ -307,14 +307,19 @@ export declare function numberToString(val: number, opts?: Intl.NumberFormatOpti
|
|
|
307
307
|
fixedDecimals?: number;
|
|
308
308
|
}): string;
|
|
309
309
|
/**
|
|
310
|
-
* @deprecated
|
|
310
|
+
* @deprecated Use deepMergeSkipUndefined instead
|
|
311
311
|
*/
|
|
312
312
|
export declare function mergeObjectsWithoutUndefined(...objects: unknown[]): unknown;
|
|
313
313
|
/**
|
|
314
|
-
*
|
|
314
|
+
* @deprecated Use deepMergeSkipUndefined instead
|
|
315
|
+
*/
|
|
316
|
+
export declare function assignSkipUndefined(target: unknown, ...sources: unknown[]): unknown;
|
|
317
|
+
/**
|
|
318
|
+
* Merge many objects into one new object, skipping undefined objects or properties with `undefined` values.
|
|
319
|
+
* This function is recursive (but prevents circular references - fix issue sumaris-app#1929).
|
|
315
320
|
*
|
|
316
321
|
* @param target
|
|
317
322
|
* @param {...unknown[]} sources - The objects to be merged.
|
|
318
323
|
* @return {unknown} A new object that combines the properties of the provided objects, excluding `undefined` values.
|
|
319
324
|
*/
|
|
320
|
-
export declare function
|
|
325
|
+
export declare function deepMergeSkipUndefined(target: unknown, ...sources: unknown[]): unknown;
|
package/src/assets/manifest.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "ngx-sumaris-components",
|
|
3
3
|
"short_name": "ngx-sumaris-components",
|
|
4
4
|
"manifest_version": 1,
|
|
5
|
-
"version": "18.23.
|
|
5
|
+
"version": "18.23.70",
|
|
6
6
|
"default_locale": "fr",
|
|
7
7
|
"description": "Angular components for building beautiful and responsive Apps",
|
|
8
8
|
"icons": [{
|
|
@@ -228,7 +228,8 @@ mat-option:not(:last-of-type) {
|
|
|
228
228
|
--min-width: 450px;
|
|
229
229
|
}
|
|
230
230
|
|
|
231
|
-
&:has(.min-width-80vw)
|
|
231
|
+
&:has(.min-width-80vw),
|
|
232
|
+
&:has(.mat-select-panel-80vw-size) {
|
|
232
233
|
--min-width: 80vw;
|
|
233
234
|
}
|
|
234
235
|
|
|
@@ -279,12 +280,15 @@ mat-option:not(:last-of-type) {
|
|
|
279
280
|
--min-width: 450px;
|
|
280
281
|
}
|
|
281
282
|
|
|
282
|
-
&:has(.min-width-80vw)
|
|
283
|
+
&:has(.min-width-80vw),
|
|
284
|
+
&:has(.mat-mdc-autocomplete-panel-80vw-size){
|
|
283
285
|
--min-width: 80vw;
|
|
284
286
|
}
|
|
285
287
|
|
|
286
|
-
&:has(.
|
|
287
|
-
&:has(.full-
|
|
288
|
+
&:has(.full-size),
|
|
289
|
+
&:has(.full-width),
|
|
290
|
+
&:has(.mat-mdc-autocomplete-panel-full-size)
|
|
291
|
+
{
|
|
288
292
|
--margin-left: 32px;
|
|
289
293
|
--margin-right: 32px;
|
|
290
294
|
--min-width: calc(100vw - var(--margin-left) - var(--margin-right));
|