@sumaris-net/ngx-components 2.4.115 → 2.4.117
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/esm2020/public_api.mjs +5 -1
- package/esm2020/src/app/core/form/form.utils.mjs +1 -1
- package/esm2020/src/app/shared/forms.mjs +37 -23
- package/esm2020/src/app/shared/material/datetime/material.dateshort.mjs +2 -2
- package/esm2020/src/app/shared/material/datetime/material.datetime.mjs +1 -1
- package/esm2020/src/app/shared/shared.testing.module.mjs +8 -8
- package/esm2020/src/app/shared/storage/storage-explorer.component.mjs +1 -1
- package/esm2020/src/app/shared/storage/storage-explorer.module.mjs +5 -18
- package/esm2020/src/app/shared/storage/storage-explorer.testing-routing.module.mjs +35 -0
- package/esm2020/src/app/shared/storage/storage-explorer.testing.module.mjs +33 -0
- package/esm2020/src/app/shared/storage/storage.utils.mjs +1 -1
- package/fesm2015/sumaris-net.ngx-components.mjs +132 -70
- package/fesm2015/sumaris-net.ngx-components.mjs.map +1 -1
- package/fesm2020/sumaris-net.ngx-components.mjs +132 -70
- package/fesm2020/sumaris-net.ngx-components.mjs.map +1 -1
- package/package.json +2 -5
- package/public_api.d.ts +4 -0
- package/src/app/core/form/form.utils.d.ts +1 -1
- package/src/app/shared/forms.d.ts +2 -1
- package/src/app/shared/material/datetime/material.dateshort.d.ts +1 -1
- package/src/app/shared/shared.testing.module.d.ts +2 -2
- package/src/app/shared/storage/storage-explorer.module.d.ts +5 -8
- package/src/app/shared/storage/storage-explorer.testing-routing.module.d.ts +9 -0
- package/src/app/shared/storage/storage-explorer.testing.module.d.ts +10 -0
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.4.
|
|
4
|
+
"version": "2.4.117",
|
|
5
5
|
"author": "contact@e-is.pro",
|
|
6
6
|
"license": "AGPL-3.0",
|
|
7
7
|
"readmeFilename": "README.md",
|
|
@@ -10,9 +10,6 @@
|
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"@noble/ed25519": "^1.7.3",
|
|
13
|
-
"@rx-angular/cdk": "^14.0.0",
|
|
14
|
-
"@rx-angular/state": "^14.0.0",
|
|
15
|
-
"@rx-angular/template": "^14.0.0",
|
|
16
13
|
"clone": "~2.1.2",
|
|
17
14
|
"tslib": "~2.6.2",
|
|
18
15
|
"@polkadot/util": "~12.5.1",
|
|
@@ -22,7 +19,7 @@
|
|
|
22
19
|
"@angular-devkit/build-angular": "~14.2.13",
|
|
23
20
|
"@angular/compiler-cli": "~14.3.0",
|
|
24
21
|
"@apollo/client": "~3.8.5",
|
|
25
|
-
"@ionic/storage": "~
|
|
22
|
+
"@ionic/storage": "~4.0.0",
|
|
26
23
|
"d3": "~7.6.1",
|
|
27
24
|
"localforage": "~1.10.0",
|
|
28
25
|
"rxjs": "^7.5.7"
|
package/public_api.d.ts
CHANGED
|
@@ -95,6 +95,8 @@ export * from './src/app/shared/services/translate-context.service';
|
|
|
95
95
|
export * from './src/app/shared/services/job.utils';
|
|
96
96
|
export * from './src/app/shared/storage/storage.service';
|
|
97
97
|
export * from './src/app/shared/storage/storage.utils';
|
|
98
|
+
export * from './src/app/shared/storage/storage-explorer.component';
|
|
99
|
+
export * from './src/app/shared/storage/storage-explorer.module';
|
|
98
100
|
export * from './src/app/shared/validator/form-error-adapter.class';
|
|
99
101
|
export * from './src/app/shared/debug/debug-service.class';
|
|
100
102
|
export * from './src/app/shared/types';
|
|
@@ -255,6 +257,8 @@ export * from './src/app/shared/toast/toast.testing.module';
|
|
|
255
257
|
export * from './src/app/shared/image/gallery/testing/gallery.service.testing';
|
|
256
258
|
export * from './src/app/shared/image/gallery/testing/gallery.testing';
|
|
257
259
|
export * from './src/app/shared/image/gallery/testing/gallery.testing.module';
|
|
260
|
+
export * from './src/app/shared/storage/storage-explorer.testing.module';
|
|
261
|
+
export * from './src/app/shared/storage/storage-explorer.testing-routing.module';
|
|
258
262
|
export * from './src/app/shared/audio/audio.testing';
|
|
259
263
|
export * from './src/app/shared/audio/audio.testing.module';
|
|
260
264
|
export * from './src/app/core/menu/testing/menu.testing';
|
|
@@ -243,7 +243,7 @@ export declare interface AppFormArrayOptions extends AbstractControlOptions {
|
|
|
243
243
|
allowReuseControls?: boolean;
|
|
244
244
|
}
|
|
245
245
|
export declare class AppFormArray<T extends Entity<T>, C extends AbstractControl> extends UntypedFormArray {
|
|
246
|
-
|
|
246
|
+
createControl: (value?: T) => C;
|
|
247
247
|
private equals;
|
|
248
248
|
private isEmpty;
|
|
249
249
|
private options?;
|
|
@@ -43,7 +43,8 @@ export declare function addValueInArray(arrayControl: UntypedFormArray, createCo
|
|
|
43
43
|
* Set an array using given default values. Each default value will be pass to the 'createControl()' function
|
|
44
44
|
* @param arrayControl
|
|
45
45
|
* @param createControl
|
|
46
|
-
* @param
|
|
46
|
+
* @param defaultValues
|
|
47
|
+
* @param options
|
|
47
48
|
*/
|
|
48
49
|
export declare function initArrayControlsFromValues(arrayControl: UntypedFormArray, createControl: (value?: any) => AbstractControl, defaultValues: any[], options?: {
|
|
49
50
|
emitEvent?: boolean;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ChangeDetectorRef, ElementRef, OnInit } from '@angular/core';
|
|
2
2
|
import { ControlValueAccessor, FormGroupDirective, UntypedFormBuilder, UntypedFormControl } from '@angular/forms';
|
|
3
3
|
import { TranslateService } from '@ngx-translate/core';
|
|
4
|
-
import { Moment } from 'moment
|
|
4
|
+
import { Moment } from 'moment';
|
|
5
5
|
import { InputElement } from '../../inputs';
|
|
6
6
|
import { FloatLabelType, MatFormFieldAppearance } from '@angular/material/form-field';
|
|
7
7
|
import { DateFilterFn, MatDatepicker, MatDatepickerInputEvent } from '@angular/material/datepicker';
|
|
@@ -8,11 +8,11 @@ import * as i5 from "./toast/toast.testing.module";
|
|
|
8
8
|
import * as i6 from "./upload-file/testing/upload-file.testing.module";
|
|
9
9
|
import * as i7 from "./image/gallery/testing/gallery.testing.module";
|
|
10
10
|
import * as i8 from "./audio/audio.testing.module";
|
|
11
|
-
import * as i9 from "./storage/storage-explorer.module";
|
|
11
|
+
import * as i9 from "./storage/storage-explorer.testing.module";
|
|
12
12
|
import * as i10 from "../core/menu/testing/menu.testing.module";
|
|
13
13
|
export declare const SHARED_TESTING_PAGES: TestingPage[];
|
|
14
14
|
export declare class SharedTestingModule {
|
|
15
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<SharedTestingModule, never>;
|
|
16
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<SharedTestingModule, never, [typeof i1.CommonModule, typeof i2.IonicModule, typeof i3.TranslateModule, typeof i4.MaterialTestingModule, typeof i5.ToastTestingModule, typeof i6.UploadFileTestingModule, typeof i7.ImageGalleryTestingModule, typeof i8.AudioTestingModule, typeof i9.
|
|
16
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SharedTestingModule, never, [typeof i1.CommonModule, typeof i2.IonicModule, typeof i3.TranslateModule, typeof i4.MaterialTestingModule, typeof i5.ToastTestingModule, typeof i6.UploadFileTestingModule, typeof i7.ImageGalleryTestingModule, typeof i8.AudioTestingModule, typeof i9.StorageExplorerTestingModule, typeof i10.MenuTestingModule], [typeof i4.MaterialTestingModule, typeof i5.ToastTestingModule, typeof i6.UploadFileTestingModule, typeof i7.ImageGalleryTestingModule, typeof i8.AudioTestingModule, typeof i9.StorageExplorerTestingModule, typeof i10.MenuTestingModule]>;
|
|
17
17
|
static ɵinj: i0.ɵɵInjectorDeclaration<SharedTestingModule>;
|
|
18
18
|
}
|
|
@@ -1,16 +1,13 @@
|
|
|
1
|
-
import { TestingPage } from '../testing/tests.page';
|
|
2
1
|
import * as i0 from "@angular/core";
|
|
3
2
|
import * as i1 from "./storage-explorer.component";
|
|
4
3
|
import * as i2 from "@ionic/angular";
|
|
5
4
|
import * as i3 from "@angular/common";
|
|
6
|
-
import * as i4 from "@
|
|
7
|
-
import * as i5 from "@
|
|
8
|
-
import * as i6 from "
|
|
9
|
-
import * as i7 from "../
|
|
10
|
-
import * as i8 from "../material/material.module";
|
|
11
|
-
export declare const SHARED_STORAGE_TESTING_PAGES: TestingPage[];
|
|
5
|
+
import * as i4 from "@rx-angular/template/for";
|
|
6
|
+
import * as i5 from "@ngx-translate/core";
|
|
7
|
+
import * as i6 from "../pipes/pipes.module";
|
|
8
|
+
import * as i7 from "../material/material.module";
|
|
12
9
|
export declare class StorageExplorerModule {
|
|
13
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<StorageExplorerModule, never>;
|
|
14
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<StorageExplorerModule, [typeof i1.StorageExplorerComponent], [typeof i2.IonicModule, typeof i3.CommonModule, typeof i4.
|
|
11
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<StorageExplorerModule, [typeof i1.StorageExplorerComponent], [typeof i2.IonicModule, typeof i3.CommonModule, typeof i4.ForModule, typeof i5.TranslateModule, typeof i6.SharedPipesModule, typeof i7.SharedMaterialModule], [typeof i1.StorageExplorerComponent]>;
|
|
15
12
|
static ɵinj: i0.ɵɵInjectorDeclaration<StorageExplorerModule>;
|
|
16
13
|
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "@angular/common";
|
|
3
|
+
import * as i2 from "@angular/router";
|
|
4
|
+
import * as i3 from "./storage-explorer.module";
|
|
5
|
+
export declare class StorageExplorerTestingRoutingModule {
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<StorageExplorerTestingRoutingModule, never>;
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<StorageExplorerTestingRoutingModule, never, [typeof i1.CommonModule, typeof i2.RouterModule, typeof i3.StorageExplorerModule], [typeof i2.RouterModule]>;
|
|
8
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<StorageExplorerTestingRoutingModule>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { TestingPage } from '../testing/tests.page';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "@angular/common";
|
|
4
|
+
import * as i2 from "@angular/router";
|
|
5
|
+
export declare const SHARED_STORAGE_TESTING_PAGES: TestingPage[];
|
|
6
|
+
export declare class StorageExplorerTestingModule {
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<StorageExplorerTestingModule, never>;
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<StorageExplorerTestingModule, never, [typeof i1.CommonModule, typeof i2.RouterModule], [typeof i2.RouterModule]>;
|
|
9
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<StorageExplorerTestingModule>;
|
|
10
|
+
}
|