@sumaris-net/ngx-components 2.0.0-rc33 → 2.0.0-rc35

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.
Files changed (53) hide show
  1. package/esm2020/src/app/core/form/entity/entity-editor-modal.class.mjs +2 -2
  2. package/esm2020/src/app/core/form/entity/entity-metadata.component.mjs +1 -1
  3. package/esm2020/src/app/core/form/form.class.mjs +1 -1
  4. package/esm2020/src/app/core/form/properties/property.validator.mjs +1 -1
  5. package/esm2020/src/app/core/graphql/graphql.service.mjs +5 -4
  6. package/esm2020/src/app/core/home/home.module.mjs +1 -1
  7. package/esm2020/src/app/core/peer/select-peer.modal.mjs +1 -1
  8. package/esm2020/src/app/core/services/base-graphql-service.class.mjs +1 -1
  9. package/esm2020/src/app/core/services/network.service.mjs +2 -2
  10. package/esm2020/src/app/core/services/storage/entity-store.class.mjs +4 -4
  11. package/esm2020/src/app/core/table/table.class.mjs +6 -3
  12. package/esm2020/src/app/core/table/testing/table.testing.mjs +3 -3
  13. package/esm2020/src/app/shared/constants.mjs +4 -2
  14. package/esm2020/src/app/shared/dates.mjs +2 -1
  15. package/esm2020/src/app/shared/image/image.module.mjs +1 -1
  16. package/esm2020/src/app/shared/material/autocomplete/material.autocomplete.mjs +4 -3
  17. package/esm2020/src/app/shared/material/boolean/material.boolean.mjs +2 -2
  18. package/esm2020/src/app/shared/material/chips/material.chips.mjs +2 -2
  19. package/esm2020/src/app/shared/pipes/colors.pipe.mjs +1 -1
  20. package/esm2020/src/app/shared/pipes/pipes.module.mjs +10 -2
  21. package/esm2020/src/app/shared/pipes/string.pipes.mjs +28 -2
  22. package/esm2020/src/app/shared/toast/toasts.mjs +1 -1
  23. package/fesm2015/sumaris-net.ngx-components.mjs +60 -18
  24. package/fesm2015/sumaris-net.ngx-components.mjs.map +1 -1
  25. package/fesm2020/sumaris-net.ngx-components.mjs +60 -18
  26. package/fesm2020/sumaris-net.ngx-components.mjs.map +1 -1
  27. package/package.json +1 -1
  28. package/src/app/shared/constants.d.ts +1 -1
  29. package/src/app/shared/pipes/pipes.module.d.ts +1 -1
  30. package/src/app/shared/pipes/string.pipes.d.ts +10 -0
  31. package/src/theme/_ngx-components.scss +14 -1
  32. package/plugins/clovelced-plugin-audiomanagement/README.md +0 -66
  33. package/plugins/cordova-plugin-camera/README.md +0 -703
  34. package/plugins/cordova-plugin-device/README.md +0 -309
  35. package/plugins/cordova-plugin-file/README.md +0 -848
  36. package/plugins/cordova-plugin-file-transfer/README.md +0 -598
  37. package/plugins/cordova-plugin-file-transfer/doc/de/README.md +0 -311
  38. package/plugins/cordova-plugin-file-transfer/doc/es/README.md +0 -311
  39. package/plugins/cordova-plugin-file-transfer/doc/fr/README.md +0 -270
  40. package/plugins/cordova-plugin-file-transfer/doc/it/README.md +0 -311
  41. package/plugins/cordova-plugin-file-transfer/doc/ja/README.md +0 -311
  42. package/plugins/cordova-plugin-file-transfer/doc/ko/README.md +0 -311
  43. package/plugins/cordova-plugin-file-transfer/doc/pl/README.md +0 -311
  44. package/plugins/cordova-plugin-file-transfer/doc/zh/README.md +0 -311
  45. package/plugins/cordova-plugin-ionic-keyboard/README.md +0 -220
  46. package/plugins/cordova-plugin-ionic-webview/README.md +0 -181
  47. package/plugins/cordova-plugin-media-capture/README.md +0 -626
  48. package/plugins/cordova-plugin-splashscreen/README.md +0 -387
  49. package/plugins/cordova-plugin-statusbar/README.md +0 -341
  50. package/plugins/cordova-plugin-telerik-imagepicker/README.md +0 -155
  51. package/plugins/cordova-plugin-whitelist/README.md +0 -185
  52. package/plugins/cordova-sqlite-storage/README.md +0 -1848
  53. package/plugins/integrator-cordova-plugin-downloader/README.md +0 -49
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sumaris-net/ngx-components",
3
3
  "description": "SUMARiS Angular components",
