sf-crud 12.3.2 → 13.0.0
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/fesm2022/sf-crud.mjs +3252 -0
- package/fesm2022/sf-crud.mjs.map +1 -0
- package/{sf-crud.d.ts → index.d.ts} +5 -5
- package/lib/components/control/control.component.d.ts +67 -66
- package/lib/components/file-upload/file-upload.component.d.ts +34 -34
- package/lib/components/form/form.component.d.ts +63 -63
- package/lib/components/registro/registro.component.d.ts +109 -109
- package/lib/components/step/step.component.d.ts +27 -27
- package/lib/components/tablero/tablero.component.d.ts +53 -52
- package/lib/directives/format-address.pipe.d.ts +7 -7
- package/lib/sf-crud.component.d.ts +8 -8
- package/lib/sf-crud.module.d.ts +94 -90
- package/lib/sf-crud.routing.module.d.ts +7 -7
- package/lib/sf-crud.service.d.ts +135 -135
- package/lib/shared/models/Conditions.model.d.ts +32 -32
- package/lib/shared/models/Empresa.model.d.ts +11 -11
- package/lib/shared/models/Reason.model.d.ts +5 -5
- package/lib/shared/models/crud-config.model.d.ts +109 -110
- package/lib/shared/models/shema.model.d.ts +37 -37
- package/lib/shared/services/general.service.d.ts +20 -20
- package/lib/shared/services/notification.service.d.ts +26 -27
- package/lib/shared/services/step.service.d.ts +27 -27
- package/package.json +20 -15
- package/public-api.d.ts +12 -12
- package/bundles/sf-crud.umd.js +0 -3786
- package/bundles/sf-crud.umd.js.map +0 -1
- package/esm2015/lib/components/control/control.component.js +0 -394
- package/esm2015/lib/components/file-upload/file-upload.component.js +0 -143
- package/esm2015/lib/components/form/form.component.js +0 -289
- package/esm2015/lib/components/registro/registro.component.js +0 -757
- package/esm2015/lib/components/step/step.component.js +0 -79
- package/esm2015/lib/components/tablero/tablero.component.js +0 -220
- package/esm2015/lib/directives/format-address.pipe.js +0 -22
- package/esm2015/lib/sf-crud.component.js +0 -26
- package/esm2015/lib/sf-crud.module.js +0 -359
- package/esm2015/lib/sf-crud.routing.module.js +0 -23
- package/esm2015/lib/sf-crud.service.js +0 -531
- package/esm2015/lib/shared/models/Conditions.model.js +0 -81
- package/esm2015/lib/shared/models/Empresa.model.js +0 -2
- package/esm2015/lib/shared/models/Reason.model.js +0 -7
- package/esm2015/lib/shared/models/crud-config.model.js +0 -76
- package/esm2015/lib/shared/models/shema.model.js +0 -11
- package/esm2015/lib/shared/services/general.service.js +0 -74
- package/esm2015/lib/shared/services/notification.service.js +0 -83
- package/esm2015/lib/shared/services/step.service.js +0 -63
- package/esm2015/public-api.js +0 -16
- package/esm2015/sf-crud.js +0 -5
- package/fesm2015/sf-crud.js +0 -3134
- package/fesm2015/sf-crud.js.map +0 -1
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
export declare abstract class Condition {
|
|
2
|
-
type: "equal" | "different" | "or" | "and";
|
|
3
|
-
attrs: any;
|
|
4
|
-
indexData: number | undefined;
|
|
5
|
-
constructor(type: "equal" | "different" | "or" | "and", attrs: any, indexData: number | undefined);
|
|
6
|
-
static instanceContidion(index: number, allConditions: Condition[]): Condition;
|
|
7
|
-
abstract isValid(data: any): boolean;
|
|
8
|
-
}
|
|
9
|
-
export declare class ConditionEqual extends Condition {
|
|
10
|
-
field: string;
|
|
11
|
-
value: any;
|
|
12
|
-
grado: number;
|
|
13
|
-
constructor(field: string, value: any, grado: number, indexData: number | undefined);
|
|
14
|
-
isValid(data: any): boolean;
|
|
15
|
-
}
|
|
16
|
-
export declare class ConditionDifferent extends Condition {
|
|
17
|
-
field: string;
|
|
18
|
-
value: any;
|
|
19
|
-
grado: number;
|
|
20
|
-
constructor(field: string, value: any, grado: number, indexData: number | undefined);
|
|
21
|
-
isValid(data: any): boolean;
|
|
22
|
-
}
|
|
23
|
-
export declare class ConditionOr extends Condition {
|
|
24
|
-
conditions: Condition[];
|
|
25
|
-
constructor(conditions: Condition[], indexData: number | undefined);
|
|
26
|
-
isValid(data: any): boolean;
|
|
27
|
-
}
|
|
28
|
-
export declare class ConditionAnd extends Condition {
|
|
29
|
-
conditions: Condition[];
|
|
30
|
-
constructor(conditions: Condition[], indexData: number | undefined);
|
|
31
|
-
isValid(data: any): boolean;
|
|
32
|
-
}
|
|
1
|
+
export declare abstract class Condition {
|
|
2
|
+
type: "equal" | "different" | "or" | "and";
|
|
3
|
+
attrs: any;
|
|
4
|
+
indexData: number | undefined;
|
|
5
|
+
constructor(type: "equal" | "different" | "or" | "and", attrs: any, indexData: number | undefined);
|
|
6
|
+
static instanceContidion(index: number, allConditions: Condition[]): Condition;
|
|
7
|
+
abstract isValid(data: any): boolean;
|
|
8
|
+
}
|
|
9
|
+
export declare class ConditionEqual extends Condition {
|
|
10
|
+
field: string;
|
|
11
|
+
value: any;
|
|
12
|
+
grado: number;
|
|
13
|
+
constructor(field: string, value: any, grado: number, indexData: number | undefined);
|
|
14
|
+
isValid(data: any): boolean;
|
|
15
|
+
}
|
|
16
|
+
export declare class ConditionDifferent extends Condition {
|
|
17
|
+
field: string;
|
|
18
|
+
value: any;
|
|
19
|
+
grado: number;
|
|
20
|
+
constructor(field: string, value: any, grado: number, indexData: number | undefined);
|
|
21
|
+
isValid(data: any): boolean;
|
|
22
|
+
}
|
|
23
|
+
export declare class ConditionOr extends Condition {
|
|
24
|
+
conditions: Condition[];
|
|
25
|
+
constructor(conditions: Condition[], indexData: number | undefined);
|
|
26
|
+
isValid(data: any): boolean;
|
|
27
|
+
}
|
|
28
|
+
export declare class ConditionAnd extends Condition {
|
|
29
|
+
conditions: Condition[];
|
|
30
|
+
constructor(conditions: Condition[], indexData: number | undefined);
|
|
31
|
+
isValid(data: any): boolean;
|
|
32
|
+
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export interface Empresa {
|
|
2
|
-
colors: {
|
|
3
|
-
main: string;
|
|
4
|
-
secondary: string;
|
|
5
|
-
button: string;
|
|
6
|
-
} | undefined;
|
|
7
|
-
icons: {
|
|
8
|
-
banner: string;
|
|
9
|
-
carga: string;
|
|
10
|
-
} | undefined;
|
|
11
|
-
}
|
|
1
|
+
export interface Empresa {
|
|
2
|
+
colors: {
|
|
3
|
+
main: string;
|
|
4
|
+
secondary: string;
|
|
5
|
+
button: string;
|
|
6
|
+
} | undefined;
|
|
7
|
+
icons: {
|
|
8
|
+
banner: string;
|
|
9
|
+
carga: string;
|
|
10
|
+
} | undefined;
|
|
11
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export declare class Reason {
|
|
2
|
-
type: "ADO";
|
|
3
|
-
params: any;
|
|
4
|
-
constructor(type: "ADO", params: any);
|
|
5
|
-
}
|
|
1
|
+
export declare class Reason {
|
|
2
|
+
type: "ADO";
|
|
3
|
+
params: any;
|
|
4
|
+
constructor(type: "ADO", params: any);
|
|
5
|
+
}
|
|
@@ -1,110 +1,109 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
value: any;
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
value: any;
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
parse: string | undefined;
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
}
|
|
110
|
-
export {};
|
|
1
|
+
import { Shema } from "./shema.model";
|
|
2
|
+
import { Condition } from "./Conditions.model";
|
|
3
|
+
export declare class CrudConfig {
|
|
4
|
+
idEntidad: string;
|
|
5
|
+
uiEsquemas: any[];
|
|
6
|
+
esquemas: Shema[];
|
|
7
|
+
registros: ConfigRegistro[];
|
|
8
|
+
tablero: ConfigTablero | undefined;
|
|
9
|
+
}
|
|
10
|
+
export declare class ConfigTablero {
|
|
11
|
+
columns: any[];
|
|
12
|
+
endpoint: string;
|
|
13
|
+
method: string;
|
|
14
|
+
server: string;
|
|
15
|
+
filters: string[];
|
|
16
|
+
keys: {
|
|
17
|
+
key: string;
|
|
18
|
+
scope?: string;
|
|
19
|
+
}[];
|
|
20
|
+
}
|
|
21
|
+
export declare class ConfigRegistro {
|
|
22
|
+
operations: Operation[];
|
|
23
|
+
btnBack: string;
|
|
24
|
+
label?: string;
|
|
25
|
+
canBack: boolean;
|
|
26
|
+
constructionId?: ConstructionId;
|
|
27
|
+
keys?: Key[];
|
|
28
|
+
conditions?: Condition[];
|
|
29
|
+
}
|
|
30
|
+
export declare class Operation {
|
|
31
|
+
type: "update" | "create" | "read" | "ado";
|
|
32
|
+
server?: string;
|
|
33
|
+
endpoint?: string;
|
|
34
|
+
method: string;
|
|
35
|
+
validations?: Validations;
|
|
36
|
+
url?: string;
|
|
37
|
+
changeTrx: {
|
|
38
|
+
index: number;
|
|
39
|
+
trx: string;
|
|
40
|
+
}[];
|
|
41
|
+
errorChecking?: RequestChecking;
|
|
42
|
+
answerChecking?: RequestChecking;
|
|
43
|
+
keysEsquema?: keyEsquema[];
|
|
44
|
+
keys?: Key[];
|
|
45
|
+
}
|
|
46
|
+
export declare class ConstructionId {
|
|
47
|
+
indexStep: number;
|
|
48
|
+
path: string;
|
|
49
|
+
keys?: Key[];
|
|
50
|
+
}
|
|
51
|
+
export declare class Validations {
|
|
52
|
+
type: string;
|
|
53
|
+
required?: ValidationRequired[];
|
|
54
|
+
equals?: ValidationEqual[];
|
|
55
|
+
different?: ValidationDifferent[];
|
|
56
|
+
server: string;
|
|
57
|
+
endpoint: string;
|
|
58
|
+
operations: any;
|
|
59
|
+
}
|
|
60
|
+
declare class ValidationRequired {
|
|
61
|
+
field: string;
|
|
62
|
+
message: string;
|
|
63
|
+
conditions?: number[];
|
|
64
|
+
}
|
|
65
|
+
declare class ValidationEqual extends ValidationRequired {
|
|
66
|
+
value: any;
|
|
67
|
+
constructor(value: any);
|
|
68
|
+
}
|
|
69
|
+
declare class ValidationDifferent extends ValidationRequired {
|
|
70
|
+
value: any;
|
|
71
|
+
constructor(value: any);
|
|
72
|
+
}
|
|
73
|
+
export declare class RequestChecking {
|
|
74
|
+
dynamics: any | undefined;
|
|
75
|
+
statics: any | undefined;
|
|
76
|
+
useSwal: boolean;
|
|
77
|
+
redirect: string | undefined;
|
|
78
|
+
cancelRedirect: string | undefined;
|
|
79
|
+
allowContinue: boolean;
|
|
80
|
+
parse: string | undefined;
|
|
81
|
+
constructor(dynamics: any | undefined, statics: any | undefined, useSwal: boolean, redirect: string | undefined, cancelRedirect: string | undefined, allowContinue: boolean, parse: string | undefined);
|
|
82
|
+
}
|
|
83
|
+
export declare class Key {
|
|
84
|
+
key: string;
|
|
85
|
+
scope: string;
|
|
86
|
+
indexAnswer?: number;
|
|
87
|
+
indexData?: number;
|
|
88
|
+
indexId?: number;
|
|
89
|
+
data?: string;
|
|
90
|
+
overrideControl?: OverrideConfig;
|
|
91
|
+
}
|
|
92
|
+
export declare class OverrideConfig {
|
|
93
|
+
property: string;
|
|
94
|
+
value: any;
|
|
95
|
+
elseValue?: any;
|
|
96
|
+
conditions?: number[];
|
|
97
|
+
newPropertyValue?: any;
|
|
98
|
+
elseNewPropertyValue?: any;
|
|
99
|
+
}
|
|
100
|
+
export declare class keyEsquema {
|
|
101
|
+
key?: string;
|
|
102
|
+
scope: string;
|
|
103
|
+
indexData?: number;
|
|
104
|
+
indexId?: number;
|
|
105
|
+
isArray?: boolean;
|
|
106
|
+
indexKey?: number;
|
|
107
|
+
canBeValueUndefined?: boolean;
|
|
108
|
+
}
|
|
109
|
+
export {};
|
|
@@ -1,37 +1,37 @@
|
|
|
1
|
-
import { Calendar } from "primeng/calendar";
|
|
2
|
-
export declare class Shema {
|
|
3
|
-
type: string;
|
|
4
|
-
subtype: string;
|
|
5
|
-
config?: any;
|
|
6
|
-
tooltip?: string;
|
|
7
|
-
tooltipPosition?: string;
|
|
8
|
-
properties?: any;
|
|
9
|
-
enum?: any[];
|
|
10
|
-
default?: any;
|
|
11
|
-
validations?: any;
|
|
12
|
-
disabled?: boolean;
|
|
13
|
-
field?: any;
|
|
14
|
-
placeholder?: any;
|
|
15
|
-
unmask?: boolean;
|
|
16
|
-
autocomplete?: string;
|
|
17
|
-
showIcon?: boolean;
|
|
18
|
-
hide?: any;
|
|
19
|
-
locale?: string;
|
|
20
|
-
configuration: ShemaConfig;
|
|
21
|
-
touchUI: any;
|
|
22
|
-
format: any;
|
|
23
|
-
formatMoment?: string;
|
|
24
|
-
useGrouping?: boolean;
|
|
25
|
-
max: any;
|
|
26
|
-
min: any;
|
|
27
|
-
currency: any;
|
|
28
|
-
minFractionDigits: any;
|
|
29
|
-
trueValue: any;
|
|
30
|
-
falseValue: any;
|
|
31
|
-
allowCustomOption: boolean;
|
|
32
|
-
separador?: string;
|
|
33
|
-
}
|
|
34
|
-
declare class ShemaConfig {
|
|
35
|
-
calendar?: Calendar;
|
|
36
|
-
}
|
|
37
|
-
export {};
|
|
1
|
+
import { Calendar } from "primeng/calendar";
|
|
2
|
+
export declare class Shema {
|
|
3
|
+
type: string;
|
|
4
|
+
subtype: string;
|
|
5
|
+
config?: any;
|
|
6
|
+
tooltip?: string;
|
|
7
|
+
tooltipPosition?: string;
|
|
8
|
+
properties?: any;
|
|
9
|
+
enum?: any[];
|
|
10
|
+
default?: any;
|
|
11
|
+
validations?: any;
|
|
12
|
+
disabled?: boolean;
|
|
13
|
+
field?: any;
|
|
14
|
+
placeholder?: any;
|
|
15
|
+
unmask?: boolean;
|
|
16
|
+
autocomplete?: string;
|
|
17
|
+
showIcon?: boolean;
|
|
18
|
+
hide?: any;
|
|
19
|
+
locale?: string;
|
|
20
|
+
configuration: ShemaConfig;
|
|
21
|
+
touchUI: any;
|
|
22
|
+
format: any;
|
|
23
|
+
formatMoment?: string;
|
|
24
|
+
useGrouping?: boolean;
|
|
25
|
+
max: any;
|
|
26
|
+
min: any;
|
|
27
|
+
currency: any;
|
|
28
|
+
minFractionDigits: any;
|
|
29
|
+
trueValue: any;
|
|
30
|
+
falseValue: any;
|
|
31
|
+
allowCustomOption: boolean;
|
|
32
|
+
separador?: string;
|
|
33
|
+
}
|
|
34
|
+
declare class ShemaConfig {
|
|
35
|
+
calendar?: Calendar;
|
|
36
|
+
}
|
|
37
|
+
export {};
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { HttpClient } from '@angular/common/http';
|
|
2
|
-
import { CrudConfig } from '../models/crud-config.model';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class GeneralService {
|
|
5
|
-
private http;
|
|
6
|
-
generales: string;
|
|
7
|
-
jsonConfig: any;
|
|
8
|
-
private _idKatios;
|
|
9
|
-
constructor(http: HttpClient);
|
|
10
|
-
set environment(val: any);
|
|
11
|
-
get environment(): any;
|
|
12
|
-
get idKatios(): string;
|
|
13
|
-
set idKatios(value: string);
|
|
14
|
-
getCrudByEntidad(idKatios: string, idEntidad: string): Promise<CrudConfig>;
|
|
15
|
-
getFiles(urls: string[], names: string[]): Promise<File[]>;
|
|
16
|
-
getExt(name: string): string | undefined;
|
|
17
|
-
genericRequest(method: string, url: string, data?: any): Promise<Object>;
|
|
18
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<GeneralService, never>;
|
|
19
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<GeneralService>;
|
|
20
|
-
}
|
|
1
|
+
import { HttpClient } from '@angular/common/http';
|
|
2
|
+
import { CrudConfig } from '../models/crud-config.model';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class GeneralService {
|
|
5
|
+
private http;
|
|
6
|
+
generales: string;
|
|
7
|
+
jsonConfig: any;
|
|
8
|
+
private _idKatios;
|
|
9
|
+
constructor(http: HttpClient);
|
|
10
|
+
set environment(val: any);
|
|
11
|
+
get environment(): any;
|
|
12
|
+
get idKatios(): string;
|
|
13
|
+
set idKatios(value: string);
|
|
14
|
+
getCrudByEntidad(idKatios: string, idEntidad: string): Promise<CrudConfig | undefined>;
|
|
15
|
+
getFiles(urls: string[], names: string[]): Promise<File[]>;
|
|
16
|
+
getExt(name: string): string | undefined;
|
|
17
|
+
genericRequest(method: string, url: string, data?: any): Promise<Object | undefined>;
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GeneralService, never>;
|
|
19
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<GeneralService>;
|
|
20
|
+
}
|
|
@@ -1,27 +1,26 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
private
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
*
|
|
14
|
-
* @param
|
|
15
|
-
* @param
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
static
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
requestChecking: RequestChecking | undefined;
|
|
26
|
-
|
|
27
|
-
}
|
|
1
|
+
import { SweetAlertOptions } from 'sweetalert2';
|
|
2
|
+
import { RequestChecking } from '../models/crud-config.model';
|
|
3
|
+
import { SfCrudService } from '../../sf-crud.service';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class NotificationService {
|
|
6
|
+
private sfCrudService;
|
|
7
|
+
private _notificationAdded;
|
|
8
|
+
constructor(sfCrudService: SfCrudService);
|
|
9
|
+
addNotification(msg: any | SweetAlertOptions, requestChecking?: RequestChecking): void;
|
|
10
|
+
notificationAdded$(): import("rxjs").Observable<Notification | undefined>;
|
|
11
|
+
/**
|
|
12
|
+
* Generates message using answerchecking
|
|
13
|
+
* @param currentMsg Default message: Message | SweetAlertOptions
|
|
14
|
+
* @param rta Resquest's response
|
|
15
|
+
* @param answerChecking
|
|
16
|
+
*/
|
|
17
|
+
generateMessage(currentMsg: any | SweetAlertOptions | any, rta: any, requestChecking?: RequestChecking): any;
|
|
18
|
+
genDefaultMessage(severity: "success" | "error", title: string | undefined, detail: string, requestChecking: RequestChecking | undefined): any | SweetAlertOptions;
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NotificationService, never>;
|
|
20
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<NotificationService>;
|
|
21
|
+
}
|
|
22
|
+
export declare class Notification {
|
|
23
|
+
msg: any | SweetAlertOptions;
|
|
24
|
+
requestChecking: RequestChecking | undefined;
|
|
25
|
+
constructor(msg: any | SweetAlertOptions, requestChecking: RequestChecking | undefined);
|
|
26
|
+
}
|
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class StepService {
|
|
3
|
-
private _requestApproval;
|
|
4
|
-
private _desiredIndex;
|
|
5
|
-
private _customChildrenEvents;
|
|
6
|
-
private _currentPosition;
|
|
7
|
-
private _requestApproved;
|
|
8
|
-
get currentIndex(): number;
|
|
9
|
-
set currentIndex(value: number);
|
|
10
|
-
get currentIndex$(): import("rxjs").Observable<number>;
|
|
11
|
-
set requestApproval(newPos: number);
|
|
12
|
-
get requestApproval$(): import("rxjs").Observable<{
|
|
13
|
-
current: number;
|
|
14
|
-
desired: any;
|
|
15
|
-
}>;
|
|
16
|
-
get requestApproved$(): import("rxjs").Observable<boolean>;
|
|
17
|
-
/**
|
|
18
|
-
* Useful to deny or approve request made by requestAprroval
|
|
19
|
-
*/
|
|
20
|
-
set requestApproved(approved: boolean);
|
|
21
|
-
set desiredIndex(index: number | undefined);
|
|
22
|
-
addCustomChildrenEvent(name: string, data: any): void;
|
|
23
|
-
reset(): void;
|
|
24
|
-
get customChildrenEvents$(): import("rxjs").Observable<any>;
|
|
25
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<StepService, never>;
|
|
26
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<StepService>;
|
|
27
|
-
}
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class StepService {
|
|
3
|
+
private _requestApproval;
|
|
4
|
+
private _desiredIndex;
|
|
5
|
+
private _customChildrenEvents;
|
|
6
|
+
private _currentPosition;
|
|
7
|
+
private _requestApproved;
|
|
8
|
+
get currentIndex(): number;
|
|
9
|
+
set currentIndex(value: number);
|
|
10
|
+
get currentIndex$(): import("rxjs").Observable<number>;
|
|
11
|
+
set requestApproval(newPos: number);
|
|
12
|
+
get requestApproval$(): import("rxjs").Observable<{
|
|
13
|
+
current: number;
|
|
14
|
+
desired: any;
|
|
15
|
+
}>;
|
|
16
|
+
get requestApproved$(): import("rxjs").Observable<boolean>;
|
|
17
|
+
/**
|
|
18
|
+
* Useful to deny or approve request made by requestAprroval
|
|
19
|
+
*/
|
|
20
|
+
set requestApproved(approved: boolean);
|
|
21
|
+
set desiredIndex(index: number | undefined);
|
|
22
|
+
addCustomChildrenEvent(name: string, data: any): void;
|
|
23
|
+
reset(): void;
|
|
24
|
+
get customChildrenEvents$(): import("rxjs").Observable<any>;
|
|
25
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<StepService, never>;
|
|
26
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<StepService>;
|
|
27
|
+
}
|
package/package.json
CHANGED
|
@@ -1,25 +1,30 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sf-crud",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "13.0.0",
|
|
4
4
|
"peerDependencies": {
|
|
5
|
-
"@angular/common": "^
|
|
6
|
-
"@angular/core": "^
|
|
7
|
-
"moment": "^2.
|
|
5
|
+
"@angular/common": "^19.2.0",
|
|
6
|
+
"@angular/core": "^19.2.0",
|
|
7
|
+
"moment": "^2.29.0",
|
|
8
8
|
"jsonpath": "^1.1.1",
|
|
9
|
-
"sf-pdfsign": "^
|
|
10
|
-
"sf-ado": "^
|
|
11
|
-
"sf-simulador": "^
|
|
12
|
-
"sf-loading": "^
|
|
13
|
-
"primeflex": "
|
|
9
|
+
"sf-pdfsign": "^13.0.0",
|
|
10
|
+
"sf-ado": "^13.0.0",
|
|
11
|
+
"sf-simulador": "^13.0.0",
|
|
12
|
+
"sf-loading": "^13.0.0",
|
|
13
|
+
"primeflex": "^4.0.0"
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
16
|
"tslib": "^2.3.0"
|
|
17
17
|
},
|
|
18
|
-
"
|
|
19
|
-
"
|
|
20
|
-
"
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
18
|
+
"module": "fesm2022/sf-crud.mjs",
|
|
19
|
+
"typings": "index.d.ts",
|
|
20
|
+
"exports": {
|
|
21
|
+
"./package.json": {
|
|
22
|
+
"default": "./package.json"
|
|
23
|
+
},
|
|
24
|
+
".": {
|
|
25
|
+
"types": "./index.d.ts",
|
|
26
|
+
"default": "./fesm2022/sf-crud.mjs"
|
|
27
|
+
}
|
|
28
|
+
},
|
|
24
29
|
"sideEffects": false
|
|
25
30
|
}
|
package/public-api.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
export * from './lib/components/tablero/tablero.component';
|
|
2
|
-
export * from './lib/components/registro/registro.component';
|
|
3
|
-
export * from './lib/components/control/control.component';
|
|
4
|
-
export * from './lib/sf-crud.component';
|
|
5
|
-
export * from './lib/components/form/form.component';
|
|
6
|
-
export * from './lib/sf-crud.module';
|
|
7
|
-
export * from './lib/sf-crud.service';
|
|
8
|
-
export * from './lib/shared/services/step.service';
|
|
9
|
-
export * from './lib/shared/services/notification.service';
|
|
10
|
-
export * from './lib/shared/models/crud-config.model';
|
|
11
|
-
export * from './lib/shared/models/Empresa.model';
|
|
12
|
-
export * from './lib/shared/models/shema.model';
|
|
1
|
+
export * from './lib/components/tablero/tablero.component';
|
|
2
|
+
export * from './lib/components/registro/registro.component';
|
|
3
|
+
export * from './lib/components/control/control.component';
|
|
4
|
+
export * from './lib/sf-crud.component';
|
|
5
|
+
export * from './lib/components/form/form.component';
|
|
6
|
+
export * from './lib/sf-crud.module';
|
|
7
|
+
export * from './lib/sf-crud.service';
|
|
8
|
+
export * from './lib/shared/services/step.service';
|
|
9
|
+
export * from './lib/shared/services/notification.service';
|
|
10
|
+
export * from './lib/shared/models/crud-config.model';
|
|
11
|
+
export * from './lib/shared/models/Empresa.model';
|
|
12
|
+
export * from './lib/shared/models/shema.model';
|