ng-components-tsi 0.0.20 → 0.0.22
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/ng-components-tsi.mjs +18 -99
- package/fesm2022/ng-components-tsi.mjs.map +1 -1
- package/lib/enums/table-events.d.ts +5 -0
- package/lib/modals/general/md-generico/md-generico.component.d.ts +1 -1
- package/lib/models/cell-rendered.d.ts +1 -0
- package/lib/ui/forms/inputs/input/input.component.d.ts +4 -4
- package/lib/ui/forms/inputs/input-radio/input-radio.component.d.ts +1 -1
- package/lib/ui/forms/lists/list-option/list-option.component.d.ts +1 -1
- package/lib/ui/general/montos-calcular/montos-calcular.component.d.ts +2 -1
- package/lib/ui/tables/paginador/paginador.component.d.ts +1 -1
- package/lib/utils/helpers/modal-result.d.ts +8 -1
- package/ng-components-tsi-0.0.22.tgz +0 -0
- package/package.json +3 -3
- package/public-api.d.ts +6 -1
- package/lib/models/comercial/detalle-documento-cab.model.d.ts +0 -91
- package/ng-components-tsi-0.0.20.tgz +0 -0
|
@@ -10,7 +10,7 @@ export declare class MdGenericoComponent {
|
|
|
10
10
|
content: import("@angular/core").Signal<TemplateRef<any>>;
|
|
11
11
|
showAlerta: import("@angular/core").InputSignal<boolean>;
|
|
12
12
|
textAlerta: import("@angular/core").InputSignal<string>;
|
|
13
|
-
sizeTitle: import("@angular/core").InputSignal<"1" | "2" | "3" | "
|
|
13
|
+
sizeTitle: import("@angular/core").InputSignal<"1" | "2" | "3" | "7" | "4" | "5" | "6" | "9" | "8">;
|
|
14
14
|
showFiltro: import("@angular/core").InputSignal<boolean>;
|
|
15
15
|
withFiltro: import("@angular/core").ModelSignal<boolean>;
|
|
16
16
|
dataFiltro: import("@angular/core").InputSignal<boolean>;
|
|
@@ -5,12 +5,12 @@ export declare class InputComponent {
|
|
|
5
5
|
placeholder: import("@angular/core").InputSignal<string>;
|
|
6
6
|
withBuscar: import("@angular/core").InputSignal<boolean>;
|
|
7
7
|
isRequired: import("@angular/core").InputSignal<boolean>;
|
|
8
|
-
type: import("@angular/core").InputSignal<"number" | "
|
|
9
|
-
typeStandar: import("@angular/core").WritableSignal<"number" | "
|
|
10
|
-
position: import("@angular/core").InputSignal<"
|
|
8
|
+
type: import("@angular/core").InputSignal<"number" | "select" | "time" | "text" | "text-area" | "date" | "number-format-decimal" | "number-integer" | "day" | "input-switch">;
|
|
9
|
+
typeStandar: import("@angular/core").WritableSignal<"number" | "select" | "time" | "text" | "text-area" | "date" | "number-format-decimal" | "number-integer" | "day" | "input-switch">;
|
|
10
|
+
position: import("@angular/core").InputSignal<"start" | "end" | "center">;
|
|
11
11
|
value: import("@angular/core").ModelSignal<any>;
|
|
12
12
|
value2: import("@angular/core").ModelSignal<any>;
|
|
13
|
-
position_row: import("@angular/core").InputSignal<"
|
|
13
|
+
position_row: import("@angular/core").InputSignal<"start" | "end" | "center">;
|
|
14
14
|
withChangeInput: import("@angular/core").InputSignal<boolean>;
|
|
15
15
|
disabled: import("@angular/core").ModelSignal<boolean>;
|
|
16
16
|
isImportant: import("@angular/core").InputSignal<boolean>;
|
|
@@ -7,7 +7,7 @@ export declare class InputRadioComponent {
|
|
|
7
7
|
name: import("@angular/core").InputSignal<string>;
|
|
8
8
|
position: import("@angular/core").InputSignal<"row" | "column">;
|
|
9
9
|
value: import("@angular/core").ModelSignal<any>;
|
|
10
|
-
position_row: import("@angular/core").InputSignal<"
|
|
10
|
+
position_row: import("@angular/core").InputSignal<"start" | "end" | "center">;
|
|
11
11
|
disabled: import("@angular/core").ModelSignal<boolean>;
|
|
12
12
|
lista: import("@angular/core").InputSignal<any[]>;
|
|
13
13
|
keyCodigo: import("@angular/core").InputSignal<string>;
|
|
@@ -7,7 +7,7 @@ export declare class ListOptionComponent {
|
|
|
7
7
|
name: import("@angular/core").InputSignal<string>;
|
|
8
8
|
position: import("@angular/core").InputSignal<"row" | "column">;
|
|
9
9
|
value: import("@angular/core").ModelSignal<any>;
|
|
10
|
-
position_row: import("@angular/core").InputSignal<"
|
|
10
|
+
position_row: import("@angular/core").InputSignal<"start" | "end" | "center">;
|
|
11
11
|
disabled: import("@angular/core").ModelSignal<boolean>;
|
|
12
12
|
lista: import("@angular/core").InputSignal<any[]>;
|
|
13
13
|
keyCodigo: import("@angular/core").InputSignal<string>;
|
|
@@ -6,6 +6,7 @@ export declare class MontosCalcularComponent {
|
|
|
6
6
|
sizeFont: import("@angular/core").InputSignal<number>;
|
|
7
7
|
simbolo: import("@angular/core").ModelSignal<string>;
|
|
8
8
|
cleanNumber: typeof cleanNumber;
|
|
9
|
+
withSimbolo: import("@angular/core").InputSignal<boolean>;
|
|
9
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<MontosCalcularComponent, never>;
|
|
10
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MontosCalcularComponent, "app-montos-calcular", never, { "data": { "alias": "data"; "required": false; "isSignal": true; }; "sizeFont": { "alias": "sizeFont"; "required": false; "isSignal": true; }; "simbolo": { "alias": "simbolo"; "required": false; "isSignal": true; }; }, { "simbolo": "simboloChange"; }, never, never, true, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MontosCalcularComponent, "app-montos-calcular", never, { "data": { "alias": "data"; "required": false; "isSignal": true; }; "sizeFont": { "alias": "sizeFont"; "required": false; "isSignal": true; }; "simbolo": { "alias": "simbolo"; "required": false; "isSignal": true; }; "withSimbolo": { "alias": "withSimbolo"; "required": false; "isSignal": true; }; }, { "simbolo": "simboloChange"; }, never, never, true, never>;
|
|
11
12
|
}
|
|
@@ -2,7 +2,7 @@ import * as i0 from "@angular/core";
|
|
|
2
2
|
export declare class PaginadorComponent {
|
|
3
3
|
total: import("@angular/core").InputSignal<number>;
|
|
4
4
|
limit: import("@angular/core").InputSignal<number>;
|
|
5
|
-
position: import("@angular/core").InputSignal<"
|
|
5
|
+
position: import("@angular/core").InputSignal<"start" | "end" | "center">;
|
|
6
6
|
loaddata: import("@angular/core").InputSignal<(params: {
|
|
7
7
|
offset: number;
|
|
8
8
|
limit: number;
|
|
@@ -1,2 +1,9 @@
|
|
|
1
|
-
import { NgbModalRef } from "@ng-bootstrap/ng-bootstrap";
|
|
1
|
+
import { NgbModalOptions, NgbModalRef } from "@ng-bootstrap/ng-bootstrap";
|
|
2
|
+
export declare function configModal(size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl'): NgbModalOptions;
|
|
3
|
+
export interface ModalConfig<T> {
|
|
4
|
+
component: any;
|
|
5
|
+
data?: T;
|
|
6
|
+
init?: (instance: any) => void;
|
|
7
|
+
updatePredicate: (oldItem: T, newItem: T) => boolean;
|
|
8
|
+
}
|
|
2
9
|
export declare function handleModal<T>(modalRef: NgbModalRef, fn: (data: T) => void): void;
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ng-components-tsi",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.22",
|
|
4
4
|
"peerDependencies": {
|
|
5
|
-
"shared-tsi": "^0.0.
|
|
6
|
-
"core-tsi": "^0.0.
|
|
5
|
+
"shared-tsi": "^0.0.9",
|
|
6
|
+
"core-tsi": "^0.0.9",
|
|
7
7
|
"@angular/animations": "^19.2.6",
|
|
8
8
|
"@angular/cdk": "^19.2.6",
|
|
9
9
|
"sweetalert2": "^11.19.1",
|
package/public-api.d.ts
CHANGED
|
@@ -48,10 +48,15 @@ export * from './lib/models/cell-rendered';
|
|
|
48
48
|
export * from './lib/models/dropdownoption.model';
|
|
49
49
|
export * from './lib/models/input-config';
|
|
50
50
|
export * from './lib/models/table-data.model';
|
|
51
|
-
export * from './lib/models/comercial/detalle-documento-cab.model';
|
|
52
51
|
export * from './lib/models/comercial/documentos-cab-auxiliares.model';
|
|
53
52
|
export * from './lib/models/general/recursos.model';
|
|
54
53
|
export * from './lib/models/general/utils.interface';
|
|
55
54
|
export * from './lib/utils/general/validaciones';
|
|
56
55
|
export * from './lib/utils/helpers/api-result';
|
|
57
56
|
export * from './lib/utils/helpers/modal-result';
|
|
57
|
+
export * from './lib/enums/table-events';
|
|
58
|
+
export * from './lib/directivas/acciones/atajos.directive';
|
|
59
|
+
export * from './lib/directivas/inputs/caracteres-codigo.directive';
|
|
60
|
+
export * from './lib/directivas/inputs/decimal.directive';
|
|
61
|
+
export * from './lib/directivas/inputs/only-number-flex.directive';
|
|
62
|
+
export * from './lib/directivas/inputs/only-number.directive';
|
|
@@ -1,91 +0,0 @@
|
|
|
1
|
-
export declare class DetalleDocumentosCab {
|
|
2
|
-
codbar?: string;
|
|
3
|
-
cantid?: number | string;
|
|
4
|
-
codadd01?: string;
|
|
5
|
-
codadd02?: string;
|
|
6
|
-
codalm?: number;
|
|
7
|
-
codart?: string;
|
|
8
|
-
desart?: string;
|
|
9
|
-
descodadd01?: string;
|
|
10
|
-
descodadd02?: string;
|
|
11
|
-
etiqueta?: string;
|
|
12
|
-
observ?: string;
|
|
13
|
-
pordes1?: number | string;
|
|
14
|
-
pordes2?: number | string;
|
|
15
|
-
pordes3?: number | string;
|
|
16
|
-
pordes4?: number | string;
|
|
17
|
-
positi?: number;
|
|
18
|
-
preuni?: number | string;
|
|
19
|
-
tipinv?: number;
|
|
20
|
-
undmed?: string;
|
|
21
|
-
codund?: string;
|
|
22
|
-
materiales?: MaterialesCotizacion[];
|
|
23
|
-
ancho?: number;
|
|
24
|
-
stock?: number;
|
|
25
|
-
largo?: number | string;
|
|
26
|
-
piezas?: number | string;
|
|
27
|
-
costo?: number | string;
|
|
28
|
-
tipcam?: number | string;
|
|
29
|
-
pesocalc?: number;
|
|
30
|
-
tipafec?: string;
|
|
31
|
-
destipafec?: string;
|
|
32
|
-
tara?: string;
|
|
33
|
-
glossext?: string;
|
|
34
|
-
consto?: number;
|
|
35
|
-
total?: number | string;
|
|
36
|
-
lote?: number | string;
|
|
37
|
-
fvenci?: string;
|
|
38
|
-
modpre?: string;
|
|
39
|
-
acabado?: number | string;
|
|
40
|
-
nrocarrete?: number | string;
|
|
41
|
-
motor?: number | string;
|
|
42
|
-
chasis?: number | string;
|
|
43
|
-
dtipafec?: string;
|
|
44
|
-
combina?: string;
|
|
45
|
-
empalme?: string;
|
|
46
|
-
proart?: string;
|
|
47
|
-
glosa?: string;
|
|
48
|
-
refnumint?: number;
|
|
49
|
-
refnumite?: number;
|
|
50
|
-
opcargo?: any;
|
|
51
|
-
mondescue?: string;
|
|
52
|
-
disabledEtiqueta?: boolean;
|
|
53
|
-
disabledlargo?: boolean;
|
|
54
|
-
disabledpiezas?: boolean;
|
|
55
|
-
disabledcantid?: boolean;
|
|
56
|
-
disabledAll?: boolean;
|
|
57
|
-
femisi?: string;
|
|
58
|
-
numint?: number;
|
|
59
|
-
numite?: number;
|
|
60
|
-
serie?: string;
|
|
61
|
-
numero?: string;
|
|
62
|
-
}
|
|
63
|
-
export declare class MaterialesCotizacion {
|
|
64
|
-
positi?: number;
|
|
65
|
-
tipinv?: number;
|
|
66
|
-
codart?: string;
|
|
67
|
-
desart?: string;
|
|
68
|
-
codalm?: number;
|
|
69
|
-
undmed?: string;
|
|
70
|
-
codadd01?: string;
|
|
71
|
-
codadd02?: string;
|
|
72
|
-
cantid?: number | string;
|
|
73
|
-
preuni?: number;
|
|
74
|
-
pordes1?: number | string;
|
|
75
|
-
pordes2?: number | string;
|
|
76
|
-
pordes3?: number | string;
|
|
77
|
-
pordes4?: number | string;
|
|
78
|
-
observ?: string;
|
|
79
|
-
etiqueta?: string;
|
|
80
|
-
descodadd01?: string;
|
|
81
|
-
descodadd02?: string;
|
|
82
|
-
stock?: number | string;
|
|
83
|
-
modpre?: string;
|
|
84
|
-
codprv?: string;
|
|
85
|
-
stockref?: number | string;
|
|
86
|
-
coduni?: string;
|
|
87
|
-
largo?: number | string;
|
|
88
|
-
piezas?: number | string;
|
|
89
|
-
consto?: number;
|
|
90
|
-
glossext?: string;
|
|
91
|
-
}
|
|
Binary file
|