4
- "version": "2.0.0-rc33",
4
+ "version": "2.0.0-rc35",
5
5
  "author": "contact@e-is.pro",
6
6
  "license": "AGPL-3.0",
7
7
  "readmeFilename": "README.md",
@@ -3,5 +3,5 @@ export declare const DATE_PATTERN = "YYYY-MM-DD";
3
3
  export declare const DEFAULT_PLACEHOLDER_CHAR = "_";
4
4
  export declare const PUBKEY_REGEXP: RegExp;
5
5
  export declare const SPACE_PLACEHOLDER_CHAR = "\u2000";
6
- export declare const ZERO_PLACEHOLDER_CHAR = "\uA9F0";
6
+ export declare const ZERO_PLACEHOLDER_CHAR = "\uFEFF";
7
7
  export declare const KEYBOARD_HIDE_DELAY_MS = 250;
@@ -21,6 +21,6 @@ import * as i19 from "@ionic/angular";
21
21
  import * as i20 from "@ngx-translate/core";
22
22
  export declare class SharedPipesModule {
23
23
  static ɵfac: i0.ɵɵFactoryDeclaration<SharedPipesModule, never>;
24
- static ɵmod: i0.ɵɵNgModuleDeclaration<SharedPipesModule, [typeof i1.PropertyGetPipe, typeof i1.PropertyFormatPipe, typeof i2.DateFormatPipe, typeof i3.DateDiffDurationPipe, typeof i4.DurationPipe, typeof i5.DateFromNowPipe, typeof i6.LatLongFormatPipe, typeof i6.LatitudeFormatPipe, typeof i6.LongitudeFormatPipe, typeof i7.HighlightPipe, typeof i8.NumberFormatPipe, typeof i9.FileSizePipe, typeof i10.MathAbsPipe, typeof i10.OddPipe, typeof i10.EvenPipe, typeof i11.NotEmptyArrayPipe, typeof i11.EmptyArrayPipe, typeof i11.ArrayLengthPipe, typeof i11.ArrayFirstPipe, typeof i11.ArrayPluckPipe, typeof i11.ArrayIncludesPipe, typeof i11.ArrayFilterPipe, typeof i11.ArrayJoinPipe, typeof i12.MapGetPipe, typeof i12.MapKeysPipe, typeof i12.MapValuesPipe, typeof i13.IsNilOrBlankPipe, typeof i13.IsNotNilOrBlankPipe, typeof i13.ToStringPipe, typeof i13.StrLengthPipe, typeof i13.StrIncludesPipe, typeof i14.TranslateContextPipe, typeof i14.TranslatablePipe, typeof i15.NgInitDirective, typeof i16.FormErrorTranslatePipe, typeof i16.FormGetPipe, typeof i16.FormGetControlPipe, typeof i16.FormGetArrayPipe, typeof i16.FormGetGroupPipe, typeof i16.FormGetValuePipe, typeof i1.PropertyFormatPipe, typeof i17.MatColorPipe], [typeof i18.CommonModule, typeof i19.IonicModule, typeof i20.TranslateModule], [typeof i1.PropertyGetPipe, typeof i1.PropertyFormatPipe, typeof i2.DateFormatPipe, typeof i5.DateFromNowPipe, typeof i3.DateDiffDurationPipe, typeof i4.DurationPipe, typeof i6.LatLongFormatPipe, typeof i6.LatitudeFormatPipe, typeof i6.LongitudeFormatPipe, typeof i7.HighlightPipe, typeof i8.NumberFormatPipe, typeof i9.FileSizePipe, typeof i10.MathAbsPipe, typeof i10.OddPipe, typeof i10.EvenPipe, typeof i11.NotEmptyArrayPipe, typeof i11.EmptyArrayPipe, typeof i11.ArrayLengthPipe, typeof i11.ArrayFirstPipe, typeof i11.ArrayPluckPipe, typeof i11.ArrayJoinPipe, typeof i12.MapGetPipe, typeof i12.MapKeysPipe, typeof i12.MapValuesPipe, typeof i13.IsNilOrBlankPipe, typeof i13.IsNotNilOrBlankPipe, typeof i13.ToStringPipe, typeof i13.StrLengthPipe, typeof i13.StrIncludesPipe, typeof i11.ArrayIncludesPipe, typeof i11.ArrayFilterPipe, typeof i14.TranslateContextPipe, typeof i14.TranslatablePipe, typeof i15.NgInitDirective, typeof i16.FormErrorTranslatePipe, typeof i16.FormGetPipe, typeof i16.FormGetControlPipe, typeof i16.FormGetArrayPipe, typeof i16.FormGetGroupPipe, typeof i16.FormGetValuePipe, typeof i17.MatColorPipe]>;
24
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SharedPipesModule, [typeof i1.PropertyGetPipe, typeof i1.PropertyFormatPipe, typeof i2.DateFormatPipe, typeof i3.DateDiffDurationPipe, typeof i4.DurationPipe, typeof i5.DateFromNowPipe, typeof i6.LatLongFormatPipe, typeof i6.LatitudeFormatPipe, typeof i6.LongitudeFormatPipe, typeof i7.HighlightPipe, typeof i8.NumberFormatPipe, typeof i9.FileSizePipe, typeof i10.MathAbsPipe, typeof i10.OddPipe, typeof i10.EvenPipe, typeof i11.NotEmptyArrayPipe, typeof i11.EmptyArrayPipe, typeof i11.ArrayLengthPipe, typeof i11.ArrayFirstPipe, typeof i11.ArrayPluckPipe, typeof i11.ArrayIncludesPipe, typeof i11.ArrayFilterPipe, typeof i11.ArrayJoinPipe, typeof i12.MapGetPipe, typeof i12.MapKeysPipe, typeof i12.MapValuesPipe, typeof i13.IsNilOrBlankPipe, typeof i13.IsNotNilOrBlankPipe, typeof i13.IsNotNilOrNaNPipe, typeof i13.IsNotNilPipe, typeof i13.ToStringPipe, typeof i13.StrLengthPipe, typeof i13.StrIncludesPipe, typeof i14.TranslateContextPipe, typeof i14.TranslatablePipe, typeof i15.NgInitDirective, typeof i16.FormErrorTranslatePipe, typeof i16.FormGetPipe, typeof i16.FormGetControlPipe, typeof i16.FormGetArrayPipe, typeof i16.FormGetGroupPipe, typeof i16.FormGetValuePipe, typeof i1.PropertyFormatPipe, typeof i17.MatColorPipe], [typeof i18.CommonModule, typeof i19.IonicModule, typeof i20.TranslateModule], [typeof i1.PropertyGetPipe, typeof i1.PropertyFormatPipe, typeof i2.DateFormatPipe, typeof i5.DateFromNowPipe, typeof i3.DateDiffDurationPipe, typeof i4.DurationPipe, typeof i6.LatLongFormatPipe, typeof i6.LatitudeFormatPipe, typeof i6.LongitudeFormatPipe, typeof i7.HighlightPipe, typeof i8.NumberFormatPipe, typeof i9.FileSizePipe, typeof i10.MathAbsPipe, typeof i10.OddPipe, typeof i10.EvenPipe, typeof i11.NotEmptyArrayPipe, typeof i11.EmptyArrayPipe, typeof i11.ArrayLengthPipe, typeof i11.ArrayFirstPipe, typeof i11.ArrayPluckPipe, typeof i11.ArrayJoinPipe, typeof i12.MapGetPipe, typeof i12.MapKeysPipe, typeof i12.MapValuesPipe, typeof i13.IsNilOrBlankPipe, typeof i13.IsNotNilOrBlankPipe, typeof i13.IsNotNilOrNaNPipe, typeof i13.IsNotNilPipe, typeof i13.ToStringPipe, typeof i13.StrLengthPipe, typeof i13.StrIncludesPipe, typeof i11.ArrayIncludesPipe, typeof i11.ArrayFilterPipe, typeof i14.TranslateContextPipe, typeof i14.TranslatablePipe, typeof i15.NgInitDirective, typeof i16.FormErrorTranslatePipe, typeof i16.FormGetPipe, typeof i16.FormGetControlPipe, typeof i16.FormGetArrayPipe, typeof i16.FormGetGroupPipe, typeof i16.FormGetValuePipe, typeof i17.MatColorPipe]>;
25
25
  static ɵinj: i0.ɵɵInjectorDeclaration<SharedPipesModule>;
26
26
  }
