@esfaenza/parameters 16.2.28 → 17.3.17

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.
@@ -1,11 +1,11 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./es_parameters.component";
3
- import * as i2 from "@angular/common";
4
- import * as i3 from "@esfaenza/localizations";
5
- import * as i4 from "@angular/forms";
6
- import * as i5 from "@esfaenza/forms-and-validations";
7
- export declare class EsParametersModule {
8
- static ɵfac: i0.ɵɵFactoryDeclaration<EsParametersModule, never>;
9
- static ɵmod: i0.ɵɵNgModuleDeclaration<EsParametersModule, [typeof i1.EsParametersComponent], [typeof i2.CommonModule, typeof i3.LocalizationModule, typeof i4.FormsModule, typeof i5.FormsAndValidationsModule], [typeof i1.EsParametersComponent]>;
10
- static ɵinj: i0.ɵɵInjectorDeclaration<EsParametersModule>;
11
- }
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./es_parameters.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "@esfaenza/localizations";
5
+ import * as i4 from "@angular/forms";
6
+ import * as i5 from "@esfaenza/forms-and-validations";
7
+ export declare class EsParametersModule {
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<EsParametersModule, never>;
9
+ static ɵmod: i0.ɵɵNgModuleDeclaration<EsParametersModule, [typeof i1.EsParametersComponent], [typeof i2.CommonModule, typeof i3.LocalizationModule, typeof i4.FormsModule, typeof i5.FormsAndValidationsModule], [typeof i1.EsParametersComponent]>;
10
+ static ɵinj: i0.ɵɵInjectorDeclaration<EsParametersModule>;
11
+ }
@@ -1,59 +1,59 @@
1
- import { AppFile } from "@esfaenza/forms-and-validations";
2
- /**
3
- * Classe che rappresenta un parametro generico
4
- */
5
- export declare class GenericParameter {
6
- id: string;
7
- description: string;
8
- pattern: string;
9
- required: boolean;
10
- enumvalues: {
11
- id: string;
12
- description: string;
13
- }[];
14
- multienum?: boolean;
15
- sourceapi?: string;
16
- pageddata?: boolean;
17
- /**
18
- * Costruttore
19
- *
20
- * @param {string} id Codice del parametro
21
- * @param {string} description Descrizione del parametro
22
- * @param {string} pattern Pattern di validazione
23
- * @param {'date' | 'string' | 'number' | 'boolean' | 'enum'} type Tipo di input
24
- * @param {boolean} required Indica se il valore è obbligatorio o meno
25
- * @param {any} v_default Valore di default per questo Parametro
26
- * @param {{ id: string, description: string }[]} enumvalues Qualora il **type** fosse di tipo **enum**, qui devono esserci tutti i valori che può assumere
27
- * @param {boolean} multienum Qualora il **type** fosse di tipo **enum**, indica se è possibile selezionare più valori (multiselect)
28
- * @param {string} sourceapi Nei casi in cui il **type** è **enum** indica l'api da cui recuperare i valori da bindare alla select o alla multiselect
29
- * @param {boolean} pageddata Nei casi in cui il **type** è **enum** indica che l'api specificata eventualmetne da **sourceapi** è paginata
30
- */
31
- constructor(id: string, description: string, pattern: string, type: 'date' | 'string' | 'number' | 'boolean' | 'file' | 'enum', required: boolean, v_default?: any, enumvalues?: {
32
- id: string;
33
- description: string;
34
- }[], multienum?: boolean, sourceapi?: string, pageddata?: boolean);
35
- /** Tipo di dato rappresentato da questo parametro */
36
- type?: 'date' | 'string' | 'number' | 'boolean' | 'file' | 'enum';
37
- /** Typecode lato C# che rappresenta il tipo di dato */
38
- typecode: number;
39
- /** Indica se il campo specificato dev'essere di sola lettura o meno */
40
- isreadonly: boolean;
41
- /** Valore del parametro */
42
- value: any;
43
- /** File del parametro */
44
- file: AppFile;
45
- /** Indica se questo parametro dev'essere inserito o no. In caso contrario viene semplicemente nascosto */
46
- visible: boolean;
47
- /** Tipo Enum, valorizzato dal Backend */
48
- enumtype: string;
49
- /** Tipo Dizionario, valorizzato dal Backend */
50
- dicttype: string;
51
- /** Espressione di obbligatorietà */
52
- requiredexp?: string;
53
- /** Espressione di visibilità */
54
- visibleexp?: string;
55
- /** Ordinamento in base al quale verranno ordinati i parametri */
56
- order: number;
57
- /** Gruppo di appartenenza del parametro */
58
- group: string;
59
- }
1
+ import { AppFile } from "@esfaenza/forms-and-validations";
2
+ /**
3
+ * Classe che rappresenta un parametro generico
4
+ */
5
+ export declare class GenericParameter {
6
+ id: string;
7
+ description: string;
8
+ pattern: string;
9
+ required: boolean;
10
+ enumvalues: {
11
+ id: string;
12
+ description: string;
13
+ }[];
14
+ multienum?: boolean;
15
+ sourceapi?: string;
16
+ pageddata?: boolean;
17
+ /**
18
+ * Costruttore
19
+ *
20
+ * @param {string} id Codice del parametro
21
+ * @param {string} description Descrizione del parametro
22
+ * @param {string} pattern Pattern di validazione
23
+ * @param {'date' | 'string' | 'number' | 'boolean' | 'enum'} type Tipo di input
24
+ * @param {boolean} required Indica se il valore è obbligatorio o meno
25
+ * @param {any} v_default Valore di default per questo Parametro
26
+ * @param {{ id: string, description: string }[]} enumvalues Qualora il **type** fosse di tipo **enum**, qui devono esserci tutti i valori che può assumere
27
+ * @param {boolean} multienum Qualora il **type** fosse di tipo **enum**, indica se è possibile selezionare più valori (multiselect)
28
+ * @param {string} sourceapi Nei casi in cui il **type** è **enum** indica l'api da cui recuperare i valori da bindare alla select o alla multiselect
29
+ * @param {boolean} pageddata Nei casi in cui il **type** è **enum** indica che l'api specificata eventualmetne da **sourceapi** è paginata
30
+ */
31
+ constructor(id: string, description: string, pattern: string, type: 'date' | 'string' | 'number' | 'boolean' | 'file' | 'enum', required: boolean, v_default?: any, enumvalues?: {
32
+ id: string;
33
+ description: string;
34
+ }[], multienum?: boolean, sourceapi?: string, pageddata?: boolean);
35
+ /** Tipo di dato rappresentato da questo parametro */
36
+ type?: 'date' | 'string' | 'number' | 'boolean' | 'file' | 'enum';
37
+ /** Typecode lato C# che rappresenta il tipo di dato */
38
+ typecode: number;
39
+ /** Indica se il campo specificato dev'essere di sola lettura o meno */
40
+ isreadonly: boolean;
41
+ /** Valore del parametro */
42
+ value: any;
43
+ /** File del parametro */
44
+ file: AppFile;
45
+ /** Indica se questo parametro dev'essere inserito o no. In caso contrario viene semplicemente nascosto */
46
+ visible: boolean;
47
+ /** Tipo Enum, valorizzato dal Backend */
48
+ enumtype: string;
49
+ /** Tipo Dizionario, valorizzato dal Backend */
50
+ dicttype: string;
51
+ /** Espressione di obbligatorietà */
52
+ requiredexp?: string;
53
+ /** Espressione di visibilità */
54
+ visibleexp?: string;
55
+ /** Ordinamento in base al quale verranno ordinati i parametri */
56
+ order: number;
57
+ /** Gruppo di appartenenza del parametro */
58
+ group: string;
59
+ }
@@ -1,18 +1,18 @@
1
- import { GenericParameter } from "./GenericParameter";
2
- /**
3
- * Classe che rappresenta un gruppo di parametri generico
4
- */
5
- export declare class GenericParameterGroup {
6
- groupName: string;
7
- order: number;
8
- /**
9
- * Costruttore
10
- * @param {string} groupName Descrizione del gruppo che fa anche da id
11
- * @param {number} order ordine del gruppo
12
- */
13
- constructor(groupName: string, order: number);
14
- /** Lista di Generic Parameters */
15
- parameters: GenericParameter[];
16
- /** Eventuale lista di sottogruppi */
17
- subgroups: GenericParameterGroup[];
18
- }
1
+ import { GenericParameter } from "./GenericParameter";
2
+ /**
3
+ * Classe che rappresenta un gruppo di parametri generico
4
+ */
5
+ export declare class GenericParameterGroup {
6
+ groupName: string;
7
+ order: number;
8
+ /**
9
+ * Costruttore
10
+ * @param {string} groupName Descrizione del gruppo che fa anche da id
11
+ * @param {number} order ordine del gruppo
12
+ */
13
+ constructor(groupName: string, order: number);
14
+ /** Lista di Generic Parameters */
15
+ parameters: GenericParameter[];
16
+ /** Eventuale lista di sottogruppi */
17
+ subgroups: GenericParameterGroup[];
18
+ }
package/package.json CHANGED
@@ -1,24 +1,24 @@
1
1
  {
2
2
  "name": "@esfaenza/parameters",
3
- "version": "16.2.28",
3
+ "version": "17.3.17",
4
4
  "dependencies": {
5
5
  "tslib": "^2.0.0"
6
6
  },
7
7
  "peerDependencies": {
8
- "@angular/common": "^16.2.12",
9
- "@angular/core": "^16.2.12",
10
- "@angular/forms": "^16.2.12",
11
- "@angular/material": "16.2.14",
12
- "@esfaenza/access-control": "^16.2.29",
13
- "@esfaenza/extensions": "^16.2.29",
14
- "@esfaenza/localizations": "^16.2.29",
15
- "@esfaenza/material-dayjs-adapter": "^16.2.29",
16
- "@esfaenza/ngx-currency-mask": "^16.2.29",
17
- "@esfaenza/forms-and-validations": "^16.2.31",
8
+ "@angular/common": "^17.3.12",
9
+ "@angular/core": "^17.3.12",
10
+ "@angular/forms": "^17.3.12",
11
+ "@angular/material": "17.3.10",
12
+ "@esfaenza/access-control": "^17.3.17",
13
+ "@esfaenza/extensions": "^17.3.17",
14
+ "@esfaenza/localizations": "^17.3.17",
15
+ "@esfaenza/material-dayjs-adapter": "^17.3.17",
16
+ "@esfaenza/ngx-currency-mask": "^17.3.17",
17
+ "@esfaenza/forms-and-validations": "^17.3.17",
18
18
  "@angular-material-components/datetime-picker": "16.0.1",
19
- "angular2-multiselect-dropdown": "8.0.0",
20
- "ngx-toastr": "16.2.0",
21
- "ngx-bootstrap": "11.0.2",
19
+ "angular2-multiselect-dropdown": "9.0.0",
20
+ "ngx-toastr": "17.0.2",
21
+ "ngx-bootstrap": "12.0.0",
22
22
  "dayjs": "1.11.13",
23
23
  "sweetalert2": "11.17.2"
24
24
  },
package/public-api.d.ts CHANGED
@@ -1,3 +1,3 @@
1
- export * from './lib/es_parameters.module';
2
- export * from './lib/models/GenericParameter';
3
- export * from './lib/es_parameters.component';
1
+ export * from './lib/es_parameters.module';
2
+ export * from './lib/models/GenericParameter';
3
+ export * from './lib/es_parameters.component';