@@ -10,6 +10,16 @@ export declare class IsNilOrBlankPipe implements PipeTransform {
10
10
  static ɵfac: i0.ɵɵFactoryDeclaration<IsNilOrBlankPipe, never>;
11
11
  static ɵpipe: i0.ɵɵPipeDeclaration<IsNilOrBlankPipe, "isNilOrBlank", false>;
12
12
  }
13
+ export declare class IsNotNilOrNaNPipe implements PipeTransform {
14
+ transform(value: number): boolean;
15
+ static ɵfac: i0.ɵɵFactoryDeclaration<IsNotNilOrNaNPipe, never>;
16
+ static ɵpipe: i0.ɵɵPipeDeclaration<IsNotNilOrNaNPipe, "isNotNilOrNaN", false>;
17
+ }
18
+ export declare class IsNotNilPipe implements PipeTransform {
19
+ transform(value: any): boolean;
20
+ static ɵfac: i0.ɵɵFactoryDeclaration<IsNotNilPipe, never>;
21
+ static ɵpipe: i0.ɵɵPipeDeclaration<IsNotNilPipe, "isNotNil", false>;
22
+ }
13
23
  export declare class ToStringPipe implements PipeTransform {
14
24
  transform(value: number): string;
15
25
  static ɵfac: i0.ɵɵFactoryDeclaration<ToStringPipe, never>;
@@ -260,15 +260,23 @@ mat-date-time-field {
260
260
  }
261
261
 
262
262
  // --- mat-autocomplete and mat-select panel
263
+ // When simple text option, add a padding
263
264
  mat-option {
264
265
  .mat-option-text:not(:has(ion-row)) {
265
266
  padding: 0 16px;
266
267
  }
267
-
268
+ .mat-option-text:has(ion-searchbar) {
269
+ padding: 0 !important;
270
+ }
268
271
  ion-row,
269
272
  .mat-option-text:has(ion-row) {
270
273
  padding: 0;
271
274
  }
275
+ mat-autocomplete-footer {
276
+ .mat-option-text {
277
+ padding: 0 !important;
278
+ }
279
+ }
272
280
  }
273
281
 
274
282
  mat-option:not(:last-of-type) {
@@ -305,6 +313,11 @@ mat-option:not(:last-of-type) {
305
313
  .mat-autocomplete-panel-xlarge-size.mat-autocomplete-panel {
306
314
  --min-width: 450px;
307
315
  }
316
+ .mat-select-panel.min-width-80vw,
317
+ .min-width-80vw .mat-autocomplete-panel,
318
+ .min-width-80vw.mat-autocomplete-panel {
319
+ --min-width: 80vw;
320
+ }
308
321
 
309
322
  .mat-autocomplete-panel-center .mat-autocomplete-panel,
310
323
  .mat-autocomplete-panel-center.mat-autocomplete-panel {
@@ -1,66 +0,0 @@
1
- # cordova-plugin-audiomanagement
2
- A plugin to manage audio mode and volume
3
-
4
- ## Installation
5
- `cordova plugin add clovelced-plugin-audiomanagement`
6
-
7
- ## Supported Platforms
8
-
9
- - Android
10
-
11
- ## AUDIO MODE
12
- - Define the audio mode
13
- ```javascript
14
- AudioManagement.setAudioMode(audioMode, onSuccess, onError);
15
-
16
- // Example
17
- AudioManagement.setAudioMode(AudioManagement.AudioMode.NORMAL, function(){}, function(){});
18
- ```
19
-
20
- - Get the current audio mode
21
- ```javascript
22
- AudioManagement.getAudioMode(onSuccess, onError);
23
-
24
- AudioManagement.getAudioMode(function(result){
25
- console.log('Mode' + result.audioMode); // will show '2'
26
- console.log('Label' + result.label); // will show 'Normal'
27
- }, onError);
28
- ```
29
-
30
- ### The audio mode
31
- - `AudioManagement.AudioMode.SILENT` = 0
32
- - `AudioManagement.AudioMode.VIBRATE` = 1
33
- - `AudioManagement.AudioMode.NORMAL` = 2
34
-
35
- ## VOLUME
36
- - Set the volume
37
- ```javascript
38
- AudioManagement.setVolume(type, volume, onSuccess, onError);
39
-
40
- // Example
41
- AudioManagement.setVolume(AudioManagement.VolumeType.RING, 10, function(){}, function(){});
42
- ```
43
-
44
- - Get the volume of a stream
45
- ```javascript
46
- AudioManagement.getVolume(type, onSuccess, onError);
47
-
48
- AudioManagement.getVolume(AudioManagement.VolumeType.RING, function(result){
49
- console.log('Volume' + result.volume); // will show '12'
50
- }, onError);
51
- ```
52
-
53
- - Get the max volume of a stream
54
- ```javascript
55
- AudioManagement.getMaxVolume(type, onSuccess, onError);
56
-
57
- AudioManagement.getMaxVolume(AudioManagement.VolumeType.RING, function(result){
58
- console.log('Max volume' + result.maxVolume); // will show '15'
59
- }, onError);
60
- ```
61
-
62
- ### The volume type
63
- - `AudioManagement.VolumeType.RING` = 0
64
- - `AudioManagement.VolumeType.MUSIC` = 1
65
- - `AudioManagement.VolumeType.NOTIFICATION` = 2
66
- - `AudioManagement.VolumeType.SYSTEM` = 3